Just to add some new information, sipx.rpm had successfully built using
yesterdays code pull, but on this most recent now it does not succeed
either. The error is something a little different though (in sipxconfig
it seems).
D Chang
-=[build.log]=-
Making install in .
make[1]: Entering directory `/builddir/build/BUILD/sipxconfig-0.0.4.5.2'
make[2]: Entering directory `/builddir/build/BUILD/sipxconfig-0.0.4.5.2'
make[2]: Nothing to be done for `install-exec-am'.
make install-data-hook
make[3]: Entering directory `/builddir/build/BUILD/sipxconfig-0.0.4.5.2'
/bin/mkdir -p
/builddir/build/BUILDROOT/sipxconfig-0.0.4.5.2-2095.g326fc.x86_64/var/si
pxdata/upload
/bin/mkdir -p
/builddir/build/BUILDROOT/sipxconfig-0.0.4.5.2-2095.g326fc.x86_64/var/si
pxdata/backup
make[3]: Leaving directory `/builddir/build/BUILD/sipxconfig-0.0.4.5.2'
make[2]: Leaving directory `/builddir/build/BUILD/sipxconfig-0.0.4.5.2'
make[1]: Leaving directory `/builddir/build/BUILD/sipxconfig-0.0.4.5.2'
+ /usr/lib/rpm/check-buildroot
+ /usr/lib/rpm/redhat/brp-compress
+ /usr/lib/rpm/redhat/brp-strip /usr/bin/strip
+ /usr/lib/rpm/redhat/brp-strip-static-archive /usr/bin/strip
+ /usr/lib/rpm/redhat/brp-strip-comment-note /usr/bin/strip
/usr/bin/objdump
+ /usr/lib/rpm/brp-python-bytecompile
+ /usr/lib/rpm/redhat/brp-python-hardlink
Processing files: sipxconfig-0.0.4.5.2-2095.g326fc.x86_64
Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.8wh57q
+ umask 022
+ cd /builddir/build/BUILD
+ cd sipxconfig-0.0.4.5.2
+
DOCDIR=/builddir/build/BUILDROOT/sipxconfig-0.0.4.5.2-2095.g326fc.x86_64
/usr/share/doc/sipxconfig-0.0.4.5.2
+ export DOCDIR
+ rm -rf
/builddir/build/BUILDROOT/sipxconfig-0.0.4.5.2-2095.g326fc.x86_64/usr/sh
are/doc/sipxconfig-0.0.4.5.2
+ /bin/mkdir -p
/builddir/build/BUILDROOT/sipxconfig-0.0.4.5.2-2095.g326fc.x86_64/usr/sh
are/doc/sipxconfig-0.0.4.5.2
+ cp -pr README NOTICE ChangeLog sipxconfig.configlog
/builddir/build/BUILDROOT/sipxconfig-0.0.4.5.2-2095.g326fc.x86_64/usr/sh
are/doc/sipxconfig-0.0.4.5.2
+ exit 0
Provides: config(sipxconfig) = 0.0.4.5.2-2095.g326fc
Requires(interp): /bin/sh
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1
rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Requires(postun): /bin/sh
Requires: /bin/sh
Obsoletes: sipx-jasperreports-deps
Processing files: sipxconfig-tftp-0.0.4.5.2-2095.g326fc.x86_64
Processing files: sipxconfig-ftp-0.0.4.5.2-2095.g326fc.x86_64
Checking for unpackaged file(s): /usr/lib/rpm/check-files
/builddir/build/BUILDROOT/sipxconfig-0.0.4.5.2-2095.g326fc.x86_64
RPM build errors:
error: Installed (but unpackaged) file(s) found:
/etc/sipxpbx/sipxlogwatcher/sipxlogwatcher.properties
/etc/sipxpbx/sipxlogwatcher/sipxlogwatcher.xml
Installed (but unpackaged) file(s) found:
/etc/sipxpbx/sipxlogwatcher/sipxlogwatcher.properties
/etc/sipxpbx/sipxlogwatcher/sipxlogwatcher.xml
Child returncode was: 1
EXCEPTION: Command failed. See logs for output.
# ['bash', '--login', '-c', 'rpmbuild -bb --target x86_64 --nodeps
builddir/build/SPECS/sipxconfig.spec']
Traceback (most recent call last):
File "/usr/lib/python2.6/site-packages/mock/trace_decorator.py", line
70, in trace
result = func(*args, **kw)
File "/usr/lib/python2.6/site-packages/mock/util.py", line 328, in do
raise mock.exception.Error, ("Command failed. See logs for output.\n
# %s" % (command,), child.returncode)
Error: Command failed. See logs for output.
# ['bash', '--login', '-c', 'rpmbuild -bb --target x86_64 --nodeps
builddir/build/SPECS/sipxconfig.spec']
LEAVE do --> EXCEPTION RAISED
From: [email protected]
[mailto:[email protected]] On Behalf Of Dan Chang
Sent: Saturday, May 19, 2012 3:30 PM
To: [email protected]
Subject: [sipx-dev] Quickcheck - Latest RPM build not working for libs
Just wanted to do a quick check for any ideas. I am trying to build
RPMs from the latest source commit (see below in case I am off) and I
believe (but have to double check) that the "sipx.rpm" build works, but
I am running into some errors with patches on building libs. I know
there has been some work on patches so maybe this is just
work-in-progress? Or maybe I am just messing up some kind of
dependency? The log is below.
As always, thanks for the awesome work!
D Chang
-=[build.log]=-
ENTER do(['bash', '--login', '-c', 'rpmbuild -bb --target x86_64
--nodeps builddir/build/SPECS/net-snmp.spec'], False,
'/var/lib/mock/centos-6-x86_64/root/', None, 0, True, False, 500, 490,
None, logger=<mock.trace_decorator.getLog object at 0xe42390>)
Executing command: ['bash', '--login', '-c', 'rpmbuild -bb --target
x86_64 --nodeps builddir/build/SPECS/net-snmp.spec']
Building target platforms: x86_64
Building for target x86_64
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.73bN0J
+ umask 022
+ cd /builddir/build/BUILD
+ LANG=C
+ export LANG
+ unset DISPLAY
+ cd /builddir/build/BUILD
+ rm -rf net-snmp-5.7.1
+ /bin/tar -xf -
+ /usr/bin/gzip -dc /builddir/build/SOURCES/net-snmp-5.7.1.tar.gz
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd net-snmp-5.7.1
+ /bin/chmod -Rf a+rX,u+w,g-w,o-w .
Patch #1 (net-snmp-5.6-pie.patch):
+ echo 'Patch #1 (net-snmp-5.6-pie.patch):'
+ /usr/bin/patch -s -p1 -b --suffix .pie --fuzz=0
+ /bin/cat /builddir/build/SOURCES/net-snmp-5.6-pie.patch
Patch #2 (net-snmp-5.5-dir-fix.patch):
+ echo 'Patch #2 (net-snmp-5.5-dir-fix.patch):'
+ /usr/bin/patch -s -p1 -b --suffix .dir-fix --fuzz=0
+ /bin/cat /builddir/build/SOURCES/net-snmp-5.5-dir-fix.patch
Patch #3 (net-snmp-5.6-multilib.patch):
+ echo 'Patch #3 (net-snmp-5.6-multilib.patch):'
+ /usr/bin/patch -s -p1 -b --suffix .multilib --fuzz=0
+ /bin/cat /builddir/build/SOURCES/net-snmp-5.6-multilib.patch
Patch #5 (net-snmp-5.5-apsl-copying.patch):
+ echo 'Patch #5 (net-snmp-5.5-apsl-copying.patch):'
+ /usr/bin/patch -s -p1 -b --suffix .apsl --fuzz=0
+ /bin/cat /builddir/build/SOURCES/net-snmp-5.5-apsl-copying.patch
Patch #8 (net-snmp-5.6.1-mysql.patch):
+ echo 'Patch #8 (net-snmp-5.6.1-mysql.patch):'
+ /usr/bin/patch -s -p1 -b --suffix .mysql --fuzz=0
+ /bin/cat /builddir/build/SOURCES/net-snmp-5.6.1-mysql.patch
Patch #9 (net-snmp-5.7.1-systemd.patch):
+ echo 'Patch #9 (net-snmp-5.7.1-systemd.patch):'
+ /usr/bin/patch -s -p1 -b --suffix .systemd --fuzz=0
+ /bin/cat /builddir/build/SOURCES/net-snmp-5.7.1-systemd.patch
Patch #12
(0001-Support-for-listing-processes-specified-in-ucd-snmp-.patch):
+ echo 'Patch #12
(0001-Support-for-listing-processes-specified-in-ucd-snmp-.patch):'
+ /usr/bin/patch -s -p1 -b --suffix .regexp --fuzz=0
+ /bin/cat
/builddir/build/SOURCES/0001-Support-for-listing-processes-specified-in-
ucd-snmp-.patch
Reversed (or previously applied) patch detected! Assume -R? [n]
Apply anyway? [n]
2 out of 2 hunks ignored -- saving rejects to file
agent/mibgroup/host/data_access/swrun.c.rej
Reversed (or previously applied) patch detected! Assume -R? [n]
Apply anyway? [n]
1 out of 1 hunk ignored -- saving rejects to file
agent/mibgroup/mibII/var_route.c.rej
Reversed (or previously applied) patch detected! Assume -R? [n]
Apply anyway? [n]
1 out of 1 hunk ignored -- saving rejects to file
agent/mibgroup/struct.h.rej
Reversed (or previously applied) patch detected! Assume -R? [n]
Apply anyway? [n]
10 out of 10 hunks ignored -- saving rejects to file
agent/mibgroup/ucd-snmp/proc.c.rej
Reversed (or previously applied) patch detected! Assume -R? [n]
Apply anyway? [n]
1 out of 1 hunk ignored -- saving rejects to file
agent/mibgroup/ucd-snmp/proc.h.rej
Reversed (or previously applied) patch detected! Assume -R? [n]
Apply anyway? [n]
1 out of 1 hunk ignored -- saving rejects to file
configure.d/config_os_libs1.rej
Reversed (or previously applied) patch detected! Assume -R? [n]
Apply anyway? [n]
2 out of 2 hunks ignored -- saving rejects to file
include/net-snmp/net-snmp-config.h.in.rej
RPM build errors:
error: Bad exit status from /var/tmp/rpm-tmp.73bN0J (%prep)
Bad exit status from /var/tmp/rpm-tmp.73bN0J (%prep)
Child returncode was: 1
EXCEPTION: Command failed. See logs for output.
# ['bash', '--login', '-c', 'rpmbuild -bb --target x86_64 --nodeps
builddir/build/SPECS/net-snmp.spec']
Traceback (most recent call last):
File "/usr/lib/python2.6/site-packages/mock/trace_decorator.py", line
70, in trace
result = func(*args, **kw)
File "/usr/lib/python2.6/site-packages/mock/util.py", line 328, in do
raise mock.exception.Error, ("Command failed. See logs for output.\n
# %s" % (command,), child.returncode)
Error: Command failed. See logs for output.
# ['bash', '--login', '-c', 'rpmbuild -bb --target x86_64 --nodeps
builddir/build/SPECS/net-snmp.spec']
LEAVE do --> EXCEPTION RAISED
-=[HEAD commit]=-
[fsadmin@rpmstage build]$ git show HEAD
commit 326fcb2f0c3e4734441557fa8a076ccfe50ed7ae
Merge: 1e6e3bb 4719cd8
Author: Douglas Hubler <[email protected]>
Date: Sat May 19 08:23:37 2012 -0400
Merge branch 'master' of github.com:dhubler/sipxecs
_______________________________________________
sipx-dev mailing list
[email protected]
List Archive: http://list.sipfoundry.org/archive/sipx-dev/