I: pbuilder: network access will be disabled during build I: Current time: Wed Nov 3 15:10:45 +14 2021 I: pbuilder-time-stamp: 1635901845 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/buster-reproducible-base.tgz] I: copying local configuration I: mounting /proc filesystem I: mounting /sys filesystem I: creating /{dev,run}/shm I: mounting /dev/pts filesystem I: redirecting /dev/ptmx to /dev/pts/ptmx I: policy-rc.d already exists I: using eatmydata during job I: Copying source file I: copying [patchelf_0.9+52.20180509-1.dsc] I: copying [./patchelf_0.9+52.20180509.orig.tar.gz] I: copying [./patchelf_0.9+52.20180509-1.debian.tar.xz] I: Extracting source gpgv: unknown type of key resource 'trustedkeys.kbx' gpgv: keyblock resource '/root/.gnupg/trustedkeys.kbx': General error gpgv: Signature made Sat Sep 29 12:31:54 2018 +14 gpgv: using RSA key 218EE0362033C87B6C135FA4A3BABAE2408DD6CF gpgv: issuer "fsateler@debian.org" gpgv: Can't check signature: No public key dpkg-source: warning: failed to verify signature on ./patchelf_0.9+52.20180509-1.dsc dpkg-source: info: extracting patchelf in patchelf-0.9+52.20180509 dpkg-source: info: unpacking patchelf_0.9+52.20180509.orig.tar.gz dpkg-source: info: unpacking patchelf_0.9+52.20180509-1.debian.tar.xz dpkg-source: info: using patch list from debian/patches/series dpkg-source: info: applying adjust_startPage_issue127_commit1cc234fea.patch I: using fakeroot in build. I: Installing the build-deps I: user script /srv/workspace/pbuilder/12271/tmp/hooks/D01_modify_environment starting debug: Running on profitbricks-build6-i386. I: Changing host+domainname to test build reproducibility I: Adding a custom variable just for the fun of it... I: Changing /bin/sh to bash Removing 'diversion of /bin/sh to /bin/sh.distrib by dash' Adding 'diversion of /bin/sh to /bin/sh.distrib by bash' Removing 'diversion of /usr/share/man/man1/sh.1.gz to /usr/share/man/man1/sh.distrib.1.gz by dash' Adding 'diversion of /usr/share/man/man1/sh.1.gz to /usr/share/man/man1/sh.distrib.1.gz by bash' I: Setting pbuilder2's login shell to /bin/bash I: Setting pbuilder2's GECOS to second user,second room,second work-phone,second home-phone,second other I: user script /srv/workspace/pbuilder/12271/tmp/hooks/D01_modify_environment finished I: user script /srv/workspace/pbuilder/12271/tmp/hooks/D02_print_environment starting I: set BASH=/bin/sh BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:hostcomplete:interactive_comments:progcomp:promptvars:sourcepath BASH_ALIASES=() BASH_ARGC=() BASH_ARGV=() BASH_CMDS=() BASH_LINENO=([0]="12" [1]="0") BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") BASH_VERSINFO=([0]="5" [1]="0" [2]="3" [3]="1" [4]="release" [5]="i686-pc-linux-gnu") BASH_VERSION='5.0.3(1)-release' BUILDDIR=/build BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' BUILDUSERNAME=pbuilder2 BUILD_ARCH=i386 DEBIAN_FRONTEND=noninteractive DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=18' DIRSTACK=() DISTRIBUTION= EUID=0 FUNCNAME=([0]="Echo" [1]="main") GROUPS=() HOME=/root HOSTNAME=i-capture-the-hostname HOSTTYPE=i686 HOST_ARCH=i386 IFS=' ' INVOCATION_ID=27b87bbb7efc4c628d6ffaf0af4a18e6 LANG=C LANGUAGE=de_CH:de LC_ALL=C LD_LIBRARY_PATH=/usr/lib/libeatmydata LD_PRELOAD=libeatmydata.so MACHTYPE=i686-pc-linux-gnu MAIL=/var/mail/root OPTERR=1 OPTIND=1 OSTYPE=linux-gnu PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path PBCURRENTCOMMANDLINEOPERATION=build PBUILDER_OPERATION=build PBUILDER_PKGDATADIR=/usr/share/pbuilder PBUILDER_PKGLIBDIR=/usr/lib/pbuilder PBUILDER_SYSCONFDIR=/etc PIPESTATUS=([0]="0") POSIXLY_CORRECT=y PPID=12271 PS4='+ ' PWD=/ SHELL=/bin/bash SHELLOPTS=braceexpand:errexit:hashall:interactive-comments:posix SHLVL=3 SUDO_COMMAND='/usr/bin/timeout -k 24.1h 24h /usr/bin/ionice -c 3 /usr/bin/nice -n 11 /usr/bin/unshare --uts -- /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/tmp.cv7dcAeXCS/pbuilderrc_9Q0p --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/buster-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/tmp.cv7dcAeXCS/b2 --logfile b2/build.log patchelf_0.9+52.20180509-1.dsc' SUDO_GID=112 SUDO_UID=107 SUDO_USER=jenkins TERM=unknown TZ=/usr/share/zoneinfo/Etc/GMT-14 UID=0 USER=root _='I: set' http_proxy=http://85.184.249.68:3128 I: uname -a Linux i-capture-the-hostname 4.19.0-11-amd64 #1 SMP Debian 4.19.146-1 (2020-09-17) x86_64 GNU/Linux I: ls -l /bin total 5476 -rwxr-xr-x 1 root root 1302248 Apr 18 2019 bash -rwxr-xr-x 3 root root 38280 Jul 11 2019 bunzip2 -rwxr-xr-x 3 root root 38280 Jul 11 2019 bzcat lrwxrwxrwx 1 root root 6 Jul 11 2019 bzcmp -> bzdiff -rwxr-xr-x 1 root root 2227 Jul 11 2019 bzdiff lrwxrwxrwx 1 root root 6 Jul 11 2019 bzegrep -> bzgrep -rwxr-xr-x 1 root root 4877 Jun 25 2019 bzexe lrwxrwxrwx 1 root root 6 Jul 11 2019 bzfgrep -> bzgrep -rwxr-xr-x 1 root root 3641 Jul 11 2019 bzgrep -rwxr-xr-x 3 root root 38280 Jul 11 2019 bzip2 -rwxr-xr-x 1 root root 17768 Jul 11 2019 bzip2recover lrwxrwxrwx 1 root root 6 Jul 11 2019 bzless -> bzmore -rwxr-xr-x 1 root root 1297 Jul 11 2019 bzmore -rwxr-xr-x 1 root root 38692 Mar 1 2019 cat -rwxr-xr-x 1 root root 75588 Mar 1 2019 chgrp -rwxr-xr-x 1 root root 63268 Mar 1 2019 chmod -rwxr-xr-x 1 root root 75588 Mar 1 2019 chown -rwxr-xr-x 1 root root 153732 Mar 1 2019 cp -rwxr-xr-x 1 root root 132820 Jan 18 2019 dash -rwxr-xr-x 1 root root 120676 Mar 1 2019 date -rwxr-xr-x 1 root root 92040 Mar 1 2019 dd -rwxr-xr-x 1 root root 100620 Mar 1 2019 df -rwxr-xr-x 1 root root 149736 Mar 1 2019 dir -rwxr-xr-x 1 root root 79412 Jan 10 2019 dmesg lrwxrwxrwx 1 root root 8 Sep 27 2018 dnsdomainname -> hostname lrwxrwxrwx 1 root root 8 Sep 27 2018 domainname -> hostname -rwxr-xr-x 1 root root 34532 Mar 1 2019 echo -rwxr-xr-x 1 root root 28 Jan 8 2019 egrep -rwxr-xr-x 1 root root 34532 Mar 1 2019 false -rwxr-xr-x 1 root root 28 Jan 8 2019 fgrep -rwxr-xr-x 1 root root 67700 Jan 10 2019 findmnt -rwsr-xr-x 1 root root 30112 Apr 23 2020 fusermount -rwxr-xr-x 1 root root 206392 Jan 8 2019 grep -rwxr-xr-x 2 root root 2345 Jan 6 2019 gunzip -rwxr-xr-x 1 root root 6375 Jan 6 2019 gzexe -rwxr-xr-x 1 root root 100952 Jan 6 2019 gzip -rwxr-xr-x 1 root root 21916 Sep 27 2018 hostname -rwxr-xr-x 1 root root 79752 Mar 1 2019 ln -rwxr-xr-x 1 root root 55400 Jul 27 2018 login -rwxr-xr-x 1 root root 149736 Mar 1 2019 ls -rwxr-xr-x 1 root root 112032 Jan 10 2019 lsblk -rwxr-xr-x 1 root root 87972 Mar 1 2019 mkdir -rwxr-xr-x 1 root root 79748 Mar 1 2019 mknod -rwxr-xr-x 1 root root 46916 Mar 1 2019 mktemp -rwxr-xr-x 1 root root 42348 Jan 10 2019 more -rwsr-xr-x 1 root root 50592 Jan 10 2019 mount -rwxr-xr-x 1 root root 13724 Jan 10 2019 mountpoint -rwxr-xr-x 1 root root 157832 Mar 1 2019 mv lrwxrwxrwx 1 root root 8 Sep 27 2018 nisdomainname -> hostname lrwxrwxrwx 1 root root 14 Feb 15 2019 pidof -> /sbin/killall5 -rwxr-xr-x 1 root root 38660 Mar 1 2019 pwd lrwxrwxrwx 1 root root 4 Apr 18 2019 rbash -> bash -rwxr-xr-x 1 root root 46852 Mar 1 2019 readlink -rwxr-xr-x 1 root root 75588 Mar 1 2019 rm -rwxr-xr-x 1 root root 42756 Mar 1 2019 rmdir -rwxr-xr-x 1 root root 22276 Jan 22 2019 run-parts -rwxr-xr-x 1 root root 125036 Dec 23 2018 sed lrwxrwxrwx 1 root root 4 Nov 3 15:10 sh -> bash lrwxrwxrwx 1 root root 4 Oct 25 04:47 sh.distrib -> dash -rwxr-xr-x 1 root root 34532 Mar 1 2019 sleep -rwxr-xr-x 1 root root 79652 Mar 1 2019 stty -rwsr-xr-x 1 root root 71072 Jan 10 2019 su -rwxr-xr-x 1 root root 34564 Mar 1 2019 sync -rwxr-xr-x 1 root root 504024 Apr 24 2019 tar -rwxr-xr-x 1 root root 13860 Jan 22 2019 tempfile -rwxr-xr-x 1 root root 104292 Mar 1 2019 touch -rwxr-xr-x 1 root root 34532 Mar 1 2019 true -rwxr-xr-x 1 root root 17768 Apr 23 2020 ulockmgr_server -rwsr-xr-x 1 root root 30108 Jan 10 2019 umount -rwxr-xr-x 1 root root 34532 Mar 1 2019 uname -rwxr-xr-x 2 root root 2345 Jan 6 2019 uncompress -rwxr-xr-x 1 root root 149736 Mar 1 2019 vdir -rwxr-xr-x 1 root root 34208 Jan 10 2019 wdctl -rwxr-xr-x 1 root root 946 Jan 22 2019 which lrwxrwxrwx 1 root root 8 Sep 27 2018 ypdomainname -> hostname -rwxr-xr-x 1 root root 1983 Jan 6 2019 zcat -rwxr-xr-x 1 root root 1677 Jan 6 2019 zcmp -rwxr-xr-x 1 root root 5879 Jan 6 2019 zdiff -rwxr-xr-x 1 root root 29 Jan 6 2019 zegrep -rwxr-xr-x 1 root root 29 Jan 6 2019 zfgrep -rwxr-xr-x 1 root root 2080 Jan 6 2019 zforce -rwxr-xr-x 1 root root 7584 Jan 6 2019 zgrep -rwxr-xr-x 1 root root 2205 Jan 6 2019 zless -rwxr-xr-x 1 root root 1841 Jan 6 2019 zmore -rwxr-xr-x 1 root root 4552 Jan 6 2019 znew I: user script /srv/workspace/pbuilder/12271/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy Version: 0.invalid.0 Architecture: i386 Maintainer: Debian Pbuilder Team Description: Dummy package to satisfy dependencies with aptitude - created by pbuilder This package was created automatically by pbuilder to satisfy the build-dependencies of the package being currently built. Depends: debhelper-compat (= 11) dpkg-deb: building package 'pbuilder-satisfydepends-dummy' in '/tmp/satisfydepends-aptitude/pbuilder-satisfydepends-dummy.deb'. Selecting previously unselected package pbuilder-satisfydepends-dummy. (Reading database ... 19234 files and directories currently installed.) Preparing to unpack .../pbuilder-satisfydepends-dummy.deb ... Unpacking pbuilder-satisfydepends-dummy (0.invalid.0) ... dpkg: pbuilder-satisfydepends-dummy: dependency problems, but configuring anyway as you requested: pbuilder-satisfydepends-dummy depends on debhelper-compat (= 11); however: Package debhelper-compat is not installed. Setting up pbuilder-satisfydepends-dummy (0.invalid.0) ... Reading package lists... Building dependency tree... Reading state information... Initializing package states... Writing extended state information... Building tag database... pbuilder-satisfydepends-dummy is already installed at the requested version (0.invalid.0) pbuilder-satisfydepends-dummy is already installed at the requested version (0.invalid.0) The following NEW packages will be installed: autoconf{a} automake{a} autopoint{a} autotools-dev{a} bsdmainutils{a} debhelper{a} dh-autoreconf{a} dh-strip-nondeterminism{a} dwz{a} file{a} gettext{a} gettext-base{a} groff-base{a} intltool-debian{a} libarchive-zip-perl{a} libbsd0{a} libcroco3{a} libelf1{a} libfile-stripnondeterminism-perl{a} libglib2.0-0{a} libicu63{a} libmagic-mgc{a} libmagic1{a} libncurses6{a} libpipeline1{a} libsigsegv2{a} libtool{a} libuchardet0{a} libxml2{a} m4{a} man-db{a} po-debconf{a} sensible-utils{a} The following packages are RECOMMENDED but will NOT be installed: curl libarchive-cpio-perl libglib2.0-data libgpm2 libltdl-dev libmail-sendmail-perl lynx shared-mime-info wget xdg-user-dirs 0 packages upgraded, 33 newly installed, 0 to remove and 0 not upgraded. Need to get 19.4 MB of archives. After unpacking 70.3 MB will be used. Writing extended state information... Get: 1 http://deb.debian.org/debian buster/main i386 libbsd0 i386 0.9.1-2 [104 kB] Get: 2 http://deb.debian.org/debian buster/main i386 bsdmainutils i386 11.1.2+b1 [193 kB] Get: 3 http://deb.debian.org/debian buster/main i386 libuchardet0 i386 0.0.6-3 [65.2 kB] Get: 4 http://deb.debian.org/debian buster/main i386 groff-base i386 1.22.4-3 [935 kB] Get: 5 http://deb.debian.org/debian buster/main i386 libpipeline1 i386 1.5.1-2 [33.3 kB] Get: 6 http://deb.debian.org/debian buster/main i386 man-db i386 2.8.5-2 [1284 kB] Get: 7 http://deb.debian.org/debian buster/main i386 sensible-utils all 0.0.12 [15.8 kB] Get: 8 http://deb.debian.org/debian buster/main i386 libmagic-mgc i386 1:5.35-4+deb10u1 [242 kB] Get: 9 http://deb.debian.org/debian buster/main i386 libmagic1 i386 1:5.35-4+deb10u1 [124 kB] Get: 10 http://deb.debian.org/debian buster/main i386 file i386 1:5.35-4+deb10u1 [66.3 kB] Get: 11 http://deb.debian.org/debian buster/main i386 gettext-base i386 0.19.8.1-9 [124 kB] Get: 12 http://deb.debian.org/debian buster/main i386 libsigsegv2 i386 2.12-2 [33.2 kB] Get: 13 http://deb.debian.org/debian buster/main i386 m4 i386 1.4.18-2 [205 kB] Get: 14 http://deb.debian.org/debian buster/main i386 autoconf all 2.69-11 [341 kB] Get: 15 http://deb.debian.org/debian buster/main i386 autotools-dev all 20180224.1 [77.0 kB] Get: 16 http://deb.debian.org/debian buster/main i386 automake all 1:1.16.1-4 [771 kB] Get: 17 http://deb.debian.org/debian buster/main i386 autopoint all 0.19.8.1-9 [434 kB] Get: 18 http://deb.debian.org/debian buster/main i386 libtool all 2.4.6-9 [547 kB] Get: 19 http://deb.debian.org/debian buster/main i386 dh-autoreconf all 19 [16.9 kB] Get: 20 http://deb.debian.org/debian buster/main i386 libarchive-zip-perl all 1.64-1 [96.8 kB] Get: 21 http://deb.debian.org/debian buster/main i386 libfile-stripnondeterminism-perl all 1.1.2-1 [19.8 kB] Get: 22 http://deb.debian.org/debian buster/main i386 dh-strip-nondeterminism all 1.1.2-1 [13.0 kB] Get: 23 http://deb.debian.org/debian buster/main i386 libelf1 i386 0.176-1.1 [166 kB] Get: 24 http://deb.debian.org/debian buster/main i386 dwz i386 0.12-3 [81.4 kB] Get: 25 http://deb.debian.org/debian buster/main i386 libglib2.0-0 i386 2.58.3-2+deb10u2 [1334 kB] Get: 26 http://deb.debian.org/debian buster/main i386 libicu63 i386 63.1-6+deb10u1 [8451 kB] Get: 27 http://deb.debian.org/debian buster/main i386 libxml2 i386 2.9.4+dfsg1-7+b3 [721 kB] Get: 28 http://deb.debian.org/debian buster/main i386 libcroco3 i386 0.6.12-3 [151 kB] Get: 29 http://deb.debian.org/debian buster/main i386 libncurses6 i386 6.1+20181013-2+deb10u2 [109 kB] Get: 30 http://deb.debian.org/debian buster/main i386 gettext i386 0.19.8.1-9 [1314 kB] Get: 31 http://deb.debian.org/debian buster/main i386 intltool-debian all 0.35.0+20060710.5 [26.8 kB] Get: 32 http://deb.debian.org/debian buster/main i386 po-debconf all 1.0.21 [248 kB] Get: 33 http://deb.debian.org/debian buster/main i386 debhelper all 12.1.1 [1016 kB] Fetched 19.4 MB in 0s (81.4 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package libbsd0:i386. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 19234 files and directories currently installed.) Preparing to unpack .../00-libbsd0_0.9.1-2_i386.deb ... Unpacking libbsd0:i386 (0.9.1-2) ... Selecting previously unselected package bsdmainutils. Preparing to unpack .../01-bsdmainutils_11.1.2+b1_i386.deb ... Unpacking bsdmainutils (11.1.2+b1) ... Selecting previously unselected package libuchardet0:i386. Preparing to unpack .../02-libuchardet0_0.0.6-3_i386.deb ... Unpacking libuchardet0:i386 (0.0.6-3) ... Selecting previously unselected package groff-base. Preparing to unpack .../03-groff-base_1.22.4-3_i386.deb ... Unpacking groff-base (1.22.4-3) ... Selecting previously unselected package libpipeline1:i386. Preparing to unpack .../04-libpipeline1_1.5.1-2_i386.deb ... Unpacking libpipeline1:i386 (1.5.1-2) ... Selecting previously unselected package man-db. Preparing to unpack .../05-man-db_2.8.5-2_i386.deb ... Unpacking man-db (2.8.5-2) ... Selecting previously unselected package sensible-utils. Preparing to unpack .../06-sensible-utils_0.0.12_all.deb ... Unpacking sensible-utils (0.0.12) ... Selecting previously unselected package libmagic-mgc. Preparing to unpack .../07-libmagic-mgc_1%3a5.35-4+deb10u1_i386.deb ... Unpacking libmagic-mgc (1:5.35-4+deb10u1) ... Selecting previously unselected package libmagic1:i386. Preparing to unpack .../08-libmagic1_1%3a5.35-4+deb10u1_i386.deb ... Unpacking libmagic1:i386 (1:5.35-4+deb10u1) ... Selecting previously unselected package file. Preparing to unpack .../09-file_1%3a5.35-4+deb10u1_i386.deb ... Unpacking file (1:5.35-4+deb10u1) ... Selecting previously unselected package gettext-base. Preparing to unpack .../10-gettext-base_0.19.8.1-9_i386.deb ... Unpacking gettext-base (0.19.8.1-9) ... Selecting previously unselected package libsigsegv2:i386. Preparing to unpack .../11-libsigsegv2_2.12-2_i386.deb ... Unpacking libsigsegv2:i386 (2.12-2) ... Selecting previously unselected package m4. Preparing to unpack .../12-m4_1.4.18-2_i386.deb ... Unpacking m4 (1.4.18-2) ... Selecting previously unselected package autoconf. Preparing to unpack .../13-autoconf_2.69-11_all.deb ... Unpacking autoconf (2.69-11) ... Selecting previously unselected package autotools-dev. Preparing to unpack .../14-autotools-dev_20180224.1_all.deb ... Unpacking autotools-dev (20180224.1) ... Selecting previously unselected package automake. Preparing to unpack .../15-automake_1%3a1.16.1-4_all.deb ... Unpacking automake (1:1.16.1-4) ... Selecting previously unselected package autopoint. Preparing to unpack .../16-autopoint_0.19.8.1-9_all.deb ... Unpacking autopoint (0.19.8.1-9) ... Selecting previously unselected package libtool. Preparing to unpack .../17-libtool_2.4.6-9_all.deb ... Unpacking libtool (2.4.6-9) ... Selecting previously unselected package dh-autoreconf. Preparing to unpack .../18-dh-autoreconf_19_all.deb ... Unpacking dh-autoreconf (19) ... Selecting previously unselected package libarchive-zip-perl. Preparing to unpack .../19-libarchive-zip-perl_1.64-1_all.deb ... Unpacking libarchive-zip-perl (1.64-1) ... Selecting previously unselected package libfile-stripnondeterminism-perl. Preparing to unpack .../20-libfile-stripnondeterminism-perl_1.1.2-1_all.deb ... Unpacking libfile-stripnondeterminism-perl (1.1.2-1) ... Selecting previously unselected package dh-strip-nondeterminism. Preparing to unpack .../21-dh-strip-nondeterminism_1.1.2-1_all.deb ... Unpacking dh-strip-nondeterminism (1.1.2-1) ... Selecting previously unselected package libelf1:i386. Preparing to unpack .../22-libelf1_0.176-1.1_i386.deb ... Unpacking libelf1:i386 (0.176-1.1) ... Selecting previously unselected package dwz. Preparing to unpack .../23-dwz_0.12-3_i386.deb ... Unpacking dwz (0.12-3) ... Selecting previously unselected package libglib2.0-0:i386. Preparing to unpack .../24-libglib2.0-0_2.58.3-2+deb10u2_i386.deb ... Unpacking libglib2.0-0:i386 (2.58.3-2+deb10u2) ... Selecting previously unselected package libicu63:i386. Preparing to unpack .../25-libicu63_63.1-6+deb10u1_i386.deb ... Unpacking libicu63:i386 (63.1-6+deb10u1) ... Selecting previously unselected package libxml2:i386. Preparing to unpack .../26-libxml2_2.9.4+dfsg1-7+b3_i386.deb ... Unpacking libxml2:i386 (2.9.4+dfsg1-7+b3) ... Selecting previously unselected package libcroco3:i386. Preparing to unpack .../27-libcroco3_0.6.12-3_i386.deb ... Unpacking libcroco3:i386 (0.6.12-3) ... Selecting previously unselected package libncurses6:i386. Preparing to unpack .../28-libncurses6_6.1+20181013-2+deb10u2_i386.deb ... Unpacking libncurses6:i386 (6.1+20181013-2+deb10u2) ... Selecting previously unselected package gettext. Preparing to unpack .../29-gettext_0.19.8.1-9_i386.deb ... Unpacking gettext (0.19.8.1-9) ... Selecting previously unselected package intltool-debian. Preparing to unpack .../30-intltool-debian_0.35.0+20060710.5_all.deb ... Unpacking intltool-debian (0.35.0+20060710.5) ... Selecting previously unselected package po-debconf. Preparing to unpack .../31-po-debconf_1.0.21_all.deb ... Unpacking po-debconf (1.0.21) ... Selecting previously unselected package debhelper. Preparing to unpack .../32-debhelper_12.1.1_all.deb ... Unpacking debhelper (12.1.1) ... Setting up libpipeline1:i386 (1.5.1-2) ... Setting up libmagic-mgc (1:5.35-4+deb10u1) ... Setting up libarchive-zip-perl (1.64-1) ... Setting up libglib2.0-0:i386 (2.58.3-2+deb10u2) ... No schema files found: doing nothing. Setting up libmagic1:i386 (1:5.35-4+deb10u1) ... Setting up gettext-base (0.19.8.1-9) ... Setting up file (1:5.35-4+deb10u1) ... Setting up libicu63:i386 (63.1-6+deb10u1) ... Setting up autotools-dev (20180224.1) ... Setting up libncurses6:i386 (6.1+20181013-2+deb10u2) ... Setting up libsigsegv2:i386 (2.12-2) ... Setting up autopoint (0.19.8.1-9) ... Setting up sensible-utils (0.0.12) ... Setting up libuchardet0:i386 (0.0.6-3) ... Setting up libbsd0:i386 (0.9.1-2) ... Setting up libelf1:i386 (0.176-1.1) ... Setting up libxml2:i386 (2.9.4+dfsg1-7+b3) ... Setting up libfile-stripnondeterminism-perl (1.1.2-1) ... Setting up libtool (2.4.6-9) ... Setting up m4 (1.4.18-2) ... Setting up bsdmainutils (11.1.2+b1) ... update-alternatives: using /usr/bin/bsd-write to provide /usr/bin/write (write) in auto mode update-alternatives: using /usr/bin/bsd-from to provide /usr/bin/from (from) in auto mode Setting up libcroco3:i386 (0.6.12-3) ... Setting up autoconf (2.69-11) ... Setting up dwz (0.12-3) ... Setting up groff-base (1.22.4-3) ... Setting up automake (1:1.16.1-4) ... update-alternatives: using /usr/bin/automake-1.16 to provide /usr/bin/automake (automake) in auto mode Setting up gettext (0.19.8.1-9) ... Setting up man-db (2.8.5-2) ... Not building database; man-db/auto-update is not 'true'. Setting up intltool-debian (0.35.0+20060710.5) ... Setting up po-debconf (1.0.21) ... Setting up debhelper (12.1.1) ... Setting up dh-autoreconf (19) ... Setting up dh-strip-nondeterminism (1.1.2-1) ... Processing triggers for libc-bin (2.28-10) ... Reading package lists... Building dependency tree... Reading state information... Reading extended state information... Initializing package states... Writing extended state information... Building tag database... -> Finished parsing the build-deps Reading package lists... Building dependency tree... Reading state information... fakeroot is already the newest version (1.23-1). 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. I: Building the package I: Running cd /build/patchelf-0.9+52.20180509/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-buildpackage -us -uc -b dpkg-buildpackage: info: source package patchelf dpkg-buildpackage: info: source version 0.9+52.20180509-1 dpkg-buildpackage: info: source distribution unstable dpkg-buildpackage: info: source changed by Felipe Sateler dpkg-source --before-build . dpkg-buildpackage: info: host architecture i386 dpkg-source: info: using options from patchelf-0.9+52.20180509/debian/source/options: --extend-diff-ignore=bootstrap.sh --extend-diff-ignore=release.nix --extend-diff-ignore=version --extend-diff-ignore=BUGS fakeroot debian/rules clean dh clean debian/rules override_dh_auto_clean make[1]: Entering directory '/build/patchelf-0.9+52.20180509' [ ! -f Makefile ] || /usr/bin/make maintainer-clean rm -rf build-aux find . -name Makefile.in -delete rm -f configure rm -f aclocal.m4 make[1]: Leaving directory '/build/patchelf-0.9+52.20180509' dh_clean debian/rules build dh build dh_update_autotools_config dh_autoreconf configure.ac:6: installing 'build-aux/compile' configure.ac:4: installing 'build-aux/install-sh' configure.ac:4: installing 'build-aux/missing' src/Makefile.am: installing 'build-aux/depcomp' dh_auto_configure ./configure --build=i686-linux-gnu --prefix=/usr --includedir=\${prefix}/include --mandir=\${prefix}/share/man --infodir=\${prefix}/share/info --sysconfdir=/etc --localstatedir=/var --disable-silent-rules --libdir=\${prefix}/lib/i386-linux-gnu --libexecdir=\${prefix}/lib/i386-linux-gnu --runstatedir=/run --disable-maintainer-mode --disable-dependency-tracking configure: WARNING: unrecognized options: --disable-maintainer-mode checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... no checking for mawk... mawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking whether make supports the include directive... yes (GNU style) checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking whether gcc understands -c and -o together... yes checking dependency style of gcc... none checking for g++... g++ checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking dependency style of g++... none Setting page size to 4096 checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating tests/Makefile config.status: creating patchelf.spec config.status: executing depfiles commands configure: WARNING: unrecognized options: --disable-maintainer-mode debian/rules override_dh_auto_build make[1]: Entering directory '/build/patchelf-0.9+52.20180509' mv src/elf.h src/elf.h.bak dh_auto_build make -j18 make[2]: Entering directory '/build/patchelf-0.9+52.20180509' Making all in src make[3]: Entering directory '/build/patchelf-0.9+52.20180509/src' g++ -DPACKAGE_NAME=\"patchelf\" -DPACKAGE_TARNAME=\"patchelf\" -DPACKAGE_VERSION=\"0.10\" -DPACKAGE_STRING=\"patchelf\ 0.10\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"patchelf\" -DVERSION=\"0.10\" -DPAGESIZE=4096 -I. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -std=c++11 -D_FILE_OFFSET_BITS=64 -g -O2 -ffile-prefix-map=/build/patchelf-0.9+52.20180509=. -fstack-protector-strong -Wformat -Werror=format-security -c -o patchelf.o patchelf.cc In file included from /usr/include/c++/8/cassert:44, from patchelf.cc:32: 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; Elf_Sym = Elf64_Sym; Elf_Verneed = Elf64_Verneed]': patchelf.cc:903:9: 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; Elf_Sym = Elf64_Sym; Elf_Verneed = Elf64_Verneed]' patchelf.cc:1601:9: required from 'void patchElf2(ElfFile&&, std::__cxx11::string) [with ElfFile = ElfFile; std::__cxx11::string = std::__cxx11::basic_string]' patchelf.cc:1620:150: required from here patchelf.cc:764:19: warning: comparison of integer expressions of different signedness: 'long long unsigned int' and 'off_t' {aka 'long long int'} [-Wsign-compare] assert(curOff == startOffset + neededSpace); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -Wall -std=c++11 -D_FILE_OFFSET_BITS=64 -g -O2 -ffile-prefix-map=/build/patchelf-0.9+52.20180509=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro -Wl,-z,now -o patchelf patchelf.o make[3]: Leaving directory '/build/patchelf-0.9+52.20180509/src' Making all in tests make[3]: Entering directory '/build/patchelf-0.9+52.20180509/tests' make[3]: Nothing to be done for 'all'. make[3]: Leaving directory '/build/patchelf-0.9+52.20180509/tests' make[3]: Entering directory '/build/patchelf-0.9+52.20180509' make[3]: Nothing to be done for 'all-am'. make[3]: Leaving directory '/build/patchelf-0.9+52.20180509' make[2]: Leaving directory '/build/patchelf-0.9+52.20180509' make[1]: Leaving directory '/build/patchelf-0.9+52.20180509' dh_auto_test make -j18 check VERBOSE=1 make[1]: Entering directory '/build/patchelf-0.9+52.20180509' Making check in src make[2]: Entering directory '/build/patchelf-0.9+52.20180509/src' make[2]: Nothing to be done for 'check'. make[2]: Leaving directory '/build/patchelf-0.9+52.20180509/src' Making check in tests make[2]: Entering directory '/build/patchelf-0.9+52.20180509/tests' make simple main main-scoped big-dynstr no-rpath libfoo.so libfoo-scoped.so libbar.so libbar-scoped.so libsimple.so make[3]: Entering directory '/build/patchelf-0.9+52.20180509/tests' gcc -DPACKAGE_NAME=\"patchelf\" -DPACKAGE_TARNAME=\"patchelf\" -DPACKAGE_VERSION=\"0.10\" -DPACKAGE_STRING=\"patchelf\ 0.10\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"patchelf\" -DVERSION=\"0.10\" -DPAGESIZE=4096 -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/patchelf-0.9+52.20180509=. -fstack-protector-strong -Wformat -Werror=format-security -c -o simple-simple.o `test -f 'simple.c' || echo './'`simple.c gcc -DPACKAGE_NAME=\"patchelf\" -DPACKAGE_TARNAME=\"patchelf\" -DPACKAGE_VERSION=\"0.10\" -DPACKAGE_STRING=\"patchelf\ 0.10\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"patchelf\" -DVERSION=\"0.10\" -DPAGESIZE=4096 -I. -Wdate-time -D_FORTIFY_SOURCE=2 -fpic -g -O2 -ffile-prefix-map=/build/patchelf-0.9+52.20180509=. -fstack-protector-strong -Wformat -Werror=format-security -c -o main.o main.c gcc -DPACKAGE_NAME=\"patchelf\" -DPACKAGE_TARNAME=\"patchelf\" -DPACKAGE_VERSION=\"0.10\" -DPACKAGE_STRING=\"patchelf\ 0.10\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"patchelf\" -DVERSION=\"0.10\" -DPAGESIZE=4096 -I. -Wdate-time -D_FORTIFY_SOURCE=2 -fpic -g -O2 -ffile-prefix-map=/build/patchelf-0.9+52.20180509=. -fstack-protector-strong -Wformat -Werror=format-security -c -o foo.o foo.c gcc -DPACKAGE_NAME=\"patchelf\" -DPACKAGE_TARNAME=\"patchelf\" -DPACKAGE_VERSION=\"0.10\" -DPACKAGE_STRING=\"patchelf\ 0.10\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"patchelf\" -DVERSION=\"0.10\" -DPAGESIZE=4096 -I. -Wdate-time -D_FORTIFY_SOURCE=2 -fpic -g -O2 -ffile-prefix-map=/build/patchelf-0.9+52.20180509=. -fstack-protector-strong -Wformat -Werror=format-security -c -o bar.o bar.c cat main.c > big-dynstr.c gcc -DPACKAGE_NAME=\"patchelf\" -DPACKAGE_TARNAME=\"patchelf\" -DPACKAGE_VERSION=\"0.10\" -DPACKAGE_STRING=\"patchelf\ 0.10\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"patchelf\" -DVERSION=\"0.10\" -DPAGESIZE=4096 -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/patchelf-0.9+52.20180509=. -fstack-protector-strong -Wformat -Werror=format-security -c -o no_rpath-no-rpath.o `test -f 'no-rpath.c' || echo './'`no-rpath.c gcc -DPACKAGE_NAME=\"patchelf\" -DPACKAGE_TARNAME=\"patchelf\" -DPACKAGE_VERSION=\"0.10\" -DPACKAGE_STRING=\"patchelf\ 0.10\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"patchelf\" -DVERSION=\"0.10\" -DPAGESIZE=4096 -I. -Wdate-time -D_FORTIFY_SOURCE=2 -fpic -g -O2 -ffile-prefix-map=/build/patchelf-0.9+52.20180509=. -fstack-protector-strong -Wformat -Werror=format-security -c -o simple.o simple.c for i in $(seq 1 2000); do echo "void f$i(void) { };" >> big-dynstr.c; done gcc -g -O2 -ffile-prefix-map=/build/patchelf-0.9+52.20180509=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro -Wl,-z,now -o no-rpath no_rpath-no-rpath.o gcc -fpic -g -O2 -ffile-prefix-map=/build/patchelf-0.9+52.20180509=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,--disable-new-dtags -shared -L. -Wl,-rpath,`pwd`/no-such-path -Wl,-z,relro -Wl,-z,now -o libbar.so bar.o gcc -fpic -g -O2 -ffile-prefix-map=/build/patchelf-0.9+52.20180509=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,--disable-new-dtags -shared -L. -Wl,-z,relro -Wl,-z,now -o libbar-scoped.so bar.o gcc -g -O2 -ffile-prefix-map=/build/patchelf-0.9+52.20180509=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro -Wl,-z,now -o simple simple-simple.o gcc -DPACKAGE_NAME=\"patchelf\" -DPACKAGE_TARNAME=\"patchelf\" -DPACKAGE_VERSION=\"0.10\" -DPACKAGE_STRING=\"patchelf\ 0.10\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"patchelf\" -DVERSION=\"0.10\" -DPAGESIZE=4096 -I. -Wdate-time -D_FORTIFY_SOURCE=2 -fpic -g -O2 -ffile-prefix-map=/build/patchelf-0.9+52.20180509=. -fstack-protector-strong -Wformat -Werror=format-security -c -o big-dynstr.o big-dynstr.c gcc -fpic -g -O2 -ffile-prefix-map=/build/patchelf-0.9+52.20180509=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,--disable-new-dtags -shared -L. -Wl,-z,relro -Wl,-z,now -o libsimple.so simple.o make[3]: 'libbar.so' is up to date. gcc -fpic -g -O2 -ffile-prefix-map=/build/patchelf-0.9+52.20180509=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,--disable-new-dtags -shared -L. -Wl,-z,relro -Wl,-z,now -o libfoo.so foo.o -lbar make[3]: 'libbar-scoped.so' is up to date. gcc -fpic -g -O2 -ffile-prefix-map=/build/patchelf-0.9+52.20180509=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,--disable-new-dtags -shared -L. -Wl,-z,relro -Wl,-z,now -o libfoo-scoped.so foo.o -lbar-scoped make[3]: 'libfoo.so' is up to date. gcc -fpic -g -O2 -ffile-prefix-map=/build/patchelf-0.9+52.20180509=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,--disable-new-dtags -Wl,-rpath-link=. -L. -Wl,-z,relro -Wl,-z,now -o main main.o -lfoo make[3]: 'libfoo-scoped.so' is up to date. gcc -fpic -g -O2 -ffile-prefix-map=/build/patchelf-0.9+52.20180509=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,--disable-new-dtags -Wl,-rpath-link=. -L. -Wl,-z,relro -Wl,-z,now -o main-scoped main.o -lfoo-scoped gcc -fpic -g -O2 -ffile-prefix-map=/build/patchelf-0.9+52.20180509=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,--disable-new-dtags -Wl,-rpath-link=. -L. -Wl,-z,relro -Wl,-z,now -o big-dynstr big-dynstr.o -lfoo make[3]: Leaving directory '/build/patchelf-0.9+52.20180509/tests' make check-TESTS make[3]: Entering directory '/build/patchelf-0.9+52.20180509/tests' ./main: error while loading shared libraries: libfoo.so: cannot open shared object file: No such file or directory PASS: plain-fail.sh Hello World This is foo()! This is bar()! Result is 46 PASS: plain-run.sh Kernel page size is 4096 bytes RPATH before: /build/patchelf-0.9+52.20180509/tests/no-such-path patching ELF file 'scratch/shrink-rpath/libbar.so' Kernel page size is 4096 bytes removing directory '/build/patchelf-0.9+52.20180509/tests/no-such-path' from RPATH new rpath is '' Kernel page size is 4096 bytes RPATH after: Hello World This is foo()! This is bar()! Result is 46 PASS: shrink-rpath.sh Hello World Kernel page size is 4096 bytes current interpreter is /lib/ld-linux.so.2 patching ELF file 'scratch/set-interpreter-short/simple' Kernel page size is 4096 bytes replacing section '.interp' with size 6 this is a dynamic library last page is 0x1005000 needed space is 40 rewriting section '.interp' from offset 0x194 (size 19) to offset 0x5000 (size 6) rewriting section '.note.ABI-tag' from offset 0x1a8 (size 32) to offset 0x5008 (size 32) rewriting symbol table section 3 rewriting symbol table section 31 running with missing interpreter... ./set-interpreter-short.sh: line 16: scratch/set-interpreter-short/simple: No such file or directory PASS: set-interpreter-short.sh Hello World Kernel page size is 4096 bytes current interpreter is /lib/ld-linux.so.2 running with explicit interpreter... Hello World patching ELF file 'scratch/set-interpreter-long/simple' Kernel page size is 4096 bytes replacing section '.interp' with size 168 this is a dynamic library last page is 0x1005000 needed space is 200 rewriting section '.interp' from offset 0x194 (size 19) to offset 0x5000 (size 168) rewriting section '.note.ABI-tag' from offset 0x1a8 (size 32) to offset 0x50a8 (size 32) rewriting symbol table section 3 rewriting symbol table section 31 running with missing interpreter... ./set-interpreter-long.sh: line 22: scratch/set-interpreter-long/simple: No such file or directory running with new interpreter... Hello World running with explicit interpreter... Hello World PASS: set-interpreter-long.sh Kernel page size is 4096 bytes patching ELF file 'scratch/set-rpath/main' Kernel page size is 4096 bytes new rpath is '/oops:/build/patchelf-0.9+52.20180509/tests/scratch/set-rpath/libsA:/build/patchelf-0.9+52.20180509/tests/scratch/set-rpath/libsB' rpath is too long, resizing... DT_NULL index is 27 replacing section '.dynamic' with size 264 replacing section '.dynstr' with size 324 this is a dynamic library last page is 0x1005000 needed space is 640 rewriting section '.dynamic' from offset 0x2ed0 (size 256) to offset 0x5000 (size 264) rewriting section '.dynstr' from offset 0x2ac (size 194) to offset 0x5108 (size 324) rewriting section '.interp' from offset 0x194 (size 19) to offset 0x524c (size 19) rewriting section '.note.ABI-tag' from offset 0x1a8 (size 32) to offset 0x5260 (size 32) rewriting symbol table section 3 rewriting symbol table section 29 Hello World This is foo()! This is bar()! Result is 46 PASS: set-rpath.sh Kernel page size is 4096 bytes Kernel page size is 4096 bytes patching ELF file 'scratch/no-rpath/no-rpath' Kernel page size is 4096 bytes new rpath is '/foo:/bar:/xxxxxxxxxxxxxxx' rpath is too long, resizing... DT_NULL index is 26 replacing section '.dynamic' with size 256 replacing section '.dynstr' with size 182 replacing section '.interp' with size 19 this is a dynamic library last page is 0x5000 needed space is 492 rewriting section '.dynamic' from offset 0x2ee0 (size 248) to offset 0x5000 (size 256) rewriting section '.dynstr' from offset 0x28c (size 155) to offset 0x5100 (size 182) rewriting section '.interp' from offset 0x194 (size 19) to offset 0x51b8 (size 19) rewriting section '.note.ABI-tag' from offset 0x1a8 (size 32) to offset 0x51cc (size 32) rewriting symbol table section 3 rewriting symbol table section 29 Kernel page size is 4096 bytes Hello world PASS: no-rpath.sh Kernel page size is 4096 bytes patching ELF file 'scratch/big-dynstr/big-dynstr' Kernel page size is 4096 bytes new rpath is '/oops:/build/patchelf-0.9+52.20180509/tests/scratch/big-dynstr/libsA:/build/patchelf-0.9+52.20180509/tests/scratch/big-dynstr/libsB' rpath is too long, resizing... DT_NULL index is 27 replacing section '.dynamic' with size 264 replacing section '.dynstr' with size 326 this is a dynamic library last page is 0x1019000 needed space is 644 rewriting section '.dynamic' from offset 0x16ed0 (size 256) to offset 0x2a000 (size 264) rewriting section '.dynstr' from offset 0x2ac (size 194) to offset 0x2a108 (size 326) rewriting section '.interp' from offset 0x194 (size 19) to offset 0x2a250 (size 19) rewriting section '.note.ABI-tag' from offset 0x1a8 (size 32) to offset 0x2a264 (size 32) rewriting symbol table section 3 rewriting symbol table section 29 Hello World This is foo()! This is bar()! Result is 46 PASS: big-dynstr.sh Kernel page size is 4096 bytes patching ELF file 'scratch/set-rpath-library/main-scoped' Kernel page size is 4096 bytes new rpath is '/oops:/build/patchelf-0.9+52.20180509/tests/scratch/set-rpath-library/libsA:/build/patchelf-0.9+52.20180509/tests/scratch/set-rpath-library/libsB' rpath is too long, resizing... DT_NULL index is 27 replacing section '.dynamic' with size 264 replacing section '.dynstr' with size 347 this is a dynamic library last page is 0x1005000 needed space is 664 rewriting section '.dynamic' from offset 0x2ed0 (size 256) to offset 0x5000 (size 264) rewriting section '.dynstr' from offset 0x2ac (size 201) to offset 0x5108 (size 347) rewriting section '.interp' from offset 0x194 (size 19) to offset 0x5264 (size 19) rewriting section '.note.ABI-tag' from offset 0x1a8 (size 32) to offset 0x5278 (size 32) rewriting symbol table section 3 rewriting symbol table section 29 ./main-scoped: error while loading shared libraries: libbar-scoped.so: cannot open shared object file: No such file or directory Kernel page size is 4096 bytes patching ELF file 'scratch/set-rpath-library/libsA/libfoo-scoped.so' Kernel page size is 4096 bytes new rpath is '/oops:/build/patchelf-0.9+52.20180509/tests/scratch/set-rpath-library/libsB' rpath is too long, resizing... DT_NULL index is 26 replacing section '.dynamic' with size 256 replacing section '.dynstr' with size 249 this is a dynamic library last page is 0x5000 needed space is 544 rewriting section '.dynamic' from offset 0x2ee4 (size 248) to offset 0x5000 (size 256) rewriting section '.dynstr' from offset 0x26c (size 173) to offset 0x5100 (size 249) rewriting section '.note.gnu.build-id' from offset 0x194 (size 36) to offset 0x51fc (size 36) rewriting symbol table section 2 rewriting symbol table section 29 Hello World This is foo()! This is bar()! Result is 46 patching ELF file 'scratch/set-rpath-library/main-scoped' Kernel page size is 4096 bytes removing directory '/oops' from RPATH removing directory '/build/patchelf-0.9+52.20180509/tests/scratch/set-rpath-library/libsB' from RPATH new rpath is '/build/patchelf-0.9+52.20180509/tests/scratch/set-rpath-library/libsA' Kernel page size is 4096 bytes Hello World This is foo()! This is bar()! Result is 46 PASS: set-rpath-library.sh patching ELF file 'scratch/soname/libsimple.so' Kernel page size is 4096 bytes new SONAME is 'libsimple.so.1.0' SONAME is too long, resizing... DT_NULL index is 25 replacing section '.dynamic' with size 248 replacing section '.dynstr' with size 148 this is a dynamic library last page is 0x1005000 needed space is 432 rewriting section '.dynamic' from offset 0x2ef0 (size 240) to offset 0x5000 (size 248) rewriting section '.dynstr' from offset 0x21c (size 131) to offset 0x50f8 (size 148) rewriting section '.note.gnu.build-id' from offset 0x154 (size 36) to offset 0x518c (size 36) rewriting symbol table section 2 rewriting symbol table section 28 Kernel page size is 4096 bytes Kernel page size is 4096 bytes patching ELF file 'scratch/soname/libsimple.so' Kernel page size is 4096 bytes new SONAME is 'libsimple.so.1.1' SONAME is too long, resizing... replacing section '.dynstr' with size 165 this is a dynamic library last page is 0x1006000 needed space is 204 rewriting section '.dynstr' from offset 0x50f8 (size 148) to offset 0x6000 (size 165) rewriting section '.gnu.hash' from offset 0x178 (size 36) to offset 0x60a8 (size 36) rewriting symbol table section 1 rewriting symbol table section 27 Kernel page size is 4096 bytes PASS: soname.sh Kernel page size is 4096 bytes patching ELF file 'scratch/shrink-rpath-with-allowed-prefixes/main' Kernel page size is 4096 bytes new rpath is '/oops:/build/patchelf-0.9+52.20180509/tests/scratch/shrink-rpath-with-allowed-prefixes/libsA:/build/patchelf-0.9+52.20180509/tests/scratch/shrink-rpath-with-allowed-prefixes/libsB' rpath is too long, resizing... DT_NULL index is 27 replacing section '.dynamic' with size 264 replacing section '.dynstr' with size 374 this is a dynamic library last page is 0x1005000 needed space is 692 rewriting section '.dynamic' from offset 0x2ed0 (size 256) to offset 0x5000 (size 264) rewriting section '.dynstr' from offset 0x2ac (size 194) to offset 0x5108 (size 374) rewriting section '.interp' from offset 0x194 (size 19) to offset 0x5280 (size 19) rewriting section '.note.ABI-tag' from offset 0x1a8 (size 32) to offset 0x5294 (size 32) rewriting symbol table section 3 rewriting symbol table section 29 patching ELF file 'scratch/shrink-rpath-with-allowed-prefixes/main' Kernel page size is 4096 bytes removing directory '/oops' from RPATH removing directory '/build/patchelf-0.9+52.20180509/tests/scratch/shrink-rpath-with-allowed-prefixes/libsB' from RPATH new rpath is '/build/patchelf-0.9+52.20180509/tests/scratch/shrink-rpath-with-allowed-prefixes/libsA' patching ELF file 'scratch/shrink-rpath-with-allowed-prefixes/mainA' Kernel page size is 4096 bytes removing directory '/oops' from RPATH removing directory '/build/patchelf-0.9+52.20180509/tests/scratch/shrink-rpath-with-allowed-prefixes/libsB' from RPATH because of non-allowed prefix new rpath is '/build/patchelf-0.9+52.20180509/tests/scratch/shrink-rpath-with-allowed-prefixes/libsA' patching ELF file 'scratch/shrink-rpath-with-allowed-prefixes/mainB' Kernel page size is 4096 bytes removing directory '/oops' from RPATH removing directory '/build/patchelf-0.9+52.20180509/tests/scratch/shrink-rpath-with-allowed-prefixes/libsA' from RPATH because of non-allowed prefix new rpath is '/build/patchelf-0.9+52.20180509/tests/scratch/shrink-rpath-with-allowed-prefixes/libsB' Kernel page size is 4096 bytes RPATH of scratch/shrink-rpath-with-allowed-prefixes/main after: /build/patchelf-0.9+52.20180509/tests/scratch/shrink-rpath-with-allowed-prefixes/libsA Kernel page size is 4096 bytes RPATH of scratch/shrink-rpath-with-allowed-prefixes/mainA after: /build/patchelf-0.9+52.20180509/tests/scratch/shrink-rpath-with-allowed-prefixes/libsA Kernel page size is 4096 bytes RPATH of scratch/shrink-rpath-with-allowed-prefixes/mainB after: /build/patchelf-0.9+52.20180509/tests/scratch/shrink-rpath-with-allowed-prefixes/libsB PASS: shrink-rpath-with-allowed-prefixes.sh + ARCH= + PAGESIZE=4096 + '[' -z '' ']' ++ basename ./no-rpath-amd64.sh .sh ++ sed -e 's/.*-//' + ARCH=amd64 + SCRATCH=scratch/no-rpath-amd64 + '[' -z amd64 ']' + '[' amd64 = prebuild ']' + no_rpath_bin=./no-rpath-prebuild/no-rpath-amd64 + '[' '!' -f ./no-rpath-prebuild/no-rpath-amd64 ']' + rm -rf scratch/no-rpath-amd64 + mkdir -p scratch/no-rpath-amd64 + cp ./no-rpath-prebuild/no-rpath-amd64 scratch/no-rpath-amd64/no-rpath ++ ../src/patchelf --page-size 4096 --print-rpath scratch/no-rpath-amd64/no-rpath Kernel page size is 4096 bytes + oldRPath= + test -n '' ++ ../src/patchelf --page-size 4096 --print-interpreter ../src/patchelf Kernel page size is 4096 bytes + ../src/patchelf --page-size 4096 --set-interpreter /lib/ld-linux.so.2 --set-rpath /foo:/bar:/xxxxxxxxxxxxxxx scratch/no-rpath-amd64/no-rpath patching ELF file 'scratch/no-rpath-amd64/no-rpath' Kernel page size is 4096 bytes new rpath is '/foo:/bar:/xxxxxxxxxxxxxxx' rpath is too long, resizing... DT_NULL index is 24 replacing section '.dynamic' with size 496 replacing section '.dynstr' with size 88 replacing section '.interp' with size 19 this is an executable using replaced section '.interp' using replaced section '.dynstr' using replaced section '.dynamic' last replaced is 22 looking at section '.interp' looking at section '.note.ABI-tag' replacing section '.note.ABI-tag' which is in the way looking at section '.note.gnu.build-id' replacing section '.note.gnu.build-id' which is in the way looking at section '.hash' replacing section '.hash' which is in the way looking at section '.gnu.hash' replacing section '.gnu.hash' which is in the way looking at section '.dynsym' replacing section '.dynsym' which is in the way looking at section '.dynstr' looking at section '.gnu.version' first reserved offset/addr is 0x346/0x400346 first page is 0x400000 needed space is 1360 needed space is 1416 needed pages is 1 changing alignment of program header 2 from 2097152 to 0 changing alignment of program header 3 from 2097152 to 0 clearing first 4366 bytes rewriting section '.dynamic' from offset 0x16c0 (size 0) to offset 0x1e0 (size 0) rewriting section '.dynstr' from offset 0x1308 (size 0) to offset 0x3d (size 0) rewriting section '.dynsym' from offset 0x12a8 (size 0) to offset 0x60 (size 0) rewriting section '.gnu.hash' from offset 0x1288 (size 0) to offset 0x1c (size 0) rewriting section '.hash' from offset 0x1260 (size 0) to offset 0x24 (size 0) rewriting section '.interp' from offset 0x1200 (size 0) to offset 0x1c (size 0) rewriting section '.note.ABI-tag' from offset 0x121c (size 0) to offset 0x20 (size 0) rewriting section '.note.gnu.build-id' from offset 0x123c (size 0) to offset 0x24 (size 0) rewriting symbol table section 3 rewriting symbol table section 36 ++ ../src/patchelf --page-size 4096 --print-rpath scratch/no-rpath-amd64/no-rpath Kernel page size is 4096 bytes + newRPath=/foo:/bar:/xxxxxxxxxxxxxxx + echo /foo:/bar:/xxxxxxxxxxxxxxx + grep -q /foo:/bar PASS: no-rpath-amd64.sh + ARCH= + PAGESIZE=4096 + '[' -z '' ']' ++ basename ./no-rpath-armel.sh .sh ++ sed -e 's/.*-//' + ARCH=armel + SCRATCH=scratch/no-rpath-armel + '[' -z armel ']' + '[' armel = prebuild ']' + no_rpath_bin=./no-rpath-prebuild/no-rpath-armel + '[' '!' -f ./no-rpath-prebuild/no-rpath-armel ']' + rm -rf scratch/no-rpath-armel + mkdir -p scratch/no-rpath-armel + cp ./no-rpath-prebuild/no-rpath-armel scratch/no-rpath-armel/no-rpath ++ ../src/patchelf --page-size 4096 --print-rpath scratch/no-rpath-armel/no-rpath Kernel page size is 4096 bytes + oldRPath= + test -n '' ++ ../src/patchelf --page-size 4096 --print-interpreter ../src/patchelf Kernel page size is 4096 bytes + ../src/patchelf --page-size 4096 --set-interpreter /lib/ld-linux.so.2 --set-rpath /foo:/bar:/xxxxxxxxxxxxxxx scratch/no-rpath-armel/no-rpath patching ELF file 'scratch/no-rpath-armel/no-rpath' Kernel page size is 4096 bytes new rpath is '/foo:/bar:/xxxxxxxxxxxxxxx' rpath is too long, resizing... DT_NULL index is 24 replacing section '.dynamic' with size 248 replacing section '.dynstr' with size 92 replacing section '.interp' with size 19 this is an executable using replaced section '.interp' using replaced section '.dynstr' using replaced section '.dynamic' last replaced is 22 looking at section '.interp' looking at section '.note.ABI-tag' replacing section '.note.ABI-tag' which is in the way looking at section '.note.gnu.build-id' replacing section '.note.gnu.build-id' which is in the way looking at section '.hash' replacing section '.hash' which is in the way looking at section '.gnu.hash' replacing section '.gnu.hash' which is in the way looking at section '.dynsym' replacing section '.dynsym' which is in the way looking at section '.dynstr' looking at section '.gnu.version' first reserved offset/addr is 0x272/0x8272 first page is 0x8000 needed space is 900 needed space is 932 needed pages is 1 changing alignment of program header 3 from 32768 to 4096 changing alignment of program header 4 from 32768 to 4096 clearing first 4382 bytes rewriting section '.dynamic' from offset 0x1494 (size 240) to offset 0x154 (size 248) rewriting section '.dynstr' from offset 0x1230 (size 65) to offset 0x24c (size 92) rewriting section '.dynsym' from offset 0x11e0 (size 80) to offset 0x2a8 (size 80) rewriting section '.gnu.hash' from offset 0x11b4 (size 44) to offset 0x2f8 (size 44) rewriting section '.hash' from offset 0x118c (size 40) to offset 0x324 (size 40) rewriting section '.interp' from offset 0x1134 (size 19) to offset 0x34c (size 19) rewriting section '.note.ABI-tag' from offset 0x1148 (size 32) to offset 0x360 (size 32) rewriting section '.note.gnu.build-id' from offset 0x1168 (size 36) to offset 0x380 (size 36) rewriting symbol table section 3 rewriting symbol table section 37 ++ ../src/patchelf --page-size 4096 --print-rpath scratch/no-rpath-armel/no-rpath Kernel page size is 4096 bytes + newRPath=/foo:/bar:/xxxxxxxxxxxxxxx + echo /foo:/bar:/xxxxxxxxxxxxxxx + grep -q /foo:/bar PASS: no-rpath-armel.sh + ARCH= + PAGESIZE=4096 + '[' -z '' ']' ++ basename ./no-rpath-armhf.sh .sh ++ sed -e 's/.*-//' + ARCH=armhf + SCRATCH=scratch/no-rpath-armhf + '[' -z armhf ']' + '[' armhf = prebuild ']' + no_rpath_bin=./no-rpath-prebuild/no-rpath-armhf + '[' '!' -f ./no-rpath-prebuild/no-rpath-armhf ']' + rm -rf scratch/no-rpath-armhf + mkdir -p scratch/no-rpath-armhf + cp ./no-rpath-prebuild/no-rpath-armhf scratch/no-rpath-armhf/no-rpath ++ ../src/patchelf --page-size 4096 --print-rpath scratch/no-rpath-armhf/no-rpath Kernel page size is 4096 bytes + oldRPath= + test -n '' ++ ../src/patchelf --page-size 4096 --print-interpreter ../src/patchelf Kernel page size is 4096 bytes + ../src/patchelf --page-size 4096 --set-interpreter /lib/ld-linux.so.2 --set-rpath /foo:/bar:/xxxxxxxxxxxxxxx scratch/no-rpath-armhf/no-rpath patching ELF file 'scratch/no-rpath-armhf/no-rpath' Kernel page size is 4096 bytes new rpath is '/foo:/bar:/xxxxxxxxxxxxxxx' rpath is too long, resizing... DT_NULL index is 24 replacing section '.dynamic' with size 248 replacing section '.dynstr' with size 92 replacing section '.interp' with size 19 this is an executable using replaced section '.interp' using replaced section '.dynstr' using replaced section '.dynamic' last replaced is 22 looking at section '.interp' looking at section '.note.ABI-tag' replacing section '.note.ABI-tag' which is in the way looking at section '.note.gnu.build-id' replacing section '.note.gnu.build-id' which is in the way looking at section '.hash' replacing section '.hash' which is in the way looking at section '.gnu.hash' replacing section '.gnu.hash' which is in the way looking at section '.dynsym' replacing section '.dynsym' which is in the way looking at section '.dynstr' looking at section '.gnu.version' first reserved offset/addr is 0x27a/0x827a first page is 0x8000 needed space is 900 needed space is 932 needed pages is 1 changing alignment of program header 3 from 32768 to 4096 changing alignment of program header 4 from 32768 to 4096 clearing first 4390 bytes rewriting section '.dynamic' from offset 0x1424 (size 240) to offset 0x154 (size 248) rewriting section '.dynstr' from offset 0x1238 (size 65) to offset 0x24c (size 92) rewriting section '.dynsym' from offset 0x11e8 (size 80) to offset 0x2a8 (size 80) rewriting section '.gnu.hash' from offset 0x11bc (size 44) to offset 0x2f8 (size 44) rewriting section '.hash' from offset 0x1194 (size 40) to offset 0x324 (size 40) rewriting section '.interp' from offset 0x1134 (size 25) to offset 0x34c (size 19) rewriting section '.note.ABI-tag' from offset 0x1150 (size 32) to offset 0x360 (size 32) rewriting section '.note.gnu.build-id' from offset 0x1170 (size 36) to offset 0x380 (size 36) rewriting symbol table section 3 rewriting symbol table section 37 ++ ../src/patchelf --page-size 4096 --print-rpath scratch/no-rpath-armhf/no-rpath Kernel page size is 4096 bytes + newRPath=/foo:/bar:/xxxxxxxxxxxxxxx + echo /foo:/bar:/xxxxxxxxxxxxxxx + grep -q /foo:/bar PASS: no-rpath-armhf.sh + ARCH= + PAGESIZE=4096 + '[' -z '' ']' ++ basename ./no-rpath-hurd-i386.sh .sh ++ sed -e 's/.*-//' + ARCH=i386 + SCRATCH=scratch/no-rpath-i386 + '[' -z i386 ']' + '[' i386 = prebuild ']' + no_rpath_bin=./no-rpath-prebuild/no-rpath-i386 + '[' '!' -f ./no-rpath-prebuild/no-rpath-i386 ']' + rm -rf scratch/no-rpath-i386 + mkdir -p scratch/no-rpath-i386 + cp ./no-rpath-prebuild/no-rpath-i386 scratch/no-rpath-i386/no-rpath ++ ../src/patchelf --page-size 4096 --print-rpath scratch/no-rpath-i386/no-rpath Kernel page size is 4096 bytes + oldRPath= + test -n '' ++ ../src/patchelf --page-size 4096 --print-interpreter ../src/patchelf Kernel page size is 4096 bytes + ../src/patchelf --page-size 4096 --set-interpreter /lib/ld-linux.so.2 --set-rpath /foo:/bar:/xxxxxxxxxxxxxxx scratch/no-rpath-i386/no-rpath patching ELF file 'scratch/no-rpath-i386/no-rpath' Kernel page size is 4096 bytes new rpath is '/foo:/bar:/xxxxxxxxxxxxxxx' rpath is too long, resizing... DT_NULL index is 24 replacing section '.dynamic' with size 248 replacing section '.dynstr' with size 101 replacing section '.interp' with size 19 this is an executable using replaced section '.interp' using replaced section '.dynstr' using replaced section '.dynamic' last replaced is 22 looking at section '.interp' looking at section '.note.ABI-tag' replacing section '.note.ABI-tag' which is in the way looking at section '.note.gnu.build-id' replacing section '.note.gnu.build-id' which is in the way looking at section '.hash' replacing section '.hash' which is in the way looking at section '.gnu.hash' replacing section '.gnu.hash' which is in the way looking at section '.dynsym' replacing section '.dynsym' which is in the way looking at section '.dynstr' looking at section '.gnu.version' first reserved offset/addr is 0x26e/0x804826e first page is 0x8048000 needed space is 900 needed space is 932 needed pages is 1 clearing first 4378 bytes rewriting section '.dynamic' from offset 0x1544 (size 240) to offset 0x154 (size 248) rewriting section '.dynstr' from offset 0x1224 (size 74) to offset 0x24c (size 101) rewriting section '.dynsym' from offset 0x11d4 (size 80) to offset 0x2b4 (size 80) rewriting section '.gnu.hash' from offset 0x11b4 (size 32) to offset 0x304 (size 32) rewriting section '.hash' from offset 0x118c (size 40) to offset 0x324 (size 40) rewriting section '.interp' from offset 0x1134 (size 19) to offset 0x34c (size 19) rewriting section '.note.ABI-tag' from offset 0x1148 (size 32) to offset 0x360 (size 32) rewriting section '.note.gnu.build-id' from offset 0x1168 (size 36) to offset 0x380 (size 36) rewriting symbol table section 3 rewriting symbol table section 36 ++ ../src/patchelf --page-size 4096 --print-rpath scratch/no-rpath-i386/no-rpath Kernel page size is 4096 bytes + newRPath=/foo:/bar:/xxxxxxxxxxxxxxx + echo /foo:/bar:/xxxxxxxxxxxxxxx + grep -q /foo:/bar PASS: no-rpath-hurd-i386.sh + ARCH= + PAGESIZE=4096 + '[' -z '' ']' ++ basename ./no-rpath-i386.sh .sh ++ sed -e 's/.*-//' + ARCH=i386 + SCRATCH=scratch/no-rpath-i386 + '[' -z i386 ']' + '[' i386 = prebuild ']' + no_rpath_bin=./no-rpath-prebuild/no-rpath-i386 + '[' '!' -f ./no-rpath-prebuild/no-rpath-i386 ']' + rm -rf scratch/no-rpath-i386 + mkdir -p scratch/no-rpath-i386 + cp ./no-rpath-prebuild/no-rpath-i386 scratch/no-rpath-i386/no-rpath ++ ../src/patchelf --page-size 4096 --print-rpath scratch/no-rpath-i386/no-rpath Kernel page size is 4096 bytes + oldRPath= + test -n '' ++ ../src/patchelf --page-size 4096 --print-interpreter ../src/patchelf Kernel page size is 4096 bytes + ../src/patchelf --page-size 4096 --set-interpreter /lib/ld-linux.so.2 --set-rpath /foo:/bar:/xxxxxxxxxxxxxxx scratch/no-rpath-i386/no-rpath patching ELF file 'scratch/no-rpath-i386/no-rpath' Kernel page size is 4096 bytes new rpath is '/foo:/bar:/xxxxxxxxxxxxxxx' rpath is too long, resizing... DT_NULL index is 24 replacing section '.dynamic' with size 248 replacing section '.dynstr' with size 101 replacing section '.interp' with size 19 this is an executable using replaced section '.interp' using replaced section '.dynstr' using replaced section '.dynamic' last replaced is 22 looking at section '.interp' looking at section '.note.ABI-tag' replacing section '.note.ABI-tag' which is in the way looking at section '.note.gnu.build-id' replacing section '.note.gnu.build-id' which is in the way looking at section '.hash' replacing section '.hash' which is in the way looking at section '.gnu.hash' replacing section '.gnu.hash' which is in the way looking at section '.dynsym' replacing section '.dynsym' which is in the way looking at section '.dynstr' looking at section '.gnu.version' first reserved offset/addr is 0x26e/0x804826e first page is 0x8048000 needed space is 900 needed space is 932 needed pages is 1 clearing first 4378 bytes rewriting section '.dynamic' from offset 0x1544 (size 240) to offset 0x154 (size 248) rewriting section '.dynstr' from offset 0x1224 (size 74) to offset 0x24c (size 101) rewriting section '.dynsym' from offset 0x11d4 (size 80) to offset 0x2b4 (size 80) rewriting section '.gnu.hash' from offset 0x11b4 (size 32) to offset 0x304 (size 32) rewriting section '.hash' from offset 0x118c (size 40) to offset 0x324 (size 40) rewriting section '.interp' from offset 0x1134 (size 19) to offset 0x34c (size 19) rewriting section '.note.ABI-tag' from offset 0x1148 (size 32) to offset 0x360 (size 32) rewriting section '.note.gnu.build-id' from offset 0x1168 (size 36) to offset 0x380 (size 36) rewriting symbol table section 3 rewriting symbol table section 36 ++ ../src/patchelf --page-size 4096 --print-rpath scratch/no-rpath-i386/no-rpath Kernel page size is 4096 bytes + newRPath=/foo:/bar:/xxxxxxxxxxxxxxx + echo /foo:/bar:/xxxxxxxxxxxxxxx + grep -q /foo:/bar PASS: no-rpath-i386.sh + ARCH= + PAGESIZE=4096 + '[' -z '' ']' ++ basename ./no-rpath-ia64.sh .sh ++ sed -e 's/.*-//' + ARCH=ia64 + SCRATCH=scratch/no-rpath-ia64 + '[' -z ia64 ']' + '[' ia64 = prebuild ']' + no_rpath_bin=./no-rpath-prebuild/no-rpath-ia64 + '[' '!' -f ./no-rpath-prebuild/no-rpath-ia64 ']' + rm -rf scratch/no-rpath-ia64 + mkdir -p scratch/no-rpath-ia64 + cp ./no-rpath-prebuild/no-rpath-ia64 scratch/no-rpath-ia64/no-rpath ++ ../src/patchelf --page-size 4096 --print-rpath scratch/no-rpath-ia64/no-rpath Kernel page size is 4096 bytes + oldRPath= + test -n '' ++ ../src/patchelf --page-size 4096 --print-interpreter ../src/patchelf Kernel page size is 4096 bytes + ../src/patchelf --page-size 4096 --set-interpreter /lib/ld-linux.so.2 --set-rpath /foo:/bar:/xxxxxxxxxxxxxxx scratch/no-rpath-ia64/no-rpath patching ELF file 'scratch/no-rpath-ia64/no-rpath' Kernel page size is 4096 bytes new rpath is '/foo:/bar:/xxxxxxxxxxxxxxx' rpath is too long, resizing... DT_NULL index is 25 replacing section '.dynamic' with size 512 replacing section '.dynstr' with size 73 replacing section '.interp' with size 19 this is an executable using replaced section '.interp' using replaced section '.dynstr' using replaced section '.dynamic' last replaced is 22 looking at section '.interp' looking at section '.note.ABI-tag' replacing section '.note.ABI-tag' which is in the way looking at section '.note.gnu.build-id' replacing section '.note.gnu.build-id' which is in the way looking at section '.hash' replacing section '.hash' which is in the way looking at section '.gnu.hash' replacing section '.gnu.hash' which is in the way looking at section '.dynsym' replacing section '.dynsym' which is in the way looking at section '.dynstr' looking at section '.gnu.version' first reserved offset/addr is 0x30e/0x400000000000030e first page is 0x4000000000000000 needed space is 1328 needed space is 1384 needed pages is 1 changing alignment of program header 2 from 65536 to 0 changing alignment of program header 3 from 65536 to 0 clearing first 4310 bytes rewriting section '.dynamic' from offset 0x1ba0 (size 0) to offset 0x1f0 (size 0) rewriting section '.dynstr' from offset 0x12e0 (size 0) to offset 0x2e (size 0) rewriting section '.dynsym' from offset 0x1298 (size 0) to offset 0x48 (size 0) rewriting section '.gnu.hash' from offset 0x1278 (size 0) to offset 0x1c (size 0) rewriting section '.hash' from offset 0x1260 (size 0) to offset 0x18 (size 0) rewriting section '.interp' from offset 0x1200 (size 0) to offset 0x18 (size 0) rewriting section '.note.ABI-tag' from offset 0x1218 (size 0) to offset 0x20 (size 0) rewriting section '.note.gnu.build-id' from offset 0x1238 (size 0) to offset 0x24 (size 0) rewriting symbol table section 3 rewriting symbol table section 39 ++ ../src/patchelf --page-size 4096 --print-rpath scratch/no-rpath-ia64/no-rpath Kernel page size is 4096 bytes + newRPath=/foo:/bar:/xxxxxxxxxxxxxxx + echo /foo:/bar:/xxxxxxxxxxxxxxx + grep -q /foo:/bar PASS: no-rpath-ia64.sh + ARCH= + PAGESIZE=4096 + '[' -z '' ']' ++ basename ./no-rpath-kfreebsd-amd64.sh .sh ++ sed -e 's/.*-//' + ARCH=amd64 + SCRATCH=scratch/no-rpath-amd64 + '[' -z amd64 ']' + '[' amd64 = prebuild ']' + no_rpath_bin=./no-rpath-prebuild/no-rpath-amd64 + '[' '!' -f ./no-rpath-prebuild/no-rpath-amd64 ']' + rm -rf scratch/no-rpath-amd64 + mkdir -p scratch/no-rpath-amd64 + cp ./no-rpath-prebuild/no-rpath-amd64 scratch/no-rpath-amd64/no-rpath ++ ../src/patchelf --page-size 4096 --print-rpath scratch/no-rpath-amd64/no-rpath Kernel page size is 4096 bytes + oldRPath= + test -n '' ++ ../src/patchelf --page-size 4096 --print-interpreter ../src/patchelf Kernel page size is 4096 bytes + ../src/patchelf --page-size 4096 --set-interpreter /lib/ld-linux.so.2 --set-rpath /foo:/bar:/xxxxxxxxxxxxxxx scratch/no-rpath-amd64/no-rpath patching ELF file 'scratch/no-rpath-amd64/no-rpath' Kernel page size is 4096 bytes new rpath is '/foo:/bar:/xxxxxxxxxxxxxxx' rpath is too long, resizing... DT_NULL index is 24 replacing section '.dynamic' with size 496 replacing section '.dynstr' with size 88 replacing section '.interp' with size 19 this is an executable using replaced section '.interp' using replaced section '.dynstr' using replaced section '.dynamic' last replaced is 22 looking at section '.interp' looking at section '.note.ABI-tag' replacing section '.note.ABI-tag' which is in the way looking at section '.note.gnu.build-id' replacing section '.note.gnu.build-id' which is in the way looking at section '.hash' replacing section '.hash' which is in the way looking at section '.gnu.hash' replacing section '.gnu.hash' which is in the way looking at section '.dynsym' replacing section '.dynsym' which is in the way looking at section '.dynstr' looking at section '.gnu.version' first reserved offset/addr is 0x346/0x400346 first page is 0x400000 needed space is 1360 needed space is 1416 needed pages is 1 changing alignment of program header 2 from 2097152 to 0 changing alignment of program header 3 from 2097152 to 0 clearing first 4366 bytes rewriting section '.dynamic' from offset 0x16c0 (size 0) to offset 0x1e0 (size 0) rewriting section '.dynstr' from offset 0x1308 (size 0) to offset 0x3d (size 0) rewriting section '.dynsym' from offset 0x12a8 (size 0) to offset 0x60 (size 0) rewriting section '.gnu.hash' from offset 0x1288 (size 0) to offset 0x1c (size 0) rewriting section '.hash' from offset 0x1260 (size 0) to offset 0x24 (size 0) rewriting section '.interp' from offset 0x1200 (size 0) to offset 0x1c (size 0) rewriting section '.note.ABI-tag' from offset 0x121c (size 0) to offset 0x20 (size 0) rewriting section '.note.gnu.build-id' from offset 0x123c (size 0) to offset 0x24 (size 0) rewriting symbol table section 3 rewriting symbol table section 36 ++ ../src/patchelf --page-size 4096 --print-rpath scratch/no-rpath-amd64/no-rpath Kernel page size is 4096 bytes + newRPath=/foo:/bar:/xxxxxxxxxxxxxxx + echo /foo:/bar:/xxxxxxxxxxxxxxx + grep -q /foo:/bar PASS: no-rpath-kfreebsd-amd64.sh + ARCH= + PAGESIZE=4096 + '[' -z '' ']' ++ basename ./no-rpath-kfreebsd-i386.sh .sh ++ sed -e 's/.*-//' + ARCH=i386 + SCRATCH=scratch/no-rpath-i386 + '[' -z i386 ']' + '[' i386 = prebuild ']' + no_rpath_bin=./no-rpath-prebuild/no-rpath-i386 + '[' '!' -f ./no-rpath-prebuild/no-rpath-i386 ']' + rm -rf scratch/no-rpath-i386 + mkdir -p scratch/no-rpath-i386 + cp ./no-rpath-prebuild/no-rpath-i386 scratch/no-rpath-i386/no-rpath ++ ../src/patchelf --page-size 4096 --print-rpath scratch/no-rpath-i386/no-rpath Kernel page size is 4096 bytes + oldRPath= + test -n '' ++ ../src/patchelf --page-size 4096 --print-interpreter ../src/patchelf Kernel page size is 4096 bytes + ../src/patchelf --page-size 4096 --set-interpreter /lib/ld-linux.so.2 --set-rpath /foo:/bar:/xxxxxxxxxxxxxxx scratch/no-rpath-i386/no-rpath patching ELF file 'scratch/no-rpath-i386/no-rpath' Kernel page size is 4096 bytes new rpath is '/foo:/bar:/xxxxxxxxxxxxxxx' rpath is too long, resizing... DT_NULL index is 24 replacing section '.dynamic' with size 248 replacing section '.dynstr' with size 101 replacing section '.interp' with size 19 this is an executable using replaced section '.interp' using replaced section '.dynstr' using replaced section '.dynamic' last replaced is 22 looking at section '.interp' looking at section '.note.ABI-tag' replacing section '.note.ABI-tag' which is in the way looking at section '.note.gnu.build-id' replacing section '.note.gnu.build-id' which is in the way looking at section '.hash' replacing section '.hash' which is in the way looking at section '.gnu.hash' replacing section '.gnu.hash' which is in the way looking at section '.dynsym' replacing section '.dynsym' which is in the way looking at section '.dynstr' looking at section '.gnu.version' first reserved offset/addr is 0x26e/0x804826e first page is 0x8048000 needed space is 900 needed space is 932 needed pages is 1 clearing first 4378 bytes rewriting section '.dynamic' from offset 0x1544 (size 240) to offset 0x154 (size 248) rewriting section '.dynstr' from offset 0x1224 (size 74) to offset 0x24c (size 101) rewriting section '.dynsym' from offset 0x11d4 (size 80) to offset 0x2b4 (size 80) rewriting section '.gnu.hash' from offset 0x11b4 (size 32) to offset 0x304 (size 32) rewriting section '.hash' from offset 0x118c (size 40) to offset 0x324 (size 40) rewriting section '.interp' from offset 0x1134 (size 19) to offset 0x34c (size 19) rewriting section '.note.ABI-tag' from offset 0x1148 (size 32) to offset 0x360 (size 32) rewriting section '.note.gnu.build-id' from offset 0x1168 (size 36) to offset 0x380 (size 36) rewriting symbol table section 3 rewriting symbol table section 36 ++ ../src/patchelf --page-size 4096 --print-rpath scratch/no-rpath-i386/no-rpath Kernel page size is 4096 bytes + newRPath=/foo:/bar:/xxxxxxxxxxxxxxx + echo /foo:/bar:/xxxxxxxxxxxxxxx + grep -q /foo:/bar PASS: no-rpath-kfreebsd-i386.sh + ARCH= + PAGESIZE=4096 + '[' -z '' ']' ++ basename ./no-rpath-mips.sh .sh ++ sed -e 's/.*-//' + ARCH=mips + SCRATCH=scratch/no-rpath-mips + '[' -z mips ']' + '[' mips = prebuild ']' + no_rpath_bin=./no-rpath-prebuild/no-rpath-mips + '[' '!' -f ./no-rpath-prebuild/no-rpath-mips ']' + rm -rf scratch/no-rpath-mips + mkdir -p scratch/no-rpath-mips + cp ./no-rpath-prebuild/no-rpath-mips scratch/no-rpath-mips/no-rpath ++ ../src/patchelf --page-size 4096 --print-rpath scratch/no-rpath-mips/no-rpath Kernel page size is 4096 bytes + oldRPath= + test -n '' ++ ../src/patchelf --page-size 4096 --print-interpreter ../src/patchelf Kernel page size is 4096 bytes + ../src/patchelf --page-size 4096 --set-interpreter /lib/ld-linux.so.2 --set-rpath /foo:/bar:/xxxxxxxxxxxxxxx scratch/no-rpath-mips/no-rpath patching ELF file 'scratch/no-rpath-mips/no-rpath' Kernel page size is 4096 bytes new rpath is '/foo:/bar:/xxxxxxxxxxxxxxx' rpath is too long, resizing... DT_NULL index is 25 replacing section '.dynamic' with size 256 replacing section '.dynstr' with size 160 replacing section '.interp' with size 19 this is an executable using replaced section '.interp' using replaced section '.dynamic' using replaced section '.dynstr' last replaced is 8 looking at section '.interp' looking at section '.note.ABI-tag' replacing section '.note.ABI-tag' which is in the way looking at section '.reginfo' replacing section '.reginfo' which is in the way looking at section '.note.gnu.build-id' replacing section '.note.gnu.build-id' which is in the way looking at section '.dynamic' looking at section '.hash' replacing section '.hash' which is in the way looking at section '.dynsym' replacing section '.dynsym' which is in the way looking at section '.dynstr' first reserved offset/addr is 0x42e/0x40042e first page is 0x400000 needed space is 1108 needed space is 1140 needed pages is 1 changing alignment of program header 3 from 65536 to 4096 changing alignment of program header 4 from 65536 to 4096 clearing first 4794 bytes rewriting section '.dynamic' from offset 0x11c0 (size 248) to offset 0x174 (size 256) rewriting section '.dynstr' from offset 0x13a8 (size 133) to offset 0x274 (size 160) rewriting section '.dynsym' from offset 0x12f8 (size 176) to offset 0x314 (size 176) rewriting section '.hash' from offset 0x12b8 (size 64) to offset 0x3c4 (size 64) rewriting section '.interp' from offset 0x1154 (size 13) to offset 0x404 (size 19) rewriting section '.note.ABI-tag' from offset 0x1164 (size 32) to offset 0x418 (size 32) rewriting section '.note.gnu.build-id' from offset 0x119c (size 36) to offset 0x438 (size 36) rewriting section '.reginfo' from offset 0x1184 (size 24) to offset 0x45c (size 24) rewriting symbol table section 3 rewriting symbol table section 41 ++ ../src/patchelf --page-size 4096 --print-rpath scratch/no-rpath-mips/no-rpath Kernel page size is 4096 bytes + newRPath=/foo:/bar:/xxxxxxxxxxxxxxx + echo /foo:/bar:/xxxxxxxxxxxxxxx + grep -q /foo:/bar PASS: no-rpath-mips.sh + ARCH= + PAGESIZE=4096 + '[' -z '' ']' ++ basename ./no-rpath-mipsel.sh .sh ++ sed -e 's/.*-//' + ARCH=mipsel + SCRATCH=scratch/no-rpath-mipsel + '[' -z mipsel ']' + '[' mipsel = prebuild ']' + no_rpath_bin=./no-rpath-prebuild/no-rpath-mipsel + '[' '!' -f ./no-rpath-prebuild/no-rpath-mipsel ']' + rm -rf scratch/no-rpath-mipsel + mkdir -p scratch/no-rpath-mipsel + cp ./no-rpath-prebuild/no-rpath-mipsel scratch/no-rpath-mipsel/no-rpath ++ ../src/patchelf --page-size 4096 --print-rpath scratch/no-rpath-mipsel/no-rpath Kernel page size is 4096 bytes + oldRPath= + test -n '' ++ ../src/patchelf --page-size 4096 --print-interpreter ../src/patchelf Kernel page size is 4096 bytes + ../src/patchelf --page-size 4096 --set-interpreter /lib/ld-linux.so.2 --set-rpath /foo:/bar:/xxxxxxxxxxxxxxx scratch/no-rpath-mipsel/no-rpath patching ELF file 'scratch/no-rpath-mipsel/no-rpath' Kernel page size is 4096 bytes new rpath is '/foo:/bar:/xxxxxxxxxxxxxxx' rpath is too long, resizing... DT_NULL index is 25 replacing section '.dynamic' with size 256 replacing section '.dynstr' with size 160 replacing section '.interp' with size 19 this is an executable using replaced section '.interp' using replaced section '.dynamic' using replaced section '.dynstr' last replaced is 8 looking at section '.interp' looking at section '.note.ABI-tag' replacing section '.note.ABI-tag' which is in the way looking at section '.reginfo' replacing section '.reginfo' which is in the way looking at section '.note.gnu.build-id' replacing section '.note.gnu.build-id' which is in the way looking at section '.dynamic' looking at section '.hash' replacing section '.hash' which is in the way looking at section '.dynsym' replacing section '.dynsym' which is in the way looking at section '.dynstr' first reserved offset/addr is 0x42e/0x40042e first page is 0x400000 needed space is 1108 needed space is 1140 needed pages is 1 changing alignment of program header 3 from 65536 to 4096 changing alignment of program header 4 from 65536 to 4096 clearing first 4794 bytes rewriting section '.dynamic' from offset 0x11c0 (size 248) to offset 0x174 (size 256) rewriting section '.dynstr' from offset 0x13a8 (size 133) to offset 0x274 (size 160) rewriting section '.dynsym' from offset 0x12f8 (size 176) to offset 0x314 (size 176) rewriting section '.hash' from offset 0x12b8 (size 64) to offset 0x3c4 (size 64) rewriting section '.interp' from offset 0x1154 (size 13) to offset 0x404 (size 19) rewriting section '.note.ABI-tag' from offset 0x1164 (size 32) to offset 0x418 (size 32) rewriting section '.note.gnu.build-id' from offset 0x119c (size 36) to offset 0x438 (size 36) rewriting section '.reginfo' from offset 0x1184 (size 24) to offset 0x45c (size 24) rewriting symbol table section 3 rewriting symbol table section 41 ++ ../src/patchelf --page-size 4096 --print-rpath scratch/no-rpath-mipsel/no-rpath Kernel page size is 4096 bytes + newRPath=/foo:/bar:/xxxxxxxxxxxxxxx + echo /foo:/bar:/xxxxxxxxxxxxxxx + grep -q /foo:/bar PASS: no-rpath-mipsel.sh + ARCH= + PAGESIZE=4096 + '[' -z '' ']' ++ basename ./no-rpath-powerpc.sh .sh ++ sed -e 's/.*-//' + ARCH=powerpc + SCRATCH=scratch/no-rpath-powerpc + '[' -z powerpc ']' + '[' powerpc = prebuild ']' + no_rpath_bin=./no-rpath-prebuild/no-rpath-powerpc + '[' '!' -f ./no-rpath-prebuild/no-rpath-powerpc ']' + rm -rf scratch/no-rpath-powerpc + mkdir -p scratch/no-rpath-powerpc + cp ./no-rpath-prebuild/no-rpath-powerpc scratch/no-rpath-powerpc/no-rpath ++ ../src/patchelf --page-size 4096 --print-rpath scratch/no-rpath-powerpc/no-rpath Kernel page size is 4096 bytes + oldRPath= + test -n '' ++ ../src/patchelf --page-size 4096 --print-interpreter ../src/patchelf Kernel page size is 4096 bytes + ../src/patchelf --page-size 4096 --set-interpreter /lib/ld-linux.so.2 --set-rpath /foo:/bar:/xxxxxxxxxxxxxxx scratch/no-rpath-powerpc/no-rpath patching ELF file 'scratch/no-rpath-powerpc/no-rpath' Kernel page size is 4096 bytes new rpath is '/foo:/bar:/xxxxxxxxxxxxxxx' rpath is too long, resizing... DT_NULL index is 21 replacing section '.dynamic' with size 224 replacing section '.dynstr' with size 101 replacing section '.interp' with size 19 this is an executable using replaced section '.interp' using replaced section '.dynstr' using replaced section '.dynamic' last replaced is 22 looking at section '.interp' looking at section '.note.ABI-tag' replacing section '.note.ABI-tag' which is in the way looking at section '.note.gnu.build-id' replacing section '.note.gnu.build-id' which is in the way looking at section '.hash' replacing section '.hash' which is in the way looking at section '.gnu.hash' replacing section '.gnu.hash' which is in the way looking at section '.dynsym' replacing section '.dynsym' which is in the way looking at section '.dynstr' looking at section '.gnu.version' first reserved offset/addr is 0x26a/0x1000026a first page is 0x10000000 needed space is 876 needed space is 908 needed pages is 1 changing alignment of program header 2 from 65536 to 4096 changing alignment of program header 3 from 65536 to 4096 clearing first 4374 bytes rewriting section '.dynamic' from offset 0x171c (size 216) to offset 0x154 (size 224) rewriting section '.dynstr' from offset 0x1220 (size 74) to offset 0x234 (size 101) rewriting section '.dynsym' from offset 0x11d0 (size 80) to offset 0x29c (size 80) rewriting section '.gnu.hash' from offset 0x11b0 (size 32) to offset 0x2ec (size 32) rewriting section '.hash' from offset 0x1188 (size 40) to offset 0x30c (size 40) rewriting section '.interp' from offset 0x1134 (size 13) to offset 0x334 (size 19) rewriting section '.note.ABI-tag' from offset 0x1144 (size 32) to offset 0x348 (size 32) rewriting section '.note.gnu.build-id' from offset 0x1164 (size 36) to offset 0x368 (size 36) rewriting symbol table section 3 rewriting symbol table section 38 ++ ../src/patchelf --page-size 4096 --print-rpath scratch/no-rpath-powerpc/no-rpath Kernel page size is 4096 bytes + newRPath=/foo:/bar:/xxxxxxxxxxxxxxx + echo /foo:/bar:/xxxxxxxxxxxxxxx + grep -q /foo:/bar PASS: no-rpath-powerpc.sh + ARCH= + PAGESIZE=4096 + '[' -z '' ']' ++ basename ./no-rpath-s390.sh .sh ++ sed -e 's/.*-//' + ARCH=s390 + SCRATCH=scratch/no-rpath-s390 + '[' -z s390 ']' + '[' s390 = prebuild ']' + no_rpath_bin=./no-rpath-prebuild/no-rpath-s390 + '[' '!' -f ./no-rpath-prebuild/no-rpath-s390 ']' + rm -rf scratch/no-rpath-s390 + mkdir -p scratch/no-rpath-s390 + cp ./no-rpath-prebuild/no-rpath-s390 scratch/no-rpath-s390/no-rpath ++ ../src/patchelf --page-size 4096 --print-rpath scratch/no-rpath-s390/no-rpath Kernel page size is 4096 bytes + oldRPath= + test -n '' ++ ../src/patchelf --page-size 4096 --print-interpreter ../src/patchelf Kernel page size is 4096 bytes + ../src/patchelf --page-size 4096 --set-interpreter /lib/ld-linux.so.2 --set-rpath /foo:/bar:/xxxxxxxxxxxxxxx scratch/no-rpath-s390/no-rpath patching ELF file 'scratch/no-rpath-s390/no-rpath' Kernel page size is 4096 bytes new rpath is '/foo:/bar:/xxxxxxxxxxxxxxx' rpath is too long, resizing... DT_NULL index is 20 replacing section '.dynamic' with size 216 replacing section '.dynstr' with size 101 replacing section '.interp' with size 19 this is an executable using replaced section '.interp' using replaced section '.dynstr' using replaced section '.dynamic' last replaced is 22 looking at section '.interp' looking at section '.note.ABI-tag' replacing section '.note.ABI-tag' which is in the way looking at section '.note.gnu.build-id' replacing section '.note.gnu.build-id' which is in the way looking at section '.hash' replacing section '.hash' which is in the way looking at section '.gnu.hash' replacing section '.gnu.hash' which is in the way looking at section '.dynsym' replacing section '.dynsym' which is in the way looking at section '.dynstr' looking at section '.gnu.version' first reserved offset/addr is 0x276/0x400276 first page is 0x400000 needed space is 880 needed space is 912 needed pages is 1 clearing first 4386 bytes rewriting section '.dynamic' from offset 0x170c (size 208) to offset 0x154 (size 216) rewriting section '.dynstr' from offset 0x122c (size 74) to offset 0x22c (size 101) rewriting section '.dynsym' from offset 0x11dc (size 80) to offset 0x294 (size 80) rewriting section '.gnu.hash' from offset 0x11b0 (size 44) to offset 0x2e4 (size 44) rewriting section '.hash' from offset 0x1188 (size 40) to offset 0x310 (size 40) rewriting section '.interp' from offset 0x1134 (size 13) to offset 0x338 (size 19) rewriting section '.note.ABI-tag' from offset 0x1144 (size 32) to offset 0x34c (size 32) rewriting section '.note.gnu.build-id' from offset 0x1164 (size 36) to offset 0x36c (size 36) rewriting symbol table section 3 rewriting symbol table section 35 ++ ../src/patchelf --page-size 4096 --print-rpath scratch/no-rpath-s390/no-rpath Kernel page size is 4096 bytes + newRPath=/foo:/bar:/xxxxxxxxxxxxxxx + echo /foo:/bar:/xxxxxxxxxxxxxxx + grep -q /foo:/bar PASS: no-rpath-s390.sh + ARCH= + PAGESIZE=4096 + '[' -z '' ']' ++ basename ./no-rpath-sh4.sh .sh ++ sed -e 's/.*-//' + ARCH=sh4 + SCRATCH=scratch/no-rpath-sh4 + '[' -z sh4 ']' + '[' sh4 = prebuild ']' + no_rpath_bin=./no-rpath-prebuild/no-rpath-sh4 + '[' '!' -f ./no-rpath-prebuild/no-rpath-sh4 ']' + rm -rf scratch/no-rpath-sh4 + mkdir -p scratch/no-rpath-sh4 + cp ./no-rpath-prebuild/no-rpath-sh4 scratch/no-rpath-sh4/no-rpath ++ ../src/patchelf --page-size 4096 --print-rpath scratch/no-rpath-sh4/no-rpath Kernel page size is 4096 bytes + oldRPath= + test -n '' ++ ../src/patchelf --page-size 4096 --print-interpreter ../src/patchelf Kernel page size is 4096 bytes + ../src/patchelf --page-size 4096 --set-interpreter /lib/ld-linux.so.2 --set-rpath /foo:/bar:/xxxxxxxxxxxxxxx scratch/no-rpath-sh4/no-rpath patching ELF file 'scratch/no-rpath-sh4/no-rpath' Kernel page size is 4096 bytes new rpath is '/foo:/bar:/xxxxxxxxxxxxxxx' rpath is too long, resizing... DT_NULL index is 19 replacing section '.dynamic' with size 208 replacing section '.dynstr' with size 107 replacing section '.interp' with size 19 this is an executable using replaced section '.interp' using replaced section '.dynstr' using replaced section '.dynamic' last replaced is 19 looking at section '.interp' looking at section '.note.gnu.build-id' replacing section '.note.gnu.build-id' which is in the way looking at section '.hash' replacing section '.hash' which is in the way looking at section '.dynsym' replacing section '.dynsym' which is in the way looking at section '.dynstr' looking at section '.gnu.version' first reserved offset/addr is 0x248/0x400248 first page is 0x400000 needed space is 820 needed space is 852 needed pages is 1 changing alignment of program header 2 from 65536 to 4096 changing alignment of program header 3 from 65536 to 4096 clearing first 4340 bytes rewriting section '.dynamic' from offset 0x1600 (size 200) to offset 0x154 (size 208) rewriting section '.dynstr' from offset 0x11f8 (size 80) to offset 0x224 (size 107) rewriting section '.dynsym' from offset 0x1198 (size 96) to offset 0x290 (size 96) rewriting section '.hash' from offset 0x116c (size 44) to offset 0x2f0 (size 44) rewriting section '.interp' from offset 0x1134 (size 19) to offset 0x31c (size 19) rewriting section '.note.gnu.build-id' from offset 0x1148 (size 36) to offset 0x330 (size 36) rewriting symbol table section 3 rewriting symbol table section 34 ++ ../src/patchelf --page-size 4096 --print-rpath scratch/no-rpath-sh4/no-rpath Kernel page size is 4096 bytes + newRPath=/foo:/bar:/xxxxxxxxxxxxxxx + echo /foo:/bar:/xxxxxxxxxxxxxxx + grep -q /foo:/bar PASS: no-rpath-sh4.sh + ARCH= + PAGESIZE=4096 + '[' -z '' ']' ++ basename ./no-rpath-sparc.sh .sh ++ sed -e 's/.*-//' + ARCH=sparc + SCRATCH=scratch/no-rpath-sparc + '[' -z sparc ']' + '[' sparc = prebuild ']' + no_rpath_bin=./no-rpath-prebuild/no-rpath-sparc + '[' '!' -f ./no-rpath-prebuild/no-rpath-sparc ']' + rm -rf scratch/no-rpath-sparc + mkdir -p scratch/no-rpath-sparc + cp ./no-rpath-prebuild/no-rpath-sparc scratch/no-rpath-sparc/no-rpath ++ ../src/patchelf --page-size 4096 --print-rpath scratch/no-rpath-sparc/no-rpath Kernel page size is 4096 bytes + oldRPath= + test -n '' ++ ../src/patchelf --page-size 4096 --print-interpreter ../src/patchelf Kernel page size is 4096 bytes + ../src/patchelf --page-size 4096 --set-interpreter /lib/ld-linux.so.2 --set-rpath /foo:/bar:/xxxxxxxxxxxxxxx scratch/no-rpath-sparc/no-rpath patching ELF file 'scratch/no-rpath-sparc/no-rpath' Kernel page size is 4096 bytes new rpath is '/foo:/bar:/xxxxxxxxxxxxxxx' rpath is too long, resizing... DT_NULL index is 19 replacing section '.dynamic' with size 208 replacing section '.dynstr' with size 101 replacing section '.interp' with size 19 this is an executable using replaced section '.interp' using replaced section '.dynstr' using replaced section '.dynamic' last replaced is 19 looking at section '.interp' looking at section '.note.ABI-tag' replacing section '.note.ABI-tag' which is in the way looking at section '.note.gnu.build-id' replacing section '.note.gnu.build-id' which is in the way looking at section '.hash' replacing section '.hash' which is in the way looking at section '.dynsym' replacing section '.dynsym' which is in the way looking at section '.dynstr' looking at section '.gnu.version' first reserved offset/addr is 0x22e/0x1022e first page is 0x10000 needed space is 796 needed space is 828 needed pages is 1 changing alignment of program header 2 from 65536 to 4096 changing alignment of program header 3 from 65536 to 4096 clearing first 4346 bytes rewriting section '.dynamic' from offset 0x1588 (size 200) to offset 0x134 (size 208) rewriting section '.dynstr' from offset 0x11e4 (size 74) to offset 0x204 (size 101) rewriting section '.dynsym' from offset 0x1194 (size 80) to offset 0x26c (size 80) rewriting section '.hash' from offset 0x116c (size 40) to offset 0x2bc (size 40) rewriting section '.interp' from offset 0x1114 (size 19) to offset 0x2e4 (size 19) rewriting section '.note.ABI-tag' from offset 0x1128 (size 32) to offset 0x2f8 (size 32) rewriting section '.note.gnu.build-id' from offset 0x1148 (size 36) to offset 0x318 (size 36) rewriting symbol table section 3 rewriting symbol table section 35 ++ ../src/patchelf --page-size 4096 --print-rpath scratch/no-rpath-sparc/no-rpath Kernel page size is 4096 bytes + newRPath=/foo:/bar:/xxxxxxxxxxxxxxx + echo /foo:/bar:/xxxxxxxxxxxxxxx + grep -q /foo:/bar PASS: no-rpath-sparc.sh =================== All 25 tests passed =================== make[3]: Leaving directory '/build/patchelf-0.9+52.20180509/tests' make[2]: Leaving directory '/build/patchelf-0.9+52.20180509/tests' make[2]: Entering directory '/build/patchelf-0.9+52.20180509' make[2]: Nothing to be done for 'check-am'. make[2]: Leaving directory '/build/patchelf-0.9+52.20180509' make[1]: Leaving directory '/build/patchelf-0.9+52.20180509' create-stamp debian/debhelper-build-stamp fakeroot debian/rules binary dh binary dh_testroot dh_prep dh_auto_install make -j18 install DESTDIR=/build/patchelf-0.9\+52.20180509/debian/patchelf AM_UPDATE_INFO_DIR=no make[1]: Entering directory '/build/patchelf-0.9+52.20180509' Making install in src make[2]: Entering directory '/build/patchelf-0.9+52.20180509/src' make[3]: Entering directory '/build/patchelf-0.9+52.20180509/src' make[3]: Nothing to be done for 'install-data-am'. /bin/mkdir -p '/build/patchelf-0.9+52.20180509/debian/patchelf/usr/bin' /usr/bin/install -c patchelf '/build/patchelf-0.9+52.20180509/debian/patchelf/usr/bin' make[3]: Leaving directory '/build/patchelf-0.9+52.20180509/src' make[2]: Leaving directory '/build/patchelf-0.9+52.20180509/src' Making install in tests make[2]: Entering directory '/build/patchelf-0.9+52.20180509/tests' make[3]: Entering directory '/build/patchelf-0.9+52.20180509/tests' make[3]: Nothing to be done for 'install-exec-am'. make[3]: Nothing to be done for 'install-data-am'. make[3]: Leaving directory '/build/patchelf-0.9+52.20180509/tests' make[2]: Leaving directory '/build/patchelf-0.9+52.20180509/tests' make[2]: Entering directory '/build/patchelf-0.9+52.20180509' make[3]: Entering directory '/build/patchelf-0.9+52.20180509' make[3]: Nothing to be done for 'install-exec-am'. /bin/mkdir -p '/build/patchelf-0.9+52.20180509/debian/patchelf/usr/share/doc/patchelf' /bin/mkdir -p '/build/patchelf-0.9+52.20180509/debian/patchelf/usr/share/man/man1' /usr/bin/install -c -m 644 README '/build/patchelf-0.9+52.20180509/debian/patchelf/usr/share/doc/patchelf' /usr/bin/install -c -m 644 patchelf.1 '/build/patchelf-0.9+52.20180509/debian/patchelf/usr/share/man/man1' make[3]: Leaving directory '/build/patchelf-0.9+52.20180509' make[2]: Leaving directory '/build/patchelf-0.9+52.20180509' make[1]: Leaving directory '/build/patchelf-0.9+52.20180509' dh_installdocs dh_installchangelogs dh_installman dh_perl dh_link dh_strip_nondeterminism dh_compress dh_fixperms dh_missing dh_strip dh_makeshlibs dh_shlibdeps dh_installdeb dh_gencontrol dh_md5sums dh_builddeb dpkg-deb: building package 'patchelf' in '../patchelf_0.9+52.20180509-1_i386.deb'. dpkg-deb: building package 'patchelf-dbgsym' in '../patchelf-dbgsym_0.9+52.20180509-1_i386.deb'. dpkg-genbuildinfo --build=binary dpkg-genchanges --build=binary >../patchelf_0.9+52.20180509-1_i386.changes dpkg-genchanges: info: binary-only upload (no source code included) dpkg-source --after-build . dpkg-source: info: using options from patchelf-0.9+52.20180509/debian/source/options: --extend-diff-ignore=bootstrap.sh --extend-diff-ignore=release.nix --extend-diff-ignore=version --extend-diff-ignore=BUGS dpkg-buildpackage: info: binary-only upload (no source included) I: copying local configuration I: user script /srv/workspace/pbuilder/12271/tmp/hooks/B01_cleanup starting I: user script /srv/workspace/pbuilder/12271/tmp/hooks/B01_cleanup finished I: unmounting dev/ptmx filesystem I: unmounting dev/pts filesystem I: unmounting dev/shm filesystem I: unmounting proc filesystem I: unmounting sys filesystem I: cleaning the build env I: removing directory /srv/workspace/pbuilder/12271 and its subdirectories I: Current time: Wed Nov 3 15:11:16 +14 2021 I: pbuilder-time-stamp: 1635901876