[ 0s] Memory limit set to 71863554KB [ 0s] Using BUILD_ROOT=/root/gbsbuild-ROOT/NGBS-ROOT/worker/scratch.11 [ 0s] Using BUILD_ARCH=x86_64:i686:i586:i486:i386 [ 0s] [ 0s] [ 0s] fbfd9573b370 started "build patchelf.spec" at Thu Jul 13 03:06:42 UTC 2023. [ 0s] [ 0s] Building patchelf for project 'Tizen-5.5-Base' repository 'standard' arch 'x86_64' srcmd5 'dc44ab1dcfdf72e22f6561f1abb822e6' [ 0s] [ 0s] processing recipe /root/gbsbuild-ROOT/NGBS-ROOT/worker/scratch.11/.build-srcdir/patchelf.spec ... [ 0s] running changelog2spec --target rpm --file /root/gbsbuild-ROOT/NGBS-ROOT/worker/scratch.11/.build-srcdir/patchelf.spec [ 0s] init_buildsystem --configdir /root/gbsbuild-ROOT/NGBS-ROOT/run/worker/11/build/configs --cachedir /var/cache/build --clean --rpmlist /root/gbsbuild-ROOT/NGBS-ROOT/worker/scratch.11/.build.rpmlist /root/gbsbuild-ROOT/NGBS-ROOT/worker/scratch.11/.build-srcdir/patchelf.spec build ... [ 1s] cycle: libsoftokn3 -> nss [ 1s] breaking dependency nss -> libsoftokn3 [ 1s] [1/35] preinstalling libmagic-data... [ 1s] [2/35] preinstalling libncurses... [ 2s] [3/35] preinstalling setup... [ 2s] [4/35] preinstalling filesystem... [ 2s] [5/35] preinstalling glibc... [ 2s] [6/35] preinstalling bash... [ 2s] [7/35] preinstalling diffutils... [ 2s] [8/35] preinstalling grep... [ 2s] [9/35] preinstalling libattr... [ 2s] [10/35] preinstalling libbz2... [ 2s] [11/35] preinstalling libcap... [ 2s] [12/35] preinstalling libelf... [ 2s] [13/35] preinstalling libfreebl3... [ 2s] [14/35] preinstalling libgcc... [ 2s] [15/35] preinstalling liblua... [ 2s] [16/35] preinstalling liblzma... [ 2s] [17/35] preinstalling libpopt... [ 2s] [18/35] preinstalling libreadline... [ 3s] [19/35] preinstalling libsmack... [ 3s] [20/35] preinstalling libsqlite... [ 3s] [21/35] preinstalling nspr... [ 3s] [22/35] preinstalling sed... [ 3s] [23/35] preinstalling zlib... [ 3s] [24/35] preinstalling coreutils... [ 3s] [25/35] preinstalling libacl... [ 3s] [26/35] preinstalling smack... [ 3s] [27/35] preinstalling bzip2... [ 3s] [28/35] preinstalling libmagic... [ 3s] [29/35] preinstalling libxml2... [ 3s] [30/35] preinstalling util-linux... [ 3s] [31/35] preinstalling tar... [ 3s] [32/35] preinstalling util-linux-su... [ 3s] [33/35] preinstalling nss... [ 3s] [34/35] preinstalling libsoftokn3... [ 3s] [35/35] preinstalling rpm... [ 4s] running setup postinstall script [ 4s] chroot: failed to run command '': No such file or directory [ 4s] initializing rpm db... [ 4s] reordering...cycle: libsoftokn3 -> nss [ 4s] breaking dependency nss -> libsoftokn3 [ 4s] done [ 4s] querying package ids... [ 5s] [1/94] cumulate libmagic-data-5.37-1.4 [ 5s] [2/94] cumulate setup-0.9-3.10 [ 5s] [3/94] cumulate filesystem-3.1-1.1 [ 5s] [4/94] cumulate glibc-2.24-1.4 [ 5s] [5/94] cumulate bash-3.2.57-1.3 [ 5s] [6/94] cumulate binutils-2.27-1.4 [ 5s] [7/94] cumulate cpio-2.11-1.3 [ 5s] [8/94] cumulate diffutils-3.3-1.3 [ 5s] [9/94] cumulate findutils-4.3.8-1.4 [ 5s] [10/94] cumulate gdbm-1.8.3-1.4 [ 5s] [11/94] cumulate hostname-3.20-1.1 [ 5s] [12/94] cumulate libatomic-6.2.1-1.4 [ 5s] [13/94] cumulate libattr-2.4.47-1.4 [ 5s] [14/94] cumulate libbz2-1.0.6-1.4 [ 5s] [15/94] cumulate libcap-2.24-1.4 [ 5s] [16/94] cumulate libelf-0.153-1.4 [ 5s] [17/94] cumulate libext2fs-1.43.4-1.3 [ 5s] [18/94] cumulate libfreebl3-3.34.1-1.4 [ 5s] [19/94] cumulate libgcc-6.2.1-1.4 [ 5s] [20/94] cumulate libgomp-6.2.1-1.4 [ 5s] [21/94] cumulate libitm-6.2.1-1.4 [ 5s] [22/94] cumulate libltdl-2.4.2-1.4 [ 5s] [23/94] cumulate liblua-5.1.5-1.4 [ 5s] [24/94] cumulate liblzma-5.2.4-1.4 [ 5s] [25/94] cumulate libpcre-8.43-1.20 [ 5s] [26/94] cumulate libpopt-1.16-1.4 [ 5s] [27/94] cumulate libquadmath-6.2.1-1.4 [ 5s] [28/94] cumulate libsmack-1.3.1-1.4 [ 5s] [29/94] cumulate libsmartcols-2.30-1.20 [ 5s] [30/94] cumulate libsqlite-3.29.0-1.4 [ 5s] [31/94] cumulate libuuid-2.30-1.20 [ 5s] [32/94] cumulate m4-1.4.17-1.2 [ 5s] [33/94] cumulate net-tools-2.0_20121208git-1.3 [ 5s] [34/94] cumulate nspr-4.12-1.4 [ 5s] [35/94] cumulate patch-2.7-1.4 [ 5s] [36/94] cumulate pkg-config-0.28-1.4 [ 5s] [37/94] cumulate sed-4.1c-1.2 [ 5s] [38/94] cumulate update-alternatives-1.18.15-2.2 [ 5s] [39/94] cumulate which-2.20-1.1 [ 5s] [40/94] cumulate zlib-1.2.11-1.4 [ 5s] [41/94] cumulate build-compare-2015.04.28-1.48 [ 5s] [42/94] cumulate terminfo-base-full-6.1-1.4 [ 5s] [43/94] cumulate coreutils-6.9-2.21 [ 5s] [44/94] cumulate cpp-6.2.1-1.4 [ 5s] [45/94] cumulate gawk-3.1.5-3.1 [ 5s] [46/94] cumulate gcc-c++-6.2.1-1.4 [ 5s] [47/94] cumulate grep-2.5.2-1.3 [ 5s] [48/94] cumulate libacl-2.2.52-1.4 [ 5s] [49/94] cumulate libasm-0.153-1.4 [ 5s] [50/94] cumulate libblkid-2.30-1.20 [ 5s] [51/94] cumulate libstdc++-6.2.1-1.4 [ 5s] [52/94] cumulate make-4.0-1.4 [ 5s] [53/94] cumulate nss-certs-3.34.1-1.4 [ 5s] [54/94] cumulate smack-1.3.1-1.4 [ 5s] [55/94] cumulate bzip2-1.0.6-1.4 [ 5s] [56/94] cumulate libmagic-5.37-1.4 [ 5s] [57/94] cumulate libxml2-2.9.7-1.4 [ 5s] [58/94] cumulate xz-5.2.4-1.4 [ 5s] [59/94] cumulate libgfortran-6.2.1-1.4 [ 5s] [60/94] cumulate libdw-0.153-1.4 [ 5s] [61/94] cumulate libstdc++-devel-6.2.1-1.4 [ 5s] [62/94] cumulate file-5.37-1.4 [ 5s] [63/94] cumulate libmount-2.30-1.20 [ 5s] [64/94] cumulate linux-glibc-devel-3.10-1.4 [ 5s] [65/94] cumulate tar-1.17-1.2 [ 5s] [66/94] cumulate db4-4.8.30.NC-1.4 [ 5s] [67/94] cumulate glibc-locale-2.24-1.4 [ 5s] [68/94] cumulate gzip-1.3.12-1.4 [ 5s] [69/94] cumulate libcc1-6.2.1-1.4 [ 5s] [70/94] cumulate libcilkrts-6.2.1-1.4 [ 5s] [71/94] cumulate libfdisk-2.30-1.20 [ 5s] [72/94] cumulate libubsan-6.2.1-1.4 [ 5s] [73/94] cumulate pam-1.1.6-1.2 [ 5s] [74/94] cumulate libncurses6-6.1-1.4 [ 5s] [75/94] cumulate tzdata-2019a-3.1 [ 5s] [76/94] cumulate elfutils-0.153-1.4 [ 5s] [77/94] cumulate libncurses-6.1-1.4 [ 5s] [78/94] cumulate glibc-devel-2.24-1.4 [ 5s] [79/94] cumulate less-466-1.2 [ 5s] [80/94] cumulate libreadline-5.2-1.4 [ 5s] [81/94] cumulate procps-ng-3.3.15-2.3 [ 5s] [82/94] cumulate perl-5.30.0-1.4 [ 5s] [83/94] cumulate gcc-6.2.1-1.4 [ 5s] [84/94] cumulate build-mkbaselibs-20120927-1.1 [ 5s] [85/94] cumulate autoconf-2.69-1.4 [ 5s] [86/94] cumulate util-linux-2.30-1.20 [ 5s] [87/94] cumulate automake-1.15.1-1.4 [ 5s] [88/94] cumulate util-linux-su-2.30-1.20 [ 5s] [89/94] cumulate build-20120927-1.1 [ 5s] [90/94] cumulate libtool-2.4.2-1.4 [ 5s] [91/94] cumulate nss-3.34.1-1.4 [ 5s] [92/94] cumulate libsoftokn3-3.34.1-1.4 [ 5s] [93/94] cumulate rpm-4.11.0.1-1.3 [ 5s] [94/94] cumulate rpm-build-4.11.0.1-1.3 [ 5s] now installing cumulated packages [ 5s] Preparing... ######################################## [ 5s] Updating / installing... [ 5s] setup-0.9-3.10 ######################################## [ 5s] filesystem-3.1-1.1 ######################################## [ 5s] glibc-2.24-1.4 ######################################## [ 5s] bash-3.2.57-1.3 ######################################## [ 5s] zlib-1.2.11-1.4 ######################################## [ 5s] libgcc-6.2.1-1.4 ######################################## [ 5s] libstdc++-6.2.1-1.4 ######################################## [ 6s] coreutils-6.9-2.21 ######################################## [ 6s] libelf-0.153-1.4 ######################################## [ 6s] libbz2-1.0.6-1.4 ######################################## [ 6s] liblzma-5.2.4-1.4 ######################################## [ 6s] libuuid-2.30-1.20 ######################################## [ 6s] libblkid-2.30-1.20 ######################################## [ 6s] nspr-4.12-1.4 ######################################## [ 6s] pam-1.1.6-1.2 ######################################## [ 7s] binutils-2.27-1.4 ######################################## [ 7s] libfreebl3-3.34.1-1.4 ######################################## [ 7s] libpopt-1.16-1.4 ######################################## [ 8s] libquadmath-6.2.1-1.4 ######################################## [ 8s] libgfortran-6.2.1-1.4 ######################################## [ 8s] nss-certs-3.34.1-1.4 ######################################## [ 8s] libmount-2.30-1.20 ######################################## [ 8s] libfdisk-2.30-1.20 ######################################## [ 8s] xz-5.2.4-1.4 ######################################## [ 8s] libdw-0.153-1.4 ######################################## [ 8s] bzip2-1.0.6-1.4 ######################################## [ 8s] libasm-0.153-1.4 ######################################## [ 9s] linux-glibc-devel-3.10-1.4 ######################################## [ 9s] glibc-devel-2.24-1.4 ######################################## [ 9s] gzip-1.3.12-1.4 ######################################## [ 9s] db4-4.8.30.NC-1.4 ######################################## [ 9s] libcc1-6.2.1-1.4 ######################################## [ 9s] libcilkrts-6.2.1-1.4 ######################################## [ 9s] libubsan-6.2.1-1.4 ######################################## [ 9s] terminfo-base-full-6.1-1.4 ######################################## [ 10s] libncurses6-6.1-1.4 ######################################## [ 10s] libreadline-5.2-1.4 ######################################## [ 10s] make-4.0-1.4 ######################################## [ 10s] findutils-4.3.8-1.4 ######################################## [ 10s] gdbm-1.8.3-1.4 ######################################## [ 14s] perl-5.30.0-1.4 ######################################## [ 14s] build-mkbaselibs-20120927-1.1 ######################################## [ 14s] libatomic-6.2.1-1.4 ######################################## [ 14s] libattr-2.4.47-1.4 ######################################## [ 15s] libacl-2.2.52-1.4 ######################################## [ 15s] tar-1.17-1.2 ######################################## [ 15s] libcap-2.24-1.4 ######################################## [ 16s] libgomp-6.2.1-1.4 ######################################## [ 16s] libitm-6.2.1-1.4 ######################################## [ 21s] gcc-6.2.1-1.4 ######################################## [ 21s] libltdl-2.4.2-1.4 ######################################## [ 21s] liblua-5.1.5-1.4 ######################################## [ 22s] libpcre-8.43-1.20 ######################################## [ 22s] libsmack-1.3.1-1.4 ######################################## [ 22s] libsmartcols-2.30-1.20 ######################################## [ 22s] libsqlite-3.29.0-1.4 ######################################## [ 23s] libsoftokn3-3.34.1-1.4 ######################################## [ 23s] nss-3.34.1-1.4 ######################################## [ 23s] m4-1.4.17-1.2 ######################################## [ 23s] autoconf-2.69-1.4 ######################################## [ 24s] automake-1.15.1-1.4 ######################################## [ 24s] patch-2.7-1.4 ######################################## [ 24s] sed-4.1c-1.2 ######################################## [ 24s] util-linux-2.30-1.20 ######################################## [ 24s] libmagic-data-5.37-1.4 ######################################## [ 24s] libmagic-5.37-1.4 ######################################## [ 25s] rpm-4.11.0.1-1.3 ######################################## [ 25s] rpm-build-4.11.0.1-1.3 ######################################## [ 25s] file-5.37-1.4 ######################################## [ 25s] util-linux-su-2.30-1.20 ######################################## [ 25s] libtool-2.4.2-1.4 ######################################## [ 25s] smack-1.3.1-1.4 ######################################## [ 25s] grep-2.5.2-1.3 ######################################## [ 25s] build-20120927-1.1 ######################################## [ 25s] libncurses-6.1-1.4 ######################################## [ 25s] less-466-1.2 ######################################## [ 25s] procps-ng-3.3.15-2.3 ######################################## [ 25s] elfutils-0.153-1.4 ######################################## [ 26s] libxml2-2.9.7-1.4 ######################################## [ 26s] glibc-locale-2.24-1.4 ######################################## [ 26s] tzdata-2019a-3.1 ######################################## [ 27s] libstdc++-devel-6.2.1-1.4 ######################################## [ 28s] cpp-6.2.1-1.4 ######################################## [ 29s] gcc-c++-6.2.1-1.4 ######################################## [ 29s] build-compare-2015.04.28-1.48 ######################################## [ 29s] gawk-3.1.5-3.1 ######################################## [ 29s] cpio-2.11-1.3 ######################################## [ 29s] diffutils-3.3-1.3 ######################################## [ 29s] hostname-3.20-1.1 ######################################## [ 29s] libext2fs-1.43.4-1.3 ######################################## [ 29s] net-tools-2.0_20121208git-1.3 ######################################## [ 29s] pkg-config-0.28-1.4 ######################################## [ 29s] update-alternatives-1.18.15-2.2 ######################################## [ 29s] which-2.20-1.1 ######################################## [ 30s] now finalizing build dir... [ 31s] ----------------------------------------------------------------- [ 31s] I have the following modifications for patchelf.spec: [ 31s] 4c4 [ 31s] < Release: 0 [ 31s] --- [ 31s] > Release: 1.1 [ 31s] ----------------------------------------------------------------- [ 31s] ----- building patchelf.spec (user abuild) [ 31s] ----------------------------------------------------------------- [ 31s] ----------------------------------------------------------------- [ 31s] + exec rpmbuild -ba --define '_srcdefattr (-,root,root)' --nosignature --define '_build_create_debug 1' --define 'disturl obs://127.0.0.1/Tizen-5.5-Base/standard/dc44ab1dcfdf72e22f6561f1abb822e6-patchelf' /home/abuild/rpmbuild/SOURCES/patchelf.spec [ 31s] Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.E6dfHF [ 31s] + umask 022 [ 31s] + cd /home/abuild/rpmbuild/BUILD [ 31s] + cd /home/abuild/rpmbuild/BUILD [ 31s] + rm -rf patchelf-0.6 [ 31s] + /bin/bzip2 -dc /home/abuild/rpmbuild/SOURCES/patchelf-0.6.tar.bz2 [ 31s] + /bin/tar -xf - [ 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.zeb6w1 [ 32s] + umask 022 [ 32s] + cd /home/abuild/rpmbuild/BUILD [ 32s] + cd patchelf-0.6 [ 32s] + [[ x86_64 == \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 -m64 -march=nehalem -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 -m64 -march=nehalem -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 -m64 -march=nehalem -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 -m64 -march=nehalem -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 -m64 -march=nehalem -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 -m64 -march=nehalem -msse4.2 -mfpmath=sse -fasynchronous-unwind-tables -fno-omit-frame-pointer -g -I%_fmoddir' [ 32s] + export FFLAGS [ 32s] + ./configure --build=x86_64-tizen-linux-gnu --host=x86_64-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/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/usr/com --mandir=/usr/share/man --infodir=/usr/share/info [ 32s] checking for a BSD-compatible install... /bin/install -c [ 33s] checking whether build environment is sane... yes [ 33s] checking for a thread-safe mkdir -p... /bin/mkdir -p [ 33s] checking for gawk... gawk [ 33s] checking whether make sets $(MAKE)... yes [ 33s] checking for x86_64-tizen-linux-gnu-gcc... x86_64-tizen-linux-gnu-gcc [ 33s] checking whether the C compiler works... yes [ 33s] checking for C compiler default output file name... a.out [ 33s] checking for suffix of executables... [ 33s] checking whether we are cross compiling... no [ 33s] checking for suffix of object files... o [ 33s] checking whether we are using the GNU C compiler... yes [ 33s] checking whether x86_64-tizen-linux-gnu-gcc accepts -g... yes [ 34s] checking for x86_64-tizen-linux-gnu-gcc option to accept ISO C89... none needed [ 34s] checking for style of include used by make... GNU [ 34s] checking dependency style of x86_64-tizen-linux-gnu-gcc... gcc3 [ 34s] checking for x86_64-tizen-linux-gnu-g++... x86_64-tizen-linux-gnu-g++ [ 34s] checking whether we are using the GNU C++ compiler... yes [ 34s] checking whether x86_64-tizen-linux-gnu-g++ accepts -g... yes [ 34s] checking dependency style of x86_64-tizen-linux-gnu-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 [ 35s] + make [ 35s] Making all in src [ 35s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/patchelf-0.6/src' [ 35s] x86_64-tizen-linux-gnu-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 -m64 -march=nehalem -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 = Elf64_Ehdr; Elf_Phdr = Elf64_Phdr; Elf_Shdr = Elf64_Shdr; Elf_Addr = long unsigned int; Elf_Off = 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 unsigned int; Elf_Off = 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 unsigned int; Elf_Off = 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 unsigned int; Elf_Off = 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] ^ [ 38s] mv -f .deps/patchelf.Tpo .deps/patchelf.Po [ 38s] x86_64-tizen-linux-gnu-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 -m64 -march=nehalem -msse4.2 -mfpmath=sse -fasynchronous-unwind-tables -fno-omit-frame-pointer -g -std=gnu++11 -o patchelf patchelf.o [ 38s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/patchelf-0.6/src' [ 38s] Making all in tests [ 38s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/patchelf-0.6/tests' [ 38s] make[1]: Nothing to be done for 'all'. [ 38s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/patchelf-0.6/tests' [ 38s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/patchelf-0.6' [ 38s] make[1]: Nothing to be done for 'all-am'. [ 38s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/patchelf-0.6' [ 38s] + exit 0 [ 38s] Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.8Y9wsI [ 38s] + umask 022 [ 38s] + cd /home/abuild/rpmbuild/BUILD [ 38s] + cd patchelf-0.6 [ 38s] + LANG=C [ 38s] + export LANG [ 38s] + unset DISPLAY [ 38s] + rm -rf /home/abuild/rpmbuild/BUILDROOT/patchelf-0.6-1.1.x86_64 [ 38s] + mkdir -p /home/abuild/rpmbuild/BUILDROOT/patchelf-0.6-1.1.x86_64 [ 38s] + /bin/make DESTDIR=/home/abuild/rpmbuild/BUILDROOT/patchelf-0.6-1.1.x86_64 INSTALL_ROOT=/home/abuild/rpmbuild/BUILDROOT/patchelf-0.6-1.1.x86_64 install [ 38s] Making install in src [ 38s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/patchelf-0.6/src' [ 38s] make[2]: Entering directory '/home/abuild/rpmbuild/BUILD/patchelf-0.6/src' [ 38s] test -z "/usr/bin" || /bin/mkdir -p "/home/abuild/rpmbuild/BUILDROOT/patchelf-0.6-1.1.x86_64/usr/bin" [ 38s] /bin/install -c patchelf '/home/abuild/rpmbuild/BUILDROOT/patchelf-0.6-1.1.x86_64/usr/bin' [ 38s] make[2]: Nothing to be done for 'install-data-am'. [ 38s] make[2]: Leaving directory '/home/abuild/rpmbuild/BUILD/patchelf-0.6/src' [ 38s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/patchelf-0.6/src' [ 38s] Making install in tests [ 38s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/patchelf-0.6/tests' [ 38s] make[2]: Entering directory '/home/abuild/rpmbuild/BUILD/patchelf-0.6/tests' [ 38s] make[2]: Nothing to be done for 'install-exec-am'. [ 38s] make[2]: Nothing to be done for 'install-data-am'. [ 38s] make[2]: Leaving directory '/home/abuild/rpmbuild/BUILD/patchelf-0.6/tests' [ 38s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/patchelf-0.6/tests' [ 38s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/patchelf-0.6' [ 38s] make[2]: Entering directory '/home/abuild/rpmbuild/BUILD/patchelf-0.6' [ 38s] make[2]: Nothing to be done for 'install-exec-am'. [ 38s] /bin/install -c -d /home/abuild/rpmbuild/BUILDROOT/patchelf-0.6-1.1.x86_64/usr/share/doc/patchelf [ 38s] /bin/install -c -m 644 README /home/abuild/rpmbuild/BUILDROOT/patchelf-0.6-1.1.x86_64/usr/share/doc/patchelf/ [ 38s] test -z "/usr/share/man/man1" || /bin/mkdir -p "/home/abuild/rpmbuild/BUILDROOT/patchelf-0.6-1.1.x86_64/usr/share/man/man1" [ 38s] /bin/install -c -m 644 patchelf.1 '/home/abuild/rpmbuild/BUILDROOT/patchelf-0.6-1.1.x86_64/usr/share/man/man1' [ 38s] make[2]: Leaving directory '/home/abuild/rpmbuild/BUILD/patchelf-0.6' [ 38s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/patchelf-0.6' [ 38s] + rm -f /home/abuild/rpmbuild/BUILDROOT/patchelf-0.6-1.1.x86_64/usr/share/info/dir [ 38s] + xargs rm -f -- [ 38s] + find /home/abuild/rpmbuild/BUILDROOT/patchelf-0.6-1.1.x86_64 -regex '.*\.la$' [ 38s] + find /home/abuild/rpmbuild/BUILDROOT/patchelf-0.6-1.1.x86_64 -regex '.*\.a$' [ 38s] + xargs rm -f -- [ 38s] + rm /home/abuild/rpmbuild/BUILDROOT/patchelf-0.6-1.1.x86_64/usr/share/doc/patchelf/README [ 38s] + /usr/lib/rpm/find-debuginfo.sh /home/abuild/rpmbuild/BUILD/patchelf-0.6 [ 38s] extracting debug info from /home/abuild/rpmbuild/BUILDROOT/patchelf-0.6-1.1.x86_64/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/x86_64/crti.S: Cannot stat: No such file or directory [ 39s] cpio: glibc-2.24/sysdeps/x86_64/crtn.S: Cannot stat: No such file or directory [ 39s] cpio: glibc-2.24/sysdeps/x86_64/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.x86_64 [ 39s] Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.Fyfaqr [ 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] x86_64-tizen-linux-gnu-gcc -fpic -o main.o -c main.c [ 39s] x86_64-tizen-linux-gnu-gcc -fpic -o foo.o -c foo.c [ 39s] x86_64-tizen-linux-gnu-gcc -fpic -o bar.o -c bar.c [ 39s] NIX_DONT_SET_RPATH=1 x86_64-tizen-linux-gnu-gcc -Wl,--disable-new-dtags -shared -o libbar.so bar.o -L . -Wl,-rpath,`pwd`/no-such-path [ 39s] NIX_DONT_SET_RPATH=1 x86_64-tizen-linux-gnu-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 x86_64-tizen-linux-gnu-gcc -Wl,--enable-new-dtags -shared -o libbar-scoped.so bar.o [ 40s] NIX_DONT_SET_RPATH=1 x86_64-tizen-linux-gnu-gcc -Wl,--enable-new-dtags -shared -o libfoo-scoped.so foo.o -L . -lbar-scoped [ 40s] LD_LIBRARY_PATH=. gcc -Wl,--enable-new-dtags -o main-scoped main.o -L . -lfoo-scoped [ 40s] x86_64-tizen-linux-gnu-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 -m64 -march=nehalem -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 [ 40s] mv -f .deps/simple.Tpo .deps/simple.Po [ 40s] x86_64-tizen-linux-gnu-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 -m64 -march=nehalem -msse4.2 -mfpmath=sse -fasynchronous-unwind-tables -fno-omit-frame-pointer -g -o simple simple.o [ 40s] x86_64-tizen-linux-gnu-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 -m64 -march=nehalem -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 /lib64/ld-linux-x86-64.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 0x254/0x400254 [ 41s] first page is 0x400000 [ 41s] needed space is 576 [ 41s] clearing first 28 bytes [ 41s] rewriting section `.interp' from offset 0x238 (size 28) to offset 0x238 (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 /lib64/ld-linux-x86-64.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 0x254/0x400254 [ 41s] first page is 0x400000 [ 41s] needed space is 728 [ 41s] needed space is 784 [ 41s] needed pages is 1 [ 41s] changing alignment of program header 2 from 2097152 to 4096 [ 41s] changing alignment of program header 3 from 2097152 to 4096 [ 41s] clearing first 4068 bytes [ 41s] rewriting section `.interp' from offset 0x1238 (size 28) to offset 0x270 (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 496 [ 41s] replacing section `.dynstr' with size 246 [ 41s] this is an executable [ 41s] using replaced section `.dynstr' [ 41s] using replaced section `.dynamic' [ 41s] last replaced is 21 [ 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 0x456/0x400456 [ 41s] first page is 0x400000 [ 41s] needed space is 1744 [ 41s] needed space is 1800 [ 41s] needed pages is 1 [ 41s] changing alignment of program header 2 from 2097152 to 4096 [ 41s] changing alignment of program header 3 from 2097152 to 4096 [ 41s] clearing first 4582 bytes [ 41s] rewriting section `.dynamic' from offset 0x1e10 (size 480) to offset 0x270 (size 496) [ 41s] rewriting section `.dynstr' from offset 0x13e0 (size 118) to offset 0x460 (size 246) [ 41s] rewriting section `.dynsym' from offset 0x12d8 (size 264) to offset 0x558 (size 264) [ 41s] rewriting section `.hash' from offset 0x1298 (size 64) to offset 0x660 (size 64) [ 41s] rewriting section `.interp' from offset 0x1238 (size 28) to offset 0x6a0 (size 28) [ 41s] rewriting section `.note.ABI-tag' from offset 0x1254 (size 32) to offset 0x6c0 (size 32) [ 41s] rewriting section `.note.gnu.build-id' from offset 0x1274 (size 36) to offset 0x6e0 (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 28 [ 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 736 [ 41s] needed space is 768 [ 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 28) [ 41s] rewriting section `.note.ABI-tag' from offset 0x1108 (size 32) to offset 0x2e0 (size 32) [ 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 496 [ 41s] replacing section `.dynstr' with size 264 [ 41s] this is an executable [ 41s] using replaced section `.dynstr' [ 41s] using replaced section `.dynamic' [ 41s] last replaced is 21 [ 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 0x468/0x400468 [ 41s] first page is 0x400000 [ 41s] needed space is 1760 [ 41s] needed space is 1816 [ 41s] needed pages is 1 [ 41s] changing alignment of program header 2 from 2097152 to 4096 [ 41s] changing alignment of program header 3 from 2097152 to 4096 [ 41s] clearing first 4600 bytes [ 41s] rewriting section `.dynamic' from offset 0x1de10 (size 480) to offset 0x270 (size 496) [ 41s] rewriting section `.dynstr' from offset 0x13e0 (size 136) to offset 0x460 (size 264) [ 41s] rewriting section `.dynsym' from offset 0x12d8 (size 264) to offset 0x568 (size 264) [ 41s] rewriting section `.hash' from offset 0x1298 (size 64) to offset 0x670 (size 64) [ 41s] rewriting section `.interp' from offset 0x1238 (size 28) to offset 0x6b0 (size 28) [ 41s] rewriting section `.note.ABI-tag' from offset 0x1254 (size 32) to offset 0x6d0 (size 32) [ 41s] rewriting section `.note.gnu.build-id' from offset 0x1274 (size 36) to offset 0x6f0 (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 496 [ 41s] replacing section `.dynstr' with size 253 [ 41s] this is an executable [ 41s] using replaced section `.dynstr' [ 41s] using replaced section `.dynamic' [ 41s] last replaced is 21 [ 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 0x45e/0x40045e [ 41s] first page is 0x400000 [ 41s] needed space is 1752 [ 41s] needed space is 1808 [ 41s] needed pages is 1 [ 41s] changing alignment of program header 2 from 2097152 to 4096 [ 41s] changing alignment of program header 3 from 2097152 to 4096 [ 41s] clearing first 4590 bytes [ 41s] rewriting section `.dynamic' from offset 0x1e10 (size 480) to offset 0x270 (size 496) [ 41s] rewriting section `.dynstr' from offset 0x13e0 (size 125) to offset 0x460 (size 253) [ 41s] rewriting section `.dynsym' from offset 0x12d8 (size 264) to offset 0x560 (size 264) [ 41s] rewriting section `.hash' from offset 0x1298 (size 64) to offset 0x668 (size 64) [ 41s] rewriting section `.interp' from offset 0x1238 (size 28) to offset 0x6a8 (size 28) [ 41s] rewriting section `.note.ABI-tag' from offset 0x1254 (size 32) to offset 0x6c8 (size 32) [ 41s] rewriting section `.note.gnu.build-id' from offset 0x1274 (size 36) to offset 0x6e8 (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 480 [ 41s] replacing section `.dynstr' with size 286 [ 41s] this is a dynamic library [ 41s] last page is 0x202000 [ 41s] needed space is 1328 [ 41s] warning: working around a Linux kernel bug by creating a hole of 2093056 bytes in ‘scratch/libsA/libfoo-scoped.so’ [ 41s] rewriting section `.dynamic' from offset 0xe08 (size 464) to offset 0x202230 (size 480) [ 41s] rewriting section `.dynstr' from offset 0x418 (size 219) to offset 0x202410 (size 286) [ 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.x86_64 [ 41s] Aptk: PG1hbmlmZXN0PgogPHJlcXVlc3Q+CiAgICA8ZG9tYWluIG5hbWU9Il8iLz4KIDwv [ 41s] cmVxdWVzdD4KPC9tYW5pZmVzdD4K [ 41s] [ 41s] Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.MmXiBi [ 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.x86_64/usr/share/doc/packages/patchelf [ 41s] + export DOCDIR [ 41s] + /bin/mkdir -p /home/abuild/rpmbuild/BUILDROOT/patchelf-0.6-1.1.x86_64/usr/share/doc/packages/patchelf [ 41s] + cp -pr README /home/abuild/rpmbuild/BUILDROOT/patchelf-0.6-1.1.x86_64/usr/share/doc/packages/patchelf [ 41s] + exit 0 [ 41s] Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.5kNNN9 [ 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.x86_64/usr/share/licenses/patchelf [ 41s] + export LICENSEDIR [ 41s] + /bin/mkdir -p /home/abuild/rpmbuild/BUILDROOT/patchelf-0.6-1.1.x86_64/usr/share/licenses/patchelf [ 42s] + cp -pr COPYING /home/abuild/rpmbuild/BUILDROOT/patchelf-0.6-1.1.x86_64/usr/share/licenses/patchelf [ 42s] + exit 0 [ 42s] Provides: patchelf = 0.6-1.1 patchelf(x86-64) = 0.6-1.1 [ 42s] Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 [ 42s] Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.4)(64bit) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.0)(64bit) libstdc++.so.6()(64bit) libstdc++.so.6(CXXABI_1.3)(64bit) libstdc++.so.6(GLIBCXX_3.4)(64bit) libstdc++.so.6(GLIBCXX_3.4.21)(64bit) [ 42s] Processing files: patchelf-debugsource-0.6-1.1.x86_64 [ 42s] Aptk: PG1hbmlmZXN0PgogPHJlcXVlc3Q+CiAgICA8ZG9tYWluIG5hbWU9Il8iLz4KIDwv [ 42s] cmVxdWVzdD4KPC9tYW5pZmVzdD4K [ 42s] [ 42s] Provides: patchelf-debugsource = 0.6-1.1 patchelf-debugsource(x86-64) = 0.6-1.1 [ 42s] Requires(rpmlib): rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(CompressedFileNames) <= 3.0.4-1 [ 42s] Processing files: patchelf-debuginfo-0.6-1.1.x86_64 [ 42s] Aptk: PG1hbmlmZXN0PgogPHJlcXVlc3Q+CiAgICA8ZG9tYWluIG5hbWU9Il8iLz4KIDwv [ 42s] cmVxdWVzdD4KPC9tYW5pZmVzdD4K [ 42s] [ 42s] Provides: patchelf-debuginfo = 0.6-1.1 patchelf-debuginfo(x86-64) = 0.6-1.1 [ 42s] Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 [ 42s] Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/abuild/rpmbuild/BUILDROOT/patchelf-0.6-1.1.x86_64 [ 42s] Wrote: /home/abuild/rpmbuild/SRPMS/patchelf-0.6-1.1.src.rpm [ 42s] Wrote: /home/abuild/rpmbuild/RPMS/x86_64/patchelf-0.6-1.1.x86_64.rpm [ 42s] Wrote: /home/abuild/rpmbuild/RPMS/x86_64/patchelf-debugsource-0.6-1.1.x86_64.rpm [ 43s] Wrote: /home/abuild/rpmbuild/RPMS/x86_64/patchelf-debuginfo-0.6-1.1.x86_64.rpm [ 43s] Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.28RTVD [ 43s] + umask 022 [ 43s] + cd /home/abuild/rpmbuild/BUILD [ 43s] + cd patchelf-0.6 [ 43s] + /bin/rm -rf /home/abuild/rpmbuild/BUILDROOT/patchelf-0.6-1.1.x86_64 [ 43s] + exit 0 [ 43s] ... checking for files with abuild user/group [ 43s] ... creating baselibs [ 43s] [ 43s] fbfd9573b370 finished "build patchelf.spec" at Thu Jul 13 03:07:25 UTC 2023. [ 43s] Retried build at Thu Jul 13 03:49:18 2023 returned same result, skipped Retried build at Thu Jul 13 04:19:20 2023 returned same result, skipped Retried build at Tue Jan 16 10:28:52 2024 returned same result, skipped Retried build at Wed Nov 27 09:02:38 2024 returned same result, skipped