public inbox for systemtap@sourceware.org
 help / color / mirror / Atom feed
* [Bug releng/22695] New: "make rpm" broken by commit 3128ca27f67476fdd5f26a44bc3809fa8396e749
@ 2018-01-10 21:11 wcohen at redhat dot com
  2018-01-11 20:46 ` [Bug releng/22695] " dsmith at redhat dot com
  2018-03-31 12:43 ` jeremip11 at gmail dot com
  0 siblings, 2 replies; 3+ messages in thread
From: wcohen at redhat dot com @ 2018-01-10 21:11 UTC (permalink / raw)
  To: systemtap

https://sourceware.org/bugzilla/show_bug.cgi?id=22695

            Bug ID: 22695
           Summary: "make rpm" broken by commit
                    3128ca27f67476fdd5f26a44bc3809fa8396e749
           Product: systemtap
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: releng
          Assignee: systemtap at sourceware dot org
          Reporter: wcohen at redhat dot com
  Target Milestone: ---

When attempting to build rpms from the git repo with "make rpm" I found that
the build would fail:

RPM build errors:
    File not found:
/home/wcohen/rpmbuild/BUILDROOT/systemtap-3.3-1.fc27.x86_64/usr/libexec/systemtap/python/stap-resolve-module-function.py
    File not found:
/home/wcohen/rpmbuild/BUILDROOT/systemtap-3.3-1.fc27.x86_64/usr/libexec/systemtap/python/stap-resolve-module-function.py?
make: *** [Makefile:2482: rpm] Error 1

The install places the stap-resolve-module-function.py in the wrong place as
seen in the output of the build:

 /usr/bin/mkdir -p
'/home/wcohen/rpmbuild/BUILDROOT/systemtap-3.3-1.fc27.x86_64/home/wcohen/rpmbuild/BUILDROOT/systemtap-3.3-1.fc27.x86_64/usr/libexec/systemtap/python'
 /usr/bin/install -c -m 644 stap-resolve-module-function.py
'/home/wcohen/rpmbuild/BUILDROOT/systemtap-3.3-1.fc27.x86_64/home/wcohen/rpmbuild/BUILDROOT/systemtap-3.3-1.fc27.x86_64/usr/libexec/systemtap/python'


The problem is caused by the following commit:

commit 3128ca27f67476fdd5f26a44bc3809fa8396e749
Author: David Smith <dsmith@redhat.com>
Date:   Thu Nov 16 13:23:17 2017 -0600

    Add a small fix to python/Makefile.am.

    * python/Makefile.am: Add DESTDIR to pkglibexecpythondir.
    * python/Makefile.in: Regenerated.

diff --git a/python/Makefile.am b/python/Makefile.am
index a254480f9..79fbfd7a3 100644
--- a/python/Makefile.am
+++ b/python/Makefile.am
@@ -14,7 +14,7 @@ pkglibexecpython_PYTHON =

 pkglibexecpython_DATA =

-pkglibexecpythondir = $(pkglibexecdir)/python
+pkglibexecpythondir = $(DESTDIR)$(pkglibexecdir)/python

 if HAVE_PYTHON_PROBES

diff --git a/python/Makefile.in b/python/Makefile.in
index 51ae9230c..bf3b1a3da 100644
--- a/python/Makefile.in
+++ b/python/Makefile.in
@@ -382,7 +382,7 @@ AM_CPPFLAGS = -I$(srcdir)/../includes \
 # install time.
 pkglibexecpython_PYTHON = 
 pkglibexecpython_DATA = $(am__append_1)
-pkglibexecpythondir = $(pkglibexecdir)/python
+pkglibexecpythondir = $(DESTDIR)$(pkglibexecdir)/python
 all: all-am

 .SUFFIXES:

-- 
You are receiving this mail because:
You are the assignee for the bug.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug releng/22695] "make rpm" broken by commit 3128ca27f67476fdd5f26a44bc3809fa8396e749
  2018-01-10 21:11 [Bug releng/22695] New: "make rpm" broken by commit 3128ca27f67476fdd5f26a44bc3809fa8396e749 wcohen at redhat dot com
@ 2018-01-11 20:46 ` dsmith at redhat dot com
  2018-03-31 12:43 ` jeremip11 at gmail dot com
  1 sibling, 0 replies; 3+ messages in thread
From: dsmith at redhat dot com @ 2018-01-11 20:46 UTC (permalink / raw)
  To: systemtap

https://sourceware.org/bugzilla/show_bug.cgi?id=22695

David Smith <dsmith at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |dsmith at redhat dot com
         Resolution|---                         |FIXED

--- Comment #1 from David Smith <dsmith at redhat dot com> ---
Fixed by reverting that last commit in new commit da3464e4f.

-- 
You are receiving this mail because:
You are the assignee for the bug.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug releng/22695] "make rpm" broken by commit 3128ca27f67476fdd5f26a44bc3809fa8396e749
  2018-01-10 21:11 [Bug releng/22695] New: "make rpm" broken by commit 3128ca27f67476fdd5f26a44bc3809fa8396e749 wcohen at redhat dot com
  2018-01-11 20:46 ` [Bug releng/22695] " dsmith at redhat dot com
@ 2018-03-31 12:43 ` jeremip11 at gmail dot com
  1 sibling, 0 replies; 3+ messages in thread
From: jeremip11 at gmail dot com @ 2018-03-31 12:43 UTC (permalink / raw)
  To: systemtap

https://sourceware.org/bugzilla/show_bug.cgi?id=22695

Jeremi <jeremip11 at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jeremip11 at gmail dot com

-- 
You are receiving this mail because:
You are the assignee for the bug.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2018-03-31 12:43 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-01-10 21:11 [Bug releng/22695] New: "make rpm" broken by commit 3128ca27f67476fdd5f26a44bc3809fa8396e749 wcohen at redhat dot com
2018-01-11 20:46 ` [Bug releng/22695] " dsmith at redhat dot com
2018-03-31 12:43 ` jeremip11 at gmail dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).