[ 0s] Memory limit set to 71863554KB [ 0s] Using BUILD_ROOT=/root/gbsbuild-ROOT/NGBS-ROOT/worker/scratch.26 [ 0s] Using BUILD_ARCH=x86_64:i686:i586:i486:i386 [ 0s] [ 0s] [ 0s] ee8f131954d8 started "build patchelf.spec" at Thu Jul 13 03:11:49 UTC 2023. [ 0s] [ 0s] Building patchelf for project 'Tizen-5.0-Base' repository 'standard' arch 'x86_64' srcmd5 'dc44ab1dcfdf72e22f6561f1abb822e6' [ 0s] [ 0s] processing recipe /root/gbsbuild-ROOT/NGBS-ROOT/worker/scratch.26/.build-srcdir/patchelf.spec ... [ 0s] running changelog2spec --target rpm --file /root/gbsbuild-ROOT/NGBS-ROOT/worker/scratch.26/.build-srcdir/patchelf.spec [ 0s] init_buildsystem --configdir /root/gbsbuild-ROOT/NGBS-ROOT/run/worker/26/build/configs --cachedir /var/cache/build --clean --rpmlist /root/gbsbuild-ROOT/NGBS-ROOT/worker/scratch.26/.build.rpmlist /root/gbsbuild-ROOT/NGBS-ROOT/worker/scratch.26/.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... [ 1s] [3/35] preinstalling setup... [ 1s] [4/35] preinstalling filesystem... [ 1s] [5/35] preinstalling glibc... [ 1s] [6/35] preinstalling bash... [ 1s] [7/35] preinstalling diffutils... [ 1s] [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... [ 2s] [19/35] preinstalling libsmack... [ 2s] [20/35] preinstalling libsqlite... [ 2s] [21/35] preinstalling nspr... [ 2s] [22/35] preinstalling sed... [ 2s] [23/35] preinstalling zlib... [ 2s] [24/35] preinstalling coreutils... [ 2s] [25/35] preinstalling libacl... [ 2s] [26/35] preinstalling smack... [ 2s] [27/35] preinstalling bzip2... [ 2s] [28/35] preinstalling libmagic... [ 2s] [29/35] preinstalling libxml2... [ 2s] [30/35] preinstalling util-linux... [ 2s] [31/35] preinstalling tar... [ 2s] [32/35] preinstalling util-linux-su... [ 2s] [33/35] preinstalling nss... [ 2s] [34/35] preinstalling libsoftokn3... [ 2s] [35/35] preinstalling rpm... [ 3s] running setup postinstall script [ 3s] chroot: failed to run command '': No such file or directory [ 3s] initializing rpm db... [ 3s] reordering...cycle: libsoftokn3 -> nss [ 3s] breaking dependency nss -> libsoftokn3 [ 3s] done [ 3s] querying package ids... [ 4s] [1/93] cumulate libmagic-data-5.32-1.5 [ 4s] [2/93] cumulate setup-0.9-5.14 [ 4s] [3/93] cumulate filesystem-3.1-3.1 [ 4s] [4/93] cumulate glibc-2.24-1.4 [ 4s] [5/93] cumulate bash-3.2.57-3.1 [ 4s] [6/93] cumulate binutils-2.27-1.5 [ 4s] [7/93] cumulate cpio-2.11-3.1 [ 4s] [8/93] cumulate diffutils-3.3-3.1 [ 4s] [9/93] cumulate findutils-4.3.8-1.5 [ 4s] [10/93] cumulate hostname-3.20-3.1 [ 4s] [11/93] cumulate libatomic-6.2.1-1.4 [ 4s] [12/93] cumulate libattr-2.4.47-1.5 [ 4s] [13/93] cumulate libbz2-1.0.6-1.4 [ 4s] [14/93] cumulate libcap-2.24-1.5 [ 4s] [15/93] cumulate libelf-0.153-1.5 [ 4s] [16/93] cumulate libext2fs-1.43.4-3.1 [ 4s] [17/93] cumulate libfreebl3-3.34.1-1.4 [ 4s] [18/93] cumulate libgcc-6.2.1-1.4 [ 4s] [19/93] cumulate libgomp-6.2.1-1.4 [ 4s] [20/93] cumulate libitm-6.2.1-1.4 [ 4s] [21/93] cumulate libltdl-2.4.2-1.5 [ 4s] [22/93] cumulate liblua-5.1.5-1.4 [ 4s] [23/93] cumulate liblzma-5.2.3-1.4 [ 4s] [24/93] cumulate libpcre-8.41-3.1 [ 4s] [25/93] cumulate libpopt-1.16-1.5 [ 4s] [26/93] cumulate libquadmath-6.2.1-1.4 [ 4s] [27/93] cumulate libsmack-1.3.1-1.4 [ 4s] [28/93] cumulate libsmartcols-2.30-6.1 [ 4s] [29/93] cumulate libsqlite-3.24.0-1.5 [ 4s] [30/93] cumulate libuuid-2.30-6.1 [ 4s] [31/93] cumulate m4-1.4.17-3.1 [ 4s] [32/93] cumulate net-tools-2.0_20121208git-3.1 [ 4s] [33/93] cumulate nspr-4.12-1.4 [ 4s] [34/93] cumulate patch-2.7-1.5 [ 4s] [35/93] cumulate pkg-config-0.28-1.4 [ 4s] [36/93] cumulate sed-4.1c-3.1 [ 4s] [37/93] cumulate update-alternatives-1.18.15-3.1 [ 4s] [38/93] cumulate which-2.20-3.1 [ 4s] [39/93] cumulate zlib-1.2.11-1.5 [ 4s] [40/93] cumulate build-compare-2015.04.28-3.71 [ 4s] [41/93] cumulate terminfo-base-full-6.1-1.4 [ 4s] [42/93] cumulate coreutils-6.9-3.1 [ 4s] [43/93] cumulate cpp-6.2.1-1.4 [ 4s] [44/93] cumulate gawk-3.1.5-3.1 [ 4s] [45/93] cumulate gcc-c++-6.2.1-1.4 [ 4s] [46/93] cumulate grep-2.5.2-3.1 [ 4s] [47/93] cumulate libacl-2.2.52-1.5 [ 4s] [48/93] cumulate libasm-0.153-1.5 [ 4s] [49/93] cumulate libblkid-2.30-6.1 [ 4s] [50/93] cumulate libstdc++-6.2.1-1.4 [ 4s] [51/93] cumulate make-4.0-1.5 [ 4s] [52/93] cumulate nss-certs-3.34.1-1.4 [ 4s] [53/93] cumulate smack-1.3.1-1.4 [ 4s] [54/93] cumulate bzip2-1.0.6-1.4 [ 4s] [55/93] cumulate libmagic-5.32-1.5 [ 4s] [56/93] cumulate libxml2-2.9.7-1.4 [ 4s] [57/93] cumulate xz-5.2.3-1.4 [ 4s] [58/93] cumulate libgfortran-6.2.1-1.4 [ 4s] [59/93] cumulate libdw-0.153-1.5 [ 4s] [60/93] cumulate libstdc++-devel-6.2.1-1.4 [ 4s] [61/93] cumulate file-5.32-1.5 [ 4s] [62/93] cumulate libmount-2.30-6.1 [ 4s] [63/93] cumulate linux-glibc-devel-3.10-1.5 [ 4s] [64/93] cumulate tar-1.17-3.1 [ 4s] [65/93] cumulate db4-4.8.30.NC-1.5 [ 4s] [66/93] cumulate glibc-locale-2.24-1.4 [ 4s] [67/93] cumulate gzip-1.3.12-1.5 [ 4s] [68/93] cumulate libcc1-6.2.1-1.4 [ 4s] [69/93] cumulate libcilkrts-6.2.1-1.4 [ 4s] [70/93] cumulate libfdisk-2.30-6.1 [ 4s] [71/93] cumulate libubsan-6.2.1-1.4 [ 4s] [72/93] cumulate pam-1.1.6-6.1 [ 4s] [73/93] cumulate libncurses6-6.1-1.4 [ 4s] [74/93] cumulate tzdata-2018f-3.1 [ 4s] [75/93] cumulate elfutils-0.153-1.5 [ 4s] [76/93] cumulate libncurses-6.1-1.4 [ 4s] [77/93] cumulate glibc-devel-2.24-1.4 [ 4s] [78/93] cumulate less-466-3.1 [ 4s] [79/93] cumulate libreadline-5.2-1.5 [ 4s] [80/93] cumulate procps-ng-3.3.15-4.1 [ 4s] [81/93] cumulate perl-5.20.0-1.5 [ 4s] [82/93] cumulate gcc-6.2.1-1.4 [ 4s] [83/93] cumulate build-mkbaselibs-20120927-3.1 [ 4s] [84/93] cumulate autoconf-2.69-1.5 [ 4s] [85/93] cumulate util-linux-2.30-6.1 [ 4s] [86/93] cumulate automake-1.15.1-1.5 [ 4s] [87/93] cumulate util-linux-su-2.30-6.1 [ 4s] [88/93] cumulate build-20120927-3.1 [ 4s] [89/93] cumulate libtool-2.4.2-1.5 [ 4s] [90/93] cumulate nss-3.34.1-1.4 [ 4s] [91/93] cumulate libsoftokn3-3.34.1-1.4 [ 4s] [92/93] cumulate rpm-4.11.0.1-1.3 [ 4s] [93/93] cumulate rpm-build-4.11.0.1-1.3 [ 4s] now installing cumulated packages [ 4s] Preparing... ######################################## [ 4s] Updating / installing... [ 4s] setup-0.9-5.14 ######################################## [ 4s] filesystem-3.1-3.1 ######################################## [ 4s] glibc-2.24-1.4 ######################################## [ 5s] bash-3.2.57-3.1 ######################################## [ 5s] zlib-1.2.11-1.5 ######################################## [ 5s] libgcc-6.2.1-1.4 ######################################## [ 5s] libstdc++-6.2.1-1.4 ######################################## [ 5s] coreutils-6.9-3.1 ######################################## [ 5s] libelf-0.153-1.5 ######################################## [ 5s] libbz2-1.0.6-1.4 ######################################## [ 5s] liblzma-5.2.3-1.4 ######################################## [ 6s] libuuid-2.30-6.1 ######################################## [ 6s] libblkid-2.30-6.1 ######################################## [ 6s] nspr-4.12-1.4 ######################################## [ 6s] pam-1.1.6-6.1 ######################################## [ 6s] binutils-2.27-1.5 ######################################## [ 6s] libfreebl3-3.34.1-1.4 ######################################## [ 7s] libpopt-1.16-1.5 ######################################## [ 7s] libquadmath-6.2.1-1.4 ######################################## [ 7s] libgfortran-6.2.1-1.4 ######################################## [ 7s] nss-certs-3.34.1-1.4 ######################################## [ 7s] libmount-2.30-6.1 ######################################## [ 7s] libfdisk-2.30-6.1 ######################################## [ 7s] xz-5.2.3-1.4 ######################################## [ 7s] libdw-0.153-1.5 ######################################## [ 7s] bzip2-1.0.6-1.4 ######################################## [ 7s] libasm-0.153-1.5 ######################################## [ 8s] linux-glibc-devel-3.10-1.5 ######################################## [ 8s] glibc-devel-2.24-1.4 ######################################## [ 8s] gzip-1.3.12-1.5 ######################################## [ 8s] db4-4.8.30.NC-1.5 ######################################## [ 9s] perl-5.20.0-1.5 ######################################## [ 9s] build-mkbaselibs-20120927-3.1 ######################################## [ 9s] libcc1-6.2.1-1.4 ######################################## [ 9s] libcilkrts-6.2.1-1.4 ######################################## [ 10s] libubsan-6.2.1-1.4 ######################################## [ 10s] terminfo-base-full-6.1-1.4 ######################################## [ 10s] libncurses6-6.1-1.4 ######################################## [ 10s] libreadline-5.2-1.5 ######################################## [ 10s] make-4.0-1.5 ######################################## [ 10s] findutils-4.3.8-1.5 ######################################## [ 10s] libatomic-6.2.1-1.4 ######################################## [ 10s] libattr-2.4.47-1.5 ######################################## [ 10s] libacl-2.2.52-1.5 ######################################## [ 10s] tar-1.17-3.1 ######################################## [ 10s] libcap-2.24-1.5 ######################################## [ 11s] libgomp-6.2.1-1.4 ######################################## [ 11s] libitm-6.2.1-1.4 ######################################## [ 12s] gcc-6.2.1-1.4 ######################################## [ 12s] libltdl-2.4.2-1.5 ######################################## [ 12s] liblua-5.1.5-1.4 ######################################## [ 13s] libpcre-8.41-3.1 ######################################## [ 13s] libsmack-1.3.1-1.4 ######################################## [ 13s] libsmartcols-2.30-6.1 ######################################## [ 13s] libsqlite-3.24.0-1.5 ######################################## [ 13s] libsoftokn3-3.34.1-1.4 ######################################## [ 13s] nss-3.34.1-1.4 ######################################## [ 13s] m4-1.4.17-3.1 ######################################## [ 13s] autoconf-2.69-1.5 ######################################## [ 14s] automake-1.15.1-1.5 ######################################## [ 14s] patch-2.7-1.5 ######################################## [ 14s] sed-4.1c-3.1 ######################################## [ 14s] util-linux-2.30-6.1 ######################################## [ 14s] libmagic-data-5.32-1.5 ######################################## [ 14s] libmagic-5.32-1.5 ######################################## [ 14s] rpm-4.11.0.1-1.3 ######################################## [ 14s] rpm-build-4.11.0.1-1.3 ######################################## [ 14s] file-5.32-1.5 ######################################## [ 14s] util-linux-su-2.30-6.1 ######################################## [ 14s] libtool-2.4.2-1.5 ######################################## [ 14s] smack-1.3.1-1.4 ######################################## [ 14s] grep-2.5.2-3.1 ######################################## [ 15s] build-20120927-3.1 ######################################## [ 15s] libncurses-6.1-1.4 ######################################## [ 15s] less-466-3.1 ######################################## [ 15s] procps-ng-3.3.15-4.1 ######################################## [ 15s] elfutils-0.153-1.5 ######################################## [ 15s] libxml2-2.9.7-1.4 ######################################## [ 15s] glibc-locale-2.24-1.4 ######################################## [ 15s] tzdata-2018f-3.1 ######################################## [ 16s] libstdc++-devel-6.2.1-1.4 ######################################## [ 17s] cpp-6.2.1-1.4 ######################################## [ 18s] gcc-c++-6.2.1-1.4 ######################################## [ 18s] build-compare-2015.04.28-3.71 ######################################## [ 18s] gawk-3.1.5-3.1 ######################################## [ 18s] cpio-2.11-3.1 ######################################## [ 18s] diffutils-3.3-3.1 ######################################## [ 18s] hostname-3.20-3.1 ######################################## [ 18s] libext2fs-1.43.4-3.1 ######################################## [ 18s] net-tools-2.0_20121208git-3.1 ######################################## [ 18s] pkg-config-0.28-1.4 ######################################## [ 18s] update-alternatives-1.18.15-3.1 ######################################## [ 18s] which-2.20-3.1 ######################################## [ 18s] now finalizing build dir... [ 19s] ----------------------------------------------------------------- [ 19s] I have the following modifications for patchelf.spec: [ 19s] 4c4 [ 19s] < Release: 0 [ 19s] --- [ 19s] > Release: 1.1 [ 19s] ----------------------------------------------------------------- [ 19s] ----- building patchelf.spec (user abuild) [ 19s] ----------------------------------------------------------------- [ 19s] ----------------------------------------------------------------- [ 19s] + exec rpmbuild -ba --define '_srcdefattr (-,root,root)' --nosignature --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 [ 19s] Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.9hv2Il [ 19s] + umask 022 [ 19s] + cd /home/abuild/rpmbuild/BUILD [ 19s] + cd /home/abuild/rpmbuild/BUILD [ 19s] + rm -rf patchelf-0.6 [ 19s] + /bin/bzip2 -dc /home/abuild/rpmbuild/SOURCES/patchelf-0.6.tar.bz2 [ 19s] + /bin/tar -xf - [ 19s] + STATUS=0 [ 19s] + '[' 0 -ne 0 ']' [ 19s] + cd patchelf-0.6 [ 19s] + /bin/chmod -Rf a+rX,u+w,g-w,o-w . [ 19s] + cp /home/abuild/rpmbuild/SOURCES/patchelf.manifest . [ 19s] + exit 0 [ 19s] Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.0g598D [ 19s] + umask 022 [ 19s] + cd /home/abuild/rpmbuild/BUILD [ 19s] + cd patchelf-0.6 [ 19s] ++ uname -m [ 19s] + [[ x86_64 == \a\a\r\c\h\6\4 ]] [ 19s] + LANG=C [ 19s] + export LANG [ 19s] + unset DISPLAY [ 19s] + 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' [ 19s] + export CFLAGS [ 19s] + 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' [ 19s] + export CXXFLAGS [ 19s] + 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' [ 19s] + export FFLAGS [ 19s] + LDFLAGS= [ 19s] + export LDFLAGS [ 19s] + 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' [ 19s] + export CFLAGS [ 19s] + 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' [ 19s] + export CXXFLAGS [ 19s] + 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' [ 19s] + export FFLAGS [ 19s] + ./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 [ 19s] checking for a BSD-compatible install... /bin/install -c [ 20s] checking whether build environment is sane... yes [ 20s] checking for a thread-safe mkdir -p... /bin/mkdir -p [ 20s] checking for gawk... gawk [ 20s] checking whether make sets $(MAKE)... yes [ 20s] checking for x86_64-tizen-linux-gnu-gcc... x86_64-tizen-linux-gnu-gcc [ 20s] checking whether the C compiler works... yes [ 20s] checking for C compiler default output file name... a.out [ 20s] checking for suffix of executables... [ 21s] checking whether we are cross compiling... no [ 21s] checking for suffix of object files... o [ 21s] checking whether we are using the GNU C compiler... yes [ 21s] checking whether x86_64-tizen-linux-gnu-gcc accepts -g... yes [ 21s] checking for x86_64-tizen-linux-gnu-gcc option to accept ISO C89... none needed [ 21s] checking for style of include used by make... GNU [ 21s] checking dependency style of x86_64-tizen-linux-gnu-gcc... gcc3 [ 21s] checking for x86_64-tizen-linux-gnu-g++... x86_64-tizen-linux-gnu-g++ [ 21s] checking whether we are using the GNU C++ compiler... yes [ 21s] checking whether x86_64-tizen-linux-gnu-g++ accepts -g... yes [ 21s] checking dependency style of x86_64-tizen-linux-gnu-g++... gcc3 [ 21s] configure: creating ./config.status [ 21s] config.status: creating Makefile [ 21s] config.status: creating src/Makefile [ 21s] config.status: creating tests/Makefile [ 21s] config.status: executing depfiles commands [ 21s] + make [ 21s] Making all in src [ 21s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/patchelf-0.6/src' [ 21s] 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 [ 21s] In file included from patchelf.cc:9:0: [ 21s] 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]': [ 21s] 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]' [ 21s] patchelf.cc:1057:9: required from 'void patchElf2(ElfFile&, mode_t) [with ElfFile = ElfFile; mode_t = unsigned int]' [ 21s] patchelf.cc:1089:36: required from here [ 21s] patchelf.cc:611:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] [ 21s] assert((off_t) curOff == startOffset + neededSpace); [ 21s] ^ [ 21s] 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]': [ 21s] 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]' [ 21s] patchelf.cc:1057:9: required from 'void patchElf2(ElfFile&, mode_t) [with ElfFile = ElfFile; mode_t = unsigned int]' [ 21s] patchelf.cc:1089:36: required from here [ 21s] patchelf.cc:684:38: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] [ 21s] assert((off_t) rdi(hdr->e_shoff) >= startOffset); [ 21s] ^ [ 21s] patchelf.cc:725:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] [ 21s] assert((off_t) curOff == neededSpace); [ 21s] ^ [ 25s] mv -f .deps/patchelf.Tpo .deps/patchelf.Po [ 25s] 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 [ 25s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/patchelf-0.6/src' [ 25s] Making all in tests [ 25s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/patchelf-0.6/tests' [ 25s] make[1]: Nothing to be done for 'all'. [ 25s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/patchelf-0.6/tests' [ 25s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/patchelf-0.6' [ 25s] make[1]: Nothing to be done for 'all-am'. [ 25s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/patchelf-0.6' [ 25s] + exit 0 [ 25s] Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.LCWMnd [ 25s] + umask 022 [ 25s] + cd /home/abuild/rpmbuild/BUILD [ 25s] + cd patchelf-0.6 [ 25s] + LANG=C [ 25s] + export LANG [ 25s] + unset DISPLAY [ 25s] + rm -rf /home/abuild/rpmbuild/BUILDROOT/patchelf-0.6-1.1.x86_64 [ 25s] + mkdir -p /home/abuild/rpmbuild/BUILDROOT/patchelf-0.6-1.1.x86_64 [ 25s] + /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 [ 25s] Making install in src [ 25s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/patchelf-0.6/src' [ 25s] make[2]: Entering directory '/home/abuild/rpmbuild/BUILD/patchelf-0.6/src' [ 25s] test -z "/usr/bin" || /bin/mkdir -p "/home/abuild/rpmbuild/BUILDROOT/patchelf-0.6-1.1.x86_64/usr/bin" [ 25s] /bin/install -c patchelf '/home/abuild/rpmbuild/BUILDROOT/patchelf-0.6-1.1.x86_64/usr/bin' [ 25s] make[2]: Nothing to be done for 'install-data-am'. [ 25s] make[2]: Leaving directory '/home/abuild/rpmbuild/BUILD/patchelf-0.6/src' [ 25s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/patchelf-0.6/src' [ 25s] Making install in tests [ 25s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/patchelf-0.6/tests' [ 25s] make[2]: Entering directory '/home/abuild/rpmbuild/BUILD/patchelf-0.6/tests' [ 25s] make[2]: Nothing to be done for 'install-exec-am'. [ 25s] make[2]: Nothing to be done for 'install-data-am'. [ 25s] make[2]: Leaving directory '/home/abuild/rpmbuild/BUILD/patchelf-0.6/tests' [ 25s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/patchelf-0.6/tests' [ 25s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/patchelf-0.6' [ 25s] make[2]: Entering directory '/home/abuild/rpmbuild/BUILD/patchelf-0.6' [ 25s] make[2]: Nothing to be done for 'install-exec-am'. [ 25s] /bin/install -c -d /home/abuild/rpmbuild/BUILDROOT/patchelf-0.6-1.1.x86_64/usr/share/doc/patchelf [ 25s] /bin/install -c -m 644 README /home/abuild/rpmbuild/BUILDROOT/patchelf-0.6-1.1.x86_64/usr/share/doc/patchelf/ [ 25s] test -z "/usr/share/man/man1" || /bin/mkdir -p "/home/abuild/rpmbuild/BUILDROOT/patchelf-0.6-1.1.x86_64/usr/share/man/man1" [ 25s] /bin/install -c -m 644 patchelf.1 '/home/abuild/rpmbuild/BUILDROOT/patchelf-0.6-1.1.x86_64/usr/share/man/man1' [ 25s] make[2]: Leaving directory '/home/abuild/rpmbuild/BUILD/patchelf-0.6' [ 25s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/patchelf-0.6' [ 25s] + rm -f /home/abuild/rpmbuild/BUILDROOT/patchelf-0.6-1.1.x86_64/usr/share/info/dir [ 25s] + find /home/abuild/rpmbuild/BUILDROOT/patchelf-0.6-1.1.x86_64 -regex '.*\.la$' [ 25s] + xargs rm -f -- [ 25s] + find /home/abuild/rpmbuild/BUILDROOT/patchelf-0.6-1.1.x86_64 -regex '.*\.a$' [ 25s] + xargs rm -f -- [ 25s] + rm /home/abuild/rpmbuild/BUILDROOT/patchelf-0.6-1.1.x86_64/usr/share/doc/patchelf/README [ 25s] + /usr/lib/rpm/find-debuginfo.sh /home/abuild/rpmbuild/BUILD/patchelf-0.6 [ 25s] extracting debug info from /home/abuild/rpmbuild/BUILDROOT/patchelf-0.6-1.1.x86_64/usr/bin/patchelf [ 25s] cpio: glibc-2.24/csu: Cannot stat: No such file or directory [ 25s] cpio: glibc-2.24/csu/init.c: Cannot stat: No such file or directory [ 25s] cpio: glibc-2.24/sysdeps/x86_64/crti.S: Cannot stat: No such file or directory [ 25s] cpio: glibc-2.24/sysdeps/x86_64/crtn.S: Cannot stat: No such file or directory [ 25s] cpio: glibc-2.24/sysdeps/x86_64/start.S: Cannot stat: No such file or directory [ 25s] 294 blocks [ 25s] + cp /usr/lib/rpm/debug.manifest /home/abuild/rpmbuild/BUILD/patchelf-0.6/patchelf-debuginfo.manifest [ 25s] + cp /usr/lib/rpm/debug.manifest /home/abuild/rpmbuild/BUILD/patchelf-0.6/patchelf-debugsource.manifest [ 25s] + /usr/lib/rpm/check-buildroot [ 25s] + /usr/lib/rpm//brp-compress [ 25s] + /usr/lib/rpm/brp-strip-static-archive /bin/strip [ 25s] + /usr/lib/rpm/brp-python-hardlink [ 25s] + /usr/lib/rpm/tizen/find-docs.sh /home/abuild/rpmbuild/BUILDROOT/patchelf-0.6-1.1.x86_64 [ 25s] Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.w1rpGN [ 25s] + umask 022 [ 25s] + cd /home/abuild/rpmbuild/BUILD [ 25s] + cd patchelf-0.6 [ 25s] + make check [ 25s] Making check in src [ 25s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/patchelf-0.6/src' [ 25s] make[1]: Nothing to be done for 'check'. [ 25s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/patchelf-0.6/src' [ 25s] Making check in tests [ 25s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/patchelf-0.6/tests' [ 25s] make main main-scoped simple big-dynstr [ 25s] make[2]: Entering directory '/home/abuild/rpmbuild/BUILD/patchelf-0.6/tests' [ 25s] x86_64-tizen-linux-gnu-gcc -fpic -o main.o -c main.c [ 25s] x86_64-tizen-linux-gnu-gcc -fpic -o foo.o -c foo.c [ 25s] x86_64-tizen-linux-gnu-gcc -fpic -o bar.o -c bar.c [ 25s] 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 [ 25s] NIX_DONT_SET_RPATH=1 x86_64-tizen-linux-gnu-gcc -Wl,--disable-new-dtags -shared -o libfoo.so foo.o -L . -lbar [ 25s] LD_LIBRARY_PATH=. gcc -Wl,--disable-new-dtags -o main main.o -L . -lfoo [ 25s] NIX_DONT_SET_RPATH=1 x86_64-tizen-linux-gnu-gcc -Wl,--enable-new-dtags -shared -o libbar-scoped.so bar.o [ 25s] 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 [ 25s] LD_LIBRARY_PATH=. gcc -Wl,--enable-new-dtags -o main-scoped main.o -L . -lfoo-scoped [ 25s] 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 [ 25s] mv -f .deps/simple.Tpo .deps/simple.Po [ 25s] 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 [ 25s] 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 [ 27s] mv -f .deps/big-dynstr.Tpo .deps/big-dynstr.Po [ 27s] LD_LIBRARY_PATH=. gcc -Wl,--disable-new-dtags -o big-dynstr big-dynstr.o -L . -lfoo [ 27s] make[2]: Leaving directory '/home/abuild/rpmbuild/BUILD/patchelf-0.6/tests' [ 27s] make check-TESTS [ 27s] make[2]: Entering directory '/home/abuild/rpmbuild/BUILD/patchelf-0.6/tests' [ 27s] ./main: error while loading shared libraries: libfoo.so: cannot open shared object file: No such file or directory [ 27s] PASS: plain-fail.sh [ 27s] Hello World [ 27s] This is foo()! [ 27s] This is bar()! [ 27s] Result is 46 [ 27s] PASS: plain-run.sh [ 27s] RPATH before: /home/abuild/rpmbuild/BUILD/patchelf-0.6/tests/no-such-path [ 27s] patching ELF file `scratch/libbar.so' [ 27s] removing directory `/home/abuild/rpmbuild/BUILD/patchelf-0.6/tests/no-such-path' from RPATH [ 27s] new rpath is `' [ 27s] RPATH after: [ 27s] Hello World [ 27s] This is foo()! [ 27s] This is bar()! [ 27s] Result is 46 [ 27s] PASS: shrink-rpath.sh [ 27s] Hello World [ 27s] current interpreter is /lib64/ld-linux-x86-64.so.2 [ 27s] patching ELF file `scratch/simple' [ 27s] replacing section `.interp' with size 6 [ 27s] this is an executable [ 27s] using replaced section `.interp' [ 27s] last replaced is 1 [ 27s] looking at section `.interp' [ 27s] first reserved offset/addr is 0x254/0x400254 [ 27s] first page is 0x400000 [ 27s] needed space is 576 [ 27s] clearing first 28 bytes [ 27s] rewriting section `.interp' from offset 0x238 (size 28) to offset 0x238 (size 6) [ 27s] running with missing interpreter... [ 27s] ./set-interpreter-short.sh: line 15: scratch/simple: No such file or directory [ 27s] PASS: set-interpreter-short.sh [ 27s] Hello World [ 27s] current interpreter is /lib64/ld-linux-x86-64.so.2 [ 27s] running with explicit interpreter... [ 27s] Hello World [ 27s] patching ELF file `scratch/simple' [ 27s] replacing section `.interp' with size 156 [ 27s] this is an executable [ 27s] using replaced section `.interp' [ 27s] last replaced is 1 [ 27s] looking at section `.interp' [ 27s] first reserved offset/addr is 0x254/0x400254 [ 27s] first page is 0x400000 [ 27s] needed space is 728 [ 27s] needed space is 784 [ 27s] needed pages is 1 [ 27s] changing alignment of program header 2 from 2097152 to 4096 [ 27s] changing alignment of program header 3 from 2097152 to 4096 [ 27s] clearing first 4068 bytes [ 27s] rewriting section `.interp' from offset 0x1238 (size 28) to offset 0x270 (size 156) [ 27s] running with missing interpreter... [ 27s] ./set-interpreter-long.sh: line 21: scratch/simple: No such file or directory [ 27s] running with new interpreter... [ 27s] Hello World [ 27s] running with explicit interpreter... [ 27s] Hello World [ 27s] PASS: set-interpreter-long.sh [ 27s] patching ELF file `scratch/main' [ 27s] new rpath is `/oops:/home/abuild/rpmbuild/BUILD/patchelf-0.6/tests/scratch/libsA:/home/abuild/rpmbuild/BUILD/patchelf-0.6/tests/scratch/libsB' [ 27s] rpath is too long, resizing... [ 27s] DT_NULL index is 24 [ 27s] replacing section `.dynamic' with size 496 [ 27s] replacing section `.dynstr' with size 246 [ 27s] this is an executable [ 27s] using replaced section `.dynstr' [ 27s] using replaced section `.dynamic' [ 27s] last replaced is 21 [ 27s] looking at section `.interp' [ 27s] replacing section `.interp' which is in the way [ 27s] looking at section `.note.ABI-tag' [ 27s] replacing section `.note.ABI-tag' which is in the way [ 27s] looking at section `.note.gnu.build-id' [ 27s] replacing section `.note.gnu.build-id' which is in the way [ 27s] looking at section `.hash' [ 27s] replacing section `.hash' which is in the way [ 27s] looking at section `.dynsym' [ 27s] replacing section `.dynsym' which is in the way [ 27s] looking at section `.dynstr' [ 27s] looking at section `.gnu.version' [ 27s] first reserved offset/addr is 0x456/0x400456 [ 27s] first page is 0x400000 [ 27s] needed space is 1744 [ 27s] needed space is 1800 [ 27s] needed pages is 1 [ 27s] changing alignment of program header 2 from 2097152 to 4096 [ 27s] changing alignment of program header 3 from 2097152 to 4096 [ 27s] clearing first 4582 bytes [ 27s] rewriting section `.dynamic' from offset 0x1e10 (size 480) to offset 0x270 (size 496) [ 27s] rewriting section `.dynstr' from offset 0x13e0 (size 118) to offset 0x460 (size 246) [ 27s] rewriting section `.dynsym' from offset 0x12d8 (size 264) to offset 0x558 (size 264) [ 27s] rewriting section `.hash' from offset 0x1298 (size 64) to offset 0x660 (size 64) [ 27s] rewriting section `.interp' from offset 0x1238 (size 28) to offset 0x6a0 (size 28) [ 27s] rewriting section `.note.ABI-tag' from offset 0x1254 (size 32) to offset 0x6c0 (size 32) [ 27s] rewriting section `.note.gnu.build-id' from offset 0x1274 (size 36) to offset 0x6e0 (size 36) [ 27s] Hello World [ 27s] This is foo()! [ 27s] This is bar()! [ 27s] Result is 46 [ 27s] PASS: set-rpath.sh [ 27s] patching ELF file `scratch/no-rpath' [ 27s] new rpath is `/foo:/bar:/xxxxxxxxxxxxxxx' [ 27s] rpath is too long, resizing... [ 27s] DT_NULL index is 19 [ 27s] replacing section `.dynamic' with size 208 [ 27s] replacing section `.dynstr' with size 103 [ 27s] replacing section `.interp' with size 28 [ 27s] this is an executable [ 27s] using replaced section `.interp' [ 27s] using replaced section `.dynstr' [ 27s] using replaced section `.dynamic' [ 27s] last replaced is 17 [ 27s] looking at section `.interp' [ 27s] looking at section `.note.ABI-tag' [ 27s] replacing section `.note.ABI-tag' which is in the way [ 27s] looking at section `.hash' [ 27s] replacing section `.hash' which is in the way [ 27s] looking at section `.dynsym' [ 27s] replacing section `.dynsym' which is in the way [ 27s] looking at section `.dynstr' [ 27s] looking at section `.gnu.version' [ 27s] first reserved offset/addr is 0x1ec/0x80481ec [ 27s] first page is 0x8048000 [ 27s] needed space is 736 [ 27s] needed space is 768 [ 27s] needed pages is 1 [ 27s] clearing first 4312 bytes [ 27s] rewriting section `.dynamic' from offset 0x14a8 (size 200) to offset 0x114 (size 208) [ 27s] rewriting section `.dynstr' from offset 0x11a0 (size 76) to offset 0x1e4 (size 103) [ 27s] rewriting section `.dynsym' from offset 0x1150 (size 80) to offset 0x24c (size 80) [ 27s] rewriting section `.hash' from offset 0x1128 (size 40) to offset 0x29c (size 40) [ 27s] rewriting section `.interp' from offset 0x10f4 (size 19) to offset 0x2c4 (size 28) [ 27s] rewriting section `.note.ABI-tag' from offset 0x1108 (size 32) to offset 0x2e0 (size 32) [ 27s] PASS: no-rpath.sh [ 27s] patching ELF file `scratch/big-dynstr' [ 27s] new rpath is `/oops:/home/abuild/rpmbuild/BUILD/patchelf-0.6/tests/scratch/libsA:/home/abuild/rpmbuild/BUILD/patchelf-0.6/tests/scratch/libsB' [ 27s] rpath is too long, resizing... [ 27s] DT_NULL index is 24 [ 27s] replacing section `.dynamic' with size 496 [ 27s] replacing section `.dynstr' with size 264 [ 27s] this is an executable [ 27s] using replaced section `.dynstr' [ 27s] using replaced section `.dynamic' [ 27s] last replaced is 21 [ 27s] looking at section `.interp' [ 27s] replacing section `.interp' which is in the way [ 27s] looking at section `.note.ABI-tag' [ 27s] replacing section `.note.ABI-tag' which is in the way [ 27s] looking at section `.note.gnu.build-id' [ 27s] replacing section `.note.gnu.build-id' which is in the way [ 27s] looking at section `.hash' [ 27s] replacing section `.hash' which is in the way [ 27s] looking at section `.dynsym' [ 27s] replacing section `.dynsym' which is in the way [ 27s] looking at section `.dynstr' [ 27s] looking at section `.gnu.version' [ 27s] first reserved offset/addr is 0x468/0x400468 [ 27s] first page is 0x400000 [ 27s] needed space is 1760 [ 27s] needed space is 1816 [ 27s] needed pages is 1 [ 27s] changing alignment of program header 2 from 2097152 to 4096 [ 27s] changing alignment of program header 3 from 2097152 to 4096 [ 27s] clearing first 4600 bytes [ 27s] rewriting section `.dynamic' from offset 0x1de10 (size 480) to offset 0x270 (size 496) [ 27s] rewriting section `.dynstr' from offset 0x13e0 (size 136) to offset 0x460 (size 264) [ 27s] rewriting section `.dynsym' from offset 0x12d8 (size 264) to offset 0x568 (size 264) [ 27s] rewriting section `.hash' from offset 0x1298 (size 64) to offset 0x670 (size 64) [ 27s] rewriting section `.interp' from offset 0x1238 (size 28) to offset 0x6b0 (size 28) [ 27s] rewriting section `.note.ABI-tag' from offset 0x1254 (size 32) to offset 0x6d0 (size 32) [ 27s] rewriting section `.note.gnu.build-id' from offset 0x1274 (size 36) to offset 0x6f0 (size 36) [ 27s] Hello World [ 27s] This is foo()! [ 27s] This is bar()! [ 27s] Result is 46 [ 27s] PASS: big-dynstr.sh [ 27s] patching ELF file `scratch/main-scoped' [ 27s] new rpath is `/oops:/home/abuild/rpmbuild/BUILD/patchelf-0.6/tests/scratch/libsA:/home/abuild/rpmbuild/BUILD/patchelf-0.6/tests/scratch/libsB' [ 27s] rpath is too long, resizing... [ 27s] DT_NULL index is 24 [ 27s] replacing section `.dynamic' with size 496 [ 27s] replacing section `.dynstr' with size 253 [ 27s] this is an executable [ 27s] using replaced section `.dynstr' [ 27s] using replaced section `.dynamic' [ 27s] last replaced is 21 [ 27s] looking at section `.interp' [ 27s] replacing section `.interp' which is in the way [ 27s] looking at section `.note.ABI-tag' [ 27s] replacing section `.note.ABI-tag' which is in the way [ 27s] looking at section `.note.gnu.build-id' [ 27s] replacing section `.note.gnu.build-id' which is in the way [ 27s] looking at section `.hash' [ 27s] replacing section `.hash' which is in the way [ 27s] looking at section `.dynsym' [ 27s] replacing section `.dynsym' which is in the way [ 27s] looking at section `.dynstr' [ 27s] looking at section `.gnu.version' [ 27s] first reserved offset/addr is 0x45e/0x40045e [ 27s] first page is 0x400000 [ 27s] needed space is 1752 [ 27s] needed space is 1808 [ 27s] needed pages is 1 [ 27s] changing alignment of program header 2 from 2097152 to 4096 [ 27s] changing alignment of program header 3 from 2097152 to 4096 [ 27s] clearing first 4590 bytes [ 27s] rewriting section `.dynamic' from offset 0x1e10 (size 480) to offset 0x270 (size 496) [ 27s] rewriting section `.dynstr' from offset 0x13e0 (size 125) to offset 0x460 (size 253) [ 27s] rewriting section `.dynsym' from offset 0x12d8 (size 264) to offset 0x560 (size 264) [ 27s] rewriting section `.hash' from offset 0x1298 (size 64) to offset 0x668 (size 64) [ 27s] rewriting section `.interp' from offset 0x1238 (size 28) to offset 0x6a8 (size 28) [ 27s] rewriting section `.note.ABI-tag' from offset 0x1254 (size 32) to offset 0x6c8 (size 32) [ 27s] rewriting section `.note.gnu.build-id' from offset 0x1274 (size 36) to offset 0x6e8 (size 36) [ 27s] ./main-scoped: error while loading shared libraries: libbar-scoped.so: cannot open shared object file: No such file or directory [ 27s] patching ELF file `scratch/libsA/libfoo-scoped.so' [ 27s] new rpath is `/oops:/home/abuild/rpmbuild/BUILD/patchelf-0.6/tests/scratch/libsB' [ 27s] rpath is too long, resizing... [ 27s] DT_NULL index is 24 [ 27s] replacing section `.dynamic' with size 480 [ 27s] replacing section `.dynstr' with size 286 [ 27s] this is a dynamic library [ 27s] last page is 0x202000 [ 27s] needed space is 1328 [ 27s] warning: working around a Linux kernel bug by creating a hole of 2093056 bytes in ‘scratch/libsA/libfoo-scoped.so’ [ 27s] rewriting section `.dynamic' from offset 0xe08 (size 464) to offset 0x202230 (size 480) [ 27s] rewriting section `.dynstr' from offset 0x418 (size 219) to offset 0x202410 (size 286) [ 27s] Hello World [ 27s] This is foo()! [ 27s] This is bar()! [ 27s] Result is 46 [ 27s] patching ELF file `scratch/main-scoped' [ 27s] removing directory `/oops' from RPATH [ 27s] removing directory `/home/abuild/rpmbuild/BUILD/patchelf-0.6/tests/scratch/libsB' from RPATH [ 27s] new rpath is `/home/abuild/rpmbuild/BUILD/patchelf-0.6/tests/scratch/libsA' [ 27s] Hello World [ 27s] This is foo()! [ 27s] This is bar()! [ 27s] Result is 46 [ 27s] PASS: set-rpath-library.sh [ 27s] ================== [ 27s] All 9 tests passed [ 27s] ================== [ 27s] make[2]: Leaving directory '/home/abuild/rpmbuild/BUILD/patchelf-0.6/tests' [ 27s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/patchelf-0.6/tests' [ 27s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/patchelf-0.6' [ 27s] make[1]: Nothing to be done for 'check-am'. [ 27s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/patchelf-0.6' [ 27s] + exit 0 [ 27s] Processing files: patchelf-0.6-1.1.x86_64 [ 27s] Aptk: PG1hbmlmZXN0PgogPHJlcXVlc3Q+CiAgICA8ZG9tYWluIG5hbWU9Il8iLz4KIDwv [ 27s] cmVxdWVzdD4KPC9tYW5pZmVzdD4K [ 27s] [ 27s] Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.FClMFt [ 27s] + umask 022 [ 27s] + cd /home/abuild/rpmbuild/BUILD [ 27s] + cd patchelf-0.6 [ 27s] + DOCDIR=/home/abuild/rpmbuild/BUILDROOT/patchelf-0.6-1.1.x86_64/usr/share/doc/packages/patchelf [ 27s] + export DOCDIR [ 27s] + /bin/mkdir -p /home/abuild/rpmbuild/BUILDROOT/patchelf-0.6-1.1.x86_64/usr/share/doc/packages/patchelf [ 27s] + cp -pr README /home/abuild/rpmbuild/BUILDROOT/patchelf-0.6-1.1.x86_64/usr/share/doc/packages/patchelf [ 27s] + exit 0 [ 27s] Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.8lGOF9 [ 27s] + umask 022 [ 27s] + cd /home/abuild/rpmbuild/BUILD [ 27s] + cd patchelf-0.6 [ 27s] + LICENSEDIR=/home/abuild/rpmbuild/BUILDROOT/patchelf-0.6-1.1.x86_64/usr/share/licenses/patchelf [ 27s] + export LICENSEDIR [ 27s] + /bin/mkdir -p /home/abuild/rpmbuild/BUILDROOT/patchelf-0.6-1.1.x86_64/usr/share/licenses/patchelf [ 27s] + cp -pr COPYING /home/abuild/rpmbuild/BUILDROOT/patchelf-0.6-1.1.x86_64/usr/share/licenses/patchelf [ 27s] + exit 0 [ 27s] Provides: patchelf = 0.6-1.1 patchelf(x86-64) = 0.6-1.1 [ 27s] Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 [ 27s] 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) [ 27s] Processing files: patchelf-debugsource-0.6-1.1.x86_64 [ 27s] Aptk: PG1hbmlmZXN0PgogPHJlcXVlc3Q+CiAgICA8ZG9tYWluIG5hbWU9Il8iLz4KIDwv [ 27s] cmVxdWVzdD4KPC9tYW5pZmVzdD4K [ 27s] [ 27s] Provides: patchelf-debugsource = 0.6-1.1 patchelf-debugsource(x86-64) = 0.6-1.1 [ 27s] Requires(rpmlib): rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(CompressedFileNames) <= 3.0.4-1 [ 27s] Processing files: patchelf-debuginfo-0.6-1.1.x86_64 [ 27s] Aptk: PG1hbmlmZXN0PgogPHJlcXVlc3Q+CiAgICA8ZG9tYWluIG5hbWU9Il8iLz4KIDwv [ 27s] cmVxdWVzdD4KPC9tYW5pZmVzdD4K [ 27s] [ 27s] Provides: patchelf-debuginfo = 0.6-1.1 patchelf-debuginfo(x86-64) = 0.6-1.1 [ 27s] Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 [ 27s] Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/abuild/rpmbuild/BUILDROOT/patchelf-0.6-1.1.x86_64 [ 27s] Wrote: /home/abuild/rpmbuild/SRPMS/patchelf-0.6-1.1.src.rpm [ 27s] Wrote: /home/abuild/rpmbuild/RPMS/x86_64/patchelf-0.6-1.1.x86_64.rpm [ 27s] Wrote: /home/abuild/rpmbuild/RPMS/x86_64/patchelf-debugsource-0.6-1.1.x86_64.rpm [ 27s] Wrote: /home/abuild/rpmbuild/RPMS/x86_64/patchelf-debuginfo-0.6-1.1.x86_64.rpm [ 27s] Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.vDGaAA [ 27s] + umask 022 [ 27s] + cd /home/abuild/rpmbuild/BUILD [ 27s] + cd patchelf-0.6 [ 27s] + /bin/rm -rf /home/abuild/rpmbuild/BUILDROOT/patchelf-0.6-1.1.x86_64 [ 27s] + exit 0 [ 27s] ... checking for files with abuild user/group [ 27s] ... creating baselibs [ 28s] [ 28s] ee8f131954d8 finished "build patchelf.spec" at Thu Jul 13 03:12:17 UTC 2023. [ 28s] Retried build at Thu Jul 13 04:03:38 2023 returned same result, skipped Retried build at Thu Jul 13 04:30:05 2023 returned same result, skipped