Memory limit set to 110504152KB Using BUILD_ROOT=/srv/build/root_5 Using BUILD_ARCH=i586:i486:i386 w15 started "build patchelf.spec" at Wed Apr 24 07:14:49 UTC 2013. Building patchelf for project 'Tizen:2.1:Base' repository 'standard' arch 'i586' srcmd5 '325b3ac99a180b592ac83c850a4b1afe' processing specfile /srv/build/root_5/.build-srcdir/patchelf.spec ... running changelog2spec --target rpm --file /srv/build/root_5/.build-srcdir/patchelf.spec init_buildsystem --cachedir /var/cache/build --clean --rpmlist /srv/build/root_5/.build.rpmlist /srv/build/root_5/.build-srcdir/patchelf.spec build rpmlint-Factory ... [1/30] preinstalling rpm... [2/30] preinstalling rpm-libs... [3/30] preinstalling setup... [4/30] preinstalling filesystem... [5/30] preinstalling bash... [6/30] preinstalling bzip2... [7/30] preinstalling coreutils... [8/30] preinstalling diffutils... [9/30] preinstalling liblua... [10/30] preinstalling eglibc... [11/30] preinstalling eglibc-common... [12/30] preinstalling libacl... [13/30] preinstalling libattr... [14/30] preinstalling libgcc... [15/30] preinstalling libcap... [16/30] preinstalling popt... [17/30] preinstalling readline... [18/30] preinstalling sed... [19/30] preinstalling tar... [20/30] preinstalling zlib... [21/30] preinstalling sqlite... [22/30] preinstalling ncurses-libs... [23/30] preinstalling elfutils-libelf... [24/30] preinstalling bzip2-libs... [25/30] preinstalling libstdc++... [26/30] preinstalling libfile... [27/30] preinstalling xz-libs... [28/30] preinstalling nss... [29/30] preinstalling nspr... [30/30] preinstalling nss-softokn-freebl... initializing rpm db... reordering...cycle: bash -> eglibc -> eglibc-common breaking dependency eglibc-common -> bash cycle: bash -> eglibc -> eglibc-common -> coreutils breaking dependency eglibc-common -> coreutils cycle: eglibc -> eglibc-common breaking dependency eglibc-common -> eglibc cycle: eglibc -> eglibc-common -> findutils breaking dependency eglibc-common -> findutils cycle: eglibc -> eglibc-common -> grep breaking dependency grep -> eglibc cycle: eglibc -> eglibc-common -> grep -> libpcre breaking dependency libpcre -> eglibc cycle: eglibc -> eglibc-common -> grep -> libpcre -> libgcc breaking dependency libpcre -> libgcc cycle: eglibc -> eglibc-common -> grep -> libpcre -> libstdc++ breaking dependency libstdc++ -> eglibc cycle: eglibc -> eglibc-common -> grep -> libpcre -> libstdc++ -> libgcc breaking dependency eglibc -> eglibc-common cycle: eglibc -> libgcc breaking dependency libgcc -> eglibc cycle: filesystem -> setup breaking dependency setup -> filesystem cycle: ncurses -> ncurses-libs breaking dependency ncurses-libs -> ncurses cycle: ncurses-base -> ncurses -> ncurses-libs breaking dependency ncurses-libs -> ncurses-base cycle: perl -> perl-libs breaking dependency perl -> perl-libs cycle: perl -> perl-ExtUtils-MakeMaker -> perl-devel breaking dependency perl -> perl-ExtUtils-MakeMaker cycle: perl -> perl-IO-Compress-Zlib breaking dependency perl -> perl-IO-Compress-Zlib cycle: perl -> perl-IO-Compress-Base breaking dependency perl -> perl-IO-Compress-Base cycle: perl -> perl-Module-Pluggable breaking dependency perl -> perl-Module-Pluggable cycle: perl -> perl-Pod-Simple breaking dependency perl -> perl-Pod-Simple cycle: perl-devel -> perl-ExtUtils-MakeMaker breaking dependency perl-devel -> perl-ExtUtils-MakeMaker cycle: perl-ExtUtils-ParseXS -> perl-devel breaking dependency perl-devel -> perl-ExtUtils-ParseXS cycle: perl-CPAN -> perl-Test-Harness breaking dependency perl-Test-Harness -> perl-CPAN cycle: nss-sysinit -> nss breaking dependency nss -> nss-sysinit cycle: rpm-libs -> rpm breaking dependency rpm -> rpm-libs done [1/105] [2/105] installing cloog-0.15.9-1.2 [3/105] installing kernel-headers-2.6.36-1.1 [4/105] installing tizen-release-2.1.0-1.1 [5/105] installing tzdata-2011h-1.1 [6/105] installing libgcc-4.5.3-1.3 [7/105] installing setup-0.1-2.1 [8/105] installing filesystem-0.1-1.1 warning: group lock does not exist - using root warning: group mail does not exist - using root [9/105] installing eglibc-2.13-1.7 [10/105] installing libstdc++-4.5.3-1.3 [11/105] installing bzip2-libs-1.0.5-4.2 [12/105] installing cpio-2.8-3.1 [13/105] installing e2fsprogs-libs-1.41.9-2.1 [14/105] installing elfutils-libelf-0.152-1.16 [15/105] installing findutils-4.2.31-1.1 [16/105] installing gdbm-1.8.3-1.2 [17/105] installing libattr-2.4.44-7.4 [18/105] installing libidn-1.15-6.2 [19/105] installing liblua-5.1.4-6.1 [20/105] installing libstdc++-devel-4.5.3-1.3 [21/105] installing libuuid-2.20.2-1.1 [22/105] installing lzo-2.03-1.2 [23/105] installing m4-1.4.14-1.1 [24/105] installing make-3.81-1.1 [25/105] installing net-tools-1.60-87.2 [26/105] installing nspr-4.8.7-1.3 [27/105] installing nss-softokn-freebl-3.12.9-3.11 [28/105] installing patch-2.6.1.169-1.1 [29/105] installing pkgconfig-0.25-3.2 [30/105] installing popt-1.16-3.2 [31/105] installing readline-5.2-13.2 [32/105] installing sed-4.1.5-2.1 [33/105] installing sqlite-3.7.13-1.2 [34/105] installing xz-libs-5.0.3-1.3 [35/105] installing zlib-1.2.5-2.8 [36/105] installing bash-4.1-3.1 [37/105] installing diffutils-3.0-3.1 [38/105] installing libgomp-4.5.3-1.3 [39/105] installing gmp-5.0.1-1.2 [40/105] installing libpcre-7.7-2.3 [41/105] installing ncurses-libs-5.7-4.2 [42/105] installing build-compare-2009.10.14-26.2 [43/105] installing c-ares-1.7.4-2.2 [44/105] installing eglibc-headers-2.13-1.7 [45/105] installing grep-2.5.1a-62.1 [46/105] installing libacl-2.2.49-1.1 [47/105] installing libcap-2.21-1.2 [48/105] installing libfile-5.04-1.2 [49/105] installing lzo-minilzo-2.03-1.2 [50/105] installing mpfr-3.0.0-1.2 [51/105] installing ncurses-5.7-4.2 [52/105] installing unzip-6.0-9.3 [53/105] installing zlib-devel-1.2.5-2.8 [54/105] installing bzip2-1.0.5-4.2 [55/105] installing libblkid-2.20.2-1.1 [56/105] installing xz-5.0.3-1.3 [57/105] installing binutils-2.22-1.3 [58/105] installing ppl-0.10.2-10.2 [59/105] installing elfutils-libs-0.152-1.16 [60/105] installing nss-3.12.9-3.11 [61/105] installing perl-5.12.1-61.2 [62/105] installing ncurses-base-5.7-4.2 [63/105] installing perl-HTML-Tagset-3.20-8.1 [64/105] installing perl-IO-Compress-Base-2.008-61.2 [65/105] installing perl-Module-Pluggable-3.60-61.2 [66/105] installing perl-Pod-Escapes-1.04-61.2 [67/105] installing perl-TimeDate-1.20-1.1 [68/105] installing eglibc-devel-2.13-1.7 [69/105] installing perl-Compress-Raw-Zlib-2.008-61.2 [70/105] installing perl-libs-5.12.1-61.2 [71/105] installing tar-1.17-4.1 [72/105] installing coreutils-6.9-9.1 [73/105] installing file-5.04-1.2 [74/105] installing libmount-2.20.2-1.1 [75/105] installing lzo-devel-2.03-1.2 [76/105] installing mpc-0.9-1.2 [77/105] installing openssl-1.0.1c-1.12 [78/105] installing perl-devel-5.12.1-61.2 [79/105] installing xz-lzma-compat-5.0.3-1.3 [80/105] installing cloog-ppl-0.15.9-1.2 [81/105] installing nss-sysinit-3.12.9-3.11 [82/105] installing elfutils-0.152-1.16 [83/105] installing eglibc-common-2.13-1.7 [84/105] installing perl-ExtUtils-ParseXS-2.18-61.2 [85/105] installing perl-Pod-Simple-3.07-61.2 [86/105] installing perl-Test-Simple-0.80-61.2 [87/105] installing gawk-3.1.5-1.1 [88/105] installing gzip-1.3.14-2.1 [89/105] installing perl-IO-Compress-Zlib-2.008-61.2 [90/105] installing perl-Test-Harness-3.12-61.2 [91/105] installing build-2011.01.10a-1.1 [92/105] installing libcurl-7.28.1-1.3 [93/105] installing util-linux-2.20.2-1.1 warning: group tty does not exist - using root /bin/chown: `root:root': invalid user [94/105] installing cpp-4.5.3-1.3 [95/105] installing perl-ExtUtils-MakeMaker-6.36-61.2 [96/105] installing curl-7.28.1-1.3 [97/105] installing gcc-4.5.3-1.3 [98/105] installing perl-CPAN-1.9205-61.2 [99/105] installing autoconf-2.68-1.1 [100/105] installing gcc-c++-4.5.3-1.3 [101/105] installing rpm-4.9.1-4.3 [102/105] installing automake-1.11.1-3.1 [103/105] installing rpm-libs-4.9.1-4.3 [104/105] installing libtool-2.2.6b-1.2 [105/105] installing rpm-build-4.9.1-4.3 now finalizing build dir... /var/run/obs/worker/5/build/build: line 1761: /srv/build/root_5/etc/passwd: No such file or directory ----------------------------------------------------------------- I have the following modifications for patchelf.spec: 5c5 < Release: 1 --- > Release: 1.2 42a43 > %changelog ----------------------------------------------------------------- ----- building patchelf.spec (user abuild) ----------------------------------------------------------------- ----------------------------------------------------------------- + exec rpmbuild -ba --define '_srcdefattr (-,root,root)' --define 'disturl obs://build.tizen.org/Tizen:2.1:Base/standard/325b3ac99a180b592ac83c850a4b1afe-patchelf' /home/abuild/rpmbuild/SOURCES/patchelf.spec Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.T62sx6 + umask 022 + cd /home/abuild/rpmbuild/BUILD + LANG=C + export LANG + unset DISPLAY + cd /home/abuild/rpmbuild/BUILD + rm -rf patchelf-0.5.svn20809 + /usr/bin/bzip2 -dc /home/abuild/rpmbuild/SOURCES/patchelf-0.5.svn20809.tar.bz2 + /bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd patchelf-0.5.svn20809 + /bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.WC3EeY + umask 022 + cd /home/abuild/rpmbuild/BUILD + cd patchelf-0.5.svn20809 + LANG=C + export LANG + unset DISPLAY + CFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -m32 -march=core2 -mssse3 -mtune=atom -mfpmath=sse -fasynchronous-unwind-tables -fno-omit-frame-pointer' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -m32 -march=core2 -mssse3 -mtune=atom -mfpmath=sse -fasynchronous-unwind-tables -fno-omit-frame-pointer' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -m32 -march=core2 -mssse3 -mtune=atom -mfpmath=sse -fasynchronous-unwind-tables -fno-omit-frame-pointer -I%_fmoddir' + export FFLAGS + LD_AS_NEEDED=1 + export LD_AS_NEEDED + cp /home/abuild/rpmbuild/SOURCES/patchelf.manifest . + ./bootstrap.sh configure.ac:3: installing `./install-sh' configure.ac:3: installing `./missing' src/Makefile.am: installing `./depcomp' + ./configure --prefix=/usr checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking for style of include used by make... GNU checking dependency style of gcc... gcc3 checking for g++... g++ checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking dependency style of g++... gcc3 configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating tests/Makefile config.status: executing depfiles commands + make Making all in src make[1]: Entering directory `/home/abuild/rpmbuild/BUILD/patchelf-0.5.svn20809/src' g++ -DPACKAGE_NAME=\"patchelf\" -DPACKAGE_TARNAME=\"patchelf\" -DPACKAGE_VERSION=\"0.6\" -DPACKAGE_STRING=\"patchelf\ 0.6\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"patchelf\" -DVERSION=\"0.6\" -I. -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -m32 -march=core2 -mssse3 -mtune=atom -mfpmath=sse -fasynchronous-unwind-tables -fno-omit-frame-pointer -MT patchelf.o -MD -MP -MF .deps/patchelf.Tpo -c -o patchelf.o patchelf.cc mv -f .deps/patchelf.Tpo .deps/patchelf.Po g++ -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -m32 -march=core2 -mssse3 -mtune=atom -mfpmath=sse -fasynchronous-unwind-tables -fno-omit-frame-pointer -o patchelf patchelf.o make[1]: Leaving directory `/home/abuild/rpmbuild/BUILD/patchelf-0.5.svn20809/src' Making all in tests make[1]: Entering directory `/home/abuild/rpmbuild/BUILD/patchelf-0.5.svn20809/tests' make[1]: Nothing to be done for `all'. make[1]: Leaving directory `/home/abuild/rpmbuild/BUILD/patchelf-0.5.svn20809/tests' make[1]: Entering directory `/home/abuild/rpmbuild/BUILD/patchelf-0.5.svn20809' make[1]: Nothing to be done for `all-am'. make[1]: Leaving directory `/home/abuild/rpmbuild/BUILD/patchelf-0.5.svn20809' + make check Making check in src make[1]: Entering directory `/home/abuild/rpmbuild/BUILD/patchelf-0.5.svn20809/src' make[1]: Nothing to be done for `check'. make[1]: Leaving directory `/home/abuild/rpmbuild/BUILD/patchelf-0.5.svn20809/src' Making check in tests make[1]: Entering directory `/home/abuild/rpmbuild/BUILD/patchelf-0.5.svn20809/tests' make main main-scoped simple big-dynstr make[2]: Entering directory `/home/abuild/rpmbuild/BUILD/patchelf-0.5.svn20809/tests' gcc -fpic -o main.o -c main.c gcc -fpic -o foo.o -c foo.c gcc -fpic -o bar.o -c bar.c NIX_DONT_SET_RPATH=1 gcc -Wl,--disable-new-dtags -shared -o libbar.so bar.o -L . -Wl,-rpath,`pwd`/no-such-path NIX_DONT_SET_RPATH=1 gcc -Wl,--disable-new-dtags -shared -o libfoo.so foo.o -L . -lbar LD_LIBRARY_PATH=. gcc -Wl,--disable-new-dtags -o main main.o -L . -lfoo NIX_DONT_SET_RPATH=1 gcc -Wl,--enable-new-dtags -shared -o libbar-scoped.so bar.o NIX_DONT_SET_RPATH=1 gcc -Wl,--enable-new-dtags -shared -o libfoo-scoped.so foo.o -L . -lbar-scoped LD_LIBRARY_PATH=. gcc -Wl,--enable-new-dtags -o main-scoped main.o -L . -lfoo-scoped gcc -DPACKAGE_NAME=\"patchelf\" -DPACKAGE_TARNAME=\"patchelf\" -DPACKAGE_VERSION=\"0.6\" -DPACKAGE_STRING=\"patchelf\ 0.6\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"patchelf\" -DVERSION=\"0.6\" -I. -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -m32 -march=core2 -mssse3 -mtune=atom -mfpmath=sse -fasynchronous-unwind-tables -fno-omit-frame-pointer -MT simple.o -MD -MP -MF .deps/simple.Tpo -c -o simple.o simple.c mv -f .deps/simple.Tpo .deps/simple.Po gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -m32 -march=core2 -mssse3 -mtune=atom -mfpmath=sse -fasynchronous-unwind-tables -fno-omit-frame-pointer -o simple simple.o cat main.c > big-dynstr.c for i in $(seq 1 2000); do echo "void f$i(void) { };" >> big-dynstr.c; done gcc -DPACKAGE_NAME=\"patchelf\" -DPACKAGE_TARNAME=\"patchelf\" -DPACKAGE_VERSION=\"0.6\" -DPACKAGE_STRING=\"patchelf\ 0.6\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"patchelf\" -DVERSION=\"0.6\" -I. -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -m32 -march=core2 -mssse3 -mtune=atom -mfpmath=sse -fasynchronous-unwind-tables -fno-omit-frame-pointer -MT big-dynstr.o -MD -MP -MF .deps/big-dynstr.Tpo -c -o big-dynstr.o big-dynstr.c mv -f .deps/big-dynstr.Tpo .deps/big-dynstr.Po LD_LIBRARY_PATH=. gcc -Wl,--disable-new-dtags -o big-dynstr big-dynstr.o -L . -lfoo make[2]: Leaving directory `/home/abuild/rpmbuild/BUILD/patchelf-0.5.svn20809/tests' make check-TESTS make[2]: Entering directory `/home/abuild/rpmbuild/BUILD/patchelf-0.5.svn20809/tests' ./main: error while loading shared libraries: libfoo.so: cannot open shared object file: No such file or directory PASS: plain-fail.sh Hello World This is foo()! This is bar()! Result is 46 PASS: plain-run.sh RPATH before: /home/abuild/rpmbuild/BUILD/patchelf-0.5.svn20809/tests/no-such-path patching ELF file `scratch/libbar.so' removing directory `/home/abuild/rpmbuild/BUILD/patchelf-0.5.svn20809/tests/no-such-path' from RPATH new rpath is `' RPATH after: Hello World This is foo()! This is bar()! Result is 46 PASS: shrink-rpath.sh Hello World current interpreter is /lib/ld-linux.so.2 patching ELF file `scratch/simple' replacing section `.interp' with size 6 this is an executable using replaced section `.interp' last replaced is 1 looking at section `.interp' first reserved offset/addr is 0x148/0x8048148 first page is 0x8048000 needed space is 316 clearing first 20 bytes rewriting section `.interp' from offset 308 (size 19) to offset 308 (size 6) running with missing interpreter... ./set-interpreter-short.sh: line 15: scratch/simple: No such file or directory PASS: set-interpreter-short.sh Hello World current interpreter is /lib/ld-linux.so.2 running with explicit interpreter... Hello World patching ELF file `scratch/simple' replacing section `.interp' with size 165 this is an executable using replaced section `.interp' last replaced is 1 looking at section `.interp' first reserved offset/addr is 0x148/0x8048148 first page is 0x8048000 needed space is 476 needed space is 508 needed pages is 1 clearing first 4084 bytes rewriting section `.interp' from offset 4404 (size 19) to offset 340 (size 165) running with missing interpreter... ./set-interpreter-long.sh: line 21: scratch/simple: No such file or directory running with new interpreter... Hello World running with explicit interpreter... Hello World PASS: set-interpreter-long.sh patching ELF file `scratch/main' new rpath is `/oops:/home/abuild/rpmbuild/BUILD/patchelf-0.5.svn20809/tests/scratch/libsA:/home/abuild/rpmbuild/BUILD/patchelf-0.5.svn20809/tests/scratch/libsB' rpath is too long, resizing... DT_NULL index is 21 replacing section `.dynamic' with size 224 replacing section `.dynstr' with size 297 this is an executable using replaced section `.dynstr' using replaced section `.dynamic' last replaced is 22 looking at section `.interp' replacing section `.interp' which is in the way looking at section `.note.ABI-tag' replacing section `.note.ABI-tag' which is in the way looking at section `.note.gnu.build-id' replacing section `.note.gnu.build-id' which is in the way looking at section `.hash' replacing section `.hash' which is in the way looking at section `.gnu.hash' replacing section `.gnu.hash' which is in the way looking at section `.dynsym' replacing section `.dynsym' which is in the way looking at section `.dynstr' looking at section `.gnu.version' first reserved offset/addr is 0x378/0x8048378 first page is 0x8048000 needed space is 1260 needed space is 1292 needed pages is 1 clearing first 4644 bytes rewriting section `.dynamic' from offset 5844 (size 216) to offset 340 (size 224) rewriting section `.dynstr' from offset 4832 (size 151) to offset 564 (size 297) rewriting section `.dynsym' from offset 4624 (size 208) to offset 864 (size 208) rewriting section `.gnu.hash' from offset 4564 (size 60) to offset 1072 (size 60) rewriting section `.hash' from offset 4492 (size 72) to offset 1132 (size 72) rewriting section `.interp' from offset 4404 (size 19) to offset 1204 (size 19) rewriting section `.note.ABI-tag' from offset 4424 (size 32) to offset 1224 (size 32) rewriting section `.note.gnu.build-id' from offset 4456 (size 36) to offset 1256 (size 36) Hello World This is foo()! This is bar()! Result is 46 PASS: set-rpath.sh patching ELF file `scratch/no-rpath' new rpath is `/foo:/bar:/xxxxxxxxxxxxxxx' rpath is too long, resizing... DT_NULL index is 19 replacing section `.dynamic' with size 208 replacing section `.dynstr' with size 103 replacing section `.interp' with size 19 this is an executable using replaced section `.interp' using replaced section `.dynstr' using replaced section `.dynamic' last replaced is 17 looking at section `.interp' looking at section `.note.ABI-tag' replacing section `.note.ABI-tag' which is in the way looking at section `.hash' replacing section `.hash' which is in the way looking at section `.dynsym' replacing section `.dynsym' which is in the way looking at section `.dynstr' looking at section `.gnu.version' first reserved offset/addr is 0x1ec/0x80481ec first page is 0x8048000 needed space is 728 needed space is 760 needed pages is 1 clearing first 4312 bytes rewriting section `.dynamic' from offset 5288 (size 200) to offset 276 (size 208) rewriting section `.dynstr' from offset 4512 (size 76) to offset 484 (size 103) rewriting section `.dynsym' from offset 4432 (size 80) to offset 588 (size 80) rewriting section `.hash' from offset 4392 (size 40) to offset 668 (size 40) rewriting section `.interp' from offset 4340 (size 19) to offset 708 (size 19) rewriting section `.note.ABI-tag' from offset 4360 (size 32) to offset 728 (size 32) PASS: no-rpath.sh patching ELF file `scratch/big-dynstr' new rpath is `/oops:/home/abuild/rpmbuild/BUILD/patchelf-0.5.svn20809/tests/scratch/libsA:/home/abuild/rpmbuild/BUILD/patchelf-0.5.svn20809/tests/scratch/libsB' rpath is too long, resizing... DT_NULL index is 21 replacing section `.dynamic' with size 224 replacing section `.dynstr' with size 315 this is an executable using replaced section `.dynstr' using replaced section `.dynamic' last replaced is 22 looking at section `.interp' replacing section `.interp' which is in the way looking at section `.note.ABI-tag' replacing section `.note.ABI-tag' which is in the way looking at section `.note.gnu.build-id' replacing section `.note.gnu.build-id' which is in the way looking at section `.hash' replacing section `.hash' which is in the way looking at section `.gnu.hash' replacing section `.gnu.hash' which is in the way looking at section `.dynsym' replacing section `.dynsym' which is in the way looking at section `.dynstr' looking at section `.gnu.version' first reserved offset/addr is 0x38a/0x804838a first page is 0x8048000 needed space is 1276 needed space is 1308 needed pages is 1 clearing first 4662 bytes rewriting section `.dynamic' from offset 117932 (size 216) to offset 340 (size 224) rewriting section `.dynstr' from offset 4832 (size 169) to offset 564 (size 315) rewriting section `.dynsym' from offset 4624 (size 208) to offset 880 (size 208) rewriting section `.gnu.hash' from offset 4564 (size 60) to offset 1088 (size 60) rewriting section `.hash' from offset 4492 (size 72) to offset 1148 (size 72) rewriting section `.interp' from offset 4404 (size 19) to offset 1220 (size 19) rewriting section `.note.ABI-tag' from offset 4424 (size 32) to offset 1240 (size 32) rewriting section `.note.gnu.build-id' from offset 4456 (size 36) to offset 1272 (size 36) Hello World This is foo()! This is bar()! Result is 46 PASS: big-dynstr.sh patching ELF file `scratch/main-scoped' new rpath is `/oops:/home/abuild/rpmbuild/BUILD/patchelf-0.5.svn20809/tests/scratch/libsA:/home/abuild/rpmbuild/BUILD/patchelf-0.5.svn20809/tests/scratch/libsB' rpath is too long, resizing... DT_NULL index is 21 replacing section `.dynamic' with size 224 replacing section `.dynstr' with size 304 this is an executable using replaced section `.dynstr' using replaced section `.dynamic' last replaced is 22 looking at section `.interp' replacing section `.interp' which is in the way looking at section `.note.ABI-tag' replacing section `.note.ABI-tag' which is in the way looking at section `.note.gnu.build-id' replacing section `.note.gnu.build-id' which is in the way looking at section `.hash' replacing section `.hash' which is in the way looking at section `.gnu.hash' replacing section `.gnu.hash' which is in the way looking at section `.dynsym' replacing section `.dynsym' which is in the way looking at section `.dynstr' looking at section `.gnu.version' first reserved offset/addr is 0x37e/0x804837e first page is 0x8048000 needed space is 1264 needed space is 1296 needed pages is 1 clearing first 4650 bytes rewriting section `.dynamic' from offset 5844 (size 216) to offset 340 (size 224) rewriting section `.dynstr' from offset 4832 (size 158) to offset 564 (size 304) rewriting section `.dynsym' from offset 4624 (size 208) to offset 868 (size 208) rewriting section `.gnu.hash' from offset 4564 (size 60) to offset 1076 (size 60) rewriting section `.hash' from offset 4492 (size 72) to offset 1136 (size 72) rewriting section `.interp' from offset 4404 (size 19) to offset 1208 (size 19) rewriting section `.note.ABI-tag' from offset 4424 (size 32) to offset 1228 (size 32) rewriting section `.note.gnu.build-id' from offset 4456 (size 36) to offset 1260 (size 36) ./main-scoped: error while loading shared libraries: libbar-scoped.so: cannot open shared object file: No such file or directory patching ELF file `scratch/libsA/libfoo-scoped.so' new rpath is `/oops:/home/abuild/rpmbuild/BUILD/patchelf-0.5.svn20809/tests/scratch/libsB' rpath is too long, resizing... DT_NULL index is 21 replacing section `.dynamic' with size 216 replacing section `.dynstr' with size 251 this is a dynamic library last page is 0x2000 needed space is 756 rewriting section `.dynamic' from offset 1604 (size 208) to offset 8480 (size 216) rewriting section `.dynstr' from offset 688 (size 175) to offset 8696 (size 251) Hello World This is foo()! This is bar()! Result is 46 patching ELF file `scratch/main-scoped' removing directory `/oops' from RPATH removing directory `/home/abuild/rpmbuild/BUILD/patchelf-0.5.svn20809/tests/scratch/libsB' from RPATH new rpath is `/home/abuild/rpmbuild/BUILD/patchelf-0.5.svn20809/tests/scratch/libsA' Hello World This is foo()! This is bar()! Result is 46 PASS: set-rpath-library.sh ================== All 9 tests passed ================== make[2]: Leaving directory `/home/abuild/rpmbuild/BUILD/patchelf-0.5.svn20809/tests' make[1]: Leaving directory `/home/abuild/rpmbuild/BUILD/patchelf-0.5.svn20809/tests' make[1]: Entering directory `/home/abuild/rpmbuild/BUILD/patchelf-0.5.svn20809' make[1]: Nothing to be done for `check-am'. make[1]: Leaving directory `/home/abuild/rpmbuild/BUILD/patchelf-0.5.svn20809' + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.H3zKxi + umask 022 + cd /home/abuild/rpmbuild/BUILD + cd patchelf-0.5.svn20809 + LANG=C + export LANG + unset DISPLAY + rm -rf /home/abuild/rpmbuild/BUILDROOT/patchelf-0.5.svn20809-1.2.i386 + mkdir -p /home/abuild/rpmbuild/BUILDROOT/patchelf-0.5.svn20809-1.2.i386 + /usr/bin/make DESTDIR=/home/abuild/rpmbuild/BUILDROOT/patchelf-0.5.svn20809-1.2.i386 INSTALL_ROOT=/home/abuild/rpmbuild/BUILDROOT/patchelf-0.5.svn20809-1.2.i386 install Making install in src make[1]: Entering directory `/home/abuild/rpmbuild/BUILD/patchelf-0.5.svn20809/src' make[2]: Entering directory `/home/abuild/rpmbuild/BUILD/patchelf-0.5.svn20809/src' test -z "/usr/bin" || /bin/mkdir -p "/home/abuild/rpmbuild/BUILDROOT/patchelf-0.5.svn20809-1.2.i386/usr/bin" /usr/bin/install -c patchelf '/home/abuild/rpmbuild/BUILDROOT/patchelf-0.5.svn20809-1.2.i386/usr/bin' make[2]: Nothing to be done for `install-data-am'. make[2]: Leaving directory `/home/abuild/rpmbuild/BUILD/patchelf-0.5.svn20809/src' make[1]: Leaving directory `/home/abuild/rpmbuild/BUILD/patchelf-0.5.svn20809/src' Making install in tests make[1]: Entering directory `/home/abuild/rpmbuild/BUILD/patchelf-0.5.svn20809/tests' make[2]: Entering directory `/home/abuild/rpmbuild/BUILD/patchelf-0.5.svn20809/tests' make[2]: Nothing to be done for `install-exec-am'. make[2]: Nothing to be done for `install-data-am'. make[2]: Leaving directory `/home/abuild/rpmbuild/BUILD/patchelf-0.5.svn20809/tests' make[1]: Leaving directory `/home/abuild/rpmbuild/BUILD/patchelf-0.5.svn20809/tests' make[1]: Entering directory `/home/abuild/rpmbuild/BUILD/patchelf-0.5.svn20809' make[2]: Entering directory `/home/abuild/rpmbuild/BUILD/patchelf-0.5.svn20809' make[2]: Nothing to be done for `install-exec-am'. /usr/bin/install -c -d /home/abuild/rpmbuild/BUILDROOT/patchelf-0.5.svn20809-1.2.i386/usr/share/doc/patchelf /usr/bin/install -c -m 644 README /home/abuild/rpmbuild/BUILDROOT/patchelf-0.5.svn20809-1.2.i386/usr/share/doc/patchelf/ make[2]: Leaving directory `/home/abuild/rpmbuild/BUILD/patchelf-0.5.svn20809' make[1]: Leaving directory `/home/abuild/rpmbuild/BUILD/patchelf-0.5.svn20809' + rm -f /home/abuild/rpmbuild/BUILDROOT/patchelf-0.5.svn20809-1.2.i386/usr/share/info/dir + find /home/abuild/rpmbuild/BUILDROOT/patchelf-0.5.svn20809-1.2.i386 -regex '.*\.la$' + xargs rm -f -- + find /home/abuild/rpmbuild/BUILDROOT/patchelf-0.5.svn20809-1.2.i386 -regex '.*\.a$' + xargs rm -f -- + strip /home/abuild/rpmbuild/BUILDROOT/patchelf-0.5.svn20809-1.2.i386//usr/bin/patchelf + /usr/lib/rpm/find-debuginfo.sh --strict-build-id /home/abuild/rpmbuild/BUILD/patchelf-0.5.svn20809 WARNING: /usr/bin/patchelf is already stripped! + /usr/lib/rpm/check-buildroot + /usr/lib/rpm//brp-compress + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /usr/lib/rpm/brp-python-bytecompile + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/tizen/find-docs.sh /home/abuild/rpmbuild/BUILDROOT/patchelf-0.5.svn20809-1.2.i386 Processing files: patchelf-0.5.svn20809-1.2.i586 Aptk: PG1hbmlmZXN0PgogPHJlcXVlc3Q+CiAgICA8ZG9tYWluIG5hbWU9Il8iLz4KIDwv cmVxdWVzdD4KPC9tYW5pZmVzdD4K Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libc.so.6 libc.so.6(GLIBC_2.0) libc.so.6(GLIBC_2.1.3) libc.so.6(GLIBC_2.3.4) libgcc_s.so.1 libgcc_s.so.1(GCC_3.0) libgcc_s.so.1(GLIBC_2.0) libm.so.6 libstdc++.so.6 libstdc++.so.6(CXXABI_1.3) libstdc++.so.6(GLIBCXX_3.4) Processing files: patchelf-debuginfo-0.5.svn20809-1.2.i586 Processing files: patchelf-debugsource-0.5.svn20809-1.2.i586 Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/abuild/rpmbuild/BUILDROOT/patchelf-0.5.svn20809-1.2.i386 Wrote: /home/abuild/rpmbuild/SRPMS/patchelf-0.5.svn20809-1.2.src.rpm Wrote: /home/abuild/rpmbuild/RPMS/i586/patchelf-0.5.svn20809-1.2.i586.rpm Wrote: /home/abuild/rpmbuild/RPMS/i586/patchelf-debuginfo-0.5.svn20809-1.2.i586.rpm Wrote: /home/abuild/rpmbuild/RPMS/i586/patchelf-debugsource-0.5.svn20809-1.2.i586.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.4EemFY + umask 022 + cd /home/abuild/rpmbuild/BUILD + cd patchelf-0.5.svn20809 + /bin/rm -rf /home/abuild/rpmbuild/BUILDROOT/patchelf-0.5.svn20809-1.2.i386 + exit 0 ... checking for files with abuild user/group ... creating baselibs ... comparing built packages with the former built /usr/lib/build/rpm-check.sh compare /.build.oldpackages/patchelf-0.5.svn20809-1.1.src.rpm /home/abuild/rpmbuild/SRPMS/patchelf-0.5.svn20809-1.2.src.rpm compare /.build.oldpackages/patchelf-0.5.svn20809-1.1.i586.rpm /home/abuild/rpmbuild/RPMS/i586/patchelf-0.5.svn20809-1.2.i586.rpm /usr/bin/patchelf differs in assembler output --- /tmp/tmp.5JM7LUbPSW 2013-04-24 07:15:09.121076601 +0000 +++ /tmp/tmp.rgEyS3vY4x 2013-04-24 07:15:09.249083227 +0000 @@ -9,12 +9,12 @@ mov %esp,%ebp push %ebx sub $something,%esp - call + call pop %ebx add $something,%ebx mov -offset(%ebx),%edx test %edx,%edx - je + je call <__gmon_start__@plt> call <_ZNSs7reserveEj@plt + ofs> call <_ZStplIcSt11char_traitsIcESaIcEESbIT_T0_T1_EPKS3_RKS6_ + ofs> @@ -26,298 +26,298 @@ Disassembly of section .plt: abort@plt-0x10: - pushl 0x805e1e0 - jmp *0x805e1e4 + pushl 0x805e20c + jmp *0x805e210 add %al,(%eax) ... abort@plt: - jmp *0x805e1e8 + jmp *0x805e214 push $something jmp __errno_location@plt: - jmp *0x805e1ec + jmp *0x805e218 push $something jmp _ZSt20__throw_length_errorPKc@plt: - jmp *0x805e1f0 + jmp *0x805e21c push $something jmp open@plt: - jmp *0x805e1f4 + jmp *0x805e220 push $something jmp __cxa_atexit@plt: - jmp *0x805e1f8 + jmp *0x805e224 push $something jmp _ZSt18_Rb_tree_decrementPKSt18_Rb_tree_node_base@plt: - jmp *0x805e1fc + jmp *0x805e228 push $something jmp __cxa_guard_acquire@plt: - jmp *0x805e200 + jmp *0x805e22c push $something jmp __fprintf_chk@plt: - jmp *0x805e204 + jmp *0x805e230 push $something jmp __xstat@plt: - jmp *0x805e208 + jmp *0x805e234 push $something jmp __gmon_start__@plt: - jmp *0x805e20c + jmp *0x805e238 push $something jmp _ZdlPv@plt: - jmp *0x805e210 + jmp *0x805e23c push $something jmp strchr@plt: - jmp *0x805e214 + jmp *0x805e240 push $something jmp getenv@plt: - jmp *0x805e218 + jmp *0x805e244 push $something jmp __cxa_rethrow@plt: - jmp *0x805e21c + jmp *0x805e248 push $something jmp write@plt: - jmp *0x805e220 + jmp *0x805e24c push $something jmp rename@plt: - jmp *0x805e224 + jmp *0x805e250 push $something jmp memset@plt: - jmp *0x805e228 + jmp *0x805e254 push $something jmp _ZSt18_Rb_tree_decrementPSt18_Rb_tree_node_base@plt: - jmp *0x805e22c + jmp *0x805e258 push $something jmp __libc_start_main@plt: - jmp *0x805e230 + jmp *0x805e25c push $something jmp _ZNSsC1ERKSs@plt: - jmp *0x805e234 + jmp *0x805e260 push $something jmp chmod@plt: - jmp *0x805e238 + jmp *0x805e264 push $something jmp __assert_fail@plt: - jmp *0x805e23c + jmp *0x805e268 push $something jmp _ZNSsC1ERKSsjj@plt: - jmp *0x805e240 + jmp *0x805e26c push $something jmp read@plt: - jmp *0x805e244 + jmp *0x805e270 push $something jmp perror@plt: - jmp *0x805e248 + jmp *0x805e274 push $something jmp _ZNSsD1Ev@plt: - jmp *0x805e24c + jmp *0x805e278 push $something jmp _ZNSs4_Rep10_M_destroyERKSaIcE@plt: - jmp *0x805e250 + jmp *0x805e27c push $something jmp __vfprintf_chk@plt: - jmp *0x805e254 + jmp *0x805e280 push $something jmp __umoddi3@plt: - jmp *0x805e258 + jmp *0x805e284 push $something compare /.build.oldpackages/patchelf-debuginfo-0.5.svn20809-1.1.i586.rpm /home/abuild/rpmbuild/RPMS/i586/patchelf-debuginfo-0.5.svn20809-1.2.i586.rpm compare /.build.oldpackages/patchelf-debugsource-0.5.svn20809-1.1.i586.rpm /home/abuild/rpmbuild/RPMS/i586/patchelf-debugsource-0.5.svn20809-1.2.i586.rpm w15 finished "build patchelf.spec" at Wed Apr 24 07:15:09 UTC 2013. Retried build at Wed Apr 24 00:39:14 2013 returned same result, skipped Retried build at Wed Apr 24 20:05:57 2013 returned same result, skipped Retried build at Wed Apr 24 23:33:18 2013 returned same result, skipped Retried build at Sun May 12 23:51:11 2013 returned same result, skipped