[ 0s] Memory limit set to 71863554KB [ 0s] Using BUILD_ROOT=/root/gbsbuild-ROOT/NGBS-ROOT/worker/scratch.9 [ 0s] Using BUILD_ARCH=i586:i486:i386 [ 0s] [ 0s] [ 0s] ee8f131954d8 started "build patchelf.spec" at Thu Jul 13 02:51:12 UTC 2023. [ 0s] [ 0s] Building patchelf for project 'Tizen-5.0-Base' repository 'standard' arch 'i586' srcmd5 'dc44ab1dcfdf72e22f6561f1abb822e6' [ 0s] [ 0s] processing recipe /root/gbsbuild-ROOT/NGBS-ROOT/worker/scratch.9/.build-srcdir/patchelf.spec ... [ 0s] running changelog2spec --target rpm --file /root/gbsbuild-ROOT/NGBS-ROOT/worker/scratch.9/.build-srcdir/patchelf.spec [ 0s] init_buildsystem --configdir /root/gbsbuild-ROOT/NGBS-ROOT/run/worker/9/build/configs --cachedir /var/cache/build --clean --rpmlist /root/gbsbuild-ROOT/NGBS-ROOT/worker/scratch.9/.build.rpmlist /root/gbsbuild-ROOT/NGBS-ROOT/worker/scratch.9/.build-srcdir/patchelf.spec build ... [ 6s] cycle: libsoftokn3 -> nss [ 6s] breaking dependency nss -> libsoftokn3 [ 6s] [1/35] preinstalling libmagic-data... [ 7s] [2/35] preinstalling libncurses... [ 7s] [3/35] preinstalling setup... [ 7s] [4/35] preinstalling filesystem... [ 8s] [5/35] preinstalling glibc... [ 8s] [6/35] preinstalling bash... [ 8s] [7/35] preinstalling diffutils... [ 9s] [8/35] preinstalling grep... [ 9s] [9/35] preinstalling libattr... [ 9s] [10/35] preinstalling libbz2... [ 9s] [11/35] preinstalling libcap... [ 9s] [12/35] preinstalling libelf... [ 9s] [13/35] preinstalling libfreebl3... [ 9s] [14/35] preinstalling libgcc... [ 9s] [15/35] preinstalling liblua... [ 10s] [16/35] preinstalling liblzma... [ 10s] [17/35] preinstalling libpopt... [ 10s] [18/35] preinstalling libreadline... [ 10s] [19/35] preinstalling libsmack... [ 10s] [20/35] preinstalling libsqlite... [ 10s] [21/35] preinstalling nspr... [ 10s] [22/35] preinstalling sed... [ 10s] [23/35] preinstalling zlib... [ 10s] [24/35] preinstalling coreutils... [ 10s] [25/35] preinstalling libacl... [ 10s] [26/35] preinstalling smack... [ 10s] [27/35] preinstalling bzip2... [ 11s] [28/35] preinstalling libmagic... [ 11s] [29/35] preinstalling libxml2... [ 11s] [30/35] preinstalling util-linux... [ 11s] [31/35] preinstalling tar... [ 11s] [32/35] preinstalling util-linux-su... [ 11s] [33/35] preinstalling nss... [ 11s] [34/35] preinstalling libsoftokn3... [ 11s] [35/35] preinstalling rpm... [ 11s] running setup postinstall script [ 11s] chroot: failed to run command '': No such file or directory [ 11s] initializing rpm db... [ 11s] reordering...cycle: libsoftokn3 -> nss [ 11s] breaking dependency nss -> libsoftokn3 [ 11s] done [ 11s] querying package ids... [ 12s] [1/93] cumulate libmagic-data-5.32-1.4 [ 12s] [2/93] cumulate setup-0.9-5.14 [ 12s] [3/93] cumulate filesystem-3.1-3.1 [ 12s] [4/93] cumulate glibc-2.24-1.4 [ 12s] [5/93] cumulate bash-3.2.57-3.1 [ 12s] [6/93] cumulate binutils-2.27-1.4 [ 12s] [7/93] cumulate cpio-2.11-3.1 [ 12s] [8/93] cumulate diffutils-3.3-3.1 [ 12s] [9/93] cumulate findutils-4.3.8-1.4 [ 12s] [10/93] cumulate hostname-3.20-3.1 [ 12s] [11/93] cumulate libatomic-6.2.1-1.4 [ 12s] [12/93] cumulate libattr-2.4.47-1.4 [ 12s] [13/93] cumulate libbz2-1.0.6-1.4 [ 12s] [14/93] cumulate libcap-2.24-1.4 [ 12s] [15/93] cumulate libelf-0.153-1.4 [ 12s] [16/93] cumulate libext2fs-1.43.4-3.1 [ 12s] [17/93] cumulate libfreebl3-3.34.1-1.4 [ 12s] [18/93] cumulate libgcc-6.2.1-1.4 [ 12s] [19/93] cumulate libgomp-6.2.1-1.4 [ 12s] [20/93] cumulate libitm-6.2.1-1.4 [ 12s] [21/93] cumulate libltdl-2.4.2-1.4 [ 12s] [22/93] cumulate liblua-5.1.5-1.4 [ 12s] [23/93] cumulate liblzma-5.2.3-1.4 [ 12s] [24/93] cumulate libpcre-8.41-3.1 [ 12s] [25/93] cumulate libpopt-1.16-1.4 [ 12s] [26/93] cumulate libquadmath-6.2.1-1.4 [ 12s] [27/93] cumulate libsmack-1.3.1-1.4 [ 12s] [28/93] cumulate libsmartcols-2.30-6.1 [ 12s] [29/93] cumulate libsqlite-3.24.0-1.4 [ 12s] [30/93] cumulate libuuid-2.30-6.1 [ 12s] [31/93] cumulate m4-1.4.17-3.1 [ 12s] [32/93] cumulate net-tools-2.0_20121208git-3.1 [ 12s] [33/93] cumulate nspr-4.12-1.4 [ 12s] [34/93] cumulate patch-2.7-1.4 [ 12s] [35/93] cumulate pkg-config-0.28-1.4 [ 12s] [36/93] cumulate sed-4.1c-3.1 [ 12s] [37/93] cumulate update-alternatives-1.18.15-3.1 [ 12s] [38/93] cumulate which-2.20-3.1 [ 12s] [39/93] cumulate zlib-1.2.11-1.4 [ 12s] [40/93] cumulate build-compare-2015.04.28-3.71 [ 12s] [41/93] cumulate terminfo-base-full-6.1-1.4 [ 12s] [42/93] cumulate coreutils-6.9-3.1 [ 12s] [43/93] cumulate cpp-6.2.1-1.4 [ 12s] [44/93] cumulate gawk-3.1.5-3.1 [ 12s] [45/93] cumulate gcc-c++-6.2.1-1.4 [ 12s] [46/93] cumulate grep-2.5.2-3.1 [ 12s] [47/93] cumulate libacl-2.2.52-1.4 [ 12s] [48/93] cumulate libasm-0.153-1.4 [ 12s] [49/93] cumulate libblkid-2.30-6.1 [ 12s] [50/93] cumulate libstdc++-6.2.1-1.4 [ 12s] [51/93] cumulate make-4.0-1.4 [ 12s] [52/93] cumulate nss-certs-3.34.1-1.4 [ 12s] [53/93] cumulate smack-1.3.1-1.4 [ 12s] [54/93] cumulate bzip2-1.0.6-1.4 [ 12s] [55/93] cumulate libmagic-5.32-1.4 [ 12s] [56/93] cumulate libxml2-2.9.7-1.4 [ 12s] [57/93] cumulate xz-5.2.3-1.4 [ 12s] [58/93] cumulate libgfortran-6.2.1-1.4 [ 12s] [59/93] cumulate libdw-0.153-1.4 [ 12s] [60/93] cumulate libstdc++-devel-6.2.1-1.4 [ 12s] [61/93] cumulate file-5.32-1.4 [ 12s] [62/93] cumulate libmount-2.30-6.1 [ 12s] [63/93] cumulate linux-glibc-devel-3.10-1.4 [ 12s] [64/93] cumulate tar-1.17-3.1 [ 12s] [65/93] cumulate db4-4.8.30.NC-1.4 [ 12s] [66/93] cumulate glibc-locale-2.24-1.4 [ 12s] [67/93] cumulate gzip-1.3.12-1.4 [ 12s] [68/93] cumulate libcc1-6.2.1-1.4 [ 12s] [69/93] cumulate libcilkrts-6.2.1-1.4 [ 12s] [70/93] cumulate libfdisk-2.30-6.1 [ 12s] [71/93] cumulate libubsan-6.2.1-1.4 [ 12s] [72/93] cumulate pam-1.1.6-6.1 [ 12s] [73/93] cumulate libncurses6-6.1-1.4 [ 12s] [74/93] cumulate tzdata-2018f-3.1 [ 12s] [75/93] cumulate elfutils-0.153-1.4 [ 12s] [76/93] cumulate libncurses-6.1-1.4 [ 12s] [77/93] cumulate glibc-devel-2.24-1.4 [ 12s] [78/93] cumulate less-466-3.1 [ 12s] [79/93] cumulate libreadline-5.2-1.4 [ 12s] [80/93] cumulate procps-ng-3.3.15-4.1 [ 12s] [81/93] cumulate perl-5.20.0-1.4 [ 12s] [82/93] cumulate gcc-6.2.1-1.4 [ 12s] [83/93] cumulate build-mkbaselibs-20120927-3.1 [ 12s] [84/93] cumulate autoconf-2.69-1.4 [ 12s] [85/93] cumulate util-linux-2.30-6.1 [ 12s] [86/93] cumulate automake-1.15.1-1.4 [ 12s] [87/93] cumulate util-linux-su-2.30-6.1 [ 12s] [88/93] cumulate build-20120927-3.1 [ 12s] [89/93] cumulate libtool-2.4.2-1.4 [ 12s] [90/93] cumulate nss-3.34.1-1.4 [ 12s] [91/93] cumulate libsoftokn3-3.34.1-1.4 [ 12s] [92/93] cumulate rpm-4.11.0.1-1.3 [ 12s] [93/93] cumulate rpm-build-4.11.0.1-1.3 [ 12s] now installing cumulated packages [ 13s] Preparing... ######################################## [ 13s] Updating / installing... [ 13s] setup-0.9-5.14 ######################################## [ 13s] filesystem-3.1-3.1 ######################################## [ 13s] libmagic-data-5.32-1.4 ######################################## [ 13s] glibc-2.24-1.4 ######################################## [ 13s] bash-3.2.57-3.1 ######################################## [ 13s] zlib-1.2.11-1.4 ######################################## [ 13s] libgcc-6.2.1-1.4 ######################################## [ 13s] libstdc++-6.2.1-1.4 ######################################## [ 14s] coreutils-6.9-3.1 ######################################## [ 14s] libelf-0.153-1.4 ######################################## [ 14s] libbz2-1.0.6-1.4 ######################################## [ 14s] liblzma-5.2.3-1.4 ######################################## [ 14s] libuuid-2.30-6.1 ######################################## [ 15s] libblkid-2.30-6.1 ######################################## [ 15s] nspr-4.12-1.4 ######################################## [ 15s] pam-1.1.6-6.1 ######################################## [ 15s] libmagic-5.32-1.4 ######################################## [ 16s] binutils-2.27-1.4 ######################################## [ 16s] libfreebl3-3.34.1-1.4 ######################################## [ 16s] libpopt-1.16-1.4 ######################################## [ 16s] libquadmath-6.2.1-1.4 ######################################## [ 17s] linux-glibc-devel-3.10-1.4 ######################################## [ 17s] terminfo-base-full-6.1-1.4 ######################################## [ 17s] libncurses6-6.1-1.4 ######################################## [ 17s] libreadline-5.2-1.4 ######################################## [ 17s] glibc-devel-2.24-1.4 ######################################## [ 17s] libgfortran-6.2.1-1.4 ######################################## [ 18s] nss-certs-3.34.1-1.4 ######################################## [ 18s] libmount-2.30-6.1 ######################################## [ 18s] libfdisk-2.30-6.1 ######################################## [ 18s] xz-5.2.3-1.4 ######################################## [ 18s] libdw-0.153-1.4 ######################################## [ 18s] bzip2-1.0.6-1.4 ######################################## [ 18s] libasm-0.153-1.4 ######################################## [ 18s] gzip-1.3.12-1.4 ######################################## [ 18s] db4-4.8.30.NC-1.4 ######################################## [ 20s] perl-5.20.0-1.4 ######################################## [ 20s] build-mkbaselibs-20120927-3.1 ######################################## [ 20s] libcc1-6.2.1-1.4 ######################################## [ 20s] libcilkrts-6.2.1-1.4 ######################################## [ 20s] libubsan-6.2.1-1.4 ######################################## [ 21s] make-4.0-1.4 ######################################## [ 21s] findutils-4.3.8-1.4 ######################################## [ 21s] libatomic-6.2.1-1.4 ######################################## [ 21s] libattr-2.4.47-1.4 ######################################## [ 21s] libacl-2.2.52-1.4 ######################################## [ 21s] tar-1.17-3.1 ######################################## [ 21s] libcap-2.24-1.4 ######################################## [ 22s] libgomp-6.2.1-1.4 ######################################## [ 22s] libitm-6.2.1-1.4 ######################################## [ 23s] gcc-6.2.1-1.4 ######################################## [ 23s] libltdl-2.4.2-1.4 ######################################## [ 24s] liblua-5.1.5-1.4 ######################################## [ 24s] libpcre-8.41-3.1 ######################################## [ 24s] libsmack-1.3.1-1.4 ######################################## [ 24s] libsmartcols-2.30-6.1 ######################################## [ 24s] libsqlite-3.24.0-1.4 ######################################## [ 24s] libsoftokn3-3.34.1-1.4 ######################################## [ 25s] nss-3.34.1-1.4 ######################################## [ 25s] rpm-4.11.0.1-1.3 ######################################## [ 25s] m4-1.4.17-3.1 ######################################## [ 25s] autoconf-2.69-1.4 ######################################## [ 25s] automake-1.15.1-1.4 ######################################## [ 26s] patch-2.7-1.4 ######################################## [ 26s] sed-4.1c-3.1 ######################################## [ 26s] libtool-2.4.2-1.4 ######################################## [ 26s] build-20120927-3.1 ######################################## [ 26s] libncurses-6.1-1.4 ######################################## [ 26s] libstdc++-devel-6.2.1-1.4 ######################################## [ 26s] build-compare-2015.04.28-3.71 ######################################## [ 26s] util-linux-2.30-6.1 ######################################## [ 26s] util-linux-su-2.30-6.1 ######################################## [ 26s] rpm-build-4.11.0.1-1.3 ######################################## [ 26s] smack-1.3.1-1.4 ######################################## [ 26s] grep-2.5.2-3.1 ######################################## [ 26s] elfutils-0.153-1.4 ######################################## [ 26s] less-466-3.1 ######################################## [ 26s] procps-ng-3.3.15-4.1 ######################################## [ 27s] file-5.32-1.4 ######################################## [ 27s] libxml2-2.9.7-1.4 ######################################## [ 27s] glibc-locale-2.24-1.4 ######################################## [ 28s] tzdata-2018f-3.1 ######################################## [ 29s] cpp-6.2.1-1.4 ######################################## [ 30s] gcc-c++-6.2.1-1.4 ######################################## [ 30s] gawk-3.1.5-3.1 ######################################## [ 30s] cpio-2.11-3.1 ######################################## [ 30s] diffutils-3.3-3.1 ######################################## [ 30s] hostname-3.20-3.1 ######################################## [ 30s] libext2fs-1.43.4-3.1 ######################################## [ 30s] net-tools-2.0_20121208git-3.1 ######################################## [ 30s] pkg-config-0.28-1.4 ######################################## [ 30s] update-alternatives-1.18.15-3.1 ######################################## [ 30s] which-2.20-3.1 ######################################## [ 31s] now finalizing build dir... [ 31s] ----------------------------------------------------------------- [ 31s] I have the following modifications for patchelf.spec: [ 31s] 4c4 [ 31s] < Release: 0 [ 31s] --- [ 31s] > Release: 1.1 [ 32s] build target is i686-tizen-linux [ 32s] ----------------------------------------------------------------- [ 32s] ----- building patchelf.spec (user abuild) [ 32s] ----------------------------------------------------------------- [ 32s] ----------------------------------------------------------------- [ 32s] + exec rpmbuild -ba --define '_srcdefattr (-,root,root)' --nosignature --target=i686-tizen-linux --define '_build_create_debug 1' --define 'disturl obs://127.0.0.1/Tizen-5.0-Base/standard/dc44ab1dcfdf72e22f6561f1abb822e6-patchelf' /home/abuild/rpmbuild/SOURCES/patchelf.spec [ 32s] Building target platforms: i686-tizen-linux [ 32s] Building for target i686-tizen-linux [ 32s] Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.qZ8EKE [ 32s] + umask 022 [ 32s] + cd /home/abuild/rpmbuild/BUILD [ 32s] + cd /home/abuild/rpmbuild/BUILD [ 32s] + rm -rf patchelf-0.6 [ 32s] + /bin/tar -xf - [ 32s] + /bin/bzip2 -dc /home/abuild/rpmbuild/SOURCES/patchelf-0.6.tar.bz2 [ 32s] + STATUS=0 [ 32s] + '[' 0 -ne 0 ']' [ 32s] + cd patchelf-0.6 [ 32s] + /bin/chmod -Rf a+rX,u+w,g-w,o-w . [ 32s] + cp /home/abuild/rpmbuild/SOURCES/patchelf.manifest . [ 32s] + exit 0 [ 32s] Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.aKx2ns [ 32s] + umask 022 [ 32s] + cd /home/abuild/rpmbuild/BUILD [ 32s] + cd patchelf-0.6 [ 32s] ++ uname -m [ 32s] + [[ i686 == \a\a\r\c\h\6\4 ]] [ 32s] + LANG=C [ 32s] + export LANG [ 32s] + unset DISPLAY [ 32s] + CFLAGS='-O2 -g2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector -Wformat-security -fmessage-length=0 -Wl,--as-needed -feliminate-unused-debug-types --param=ssp-buffer-size=4 -fdiagnostics-color=never -m32 -march=i686 -mtune=i686 -msse4.2 -mfpmath=sse -fasynchronous-unwind-tables -fno-omit-frame-pointer -g' [ 32s] + export CFLAGS [ 32s] + CXXFLAGS='-O2 -g2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector -Wformat-security -fmessage-length=0 -Wl,--as-needed -feliminate-unused-debug-types --param=ssp-buffer-size=4 -fdiagnostics-color=never -m32 -march=i686 -mtune=i686 -msse4.2 -mfpmath=sse -fasynchronous-unwind-tables -fno-omit-frame-pointer -g -std=gnu++11' [ 32s] + export CXXFLAGS [ 32s] + FFLAGS='-O2 -g2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector -Wformat-security -fmessage-length=0 -Wl,--as-needed -feliminate-unused-debug-types --param=ssp-buffer-size=4 -fdiagnostics-color=never -m32 -march=i686 -mtune=i686 -msse4.2 -mfpmath=sse -fasynchronous-unwind-tables -fno-omit-frame-pointer -g -I%_fmoddir' [ 32s] + export FFLAGS [ 32s] + LDFLAGS= [ 32s] + export LDFLAGS [ 32s] + CFLAGS='-O2 -g2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector -Wformat-security -fmessage-length=0 -Wl,--as-needed -feliminate-unused-debug-types --param=ssp-buffer-size=4 -fdiagnostics-color=never -m32 -march=i686 -mtune=i686 -msse4.2 -mfpmath=sse -fasynchronous-unwind-tables -fno-omit-frame-pointer -g' [ 32s] + export CFLAGS [ 32s] + CXXFLAGS='-O2 -g2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector -Wformat-security -fmessage-length=0 -Wl,--as-needed -feliminate-unused-debug-types --param=ssp-buffer-size=4 -fdiagnostics-color=never -m32 -march=i686 -mtune=i686 -msse4.2 -mfpmath=sse -fasynchronous-unwind-tables -fno-omit-frame-pointer -g -std=gnu++11' [ 32s] + export CXXFLAGS [ 32s] + FFLAGS='-O2 -g2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector -Wformat-security -fmessage-length=0 -Wl,--as-needed -feliminate-unused-debug-types --param=ssp-buffer-size=4 -fdiagnostics-color=never -m32 -march=i686 -mtune=i686 -msse4.2 -mfpmath=sse -fasynchronous-unwind-tables -fno-omit-frame-pointer -g -I%_fmoddir' [ 32s] + export FFLAGS [ 32s] + ./configure --build=i686-tizen-linux-gnu --host=i686-tizen-linux-gnu --program-prefix= --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/usr/com --mandir=/usr/share/man --infodir=/usr/share/info [ 33s] checking for a BSD-compatible install... /bin/install -c [ 34s] checking whether build environment is sane... yes [ 34s] checking for a thread-safe mkdir -p... /bin/mkdir -p [ 34s] checking for gawk... gawk [ 34s] checking whether make sets $(MAKE)... yes [ 34s] checking for i686-tizen-linux-gnu-gcc... no [ 34s] checking for gcc... gcc [ 34s] checking whether the C compiler works... yes [ 34s] checking for C compiler default output file name... a.out [ 34s] checking for suffix of executables... [ 34s] checking whether we are cross compiling... no [ 34s] checking for suffix of object files... o [ 34s] checking whether we are using the GNU C compiler... yes [ 34s] checking whether gcc accepts -g... yes [ 34s] checking for gcc option to accept ISO C89... none needed [ 34s] checking for style of include used by make... GNU [ 34s] checking dependency style of gcc... gcc3 [ 34s] checking for i686-tizen-linux-gnu-g++... no [ 34s] checking for i686-tizen-linux-gnu-c++... no [ 34s] checking for i686-tizen-linux-gnu-gpp... no [ 34s] checking for i686-tizen-linux-gnu-aCC... no [ 34s] checking for i686-tizen-linux-gnu-CC... no [ 34s] checking for i686-tizen-linux-gnu-cxx... no [ 34s] checking for i686-tizen-linux-gnu-cc++... no [ 34s] checking for i686-tizen-linux-gnu-cl.exe... no [ 34s] checking for i686-tizen-linux-gnu-FCC... no [ 34s] checking for i686-tizen-linux-gnu-KCC... no [ 34s] checking for i686-tizen-linux-gnu-RCC... no [ 34s] checking for i686-tizen-linux-gnu-xlC_r... no [ 34s] checking for i686-tizen-linux-gnu-xlC... no [ 34s] checking for g++... g++ [ 34s] checking whether we are using the GNU C++ compiler... yes [ 34s] checking whether g++ accepts -g... yes [ 34s] checking dependency style of g++... gcc3 [ 34s] configure: creating ./config.status [ 34s] config.status: creating Makefile [ 34s] config.status: creating src/Makefile [ 34s] config.status: creating tests/Makefile [ 34s] config.status: executing depfiles commands [ 34s] + make [ 34s] Making all in src [ 34s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/patchelf-0.6/src' [ 34s] 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 -g2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector -Wformat-security -fmessage-length=0 -Wl,--as-needed -feliminate-unused-debug-types --param=ssp-buffer-size=4 -fdiagnostics-color=never -m32 -march=i686 -mtune=i686 -msse4.2 -mfpmath=sse -fasynchronous-unwind-tables -fno-omit-frame-pointer -g -std=gnu++11 -MT patchelf.o -MD -MP -MF .deps/patchelf.Tpo -c -o patchelf.o patchelf.cc [ 35s] In file included from patchelf.cc:9:0: [ 35s] patchelf.cc: In instantiation of 'void ElfFile::rewriteSectionsLibrary() [with Elf_Ehdr = Elf32_Ehdr; Elf_Phdr = Elf32_Phdr; Elf_Shdr = Elf32_Shdr; Elf_Addr = unsigned int; Elf_Off = unsigned int; Elf_Dyn = Elf32_Dyn]': [ 35s] patchelf.cc:744:31: required from 'void ElfFile::rewriteSections() [with Elf_Ehdr = Elf32_Ehdr; Elf_Phdr = Elf32_Phdr; Elf_Shdr = Elf32_Shdr; Elf_Addr = unsigned int; Elf_Off = unsigned int; Elf_Dyn = Elf32_Dyn]' [ 35s] patchelf.cc:1057:9: required from 'void patchElf2(ElfFile&, mode_t) [with ElfFile = ElfFile; mode_t = unsigned int]' [ 35s] patchelf.cc:1083:36: required from here [ 35s] patchelf.cc:611:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] [ 35s] assert((off_t) curOff == startOffset + neededSpace); [ 35s] ^ [ 35s] patchelf.cc: In instantiation of 'void ElfFile::rewriteSectionsExecutable() [with Elf_Ehdr = Elf32_Ehdr; Elf_Phdr = Elf32_Phdr; Elf_Shdr = Elf32_Shdr; Elf_Addr = unsigned int; Elf_Off = unsigned int; Elf_Dyn = Elf32_Dyn]': [ 35s] patchelf.cc:747:34: required from 'void ElfFile::rewriteSections() [with Elf_Ehdr = Elf32_Ehdr; Elf_Phdr = Elf32_Phdr; Elf_Shdr = Elf32_Shdr; Elf_Addr = unsigned int; Elf_Off = unsigned int; Elf_Dyn = Elf32_Dyn]' [ 35s] patchelf.cc:1057:9: required from 'void patchElf2(ElfFile&, mode_t) [with ElfFile = ElfFile; mode_t = unsigned int]' [ 35s] patchelf.cc:1083:36: required from here [ 35s] patchelf.cc:684:38: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] [ 35s] assert((off_t) rdi(hdr->e_shoff) >= startOffset); [ 35s] ^ [ 35s] patchelf.cc:725:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] [ 35s] assert((off_t) curOff == neededSpace); [ 35s] ^ [ 35s] patchelf.cc: In instantiation of 'void ElfFile::rewriteSectionsLibrary() [with Elf_Ehdr = Elf64_Ehdr; Elf_Phdr = Elf64_Phdr; Elf_Shdr = Elf64_Shdr; Elf_Addr = long long unsigned int; Elf_Off = long long unsigned int; Elf_Dyn = Elf64_Dyn]': [ 35s] patchelf.cc:744:31: required from 'void ElfFile::rewriteSections() [with Elf_Ehdr = Elf64_Ehdr; Elf_Phdr = Elf64_Phdr; Elf_Shdr = Elf64_Shdr; Elf_Addr = long long unsigned int; Elf_Off = long long unsigned int; Elf_Dyn = Elf64_Dyn]' [ 35s] patchelf.cc:1057:9: required from 'void patchElf2(ElfFile&, mode_t) [with ElfFile = ElfFile; mode_t = unsigned int]' [ 35s] patchelf.cc:1089:36: required from here [ 35s] patchelf.cc:611:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] [ 35s] assert((off_t) curOff == startOffset + neededSpace); [ 35s] ^ [ 35s] patchelf.cc: In instantiation of 'void ElfFile::rewriteSectionsExecutable() [with Elf_Ehdr = Elf64_Ehdr; Elf_Phdr = Elf64_Phdr; Elf_Shdr = Elf64_Shdr; Elf_Addr = long long unsigned int; Elf_Off = long long unsigned int; Elf_Dyn = Elf64_Dyn]': [ 35s] patchelf.cc:747:34: required from 'void ElfFile::rewriteSections() [with Elf_Ehdr = Elf64_Ehdr; Elf_Phdr = Elf64_Phdr; Elf_Shdr = Elf64_Shdr; Elf_Addr = long long unsigned int; Elf_Off = long long unsigned int; Elf_Dyn = Elf64_Dyn]' [ 35s] patchelf.cc:1057:9: required from 'void patchElf2(ElfFile&, mode_t) [with ElfFile = ElfFile; mode_t = unsigned int]' [ 35s] patchelf.cc:1089:36: required from here [ 35s] patchelf.cc:684:38: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] [ 35s] assert((off_t) rdi(hdr->e_shoff) >= startOffset); [ 35s] ^ [ 35s] patchelf.cc:725:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] [ 35s] assert((off_t) curOff == neededSpace); [ 35s] ^ [ 39s] mv -f .deps/patchelf.Tpo .deps/patchelf.Po [ 39s] g++ -O2 -g2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector -Wformat-security -fmessage-length=0 -Wl,--as-needed -feliminate-unused-debug-types --param=ssp-buffer-size=4 -fdiagnostics-color=never -m32 -march=i686 -mtune=i686 -msse4.2 -mfpmath=sse -fasynchronous-unwind-tables -fno-omit-frame-pointer -g -std=gnu++11 -o patchelf patchelf.o [ 39s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/patchelf-0.6/src' [ 39s] Making all in tests [ 39s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/patchelf-0.6/tests' [ 39s] make[1]: Nothing to be done for 'all'. [ 39s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/patchelf-0.6/tests' [ 39s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/patchelf-0.6' [ 39s] make[1]: Nothing to be done for 'all-am'. [ 39s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/patchelf-0.6' [ 39s] + exit 0 [ 39s] Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.8SnuIA [ 39s] + umask 022 [ 39s] + cd /home/abuild/rpmbuild/BUILD [ 39s] + cd patchelf-0.6 [ 39s] + LANG=C [ 39s] + export LANG [ 39s] + unset DISPLAY [ 39s] + rm -rf /home/abuild/rpmbuild/BUILDROOT/patchelf-0.6-1.1.i386 [ 39s] + mkdir -p /home/abuild/rpmbuild/BUILDROOT/patchelf-0.6-1.1.i386 [ 39s] + /bin/make DESTDIR=/home/abuild/rpmbuild/BUILDROOT/patchelf-0.6-1.1.i386 INSTALL_ROOT=/home/abuild/rpmbuild/BUILDROOT/patchelf-0.6-1.1.i386 install [ 39s] Making install in src [ 39s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/patchelf-0.6/src' [ 39s] make[2]: Entering directory '/home/abuild/rpmbuild/BUILD/patchelf-0.6/src' [ 39s] test -z "/usr/bin" || /bin/mkdir -p "/home/abuild/rpmbuild/BUILDROOT/patchelf-0.6-1.1.i386/usr/bin" [ 39s] /bin/install -c patchelf '/home/abuild/rpmbuild/BUILDROOT/patchelf-0.6-1.1.i386/usr/bin' [ 39s] make[2]: Nothing to be done for 'install-data-am'. [ 39s] make[2]: Leaving directory '/home/abuild/rpmbuild/BUILD/patchelf-0.6/src' [ 39s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/patchelf-0.6/src' [ 39s] Making install in tests [ 39s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/patchelf-0.6/tests' [ 39s] make[2]: Entering directory '/home/abuild/rpmbuild/BUILD/patchelf-0.6/tests' [ 39s] make[2]: Nothing to be done for 'install-exec-am'. [ 39s] make[2]: Nothing to be done for 'install-data-am'. [ 39s] make[2]: Leaving directory '/home/abuild/rpmbuild/BUILD/patchelf-0.6/tests' [ 39s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/patchelf-0.6/tests' [ 39s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/patchelf-0.6' [ 39s] make[2]: Entering directory '/home/abuild/rpmbuild/BUILD/patchelf-0.6' [ 39s] make[2]: Nothing to be done for 'install-exec-am'. [ 39s] /bin/install -c -d /home/abuild/rpmbuild/BUILDROOT/patchelf-0.6-1.1.i386/usr/share/doc/patchelf [ 39s] /bin/install -c -m 644 README /home/abuild/rpmbuild/BUILDROOT/patchelf-0.6-1.1.i386/usr/share/doc/patchelf/ [ 39s] test -z "/usr/share/man/man1" || /bin/mkdir -p "/home/abuild/rpmbuild/BUILDROOT/patchelf-0.6-1.1.i386/usr/share/man/man1" [ 39s] /bin/install -c -m 644 patchelf.1 '/home/abuild/rpmbuild/BUILDROOT/patchelf-0.6-1.1.i386/usr/share/man/man1' [ 39s] make[2]: Leaving directory '/home/abuild/rpmbuild/BUILD/patchelf-0.6' [ 39s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/patchelf-0.6' [ 39s] + rm -f /home/abuild/rpmbuild/BUILDROOT/patchelf-0.6-1.1.i386/usr/share/info/dir [ 39s] + find /home/abuild/rpmbuild/BUILDROOT/patchelf-0.6-1.1.i386 -regex '.*\.la$' [ 39s] + xargs rm -f -- [ 39s] + find /home/abuild/rpmbuild/BUILDROOT/patchelf-0.6-1.1.i386 -regex '.*\.a$' [ 39s] + xargs rm -f -- [ 39s] + rm /home/abuild/rpmbuild/BUILDROOT/patchelf-0.6-1.1.i386/usr/share/doc/patchelf/README [ 39s] + /usr/lib/rpm/find-debuginfo.sh /home/abuild/rpmbuild/BUILD/patchelf-0.6 [ 39s] extracting debug info from /home/abuild/rpmbuild/BUILDROOT/patchelf-0.6-1.1.i386/usr/bin/patchelf [ 39s] cpio: glibc-2.24/csu: Cannot stat: No such file or directory [ 39s] cpio: glibc-2.24/csu/init.c: Cannot stat: No such file or directory [ 39s] cpio: glibc-2.24/sysdeps/i386/crti.S: Cannot stat: No such file or directory [ 39s] cpio: glibc-2.24/sysdeps/i386/crtn.S: Cannot stat: No such file or directory [ 39s] cpio: glibc-2.24/sysdeps/i386/start.S: Cannot stat: No such file or directory [ 39s] 294 blocks [ 39s] + cp /usr/lib/rpm/debug.manifest /home/abuild/rpmbuild/BUILD/patchelf-0.6/patchelf-debuginfo.manifest [ 39s] + cp /usr/lib/rpm/debug.manifest /home/abuild/rpmbuild/BUILD/patchelf-0.6/patchelf-debugsource.manifest [ 39s] + /usr/lib/rpm/check-buildroot [ 39s] + /usr/lib/rpm//brp-compress [ 39s] + /usr/lib/rpm/brp-strip-static-archive /bin/strip [ 39s] + /usr/lib/rpm/brp-python-hardlink [ 39s] + /usr/lib/rpm/tizen/find-docs.sh /home/abuild/rpmbuild/BUILDROOT/patchelf-0.6-1.1.i386 [ 39s] Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.m03FLJ [ 39s] + umask 022 [ 39s] + cd /home/abuild/rpmbuild/BUILD [ 39s] + cd patchelf-0.6 [ 39s] + make check [ 39s] Making check in src [ 39s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/patchelf-0.6/src' [ 39s] make[1]: Nothing to be done for 'check'. [ 39s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/patchelf-0.6/src' [ 39s] Making check in tests [ 39s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/patchelf-0.6/tests' [ 39s] make main main-scoped simple big-dynstr [ 39s] make[2]: Entering directory '/home/abuild/rpmbuild/BUILD/patchelf-0.6/tests' [ 39s] gcc -fpic -o main.o -c main.c [ 39s] gcc -fpic -o foo.o -c foo.c [ 39s] gcc -fpic -o bar.o -c bar.c [ 39s] NIX_DONT_SET_RPATH=1 gcc -Wl,--disable-new-dtags -shared -o libbar.so bar.o -L . -Wl,-rpath,`pwd`/no-such-path [ 39s] NIX_DONT_SET_RPATH=1 gcc -Wl,--disable-new-dtags -shared -o libfoo.so foo.o -L . -lbar [ 39s] LD_LIBRARY_PATH=. gcc -Wl,--disable-new-dtags -o main main.o -L . -lfoo [ 39s] NIX_DONT_SET_RPATH=1 gcc -Wl,--enable-new-dtags -shared -o libbar-scoped.so bar.o [ 39s] NIX_DONT_SET_RPATH=1 gcc -Wl,--enable-new-dtags -shared -o libfoo-scoped.so foo.o -L . -lbar-scoped [ 39s] LD_LIBRARY_PATH=. gcc -Wl,--enable-new-dtags -o main-scoped main.o -L . -lfoo-scoped [ 39s] 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 -g2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector -Wformat-security -fmessage-length=0 -Wl,--as-needed -feliminate-unused-debug-types --param=ssp-buffer-size=4 -fdiagnostics-color=never -m32 -march=i686 -mtune=i686 -msse4.2 -mfpmath=sse -fasynchronous-unwind-tables -fno-omit-frame-pointer -g -MT simple.o -MD -MP -MF .deps/simple.Tpo -c -o simple.o simple.c [ 39s] mv -f .deps/simple.Tpo .deps/simple.Po [ 39s] gcc -O2 -g2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector -Wformat-security -fmessage-length=0 -Wl,--as-needed -feliminate-unused-debug-types --param=ssp-buffer-size=4 -fdiagnostics-color=never -m32 -march=i686 -mtune=i686 -msse4.2 -mfpmath=sse -fasynchronous-unwind-tables -fno-omit-frame-pointer -g -o simple simple.o [ 39s] 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 -g2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector -Wformat-security -fmessage-length=0 -Wl,--as-needed -feliminate-unused-debug-types --param=ssp-buffer-size=4 -fdiagnostics-color=never -m32 -march=i686 -mtune=i686 -msse4.2 -mfpmath=sse -fasynchronous-unwind-tables -fno-omit-frame-pointer -g -MT big-dynstr.o -MD -MP -MF .deps/big-dynstr.Tpo -c -o big-dynstr.o big-dynstr.c [ 41s] mv -f .deps/big-dynstr.Tpo .deps/big-dynstr.Po [ 41s] LD_LIBRARY_PATH=. gcc -Wl,--disable-new-dtags -o big-dynstr big-dynstr.o -L . -lfoo [ 41s] make[2]: Leaving directory '/home/abuild/rpmbuild/BUILD/patchelf-0.6/tests' [ 41s] make check-TESTS [ 41s] make[2]: Entering directory '/home/abuild/rpmbuild/BUILD/patchelf-0.6/tests' [ 41s] ./main: error while loading shared libraries: libfoo.so: cannot open shared object file: No such file or directory [ 41s] PASS: plain-fail.sh [ 41s] Hello World [ 41s] This is foo()! [ 41s] This is bar()! [ 41s] Result is 46 [ 41s] PASS: plain-run.sh [ 41s] RPATH before: /home/abuild/rpmbuild/BUILD/patchelf-0.6/tests/no-such-path [ 41s] patching ELF file `scratch/libbar.so' [ 41s] removing directory `/home/abuild/rpmbuild/BUILD/patchelf-0.6/tests/no-such-path' from RPATH [ 41s] new rpath is `' [ 41s] RPATH after: [ 41s] Hello World [ 41s] This is foo()! [ 41s] This is bar()! [ 41s] Result is 46 [ 41s] PASS: shrink-rpath.sh [ 41s] Hello World [ 41s] current interpreter is /lib/ld-linux.so.2 [ 41s] patching ELF file `scratch/simple' [ 41s] replacing section `.interp' with size 6 [ 41s] this is an executable [ 41s] using replaced section `.interp' [ 41s] last replaced is 1 [ 41s] looking at section `.interp' [ 41s] first reserved offset/addr is 0x168/0x8048168 [ 41s] first page is 0x8048000 [ 41s] needed space is 348 [ 41s] clearing first 20 bytes [ 41s] rewriting section `.interp' from offset 0x154 (size 19) to offset 0x154 (size 6) [ 41s] running with missing interpreter... [ 41s] ./set-interpreter-short.sh: line 15: scratch/simple: No such file or directory [ 41s] PASS: set-interpreter-short.sh [ 41s] Hello World [ 41s] current interpreter is /lib/ld-linux.so.2 [ 41s] running with explicit interpreter... [ 41s] Hello World [ 41s] patching ELF file `scratch/simple' [ 41s] replacing section `.interp' with size 156 [ 41s] this is an executable [ 41s] using replaced section `.interp' [ 41s] last replaced is 1 [ 41s] looking at section `.interp' [ 41s] first reserved offset/addr is 0x168/0x8048168 [ 41s] first page is 0x8048000 [ 41s] needed space is 496 [ 41s] needed space is 528 [ 41s] needed pages is 1 [ 41s] clearing first 4084 bytes [ 41s] rewriting section `.interp' from offset 0x1154 (size 19) to offset 0x174 (size 156) [ 41s] running with missing interpreter... [ 41s] ./set-interpreter-long.sh: line 21: scratch/simple: No such file or directory [ 41s] running with new interpreter... [ 41s] Hello World [ 41s] running with explicit interpreter... [ 41s] Hello World [ 41s] PASS: set-interpreter-long.sh [ 41s] patching ELF file `scratch/main' [ 41s] new rpath is `/oops:/home/abuild/rpmbuild/BUILD/patchelf-0.6/tests/scratch/libsA:/home/abuild/rpmbuild/BUILD/patchelf-0.6/tests/scratch/libsB' [ 41s] rpath is too long, resizing... [ 41s] DT_NULL index is 24 [ 41s] replacing section `.dynamic' with size 248 [ 41s] replacing section `.dynstr' with size 259 [ 41s] this is an executable [ 41s] using replaced section `.dynstr' [ 41s] using replaced section `.dynamic' [ 41s] last replaced is 22 [ 41s] looking at section `.interp' [ 41s] replacing section `.interp' which is in the way [ 41s] looking at section `.note.ABI-tag' [ 41s] replacing section `.note.ABI-tag' which is in the way [ 41s] looking at section `.note.gnu.build-id' [ 41s] replacing section `.note.gnu.build-id' which is in the way [ 41s] looking at section `.hash' [ 41s] replacing section `.hash' which is in the way [ 41s] looking at section `.dynsym' [ 41s] replacing section `.dynsym' which is in the way [ 41s] looking at section `.dynstr' [ 41s] looking at section `.gnu.version' [ 41s] first reserved offset/addr is 0x334/0x8048334 [ 41s] first page is 0x8048000 [ 41s] needed space is 1196 [ 41s] needed space is 1228 [ 41s] needed pages is 1 [ 41s] clearing first 4544 bytes [ 41s] rewriting section `.dynamic' from offset 0x1f0c (size 240) to offset 0x174 (size 248) [ 41s] rewriting section `.dynstr' from offset 0x12b0 (size 131) to offset 0x26c (size 259) [ 41s] rewriting section `.dynsym' from offset 0x11f0 (size 192) to offset 0x370 (size 192) [ 41s] rewriting section `.hash' from offset 0x11ac (size 68) to offset 0x430 (size 68) [ 41s] rewriting section `.interp' from offset 0x1154 (size 19) to offset 0x474 (size 19) [ 41s] rewriting section `.note.ABI-tag' from offset 0x1168 (size 32) to offset 0x488 (size 32) [ 41s] rewriting section `.note.gnu.build-id' from offset 0x1188 (size 36) to offset 0x4a8 (size 36) [ 41s] Hello World [ 41s] This is foo()! [ 41s] This is bar()! [ 41s] Result is 46 [ 41s] PASS: set-rpath.sh [ 41s] patching ELF file `scratch/no-rpath' [ 41s] new rpath is `/foo:/bar:/xxxxxxxxxxxxxxx' [ 41s] rpath is too long, resizing... [ 41s] DT_NULL index is 19 [ 41s] replacing section `.dynamic' with size 208 [ 41s] replacing section `.dynstr' with size 103 [ 41s] replacing section `.interp' with size 19 [ 41s] this is an executable [ 41s] using replaced section `.interp' [ 41s] using replaced section `.dynstr' [ 41s] using replaced section `.dynamic' [ 41s] last replaced is 17 [ 41s] looking at section `.interp' [ 41s] looking at section `.note.ABI-tag' [ 41s] replacing section `.note.ABI-tag' which is in the way [ 41s] looking at section `.hash' [ 41s] replacing section `.hash' which is in the way [ 41s] looking at section `.dynsym' [ 41s] replacing section `.dynsym' which is in the way [ 41s] looking at section `.dynstr' [ 41s] looking at section `.gnu.version' [ 41s] first reserved offset/addr is 0x1ec/0x80481ec [ 41s] first page is 0x8048000 [ 41s] needed space is 728 [ 41s] needed space is 760 [ 41s] needed pages is 1 [ 41s] clearing first 4312 bytes [ 41s] rewriting section `.dynamic' from offset 0x14a8 (size 200) to offset 0x114 (size 208) [ 41s] rewriting section `.dynstr' from offset 0x11a0 (size 76) to offset 0x1e4 (size 103) [ 41s] rewriting section `.dynsym' from offset 0x1150 (size 80) to offset 0x24c (size 80) [ 41s] rewriting section `.hash' from offset 0x1128 (size 40) to offset 0x29c (size 40) [ 41s] rewriting section `.interp' from offset 0x10f4 (size 19) to offset 0x2c4 (size 19) [ 41s] rewriting section `.note.ABI-tag' from offset 0x1108 (size 32) to offset 0x2d8 (size 32) [ 41s] Hello World [ 41s] PASS: no-rpath.sh [ 41s] patching ELF file `scratch/big-dynstr' [ 41s] new rpath is `/oops:/home/abuild/rpmbuild/BUILD/patchelf-0.6/tests/scratch/libsA:/home/abuild/rpmbuild/BUILD/patchelf-0.6/tests/scratch/libsB' [ 41s] rpath is too long, resizing... [ 41s] DT_NULL index is 24 [ 41s] replacing section `.dynamic' with size 248 [ 41s] replacing section `.dynstr' with size 277 [ 41s] this is an executable [ 41s] using replaced section `.dynstr' [ 41s] using replaced section `.dynamic' [ 41s] last replaced is 22 [ 41s] looking at section `.interp' [ 41s] replacing section `.interp' which is in the way [ 41s] looking at section `.note.ABI-tag' [ 41s] replacing section `.note.ABI-tag' which is in the way [ 41s] looking at section `.note.gnu.build-id' [ 41s] replacing section `.note.gnu.build-id' which is in the way [ 41s] looking at section `.hash' [ 41s] replacing section `.hash' which is in the way [ 41s] looking at section `.dynsym' [ 41s] replacing section `.dynsym' which is in the way [ 41s] looking at section `.dynstr' [ 41s] looking at section `.gnu.version' [ 41s] first reserved offset/addr is 0x346/0x8048346 [ 41s] first page is 0x8048000 [ 41s] needed space is 1216 [ 41s] needed space is 1248 [ 41s] needed pages is 1 [ 41s] clearing first 4562 bytes [ 41s] rewriting section `.dynamic' from offset 0x1cf0c (size 240) to offset 0x174 (size 248) [ 41s] rewriting section `.dynstr' from offset 0x12b0 (size 149) to offset 0x26c (size 277) [ 41s] rewriting section `.dynsym' from offset 0x11f0 (size 192) to offset 0x384 (size 192) [ 41s] rewriting section `.hash' from offset 0x11ac (size 68) to offset 0x444 (size 68) [ 41s] rewriting section `.interp' from offset 0x1154 (size 19) to offset 0x488 (size 19) [ 41s] rewriting section `.note.ABI-tag' from offset 0x1168 (size 32) to offset 0x49c (size 32) [ 41s] rewriting section `.note.gnu.build-id' from offset 0x1188 (size 36) to offset 0x4bc (size 36) [ 41s] Hello World [ 41s] This is foo()! [ 41s] This is bar()! [ 41s] Result is 46 [ 41s] PASS: big-dynstr.sh [ 41s] patching ELF file `scratch/main-scoped' [ 41s] new rpath is `/oops:/home/abuild/rpmbuild/BUILD/patchelf-0.6/tests/scratch/libsA:/home/abuild/rpmbuild/BUILD/patchelf-0.6/tests/scratch/libsB' [ 41s] rpath is too long, resizing... [ 41s] DT_NULL index is 24 [ 41s] replacing section `.dynamic' with size 248 [ 41s] replacing section `.dynstr' with size 266 [ 41s] this is an executable [ 41s] using replaced section `.dynstr' [ 41s] using replaced section `.dynamic' [ 41s] last replaced is 22 [ 41s] looking at section `.interp' [ 41s] replacing section `.interp' which is in the way [ 41s] looking at section `.note.ABI-tag' [ 41s] replacing section `.note.ABI-tag' which is in the way [ 41s] looking at section `.note.gnu.build-id' [ 41s] replacing section `.note.gnu.build-id' which is in the way [ 41s] looking at section `.hash' [ 41s] replacing section `.hash' which is in the way [ 41s] looking at section `.dynsym' [ 41s] replacing section `.dynsym' which is in the way [ 41s] looking at section `.dynstr' [ 41s] looking at section `.gnu.version' [ 41s] first reserved offset/addr is 0x33a/0x804833a [ 41s] first page is 0x8048000 [ 41s] needed space is 1204 [ 41s] needed space is 1236 [ 41s] needed pages is 1 [ 41s] clearing first 4550 bytes [ 41s] rewriting section `.dynamic' from offset 0x1f0c (size 240) to offset 0x174 (size 248) [ 41s] rewriting section `.dynstr' from offset 0x12b0 (size 138) to offset 0x26c (size 266) [ 41s] rewriting section `.dynsym' from offset 0x11f0 (size 192) to offset 0x378 (size 192) [ 41s] rewriting section `.hash' from offset 0x11ac (size 68) to offset 0x438 (size 68) [ 41s] rewriting section `.interp' from offset 0x1154 (size 19) to offset 0x47c (size 19) [ 41s] rewriting section `.note.ABI-tag' from offset 0x1168 (size 32) to offset 0x490 (size 32) [ 41s] rewriting section `.note.gnu.build-id' from offset 0x1188 (size 36) to offset 0x4b0 (size 36) [ 41s] ./main-scoped: error while loading shared libraries: libbar-scoped.so: cannot open shared object file: No such file or directory [ 41s] patching ELF file `scratch/libsA/libfoo-scoped.so' [ 41s] new rpath is `/oops:/home/abuild/rpmbuild/BUILD/patchelf-0.6/tests/scratch/libsB' [ 41s] rpath is too long, resizing... [ 41s] DT_NULL index is 24 [ 41s] replacing section `.dynamic' with size 240 [ 41s] replacing section `.dynstr' with size 296 [ 41s] this is a dynamic library [ 41s] last page is 0x3000 [ 41s] needed space is 856 [ 41s] warning: working around a Linux kernel bug by creating a hole of 4096 bytes in ‘scratch/libsA/libfoo-scoped.so’ [ 41s] rewriting section `.dynamic' from offset 0xf04 (size 232) to offset 0x3140 (size 240) [ 41s] rewriting section `.dynstr' from offset 0x2b8 (size 229) to offset 0x3230 (size 296) [ 41s] Hello World [ 41s] This is foo()! [ 41s] This is bar()! [ 41s] Result is 46 [ 41s] patching ELF file `scratch/main-scoped' [ 41s] removing directory `/oops' from RPATH [ 41s] removing directory `/home/abuild/rpmbuild/BUILD/patchelf-0.6/tests/scratch/libsB' from RPATH [ 41s] new rpath is `/home/abuild/rpmbuild/BUILD/patchelf-0.6/tests/scratch/libsA' [ 41s] Hello World [ 41s] This is foo()! [ 41s] This is bar()! [ 41s] Result is 46 [ 41s] PASS: set-rpath-library.sh [ 41s] ================== [ 41s] All 9 tests passed [ 41s] ================== [ 41s] make[2]: Leaving directory '/home/abuild/rpmbuild/BUILD/patchelf-0.6/tests' [ 41s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/patchelf-0.6/tests' [ 41s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/patchelf-0.6' [ 41s] make[1]: Nothing to be done for 'check-am'. [ 41s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/patchelf-0.6' [ 41s] + exit 0 [ 41s] Processing files: patchelf-0.6-1.1.i686 [ 41s] Aptk: PG1hbmlmZXN0PgogPHJlcXVlc3Q+CiAgICA8ZG9tYWluIG5hbWU9Il8iLz4KIDwv [ 41s] cmVxdWVzdD4KPC9tYW5pZmVzdD4K [ 41s] [ 41s] Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.KtPBPY [ 41s] + umask 022 [ 41s] + cd /home/abuild/rpmbuild/BUILD [ 41s] + cd patchelf-0.6 [ 41s] + DOCDIR=/home/abuild/rpmbuild/BUILDROOT/patchelf-0.6-1.1.i386/usr/share/doc/packages/patchelf [ 41s] + export DOCDIR [ 41s] + /bin/mkdir -p /home/abuild/rpmbuild/BUILDROOT/patchelf-0.6-1.1.i386/usr/share/doc/packages/patchelf [ 41s] + cp -pr README /home/abuild/rpmbuild/BUILDROOT/patchelf-0.6-1.1.i386/usr/share/doc/packages/patchelf [ 41s] + exit 0 [ 41s] Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.OQm1Td [ 41s] + umask 022 [ 41s] + cd /home/abuild/rpmbuild/BUILD [ 41s] + cd patchelf-0.6 [ 41s] + LICENSEDIR=/home/abuild/rpmbuild/BUILDROOT/patchelf-0.6-1.1.i386/usr/share/licenses/patchelf [ 41s] + export LICENSEDIR [ 41s] + /bin/mkdir -p /home/abuild/rpmbuild/BUILDROOT/patchelf-0.6-1.1.i386/usr/share/licenses/patchelf [ 41s] + cp -pr COPYING /home/abuild/rpmbuild/BUILDROOT/patchelf-0.6-1.1.i386/usr/share/licenses/patchelf [ 41s] + exit 0 [ 41s] Provides: patchelf = 0.6-1.1 patchelf(x86-32) = 0.6-1.1 [ 41s] Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 [ 41s] Requires: libc.so.6 libc.so.6(GLIBC_2.0) libc.so.6(GLIBC_2.1.3) libc.so.6(GLIBC_2.3.4) libc.so.6(GLIBC_2.4) libgcc_s.so.1 libgcc_s.so.1(GCC_3.0) libgcc_s.so.1(GLIBC_2.0) libstdc++.so.6 libstdc++.so.6(CXXABI_1.3) libstdc++.so.6(GLIBCXX_3.4) libstdc++.so.6(GLIBCXX_3.4.21) [ 41s] Processing files: patchelf-debugsource-0.6-1.1.i686 [ 41s] Aptk: PG1hbmlmZXN0PgogPHJlcXVlc3Q+CiAgICA8ZG9tYWluIG5hbWU9Il8iLz4KIDwv [ 41s] cmVxdWVzdD4KPC9tYW5pZmVzdD4K [ 41s] [ 41s] Provides: patchelf-debugsource = 0.6-1.1 patchelf-debugsource(x86-32) = 0.6-1.1 [ 41s] Requires(rpmlib): rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(CompressedFileNames) <= 3.0.4-1 [ 41s] Processing files: patchelf-debuginfo-0.6-1.1.i686 [ 41s] Aptk: PG1hbmlmZXN0PgogPHJlcXVlc3Q+CiAgICA8ZG9tYWluIG5hbWU9Il8iLz4KIDwv [ 41s] cmVxdWVzdD4KPC9tYW5pZmVzdD4K [ 41s] [ 41s] Provides: patchelf-debuginfo = 0.6-1.1 patchelf-debuginfo(x86-32) = 0.6-1.1 [ 41s] Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 [ 41s] Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/abuild/rpmbuild/BUILDROOT/patchelf-0.6-1.1.i386 [ 41s] Wrote: /home/abuild/rpmbuild/SRPMS/patchelf-0.6-1.1.src.rpm [ 41s] XZ: Adjusted the number of threads from 48 to 21 to not exceed the memory usage limit of 3758096381 bytesWrote: /home/abuild/rpmbuild/RPMS/i686/patchelf-0.6-1.1.i686.rpm [ 41s] XZ: Adjusted the number of threads from 48 to 21 to not exceed the memory usage limit of 3758096381 bytesWrote: /home/abuild/rpmbuild/RPMS/i686/patchelf-debugsource-0.6-1.1.i686.rpm [ 41s] XZ: Adjusted the number of threads from 48 to 21 to not exceed the memory usage limit of 3758096381 bytesWrote: /home/abuild/rpmbuild/RPMS/i686/patchelf-debuginfo-0.6-1.1.i686.rpm [ 41s] Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.21K8Nt [ 41s] + umask 022 [ 41s] + cd /home/abuild/rpmbuild/BUILD [ 41s] + cd patchelf-0.6 [ 41s] + /bin/rm -rf /home/abuild/rpmbuild/BUILDROOT/patchelf-0.6-1.1.i386 [ 41s] + exit 0 [ 41s] ... checking for files with abuild user/group [ 42s] ... creating baselibs [ 42s] [ 42s] ee8f131954d8 finished "build patchelf.spec" at Thu Jul 13 02:51:54 UTC 2023. [ 42s] Retried build at Thu Jul 13 03:44:02 2023 returned same result, skipped Retried build at Thu Jul 13 04:11:47 2023 returned same result, skipped