Raspbian Package Auto-Building

Build log for patchelf (0.9+52.20180509-1) on armhf

patchelf0.9+52.20180509-1armhf → 2018-10-23 05:12:14

sbuild (Debian sbuild) 0.71.0 (24 Aug 2016) on bm-wb-04

+==============================================================================+
| patchelf 0.9+52.20180509-1 (armhf)           Tue, 23 Oct 2018 05:04:11 +0000 |
+==============================================================================+

Package: patchelf
Version: 0.9+52.20180509-1
Source Version: 0.9+52.20180509-1
Distribution: buster-staging
Machine Architecture: armhf
Host Architecture: armhf
Build Architecture: armhf

I: NOTICE: Log filtering will replace 'var/lib/schroot/mount/buster-staging-armhf-sbuild-762c0300-23bb-4b8a-ae8d-968439f3fe9b' with '<<CHROOT>>'

+------------------------------------------------------------------------------+
| Update chroot                                                                |
+------------------------------------------------------------------------------+

Get:1 http://172.17.0.1/private buster-staging InRelease [11.3 kB]
Get:2 http://172.17.0.1/private buster-staging/main Sources [11.1 MB]
Get:3 http://172.17.0.1/private buster-staging/main armhf Packages [12.9 MB]
Fetched 24.0 MB in 27s (889 kB/s)
Reading package lists...
W: No sandbox user '_apt' on the system, can not drop privileges

+------------------------------------------------------------------------------+
| Fetch source files                                                           |
+------------------------------------------------------------------------------+


Check APT
---------

Checking available source versions...

Download source files with APT
------------------------------

Reading package lists...
NOTICE: 'patchelf' packaging is maintained in the 'Git' version control system at:
https://salsa.debian.org/debian/patchelf.git
Please use:
git clone https://salsa.debian.org/debian/patchelf.git
to retrieve the latest (possibly unreleased) updates to the package.
Need to get 103 kB of source archives.
Get:1 http://172.17.0.1/private buster-staging/main patchelf 0.9+52.20180509-1 (dsc) [2041 B]
Get:2 http://172.17.0.1/private buster-staging/main patchelf 0.9+52.20180509-1 (tar) [97.9 kB]
Get:3 http://172.17.0.1/private buster-staging/main patchelf 0.9+52.20180509-1 (diff) [3364 B]
Fetched 103 kB in 0s (1260 kB/s)
Download complete and in download only mode
I: NOTICE: Log filtering will replace 'build/patchelf-j9GZTJ/patchelf-0.9+52.20180509' with '<<PKGBUILDDIR>>'
I: NOTICE: Log filtering will replace 'build/patchelf-j9GZTJ' with '<<BUILDDIR>>'

+------------------------------------------------------------------------------+
| Install build-essential                                                      |
+------------------------------------------------------------------------------+


Setup apt archive
-----------------

Merged Build-Depends: build-essential, fakeroot
Filtered Build-Depends: build-essential, fakeroot
dpkg-deb: building package 'sbuild-build-depends-core-dummy' in '/<<BUILDDIR>>/resolver-tAefJb/apt_archive/sbuild-build-depends-core-dummy.deb'.
dpkg-scanpackages: warning: Packages in archive but missing from override file:
dpkg-scanpackages: warning:   sbuild-build-depends-core-dummy
dpkg-scanpackages: info: Wrote 1 entries to output Packages file.
gpg: keybox '/<<BUILDDIR>>/resolver-tAefJb/gpg/pubring.kbx' created
gpg: /<<BUILDDIR>>/resolver-tAefJb/gpg/trustdb.gpg: trustdb created
gpg: key 35506D9A48F77B2E: public key "Sbuild Signer (Sbuild Build Dependency Archive Key) <buildd-tools-devel@lists.alioth.debian.org>" imported
gpg: Total number processed: 1
gpg:               imported: 1
gpg: key 35506D9A48F77B2E: "Sbuild Signer (Sbuild Build Dependency Archive Key) <buildd-tools-devel@lists.alioth.debian.org>" not changed
gpg: key 35506D9A48F77B2E: secret key imported
gpg: Total number processed: 1
gpg:              unchanged: 1
gpg:       secret keys read: 1
gpg:   secret keys imported: 1
gpg: using "Sbuild Signer" as default secret key for signing
Ign:1 copy:/<<BUILDDIR>>/resolver-tAefJb/apt_archive ./ InRelease
Get:2 copy:/<<BUILDDIR>>/resolver-tAefJb/apt_archive ./ Release [957 B]
Get:3 copy:/<<BUILDDIR>>/resolver-tAefJb/apt_archive ./ Release.gpg [370 B]
Get:4 copy:/<<BUILDDIR>>/resolver-tAefJb/apt_archive ./ Sources [349 B]
Get:5 copy:/<<BUILDDIR>>/resolver-tAefJb/apt_archive ./ Packages [433 B]
Fetched 2109 B in 1s (2729 B/s)
Reading package lists...
W: No sandbox user '_apt' on the system, can not drop privileges
Reading package lists...

Install core build dependencies (apt-based resolver)
----------------------------------------------------

Installing build dependencies
Reading package lists...
Building dependency tree...
Reading state information...
The following packages were automatically installed and are no longer required:
  ca-certificates dbus dbus-user-session krb5-locales libexpat1 libnss-systemd
  libpam-systemd libssl1.1 openssl systemd-sysv
Use 'apt autoremove' to remove them.
The following NEW packages will be installed:
  sbuild-build-depends-core-dummy
0 upgraded, 1 newly installed, 0 to remove and 28 not upgraded.
Need to get 848 B of archives.
After this operation, 0 B of additional disk space will be used.
Get:1 copy:/<<BUILDDIR>>/resolver-tAefJb/apt_archive ./ sbuild-build-depends-core-dummy 0.invalid.0 [848 B]
debconf: delaying package configuration, since apt-utils is not installed
Fetched 848 B in 0s (0 B/s)
Selecting previously unselected package sbuild-build-depends-core-dummy.
(Reading database ... 14019 files and directories currently installed.)
Preparing to unpack .../sbuild-build-depends-core-dummy_0.invalid.0_armhf.deb ...
Unpacking sbuild-build-depends-core-dummy (0.invalid.0) ...
Setting up sbuild-build-depends-core-dummy (0.invalid.0) ...
W: No sandbox user '_apt' on the system, can not drop privileges

+------------------------------------------------------------------------------+
| Check architectures                                                          |
+------------------------------------------------------------------------------+

Arch check ok (armhf included in any)

+------------------------------------------------------------------------------+
| Install package build dependencies                                           |
+------------------------------------------------------------------------------+


Setup apt archive
-----------------

Merged Build-Depends: debhelper-compat (= 11)
Filtered Build-Depends: debhelper-compat (= 11)
dpkg-deb: building package 'sbuild-build-depends-patchelf-dummy' in '/<<BUILDDIR>>/resolver-tAefJb/apt_archive/sbuild-build-depends-patchelf-dummy.deb'.
dpkg-scanpackages: warning: Packages in archive but missing from override file:
dpkg-scanpackages: warning:   sbuild-build-depends-core-dummy sbuild-build-depends-patchelf-dummy
dpkg-scanpackages: info: Wrote 2 entries to output Packages file.
gpg: using "Sbuild Signer" as default secret key for signing
Ign:1 copy:/<<BUILDDIR>>/resolver-tAefJb/apt_archive ./ InRelease
Get:2 copy:/<<BUILDDIR>>/resolver-tAefJb/apt_archive ./ Release [963 B]
Get:3 copy:/<<BUILDDIR>>/resolver-tAefJb/apt_archive ./ Release.gpg [370 B]
Get:4 copy:/<<BUILDDIR>>/resolver-tAefJb/apt_archive ./ Sources [489 B]
Get:5 copy:/<<BUILDDIR>>/resolver-tAefJb/apt_archive ./ Packages [570 B]
Fetched 2392 B in 1s (3328 B/s)
Reading package lists...
W: No sandbox user '_apt' on the system, can not drop privileges
Reading package lists...

Install patchelf build dependencies (apt-based resolver)
--------------------------------------------------------

Installing build dependencies
Reading package lists...
Building dependency tree...
Reading state information...
The following packages were automatically installed and are no longer required:
  ca-certificates dbus dbus-user-session krb5-locales libexpat1 libnss-systemd
  libpam-systemd libssl1.1 openssl systemd-sysv
Use 'apt autoremove' to remove them.
The following additional packages will be installed:
  autoconf automake autopoint autotools-dev bsdmainutils debhelper
  dh-autoreconf dh-strip-nondeterminism dwz file gettext gettext-base
  groff-base intltool-debian libarchive-zip-perl libbsd0 libcroco3 libelf1
  libfile-stripnondeterminism-perl libfreetype6 libglib2.0-0 libgraphite2-3
  libharfbuzz0b libicu-le-hb0 libicu60 libmagic-mgc libmagic1 libpipeline1
  libsigsegv2 libtool libxml2 m4 man-db po-debconf
Suggested packages:
  autoconf-archive gnu-standards autoconf-doc wamerican | wordlist whois
  vacation dh-make gettext-doc libasprintf-dev libgettextpo-dev groff
  libtool-doc gfortran | fortran95-compiler gcj-jdk m4-doc apparmor less
  www-browser libmail-box-perl
Recommended packages:
  curl | wget | lynx libarchive-cpio-perl libglib2.0-data shared-mime-info
  xdg-user-dirs libltdl-dev libmail-sendmail-perl
The following NEW packages will be installed:
  autoconf automake autopoint autotools-dev bsdmainutils debhelper
  dh-autoreconf dh-strip-nondeterminism dwz file gettext gettext-base
  groff-base intltool-debian libarchive-zip-perl libbsd0 libcroco3 libelf1
  libfile-stripnondeterminism-perl libfreetype6 libglib2.0-0 libgraphite2-3
  libharfbuzz0b libicu-le-hb0 libicu60 libmagic-mgc libmagic1 libpipeline1
  libsigsegv2 libtool libxml2 m4 man-db po-debconf
  sbuild-build-depends-patchelf-dummy
0 upgraded, 35 newly installed, 0 to remove and 28 not upgraded.
Need to get 18.6 MB/19.2 MB of archives.
After this operation, 67.0 MB of additional disk space will be used.
Get:1 copy:/<<BUILDDIR>>/resolver-tAefJb/apt_archive ./ sbuild-build-depends-patchelf-dummy 0.invalid.0 [856 B]
Get:2 http://172.17.0.1/private buster-staging/main armhf libbsd0 armhf 0.9.1-1 [104 kB]
Get:3 http://172.17.0.1/private buster-staging/main armhf bsdmainutils armhf 11.1.2 [182 kB]
Get:4 http://172.17.0.1/private buster-staging/main armhf groff-base armhf 1.22.3-10 [1005 kB]
Get:5 http://172.17.0.1/private buster-staging/main armhf libpipeline1 armhf 1.5.0-1 [24.6 kB]
Get:6 http://172.17.0.1/private buster-staging/main armhf man-db armhf 2.8.4-2+b1 [1160 kB]
Get:7 http://172.17.0.1/private buster-staging/main armhf libmagic-mgc armhf 1:5.34-2 [239 kB]
Get:8 http://172.17.0.1/private buster-staging/main armhf libmagic1 armhf 1:5.34-2 [107 kB]
Get:9 http://172.17.0.1/private buster-staging/main armhf file armhf 1:5.34-2 [65.0 kB]
Get:10 http://172.17.0.1/private buster-staging/main armhf gettext-base armhf 0.19.8.1-8 [117 kB]
Get:11 http://172.17.0.1/private buster-staging/main armhf libsigsegv2 armhf 2.12-2 [32.3 kB]
Get:12 http://172.17.0.1/private buster-staging/main armhf m4 armhf 1.4.18-1 [185 kB]
Get:13 http://172.17.0.1/private buster-staging/main armhf autoconf all 2.69-11 [341 kB]
Get:14 http://172.17.0.1/private buster-staging/main armhf autotools-dev all 20180224.1 [77.0 kB]
Get:15 http://172.17.0.1/private buster-staging/main armhf automake all 1:1.16.1-1.1 [771 kB]
Get:16 http://172.17.0.1/private buster-staging/main armhf autopoint all 0.19.8.1-8 [434 kB]
Get:17 http://172.17.0.1/private buster-staging/main armhf libtool all 2.4.6-6 [547 kB]
Get:18 http://172.17.0.1/private buster-staging/main armhf dh-autoreconf all 19 [16.9 kB]
Get:19 http://172.17.0.1/private buster-staging/main armhf libarchive-zip-perl all 1.64-1 [96.8 kB]
Get:20 http://172.17.0.1/private buster-staging/main armhf libfile-stripnondeterminism-perl all 0.043-2 [20.2 kB]
Get:21 http://172.17.0.1/private buster-staging/main armhf dh-strip-nondeterminism all 0.043-2 [12.2 kB]
Get:22 http://172.17.0.1/private buster-staging/main armhf libelf1 armhf 0.170-0.5 [160 kB]
Get:23 http://172.17.0.1/private buster-staging/main armhf dwz armhf 0.12-2 [67.4 kB]
Get:24 http://172.17.0.1/private buster-staging/main armhf libglib2.0-0 armhf 2.58.1-2 [1051 kB]
Get:25 http://172.17.0.1/private buster-staging/main armhf libgraphite2-3 armhf 1.3.12-1 [69.1 kB]
Get:26 http://172.17.0.1/private buster-staging/main armhf libharfbuzz0b armhf 1.9.0-1+rpi1 [877 kB]
Get:27 http://172.17.0.1/private buster-staging/main armhf libicu-le-hb0 armhf 1.0.3+git161113-5 [12.8 kB]
Get:28 http://172.17.0.1/private buster-staging/main armhf libicu60 armhf 60.2-6 [7789 kB]
Get:29 http://172.17.0.1/private buster-staging/main armhf libxml2 armhf 2.9.4+dfsg1-7 [602 kB]
Get:30 http://172.17.0.1/private buster-staging/main armhf gettext armhf 0.19.8.1-8 [1220 kB]
Get:31 http://172.17.0.1/private buster-staging/main armhf intltool-debian all 0.35.0+20060710.4 [26.3 kB]
Get:32 http://172.17.0.1/private buster-staging/main armhf po-debconf all 1.0.20 [247 kB]
Get:33 http://172.17.0.1/private buster-staging/main armhf debhelper all 11.4.1 [989 kB]
debconf: delaying package configuration, since apt-utils is not installed
Fetched 18.6 MB in 2s (8038 kB/s)
Selecting previously unselected package libbsd0:armhf.
(Reading database ... 14019 files and directories currently installed.)
Preparing to unpack .../00-libbsd0_0.9.1-1_armhf.deb ...
Unpacking libbsd0:armhf (0.9.1-1) ...
Selecting previously unselected package bsdmainutils.
Preparing to unpack .../01-bsdmainutils_11.1.2_armhf.deb ...
Unpacking bsdmainutils (11.1.2) ...
Selecting previously unselected package groff-base.
Preparing to unpack .../02-groff-base_1.22.3-10_armhf.deb ...
Unpacking groff-base (1.22.3-10) ...
Selecting previously unselected package libpipeline1:armhf.
Preparing to unpack .../03-libpipeline1_1.5.0-1_armhf.deb ...
Unpacking libpipeline1:armhf (1.5.0-1) ...
Selecting previously unselected package man-db.
Preparing to unpack .../04-man-db_2.8.4-2+b1_armhf.deb ...
Unpacking man-db (2.8.4-2+b1) ...
Selecting previously unselected package libmagic-mgc.
Preparing to unpack .../05-libmagic-mgc_1%3a5.34-2_armhf.deb ...
Unpacking libmagic-mgc (1:5.34-2) ...
Selecting previously unselected package libmagic1:armhf.
Preparing to unpack .../06-libmagic1_1%3a5.34-2_armhf.deb ...
Unpacking libmagic1:armhf (1:5.34-2) ...
Selecting previously unselected package file.
Preparing to unpack .../07-file_1%3a5.34-2_armhf.deb ...
Unpacking file (1:5.34-2) ...
Selecting previously unselected package gettext-base.
Preparing to unpack .../08-gettext-base_0.19.8.1-8_armhf.deb ...
Unpacking gettext-base (0.19.8.1-8) ...
Selecting previously unselected package libsigsegv2:armhf.
Preparing to unpack .../09-libsigsegv2_2.12-2_armhf.deb ...
Unpacking libsigsegv2:armhf (2.12-2) ...
Selecting previously unselected package m4.
Preparing to unpack .../10-m4_1.4.18-1_armhf.deb ...
Unpacking m4 (1.4.18-1) ...
Selecting previously unselected package autoconf.
Preparing to unpack .../11-autoconf_2.69-11_all.deb ...
Unpacking autoconf (2.69-11) ...
Selecting previously unselected package autotools-dev.
Preparing to unpack .../12-autotools-dev_20180224.1_all.deb ...
Unpacking autotools-dev (20180224.1) ...
Selecting previously unselected package automake.
Preparing to unpack .../13-automake_1%3a1.16.1-1.1_all.deb ...
Unpacking automake (1:1.16.1-1.1) ...
Selecting previously unselected package autopoint.
Preparing to unpack .../14-autopoint_0.19.8.1-8_all.deb ...
Unpacking autopoint (0.19.8.1-8) ...
Selecting previously unselected package libtool.
Preparing to unpack .../15-libtool_2.4.6-6_all.deb ...
Unpacking libtool (2.4.6-6) ...
Selecting previously unselected package dh-autoreconf.
Preparing to unpack .../16-dh-autoreconf_19_all.deb ...
Unpacking dh-autoreconf (19) ...
Selecting previously unselected package libarchive-zip-perl.
Preparing to unpack .../17-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 .../18-libfile-stripnondeterminism-perl_0.043-2_all.deb ...
Unpacking libfile-stripnondeterminism-perl (0.043-2) ...
Selecting previously unselected package dh-strip-nondeterminism.
Preparing to unpack .../19-dh-strip-nondeterminism_0.043-2_all.deb ...
Unpacking dh-strip-nondeterminism (0.043-2) ...
Selecting previously unselected package libelf1:armhf.
Preparing to unpack .../20-libelf1_0.170-0.5_armhf.deb ...
Unpacking libelf1:armhf (0.170-0.5) ...
Selecting previously unselected package dwz.
Preparing to unpack .../21-dwz_0.12-2_armhf.deb ...
Unpacking dwz (0.12-2) ...
Selecting previously unselected package libglib2.0-0:armhf.
Preparing to unpack .../22-libglib2.0-0_2.58.1-2_armhf.deb ...
Unpacking libglib2.0-0:armhf (2.58.1-2) ...
Selecting previously unselected package libfreetype6:armhf.
Preparing to unpack .../23-libfreetype6_2.8.1-2_armhf.deb ...
Unpacking libfreetype6:armhf (2.8.1-2) ...
Selecting previously unselected package libgraphite2-3:armhf.
Preparing to unpack .../24-libgraphite2-3_1.3.12-1_armhf.deb ...
Unpacking libgraphite2-3:armhf (1.3.12-1) ...
Selecting previously unselected package libharfbuzz0b:armhf.
Preparing to unpack .../25-libharfbuzz0b_1.9.0-1+rpi1_armhf.deb ...
Unpacking libharfbuzz0b:armhf (1.9.0-1+rpi1) ...
Selecting previously unselected package libicu-le-hb0:armhf.
Preparing to unpack .../26-libicu-le-hb0_1.0.3+git161113-5_armhf.deb ...
Unpacking libicu-le-hb0:armhf (1.0.3+git161113-5) ...
Selecting previously unselected package libicu60:armhf.
Preparing to unpack .../27-libicu60_60.2-6_armhf.deb ...
Unpacking libicu60:armhf (60.2-6) ...
Selecting previously unselected package libxml2:armhf.
Preparing to unpack .../28-libxml2_2.9.4+dfsg1-7_armhf.deb ...
Unpacking libxml2:armhf (2.9.4+dfsg1-7) ...
Selecting previously unselected package libcroco3:armhf.
Preparing to unpack .../29-libcroco3_0.6.12-2_armhf.deb ...
Unpacking libcroco3:armhf (0.6.12-2) ...
Selecting previously unselected package gettext.
Preparing to unpack .../30-gettext_0.19.8.1-8_armhf.deb ...
Unpacking gettext (0.19.8.1-8) ...
Selecting previously unselected package intltool-debian.
Preparing to unpack .../31-intltool-debian_0.35.0+20060710.4_all.deb ...
Unpacking intltool-debian (0.35.0+20060710.4) ...
Selecting previously unselected package po-debconf.
Preparing to unpack .../32-po-debconf_1.0.20_all.deb ...
Unpacking po-debconf (1.0.20) ...
Selecting previously unselected package debhelper.
Preparing to unpack .../33-debhelper_11.4.1_all.deb ...
Unpacking debhelper (11.4.1) ...
Selecting previously unselected package sbuild-build-depends-patchelf-dummy.
Preparing to unpack .../34-sbuild-build-depends-patchelf-dummy_0.invalid.0_armhf.deb ...
Unpacking sbuild-build-depends-patchelf-dummy (0.invalid.0) ...
Setting up libarchive-zip-perl (1.64-1) ...
Setting up libsigsegv2:armhf (2.12-2) ...
Setting up libelf1:armhf (0.170-0.5) ...
Setting up groff-base (1.22.3-10) ...
Setting up libglib2.0-0:armhf (2.58.1-2) ...
No schema files found: removed existing output file.
Setting up gettext-base (0.19.8.1-8) ...
Setting up libpipeline1:armhf (1.5.0-1) ...
Setting up m4 (1.4.18-1) ...
Setting up libbsd0:armhf (0.9.1-1) ...
Setting up libfreetype6:armhf (2.8.1-2) ...
Setting up libmagic-mgc (1:5.34-2) ...
Setting up libmagic1:armhf (1:5.34-2) ...
Setting up libgraphite2-3:armhf (1.3.12-1) ...
Processing triggers for libc-bin (2.27-6+rpi1) ...
Setting up dwz (0.12-2) ...
Setting up autotools-dev (20180224.1) ...
Setting up bsdmainutils (11.1.2) ...
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 autopoint (0.19.8.1-8) ...
Setting up libfile-stripnondeterminism-perl (0.043-2) ...
Setting up libharfbuzz0b:armhf (1.9.0-1+rpi1) ...
Setting up autoconf (2.69-11) ...
Setting up file (1:5.34-2) ...
Setting up automake (1:1.16.1-1.1) ...
update-alternatives: using /usr/bin/automake-1.16 to provide /usr/bin/automake (automake) in auto mode
Setting up man-db (2.8.4-2+b1) ...
Not building database; man-db/auto-update is not 'true'.
Setting up libtool (2.4.6-6) ...
Setting up libicu-le-hb0:armhf (1.0.3+git161113-5) ...
Setting up libicu60:armhf (60.2-6) ...
Setting up libxml2:armhf (2.9.4+dfsg1-7) ...
Setting up libcroco3:armhf (0.6.12-2) ...
Setting up gettext (0.19.8.1-8) ...
Setting up intltool-debian (0.35.0+20060710.4) ...
Setting up po-debconf (1.0.20) ...
Setting up debhelper (11.4.1) ...
Setting up dh-autoreconf (19) ...
Setting up dh-strip-nondeterminism (0.043-2) ...
Setting up sbuild-build-depends-patchelf-dummy (0.invalid.0) ...
Processing triggers for libc-bin (2.27-6+rpi1) ...
W: No sandbox user '_apt' on the system, can not drop privileges

+------------------------------------------------------------------------------+
| Build environment                                                            |
+------------------------------------------------------------------------------+

Kernel: Linux 4.9.0-0.bpo.4-armmp armhf (armv7l)
Toolchain package versions: binutils_2.31.1-6+rpi1 dpkg-dev_1.19.0.5 g++-8_8.2.0-7+rpi1 gcc-8_8.2.0-7+rpi1 libc6-dev_2.27-6+rpi1 libstdc++-8-dev_8.2.0-7+rpi1 libstdc++6_8.2.0-7+rpi1 linux-libc-dev_4.16.16-2+rpi1
Package versions: adduser_3.118 apt_1.7.0 autoconf_2.69-11 automake_1:1.16.1-1.1 autopoint_0.19.8.1-8 autotools-dev_20180224.1 base-files_10.1+rpi1 base-passwd_3.5.45 bash_4.4.18-3.1 binutils_2.31.1-6+rpi1 binutils-arm-linux-gnueabihf_2.31.1-6+rpi1 binutils-common_2.31.1-6+rpi1 bsdmainutils_11.1.2 bsdutils_1:2.32.1-0.1 build-essential_12.5 bzip2_1.0.6-9 ca-certificates_20170717 coreutils_8.30-1 cpio_2.12+dfsg-6 cpp_4:8.1.0-1+rpi1 cpp-8_8.2.0-7+rpi1 dash_0.5.10.2-1 dbus_1.12.10-1 dbus-user-session_1.12.10-1 debconf_1.5.69 debhelper_11.4.1 debianutils_4.8.6 dh-autoreconf_19 dh-strip-nondeterminism_0.043-2 diffutils_1:3.6-1 dirmngr_2.2.10-3+rpi1 dmsetup_2:1.02.145-4.1+b4 dpkg_1.19.0.5 dpkg-dev_1.19.0.5 dwz_0.12-2 e2fslibs_1.44.4-2 e2fsprogs_1.44.4-2 fakeroot_1.23-1 fdisk_2.32.1-0.1 file_1:5.34-2 findutils_4.6.0+git+20180808-2 g++_4:8.1.0-1+rpi1 g++-8_8.2.0-7+rpi1 gcc_4:8.1.0-1+rpi1 gcc-4.6-base_4.6.4-5+rpi1 gcc-4.7-base_4.7.3-11+rpi1 gcc-4.8-base_4.8.5-4 gcc-4.9-base_4.9.4-2+rpi1+b19 gcc-5-base_5.5.0-8 gcc-6-base_6.4.0-22+rpi1 gcc-8_8.2.0-7+rpi1 gcc-8-base_8.2.0-7+rpi1 gettext_0.19.8.1-8 gettext-base_0.19.8.1-8 gnupg_2.2.10-3+rpi1 gnupg-l10n_2.2.10-3+rpi1 gnupg-utils_2.2.10-3+rpi1 gpg_2.2.10-3+rpi1 gpg-agent_2.2.10-3+rpi1 gpg-wks-client_2.2.10-3+rpi1 gpg-wks-server_2.2.10-3+rpi1 gpgconf_2.2.10-3+rpi1 gpgsm_2.2.10-3+rpi1 gpgv_2.2.10-3+rpi1 grep_3.1-2 groff-base_1.22.3-10 gzip_1.9-2.1 hostname_3.21 inetutils-ping_2:1.9.4-5 init-system-helpers_1.54 initramfs-tools_0.132 initramfs-tools-core_0.132 intltool-debian_0.35.0+20060710.4 klibc-utils_2.0.4-14+rpi1 kmod_25-1 krb5-locales_1.16.1-1 libacl1_2.2.52-3 libapparmor1_2.13-8 libapt-pkg5.0_1.7.0 libarchive-zip-perl_1.64-1 libargon2-1_0~20171227-0.1 libasan5_8.2.0-7+rpi1 libassuan0_2.5.1-2 libatomic1_8.2.0-7+rpi1 libattr1_1:2.4.47-2 libaudit-common_1:2.8.4-2 libaudit1_1:2.8.4-2 libbinutils_2.31.1-6+rpi1 libblkid1_2.32.1-0.1 libbsd0_0.9.1-1 libbz2-1.0_1.0.6-9 libc-bin_2.27-6+rpi1 libc-dev-bin_2.27-6+rpi1 libc6_2.27-6+rpi1 libc6-dev_2.27-6+rpi1 libcap-ng0_0.7.9-1 libcap2_1:2.25-1.2 libcc1-0_8.2.0-7+rpi1 libcom-err2_1.44.4-2 libcroco3_0.6.12-2 libcryptsetup12_2:2.0.4-2 libcryptsetup4_2:1.7.5-1 libdb5.3_5.3.28+dfsg1-0.2 libdbus-1-3_1.12.10-1 libdebconfclient0_0.245 libdevmapper1.02.1_2:1.02.145-4.1+b4 libdpkg-perl_1.19.0.5 libdrm-common_2.4.94-1+rpi1 libdrm2_2.4.94-1+rpi1 libelf1_0.170-0.5 libexpat1_2.2.6-1 libext2fs2_1.44.4-2 libfakeroot_1.23-1 libfdisk1_2.32.1-0.1 libffi6_3.2.1-8 libfile-stripnondeterminism-perl_0.043-2 libfreetype6_2.8.1-2 libgcc-8-dev_8.2.0-7+rpi1 libgcc1_1:8.2.0-7+rpi1 libgcrypt20_1.8.3-1 libgdbm-compat4_1.18-2 libgdbm3_1.8.3-14 libgdbm5_1.14.1-6 libgdbm6_1.18-2 libglib2.0-0_2.58.1-2 libgmp10_2:6.1.2+dfsg-3 libgnutls30_3.5.19-1 libgomp1_8.2.0-7+rpi1 libgpg-error0_1.32-1 libgraphite2-3_1.3.12-1 libgssapi-krb5-2_1.16.1-1 libharfbuzz0b_1.9.0-1+rpi1 libhogweed4_3.4-1 libicu-le-hb0_1.0.3+git161113-5 libicu60_60.2-6 libidn11_1.33-2.2 libidn2-0_2.0.5-1 libip4tc0_1.6.2-1.1 libisl19_0.20-2 libjson-c3_0.12.1-1.3 libk5crypto3_1.16.1-1 libkeyutils1_1.5.9-9.3 libklibc_2.0.4-14+rpi1 libkmod2_25-1 libkrb5-3_1.16.1-1 libkrb5support0_1.16.1-1 libksba8_1.3.5-2 libldap-2.4-2_2.4.46+dfsg-5+rpi1 libldap-common_2.4.46+dfsg-5+rpi1 liblocale-gettext-perl_1.07-3+b2 liblz4-1_1.8.2-1+rpi1 liblzma5_5.2.2-1.3 libmagic-mgc_1:5.34-2 libmagic1_1:5.34-2 libmount1_2.32.1-0.1 libmpc3_1.1.0-1 libmpfr6_4.0.1-1 libncurses5_6.1+20180714-1 libncurses6_6.1+20180714-1 libncursesw5_6.1+20180714-1 libncursesw6_6.1+20180714-1 libnettle6_3.4-1 libnpth0_1.6-1 libnss-systemd_239-10+rpi1 libp11-kit0_0.23.14-2 libpam-modules_1.1.8-3.8 libpam-modules-bin_1.1.8-3.8 libpam-runtime_1.1.8-3.8 libpam-systemd_239-10+rpi1 libpam0g_1.1.8-3.8 libpcre3_2:8.39-11+rpi1 libperl5.26_5.26.2-7 libpipeline1_1.5.0-1 libplymouth4_0.9.3-3 libpng16-16_1.6.34-2+rpi1 libprocps7_2:3.3.15-2 libreadline7_7.0-5 libsasl2-2_2.1.27~rc8-1 libsasl2-modules-db_2.1.27~rc8-1 libseccomp2_2.3.3-3 libselinux1_2.8-1 libsemanage-common_2.8-1 libsemanage1_2.8-1 libsepol1_2.8-1 libsigsegv2_2.12-2 libsmartcols1_2.32.1-0.1 libsqlite3-0_3.25.2-1 libss2_1.44.4-2 libssl1.1_1.1.0h-4 libstdc++-8-dev_8.2.0-7+rpi1 libstdc++6_8.2.0-7+rpi1 libsystemd0_239-10+rpi1 libtasn1-6_4.13-3 libtext-charwidth-perl_0.04-7.1 libtext-iconv-perl_1.7-5+b9 libtext-wrapi18n-perl_0.06-7.1 libtinfo5_6.1+20180714-1 libtinfo6_6.1+20180714-1 libtool_2.4.6-6 libubsan1_8.2.0-7+rpi1 libudev1_239-10+rpi1 libunistring2_0.9.10-1 libuuid1_2.32.1-0.1 libxml2_2.9.4+dfsg1-7 libzstd1_1.3.5+dfsg-1+rpi1 linux-base_4.5 linux-libc-dev_4.16.16-2+rpi1 login_1:4.5-1.1 lsb-base_9.20170808+rpi1 m4_1.4.18-1 make_4.2.1-1.2 makedev_2.3.1-94 man-db_2.8.4-2+b1 mawk_1.3.3-17 mount_2.32.1-0.1 multiarch-support_2.27-6+rpi1 nano_3.1-1 ncurses-base_6.1+20180714-1 ncurses-bin_6.1+20180714-1 netbase_5.4 openssl_1.1.0h-4 passwd_1:4.5-1.1 patch_2.7.6-3 perl_5.26.2-7 perl-base_5.26.2-7 perl-modules-5.26_5.26.2-7 pinentry-curses_1.1.0-1 plymouth_0.9.3-3 po-debconf_1.0.20 procps_2:3.3.15-2 raspbian-archive-keyring_20120528.2 readline-common_7.0-5 sbuild-build-depends-core-dummy_0.invalid.0 sbuild-build-depends-patchelf-dummy_0.invalid.0 sed_4.5-1 sensible-utils_0.0.12 systemd_239-10+rpi1 systemd-sysv_239-10+rpi1 sysvinit-utils_2.88dsf-59.10 tar_1.30+dfsg-2 tzdata_2018e-1 udev_239-10+rpi1 util-linux_2.32.1-0.1 xz-utils_5.2.2-1.3 zlib1g_1:1.2.11.dfsg-1

+------------------------------------------------------------------------------+
| Build                                                                        |
+------------------------------------------------------------------------------+


Unpack source
-------------

gpgv: unknown type of key resource 'trustedkeys.kbx'
gpgv: keyblock resource '/sbuild-nonexistent/.gnupg/trustedkeys.kbx': General error
gpgv: Signature made Fri Sep 28 22:31:54 2018 UTC
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 /<<BUILDDIR>>/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: applying adjust_startPage_issue127_commit1cc234fea.patch

Check disc space
----------------

Sufficient free space for build

User Environment
----------------

APT_CONFIG=/var/lib/sbuild/apt.conf
DEB_BUILD_OPTIONS=parallel=4
HOME=/sbuild-nonexistent
LC_ALL=POSIX
LOGNAME=buildd
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
SCHROOT_ALIAS_NAME=buster-staging-armhf-sbuild
SCHROOT_CHROOT_NAME=buster-staging-armhf-sbuild
SCHROOT_COMMAND=env
SCHROOT_GID=109
SCHROOT_GROUP=buildd
SCHROOT_SESSION_ID=buster-staging-armhf-sbuild-762c0300-23bb-4b8a-ae8d-968439f3fe9b
SCHROOT_UID=104
SCHROOT_USER=buildd
SHELL=/bin/sh
TERM=linux
USER=buildd

dpkg-buildpackage
-----------------

dpkg-buildpackage: info: source package patchelf
dpkg-buildpackage: info: source version 0.9+52.20180509-1
dpkg-buildpackage: info: source distribution unstable
 dpkg-source --before-build patchelf-0.9+52.20180509
dpkg-buildpackage: info: host architecture armhf
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 '/<<BUILDDIR>>/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 '/<<BUILDDIR>>/patchelf-0.9+52.20180509'
   dh_clean
 debian/rules build-arch
dh build-arch
   dh_update_autotools_config -a
   dh_autoreconf -a
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 -a
	./configure --build=arm-linux-gnueabihf --prefix=/usr --includedir=\${prefix}/include --mandir=\${prefix}/share/man --infodir=\${prefix}/share/info --sysconfdir=/etc --localstatedir=/var --disable-silent-rules --libdir=\${prefix}/lib/arm-linux-gnueabihf --libexecdir=\${prefix}/lib/arm-linux-gnueabihf --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 '/<<BUILDDIR>>/patchelf-0.9+52.20180509'
mv src/elf.h src/elf.h.bak
dh_auto_build
	make -j4
make[2]: Entering directory '/<<BUILDDIR>>/patchelf-0.9+52.20180509'
Making all in src
make[3]: Entering directory '/<<BUILDDIR>>/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 -fdebug-prefix-map=/<<BUILDDIR>>/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<Elf_Ehdr, Elf_Phdr, Elf_Shdr, Elf_Addr, Elf_Off, Elf_Dyn, Elf_Sym, Elf_Verneed>::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<Elf_Ehdr, Elf_Phdr, Elf_Shdr, Elf_Addr, Elf_Off, Elf_Dyn, Elf_Sym, Elf_Verneed>::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<Elf64_Ehdr, Elf64_Phdr, Elf64_Shdr, long long unsigned int, long long unsigned int, Elf64_Dyn, Elf64_Sym, Elf64_Verneed>; std::__cxx11::string = std::__cxx11::basic_string<char>]'
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);
            ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/8/vector:69,
                 from patchelf.cc:20:
/usr/include/c++/8/bits/vector.tcc: In member function 'void std::vector<_Tp, _Alloc>::_M_realloc_insert(std::vector<_Tp, _Alloc>::iterator, _Args&& ...) [with _Args = {const Elf64_Phdr&}; _Tp = Elf64_Phdr; _Alloc = std::allocator<Elf64_Phdr>]':
/usr/include/c++/8/bits/vector.tcc:413:7: note: parameter passing for argument of type 'std::vector<Elf64_Phdr, std::allocator<Elf64_Phdr> >::iterator' {aka '__gnu_cxx::__normal_iterator<Elf64_Phdr*, std::vector<Elf64_Phdr, std::allocator<Elf64_Phdr> > >'} changed in GCC 7.1
       vector<_Tp, _Alloc>::
       ^~~~~~~~~~~~~~~~~~~
/usr/include/c++/8/bits/vector.tcc: In member function 'void std::vector<_Tp, _Alloc>::_M_realloc_insert(std::vector<_Tp, _Alloc>::iterator, _Args&& ...) [with _Args = {const Elf64_Shdr&}; _Tp = Elf64_Shdr; _Alloc = std::allocator<Elf64_Shdr>]':
/usr/include/c++/8/bits/vector.tcc:413:7: note: parameter passing for argument of type 'std::vector<Elf64_Shdr, std::allocator<Elf64_Shdr> >::iterator' {aka '__gnu_cxx::__normal_iterator<Elf64_Shdr*, std::vector<Elf64_Shdr, std::allocator<Elf64_Shdr> > >'} changed in GCC 7.1
In file included from /usr/include/c++/8/vector:64,
                 from patchelf.cc:20:
/usr/include/c++/8/bits/stl_vector.h: In constructor 'ElfFile<Elf_Ehdr, Elf_Phdr, Elf_Shdr, Elf_Addr, Elf_Off, Elf_Dyn, Elf_Sym, Elf_Verneed>::ElfFile(FileContents) [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]':
/usr/include/c++/8/bits/stl_vector.h:1085:4: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator<Elf64_Phdr*, std::vector<Elf64_Phdr, std::allocator<Elf64_Phdr> > >' changed in GCC 7.1
    _M_realloc_insert(end(), __x);
    ^~~~~~~~~~~~~~~~~
/usr/include/c++/8/bits/stl_vector.h:1085:4: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator<Elf64_Shdr*, std::vector<Elf64_Shdr, std::allocator<Elf64_Shdr> > >' changed in GCC 7.1
    _M_realloc_insert(end(), __x);
    ^~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/8/algorithm:62,
                 from patchelf.cc:23:
/usr/include/c++/8/bits/stl_algo.h: In function 'void std::__unguarded_linear_insert(_RandomAccessIterator, _Compare) [with _RandomAccessIterator = __gnu_cxx::__normal_iterator<Elf64_Shdr*, std::vector<Elf64_Shdr, std::allocator<Elf64_Shdr> > >; _Compare = __gnu_cxx::__ops::_Val_comp_iter<ElfFile<Elf64_Ehdr, Elf64_Phdr, Elf64_Shdr, long long unsigned int, long long unsigned int, Elf64_Dyn, Elf64_Sym, Elf64_Verneed>::CompShdr>]':
/usr/include/c++/8/bits/stl_algo.h:1821:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator<Elf64_Shdr*, std::vector<Elf64_Shdr, std::allocator<Elf64_Shdr> > >' changed in GCC 7.1
     __unguarded_linear_insert(_RandomAccessIterator __last,
     ^~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/c++/8/bits/stl_algo.h: In function 'void std::__insertion_sort(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = __gnu_cxx::__normal_iterator<Elf64_Shdr*, std::vector<Elf64_Shdr, std::allocator<Elf64_Shdr> > >; _Compare = __gnu_cxx::__ops::_Iter_comp_iter<ElfFile<Elf64_Ehdr, Elf64_Phdr, Elf64_Shdr, long long unsigned int, long long unsigned int, Elf64_Dyn, Elf64_Sym, Elf64_Verneed>::CompShdr>]':
/usr/include/c++/8/bits/stl_algo.h:1840:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator<Elf64_Shdr*, std::vector<Elf64_Shdr, std::allocator<Elf64_Shdr> > >' changed in GCC 7.1
     __insertion_sort(_RandomAccessIterator __first,
     ^~~~~~~~~~~~~~~~
/usr/include/c++/8/bits/stl_algo.h:1840:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator<Elf64_Shdr*, std::vector<Elf64_Shdr, std::allocator<Elf64_Shdr> > >' changed in GCC 7.1
/usr/include/c++/8/bits/stl_algo.h: In function 'void std::__unguarded_linear_insert(_RandomAccessIterator, _Compare) [with _RandomAccessIterator = __gnu_cxx::__normal_iterator<Elf64_Phdr*, std::vector<Elf64_Phdr, std::allocator<Elf64_Phdr> > >; _Compare = __gnu_cxx::__ops::_Val_comp_iter<ElfFile<Elf64_Ehdr, Elf64_Phdr, Elf64_Shdr, long long unsigned int, long long unsigned int, Elf64_Dyn, Elf64_Sym, Elf64_Verneed>::CompPhdr>]':
/usr/include/c++/8/bits/stl_algo.h:1821:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator<Elf64_Phdr*, std::vector<Elf64_Phdr, std::allocator<Elf64_Phdr> > >' changed in GCC 7.1
     __unguarded_linear_insert(_RandomAccessIterator __last,
     ^~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/c++/8/bits/stl_algo.h: In function 'void std::__insertion_sort(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = __gnu_cxx::__normal_iterator<Elf64_Phdr*, std::vector<Elf64_Phdr, std::allocator<Elf64_Phdr> > >; _Compare = __gnu_cxx::__ops::_Iter_comp_iter<ElfFile<Elf64_Ehdr, Elf64_Phdr, Elf64_Shdr, long long unsigned int, long long unsigned int, Elf64_Dyn, Elf64_Sym, Elf64_Verneed>::CompPhdr>]':
/usr/include/c++/8/bits/stl_algo.h:1840:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator<Elf64_Phdr*, std::vector<Elf64_Phdr, std::allocator<Elf64_Phdr> > >' changed in GCC 7.1
     __insertion_sort(_RandomAccessIterator __first,
     ^~~~~~~~~~~~~~~~
/usr/include/c++/8/bits/stl_algo.h:1840:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator<Elf64_Phdr*, std::vector<Elf64_Phdr, std::allocator<Elf64_Phdr> > >' changed in GCC 7.1
In file included from /usr/include/c++/8/bits/stl_algo.h:61,
                 from /usr/include/c++/8/algorithm:62,
                 from patchelf.cc:23:
/usr/include/c++/8/bits/stl_heap.h: In function 'void std::__adjust_heap(_RandomAccessIterator, _Distance, _Distance, _Tp, _Compare) [with _RandomAccessIterator = __gnu_cxx::__normal_iterator<Elf64_Shdr*, std::vector<Elf64_Shdr, std::allocator<Elf64_Shdr> > >; _Distance = int; _Tp = Elf64_Shdr; _Compare = __gnu_cxx::__ops::_Iter_comp_iter<ElfFile<Elf64_Ehdr, Elf64_Phdr, Elf64_Shdr, long long unsigned int, long long unsigned int, Elf64_Dyn, Elf64_Sym, Elf64_Verneed>::CompShdr>]':
/usr/include/c++/8/bits/stl_heap.h:214:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator<Elf64_Shdr*, std::vector<Elf64_Shdr, std::allocator<Elf64_Shdr> > >' changed in GCC 7.1
     __adjust_heap(_RandomAccessIterator __first, _Distance __holeIndex,
     ^~~~~~~~~~~~~
In file included from /usr/include/c++/8/algorithm:62,
                 from patchelf.cc:23:
/usr/include/c++/8/bits/stl_algo.h: In function 'void std::__heap_select(_RandomAccessIterator, _RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = __gnu_cxx::__normal_iterator<Elf64_Shdr*, std::vector<Elf64_Shdr, std::allocator<Elf64_Shdr> > >; _Compare = __gnu_cxx::__ops::_Iter_comp_iter<ElfFile<Elf64_Ehdr, Elf64_Phdr, Elf64_Shdr, long long unsigned int, long long unsigned int, Elf64_Dyn, Elf64_Sym, Elf64_Verneed>::CompShdr>]':
/usr/include/c++/8/bits/stl_algo.h:1668:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator<Elf64_Shdr*, std::vector<Elf64_Shdr, std::allocator<Elf64_Shdr> > >' changed in GCC 7.1
     __heap_select(_RandomAccessIterator __first,
     ^~~~~~~~~~~~~
/usr/include/c++/8/bits/stl_algo.h:1668:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator<Elf64_Shdr*, std::vector<Elf64_Shdr, std::allocator<Elf64_Shdr> > >' changed in GCC 7.1
/usr/include/c++/8/bits/stl_algo.h:1668:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator<Elf64_Shdr*, std::vector<Elf64_Shdr, std::allocator<Elf64_Shdr> > >' changed in GCC 7.1
/usr/include/c++/8/bits/stl_algo.h: In function 'void std::__introsort_loop(_RandomAccessIterator, _RandomAccessIterator, _Size, _Compare) [with _RandomAccessIterator = __gnu_cxx::__normal_iterator<Elf64_Shdr*, std::vector<Elf64_Shdr, std::allocator<Elf64_Shdr> > >; _Size = int; _Compare = __gnu_cxx::__ops::_Iter_comp_iter<ElfFile<Elf64_Ehdr, Elf64_Phdr, Elf64_Shdr, long long unsigned int, long long unsigned int, Elf64_Dyn, Elf64_Sym, Elf64_Verneed>::CompShdr>]':
/usr/include/c++/8/bits/stl_algo.h:1940:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator<Elf64_Shdr*, std::vector<Elf64_Shdr, std::allocator<Elf64_Shdr> > >' changed in GCC 7.1
     __introsort_loop(_RandomAccessIterator __first,
     ^~~~~~~~~~~~~~~~
/usr/include/c++/8/bits/stl_algo.h:1940:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator<Elf64_Shdr*, std::vector<Elf64_Shdr, std::allocator<Elf64_Shdr> > >' changed in GCC 7.1
/usr/include/c++/8/bits/stl_algo.h:1954:25: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator<Elf64_Shdr*, std::vector<Elf64_Shdr, std::allocator<Elf64_Shdr> > >' changed in GCC 7.1
    std::__introsort_loop(__cut, __last, __depth_limit, __comp);
    ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/c++/8/bits/stl_algo.h:1933:25: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator<Elf64_Shdr*, std::vector<Elf64_Shdr, std::allocator<Elf64_Shdr> > >' changed in GCC 7.1
       std::__heap_select(__first, __middle, __last, __comp);
       ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/c++/8/bits/stl_algo.h: In member function 'void ElfFile<Elf_Ehdr, Elf_Phdr, Elf_Shdr, Elf_Addr, Elf_Off, Elf_Dyn, Elf_Sym, Elf_Verneed>::sortShdrs() [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]':
/usr/include/c++/8/bits/stl_algo.h:1968:25: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator<Elf64_Shdr*, std::vector<Elf64_Shdr, std::allocator<Elf64_Shdr> > >' changed in GCC 7.1
    std::__introsort_loop(__first, __last,
    ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~
     std::__lg(__last - __first) * 2,
     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     __comp);
     ~~~~~~~              
/usr/include/c++/8/bits/stl_algo.h:1885:25: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator<Elf64_Shdr*, std::vector<Elf64_Shdr, std::allocator<Elf64_Shdr> > >' changed in GCC 7.1
    std::__insertion_sort(__first, __first + int(_S_threshold), __comp);
    ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/c++/8/bits/stl_algo.h:1890:23: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator<Elf64_Shdr*, std::vector<Elf64_Shdr, std::allocator<Elf64_Shdr> > >' changed in GCC 7.1
  std::__insertion_sort(__first, __last, __comp);
  ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/8/bits/stl_algo.h:61,
                 from /usr/include/c++/8/algorithm:62,
                 from patchelf.cc:23:
/usr/include/c++/8/bits/stl_heap.h: In function 'void std::__adjust_heap(_RandomAccessIterator, _Distance, _Distance, _Tp, _Compare) [with _RandomAccessIterator = __gnu_cxx::__normal_iterator<Elf64_Phdr*, std::vector<Elf64_Phdr, std::allocator<Elf64_Phdr> > >; _Distance = int; _Tp = Elf64_Phdr; _Compare = __gnu_cxx::__ops::_Iter_comp_iter<ElfFile<Elf64_Ehdr, Elf64_Phdr, Elf64_Shdr, long long unsigned int, long long unsigned int, Elf64_Dyn, Elf64_Sym, Elf64_Verneed>::CompPhdr>]':
/usr/include/c++/8/bits/stl_heap.h:214:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator<Elf64_Phdr*, std::vector<Elf64_Phdr, std::allocator<Elf64_Phdr> > >' changed in GCC 7.1
     __adjust_heap(_RandomAccessIterator __first, _Distance __holeIndex,
     ^~~~~~~~~~~~~
In file included from /usr/include/c++/8/algorithm:62,
                 from patchelf.cc:23:
/usr/include/c++/8/bits/stl_algo.h: In function 'void std::__heap_select(_RandomAccessIterator, _RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = __gnu_cxx::__normal_iterator<Elf64_Phdr*, std::vector<Elf64_Phdr, std::allocator<Elf64_Phdr> > >; _Compare = __gnu_cxx::__ops::_Iter_comp_iter<ElfFile<Elf64_Ehdr, Elf64_Phdr, Elf64_Shdr, long long unsigned int, long long unsigned int, Elf64_Dyn, Elf64_Sym, Elf64_Verneed>::CompPhdr>]':
/usr/include/c++/8/bits/stl_algo.h:1668:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator<Elf64_Phdr*, std::vector<Elf64_Phdr, std::allocator<Elf64_Phdr> > >' changed in GCC 7.1
     __heap_select(_RandomAccessIterator __first,
     ^~~~~~~~~~~~~
/usr/include/c++/8/bits/stl_algo.h:1668:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator<Elf64_Phdr*, std::vector<Elf64_Phdr, std::allocator<Elf64_Phdr> > >' changed in GCC 7.1
/usr/include/c++/8/bits/stl_algo.h:1668:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator<Elf64_Phdr*, std::vector<Elf64_Phdr, std::allocator<Elf64_Phdr> > >' changed in GCC 7.1
/usr/include/c++/8/bits/stl_algo.h: In function 'void std::__introsort_loop(_RandomAccessIterator, _RandomAccessIterator, _Size, _Compare) [with _RandomAccessIterator = __gnu_cxx::__normal_iterator<Elf64_Phdr*, std::vector<Elf64_Phdr, std::allocator<Elf64_Phdr> > >; _Size = int; _Compare = __gnu_cxx::__ops::_Iter_comp_iter<ElfFile<Elf64_Ehdr, Elf64_Phdr, Elf64_Shdr, long long unsigned int, long long unsigned int, Elf64_Dyn, Elf64_Sym, Elf64_Verneed>::CompPhdr>]':
/usr/include/c++/8/bits/stl_algo.h:1940:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator<Elf64_Phdr*, std::vector<Elf64_Phdr, std::allocator<Elf64_Phdr> > >' changed in GCC 7.1
     __introsort_loop(_RandomAccessIterator __first,
     ^~~~~~~~~~~~~~~~
/usr/include/c++/8/bits/stl_algo.h:1940:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator<Elf64_Phdr*, std::vector<Elf64_Phdr, std::allocator<Elf64_Phdr> > >' changed in GCC 7.1
/usr/include/c++/8/bits/stl_algo.h:1954:25: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator<Elf64_Phdr*, std::vector<Elf64_Phdr, std::allocator<Elf64_Phdr> > >' changed in GCC 7.1
    std::__introsort_loop(__cut, __last, __depth_limit, __comp);
    ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/c++/8/bits/stl_algo.h:1933:25: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator<Elf64_Phdr*, std::vector<Elf64_Phdr, std::allocator<Elf64_Phdr> > >' changed in GCC 7.1
       std::__heap_select(__first, __middle, __last, __comp);
       ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/c++/8/bits/stl_algo.h: In member function 'void ElfFile<Elf_Ehdr, Elf_Phdr, Elf_Shdr, Elf_Addr, Elf_Off, Elf_Dyn, Elf_Sym, Elf_Verneed>::rewriteHeaders(Elf_Addr) [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]':
/usr/include/c++/8/bits/stl_algo.h:1968:25: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator<Elf64_Phdr*, std::vector<Elf64_Phdr, std::allocator<Elf64_Phdr> > >' changed in GCC 7.1
    std::__introsort_loop(__first, __last,
    ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~
     std::__lg(__last - __first) * 2,
     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     __comp);
     ~~~~~~~              
/usr/include/c++/8/bits/stl_algo.h:1885:25: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator<Elf64_Phdr*, std::vector<Elf64_Phdr, std::allocator<Elf64_Phdr> > >' changed in GCC 7.1
    std::__insertion_sort(__first, __first + int(_S_threshold), __comp);
    ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/c++/8/bits/stl_algo.h:1890:23: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator<Elf64_Phdr*, std::vector<Elf64_Phdr, std::allocator<Elf64_Phdr> > >' changed in GCC 7.1
  std::__insertion_sort(__first, __last, __comp);
  ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
g++ -Wall -std=c++11 -D_FILE_OFFSET_BITS=64 -g -O2 -fdebug-prefix-map=/<<BUILDDIR>>/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 '/<<BUILDDIR>>/patchelf-0.9+52.20180509/src'
Making all in tests
make[3]: Entering directory '/<<BUILDDIR>>/patchelf-0.9+52.20180509/tests'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/<<BUILDDIR>>/patchelf-0.9+52.20180509/tests'
make[3]: Entering directory '/<<BUILDDIR>>/patchelf-0.9+52.20180509'
make[3]: Nothing to be done for 'all-am'.
make[3]: Leaving directory '/<<BUILDDIR>>/patchelf-0.9+52.20180509'
make[2]: Leaving directory '/<<BUILDDIR>>/patchelf-0.9+52.20180509'
make[1]: Leaving directory '/<<BUILDDIR>>/patchelf-0.9+52.20180509'
   dh_auto_test -a
	make -j4 check VERBOSE=1
make[1]: Entering directory '/<<BUILDDIR>>/patchelf-0.9+52.20180509'
Making check in src
make[2]: Entering directory '/<<BUILDDIR>>/patchelf-0.9+52.20180509/src'
make[2]: Nothing to be done for 'check'.
make[2]: Leaving directory '/<<BUILDDIR>>/patchelf-0.9+52.20180509/src'
Making check in tests
make[2]: Entering directory '/<<BUILDDIR>>/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 '/<<BUILDDIR>>/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 -fdebug-prefix-map=/<<BUILDDIR>>/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 -fdebug-prefix-map=/<<BUILDDIR>>/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 -fdebug-prefix-map=/<<BUILDDIR>>/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 -fdebug-prefix-map=/<<BUILDDIR>>/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 -fdebug-prefix-map=/<<BUILDDIR>>/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
for i in $(seq 1 2000); do echo "void f$i(void) { };" >> big-dynstr.c; done
gcc -DPACKAGE_NAME=\"patchelf\" -DPACKAGE_TARNAME=\"patchelf\" -DPACKAGE_VERSION=\"0.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 -fdebug-prefix-map=/<<BUILDDIR>>/patchelf-0.9+52.20180509=. -fstack-protector-strong -Wformat -Werror=format-security -c -o simple.o simple.c
gcc  -g -O2 -fdebug-prefix-map=/<<BUILDDIR>>/patchelf-0.9+52.20180509=. -fstack-protector-strong -Wformat -Werror=format-security  -Wl,-z,relro -Wl,-z,now -o simple simple-simple.o  
gcc -fpic -g -O2 -fdebug-prefix-map=/<<BUILDDIR>>/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 -fdebug-prefix-map=/<<BUILDDIR>>/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 -fdebug-prefix-map=/<<BUILDDIR>>/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 -fdebug-prefix-map=/<<BUILDDIR>>/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  
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 -fdebug-prefix-map=/<<BUILDDIR>>/patchelf-0.9+52.20180509=. -fstack-protector-strong -Wformat -Werror=format-security -c -o big-dynstr.o big-dynstr.c
make[3]: 'libbar.so' is up to date.
make[3]: 'libbar-scoped.so' is up to date.
gcc -fpic -g -O2 -fdebug-prefix-map=/<<BUILDDIR>>/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  
gcc -fpic -g -O2 -fdebug-prefix-map=/<<BUILDDIR>>/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.
make[3]: 'libfoo-scoped.so' is up to date.
gcc -fpic -g -O2 -fdebug-prefix-map=/<<BUILDDIR>>/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  
gcc -fpic -g -O2 -fdebug-prefix-map=/<<BUILDDIR>>/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 -fdebug-prefix-map=/<<BUILDDIR>>/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 '/<<BUILDDIR>>/patchelf-0.9+52.20180509/tests'
make  check-TESTS
make[3]: Entering directory '/<<BUILDDIR>>/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: /<<BUILDDIR>>/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 '/<<BUILDDIR>>/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-armhf.so.3
patching ELF file 'scratch/set-interpreter-short/simple'
Kernel page size is 4096 bytes
replacing section '.interp' with size 6
this is an executable
using replaced section '.interp'
last replaced is 1
looking at section '.interp'
first reserved offset/addr is 0x170/0x10170
first page is 0x10000
needed space is 348
clearing first 28 bytes
rewriting section '.interp' from offset 0x154 (size 25) to offset 0x154 (size 6)
rewriting symbol table section 5
rewriting symbol table section 34
running with missing interpreter...
./set-interpreter-short.sh: 16: ./set-interpreter-short.sh: scratch/set-interpreter-short/simple: not found
PASS: set-interpreter-short.sh
Hello World
Kernel page size is 4096 bytes
current interpreter is /lib/ld-linux-armhf.so.3
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 184
this is an executable
using replaced section '.interp'
last replaced is 1
looking at section '.interp'
first reserved offset/addr is 0x170/0x10170
first page is 0x10000
needed space is 524
needed space is 556
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 4092 bytes
rewriting section '.interp' from offset 0x1154 (size 25) to offset 0x174 (size 184)
rewriting symbol table section 5
rewriting symbol table section 34
running with missing interpreter...
./set-interpreter-long.sh: 22: ./set-interpreter-long.sh: scratch/set-interpreter-long/simple: not found
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:/<<BUILDDIR>>/patchelf-0.9+52.20180509/tests/scratch/set-rpath/libsA:/<<BUILDDIR>>/patchelf-0.9+52.20180509/tests/scratch/set-rpath/libsB'
rpath is too long, resizing...
DT_NULL index is 26
replacing section '.dynamic' with size 264
replacing section '.dynstr' with size 320
this is an executable
using replaced section '.dynstr'
using replaced section '.dynamic'
last replaced is 20
looking at section '.interp'
replacing section '.interp' which is in the way
looking at section '.note.ABI-tag'
replacing section '.note.ABI-tag' which is in the way
looking at section '.note.gnu.build-id'
replacing section '.note.gnu.build-id' which is in the way
looking at section '.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 0x342/0x10342
first page is 0x10000
needed space is 1260
needed space is 1292
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 4558 bytes
rewriting section '.dynamic' from offset 0x1ed8 (size 256) to offset 0x174 (size 264)
rewriting section '.dynstr' from offset 0x12a4 (size 158) to offset 0x27c (size 320)
rewriting section '.dynsym' from offset 0x11f4 (size 176) to offset 0x3bc (size 176)
rewriting section '.gnu.hash' from offset 0x11b4 (size 64) to offset 0x46c (size 64)
rewriting section '.interp' from offset 0x1154 (size 25) to offset 0x4ac (size 25)
rewriting section '.note.ABI-tag' from offset 0x1170 (size 32) to offset 0x4c8 (size 32)
rewriting section '.note.gnu.build-id' from offset 0x1190 (size 36) to offset 0x4e8 (size 36)
rewriting symbol table section 3
rewriting symbol table section 34
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 25
replacing section '.dynamic' with size 256
replacing section '.dynstr' with size 92
replacing section '.interp' with size 25
this is an executable
using replaced section '.interp'
using replaced section '.dynstr'
using replaced section '.dynamic'
last replaced is 20
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 '.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/0x10272
first page is 0x10000
needed space is 908
needed space is 940
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 4350 bytes
rewriting section '.dynamic' from offset 0x1ee8 (size 248) to offset 0x174 (size 256)
rewriting section '.dynstr' from offset 0x1230 (size 65) to offset 0x274 (size 92)
rewriting section '.dynsym' from offset 0x11e0 (size 80) to offset 0x2d0 (size 80)
rewriting section '.gnu.hash' from offset 0x11b4 (size 44) to offset 0x320 (size 44)
rewriting section '.interp' from offset 0x1154 (size 25) to offset 0x34c (size 25)
rewriting section '.note.ABI-tag' from offset 0x1170 (size 32) to offset 0x368 (size 32)
rewriting section '.note.gnu.build-id' from offset 0x1190 (size 36) to offset 0x388 (size 36)
rewriting symbol table section 3
rewriting symbol table section 34
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:/<<BUILDDIR>>/patchelf-0.9+52.20180509/tests/scratch/big-dynstr/libsA:/<<BUILDDIR>>/patchelf-0.9+52.20180509/tests/scratch/big-dynstr/libsB'
rpath is too long, resizing...
DT_NULL index is 26
replacing section '.dynamic' with size 264
replacing section '.dynstr' with size 322
this is an executable
using replaced section '.dynstr'
using replaced section '.dynamic'
last replaced is 20
looking at section '.interp'
replacing section '.interp' which is in the way
looking at section '.note.ABI-tag'
replacing section '.note.ABI-tag' which is in the way
looking at section '.note.gnu.build-id'
replacing section '.note.gnu.build-id' which is in the way
looking at section '.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 0x342/0x10342
first page is 0x10000
needed space is 1264
needed space is 1296
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 4558 bytes
rewriting section '.dynamic' from offset 0x3ed8 (size 256) to offset 0x174 (size 264)
rewriting section '.dynstr' from offset 0x12a4 (size 158) to offset 0x27c (size 322)
rewriting section '.dynsym' from offset 0x11f4 (size 176) to offset 0x3c0 (size 176)
rewriting section '.gnu.hash' from offset 0x11b4 (size 64) to offset 0x470 (size 64)
rewriting section '.interp' from offset 0x1154 (size 25) to offset 0x4b0 (size 25)
rewriting section '.note.ABI-tag' from offset 0x1170 (size 32) to offset 0x4cc (size 32)
rewriting section '.note.gnu.build-id' from offset 0x1190 (size 36) to offset 0x4ec (size 36)
rewriting symbol table section 3
rewriting symbol table section 34
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:/<<BUILDDIR>>/patchelf-0.9+52.20180509/tests/scratch/set-rpath-library/libsA:/<<BUILDDIR>>/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 264
replacing section '.dynstr' with size 343
this is an executable
using replaced section '.dynstr'
using replaced section '.dynamic'
last replaced is 20
looking at section '.interp'
replacing section '.interp' which is in the way
looking at section '.note.ABI-tag'
replacing section '.note.ABI-tag' which is in the way
looking at section '.note.gnu.build-id'
replacing section '.note.gnu.build-id' which is in the way
looking at section '.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 0x34a/0x1034a
first page is 0x10000
needed space is 1284
needed space is 1316
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 4566 bytes
rewriting section '.dynamic' from offset 0x1ed8 (size 256) to offset 0x174 (size 264)
rewriting section '.dynstr' from offset 0x12a4 (size 165) to offset 0x27c (size 343)
rewriting section '.dynsym' from offset 0x11f4 (size 176) to offset 0x3d4 (size 176)
rewriting section '.gnu.hash' from offset 0x11b4 (size 64) to offset 0x484 (size 64)
rewriting section '.interp' from offset 0x1154 (size 25) to offset 0x4c4 (size 25)
rewriting section '.note.ABI-tag' from offset 0x1170 (size 32) to offset 0x4e0 (size 32)
rewriting section '.note.gnu.build-id' from offset 0x1190 (size 36) to offset 0x500 (size 36)
rewriting symbol table section 3
rewriting symbol table section 34
./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:/<<BUILDDIR>>/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 265
this is a dynamic library
last page is 0x12000
needed space is 22359920
rewriting section '.dynamic' from offset 0xedc (size 248) to offset 0x3000 (size 256)
rewriting section '.dynstr' from offset 0x258 (size 173) to offset 0x3100 (size 265)
rewriting section '.note.gnu.build-id' from offset 0x134 (size 36) to offset 0x320c (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 '/<<BUILDDIR>>/patchelf-0.9+52.20180509/tests/scratch/set-rpath-library/libsB' from RPATH
new rpath is '/<<BUILDDIR>>/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 0x1012000
needed space is 13138768
rewriting section '.dynamic' from offset 0xee8 (size 240) to offset 0x3000 (size 248)
rewriting section '.dynstr' from offset 0x208 (size 131) to offset 0x30f8 (size 148)
rewriting section '.note.gnu.build-id' from offset 0xf4 (size 36) to offset 0x318c (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 0x1013000
needed space is 6264648
rewriting section '.dynstr' from offset 0x30f8 (size 148) to offset 0x4000 (size 165)
rewriting section '.gnu.hash' from offset 0x118 (size 48) to offset 0x40a8 (size 48)
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:/<<BUILDDIR>>/patchelf-0.9+52.20180509/tests/scratch/shrink-rpath-with-allowed-prefixes/libsA:/<<BUILDDIR>>/patchelf-0.9+52.20180509/tests/scratch/shrink-rpath-with-allowed-prefixes/libsB'
rpath is too long, resizing...
DT_NULL index is 26
replacing section '.dynamic' with size 264
replacing section '.dynstr' with size 370
this is an executable
using replaced section '.dynstr'
using replaced section '.dynamic'
last replaced is 20
looking at section '.interp'
replacing section '.interp' which is in the way
looking at section '.note.ABI-tag'
replacing section '.note.ABI-tag' which is in the way
looking at section '.note.gnu.build-id'
replacing section '.note.gnu.build-id' which is in the way
looking at section '.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 0x342/0x10342
first page is 0x10000
needed space is 1312
needed space is 1344
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 4558 bytes
rewriting section '.dynamic' from offset 0x1ed8 (size 256) to offset 0x174 (size 264)
rewriting section '.dynstr' from offset 0x12a4 (size 158) to offset 0x27c (size 370)
rewriting section '.dynsym' from offset 0x11f4 (size 176) to offset 0x3f0 (size 176)
rewriting section '.gnu.hash' from offset 0x11b4 (size 64) to offset 0x4a0 (size 64)
rewriting section '.interp' from offset 0x1154 (size 25) to offset 0x4e0 (size 25)
rewriting section '.note.ABI-tag' from offset 0x1170 (size 32) to offset 0x4fc (size 32)
rewriting section '.note.gnu.build-id' from offset 0x1190 (size 36) to offset 0x51c (size 36)
rewriting symbol table section 3
rewriting symbol table section 34
patching ELF file 'scratch/shrink-rpath-with-allowed-prefixes/main'
Kernel page size is 4096 bytes
removing directory '/oops' from RPATH
removing directory '/<<BUILDDIR>>/patchelf-0.9+52.20180509/tests/scratch/shrink-rpath-with-allowed-prefixes/libsB' from RPATH
new rpath is '/<<BUILDDIR>>/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 '/<<BUILDDIR>>/patchelf-0.9+52.20180509/tests/scratch/shrink-rpath-with-allowed-prefixes/libsB' from RPATH because of non-allowed prefix
new rpath is '/<<BUILDDIR>>/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 '/<<BUILDDIR>>/patchelf-0.9+52.20180509/tests/scratch/shrink-rpath-with-allowed-prefixes/libsA' from RPATH because of non-allowed prefix
new rpath is '/<<BUILDDIR>>/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: /<<BUILDDIR>>/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: /<<BUILDDIR>>/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: /<<BUILDDIR>>/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-armhf.so.3 --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 25
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 1368
needed space is 1424
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 568 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-armhf.so.3 --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 25
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 908
needed space is 940
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 25)
rewriting section '.note.ABI-tag' from offset 0x1148 (size 32) to offset 0x368 (size 32)
rewriting section '.note.gnu.build-id' from offset 0x1168 (size 36) to offset 0x388 (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-armhf.so.3 --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 25
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 908
needed space is 940
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 25)
rewriting section '.note.ABI-tag' from offset 0x1150 (size 32) to offset 0x368 (size 32)
rewriting section '.note.gnu.build-id' from offset 0x1170 (size 36) to offset 0x388 (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-armhf.so.3 --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 25
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 908
needed space is 940
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 25)
rewriting section '.note.ABI-tag' from offset 0x1148 (size 32) to offset 0x368 (size 32)
rewriting section '.note.gnu.build-id' from offset 0x1168 (size 36) to offset 0x388 (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-armhf.so.3 --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 25
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 908
needed space is 940
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 25)
rewriting section '.note.ABI-tag' from offset 0x1148 (size 32) to offset 0x368 (size 32)
rewriting section '.note.gnu.build-id' from offset 0x1168 (size 36) to offset 0x388 (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-armhf.so.3 --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 25
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 1336
needed space is 1392
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 568 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
+ grep -q /foo:/bar
+ echo /foo:/bar:/xxxxxxxxxxxxxxx
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-armhf.so.3 --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 25
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 1368
needed space is 1424
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 568 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-armhf.so.3 --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 25
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 908
needed space is 940
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 25)
rewriting section '.note.ABI-tag' from offset 0x1148 (size 32) to offset 0x368 (size 32)
rewriting section '.note.gnu.build-id' from offset 0x1168 (size 36) to offset 0x388 (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-armhf.so.3 --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 25
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 1116
needed space is 1148
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 25)
rewriting section '.note.ABI-tag' from offset 0x1164 (size 32) to offset 0x420 (size 32)
rewriting section '.note.gnu.build-id' from offset 0x119c (size 36) to offset 0x440 (size 36)
rewriting section '.reginfo' from offset 0x1184 (size 24) to offset 0x464 (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-armhf.so.3 --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 25
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 1116
needed space is 1148
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 25)
rewriting section '.note.ABI-tag' from offset 0x1164 (size 32) to offset 0x420 (size 32)
rewriting section '.note.gnu.build-id' from offset 0x119c (size 36) to offset 0x440 (size 36)
rewriting section '.reginfo' from offset 0x1184 (size 24) to offset 0x464 (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-armhf.so.3 --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 25
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 884
needed space is 916
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 25)
rewriting section '.note.ABI-tag' from offset 0x1144 (size 32) to offset 0x350 (size 32)
rewriting section '.note.gnu.build-id' from offset 0x1164 (size 36) to offset 0x370 (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-armhf.so.3 --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 25
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 888
needed space is 920
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 25)
rewriting section '.note.ABI-tag' from offset 0x1144 (size 32) to offset 0x354 (size 32)
rewriting section '.note.gnu.build-id' from offset 0x1164 (size 36) to offset 0x374 (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-armhf.so.3 --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 25
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 828
needed space is 860
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 25)
rewriting section '.note.gnu.build-id' from offset 0x1148 (size 36) to offset 0x338 (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-armhf.so.3 --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 25
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 804
needed space is 836
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 25)
rewriting section '.note.ABI-tag' from offset 0x1128 (size 32) to offset 0x300 (size 32)
rewriting section '.note.gnu.build-id' from offset 0x1148 (size 36) to offset 0x320 (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 '/<<BUILDDIR>>/patchelf-0.9+52.20180509/tests'
make[2]: Leaving directory '/<<BUILDDIR>>/patchelf-0.9+52.20180509/tests'
make[2]: Entering directory '/<<BUILDDIR>>/patchelf-0.9+52.20180509'
make[2]: Nothing to be done for 'check-am'.
make[2]: Leaving directory '/<<BUILDDIR>>/patchelf-0.9+52.20180509'
make[1]: Leaving directory '/<<BUILDDIR>>/patchelf-0.9+52.20180509'
   create-stamp debian/debhelper-build-stamp
 fakeroot debian/rules binary-arch
dh binary-arch
   dh_testroot -a
   dh_prep -a
   dh_auto_install -a
	make -j4 install DESTDIR=/<<BUILDDIR>>/patchelf-0.9\+52.20180509/debian/patchelf AM_UPDATE_INFO_DIR=no
make[1]: Entering directory '/<<BUILDDIR>>/patchelf-0.9+52.20180509'
Making install in src
make[2]: Entering directory '/<<BUILDDIR>>/patchelf-0.9+52.20180509/src'
make[3]: Entering directory '/<<BUILDDIR>>/patchelf-0.9+52.20180509/src'
make[3]: Nothing to be done for 'install-data-am'.
 /bin/mkdir -p '/<<BUILDDIR>>/patchelf-0.9+52.20180509/debian/patchelf/usr/bin'
  /usr/bin/install -c patchelf '/<<BUILDDIR>>/patchelf-0.9+52.20180509/debian/patchelf/usr/bin'
make[3]: Leaving directory '/<<BUILDDIR>>/patchelf-0.9+52.20180509/src'
make[2]: Leaving directory '/<<BUILDDIR>>/patchelf-0.9+52.20180509/src'
Making install in tests
make[2]: Entering directory '/<<BUILDDIR>>/patchelf-0.9+52.20180509/tests'
make[3]: Entering directory '/<<BUILDDIR>>/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 '/<<BUILDDIR>>/patchelf-0.9+52.20180509/tests'
make[2]: Leaving directory '/<<BUILDDIR>>/patchelf-0.9+52.20180509/tests'
make[2]: Entering directory '/<<BUILDDIR>>/patchelf-0.9+52.20180509'
make[3]: Entering directory '/<<BUILDDIR>>/patchelf-0.9+52.20180509'
make[3]: Nothing to be done for 'install-exec-am'.
 /bin/mkdir -p '/<<BUILDDIR>>/patchelf-0.9+52.20180509/debian/patchelf/usr/share/doc/patchelf'
 /bin/mkdir -p '/<<BUILDDIR>>/patchelf-0.9+52.20180509/debian/patchelf/usr/share/man/man1'
 /usr/bin/install -c -m 644 README '/<<BUILDDIR>>/patchelf-0.9+52.20180509/debian/patchelf/usr/share/doc/patchelf'
 /usr/bin/install -c -m 644 patchelf.1 '/<<BUILDDIR>>/patchelf-0.9+52.20180509/debian/patchelf/usr/share/man/man1'
make[3]: Leaving directory '/<<BUILDDIR>>/patchelf-0.9+52.20180509'
make[2]: Leaving directory '/<<BUILDDIR>>/patchelf-0.9+52.20180509'
make[1]: Leaving directory '/<<BUILDDIR>>/patchelf-0.9+52.20180509'
   dh_installdocs -a
   dh_installchangelogs -a
   dh_installman -a
   dh_perl -a
   dh_link -a
   dh_strip_nondeterminism -a
   dh_compress -a
   dh_fixperms -a
   dh_missing -a
   dh_strip -a
   dh_makeshlibs -a
   dh_shlibdeps -a
dpkg-shlibdeps: warning: debian/patchelf/usr/bin/patchelf contains an unresolvable reference to symbol __aeabi_atexit@CXXABI_ARM_1.3.3: it's probably a plugin
dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/patchelf/usr/bin/patchelf was not linked against ld-linux-armhf.so.3 (it uses none of the library's symbols)
   dh_installdeb -a
   dh_gencontrol -a
   dh_md5sums -a
   dh_builddeb -a
dpkg-deb: building package 'patchelf' in '../patchelf_0.9+52.20180509-1_armhf.deb'.
dpkg-deb: building package 'patchelf-dbgsym' in '../patchelf-dbgsym_0.9+52.20180509-1_armhf.deb'.
 dpkg-genbuildinfo --build=any
 dpkg-genchanges --build=any -mRaspbian wandboard test autobuilder <root@raspbian.org> >../patchelf_0.9+52.20180509-1_armhf.changes
dpkg-genchanges: info: binary-only arch-specific upload (source code and arch-indep packages not included)
 dpkg-source --after-build patchelf-0.9+52.20180509
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)
--------------------------------------------------------------------------------
Build finished at 2018-10-23T05:12:09Z

Finished
--------

I: Built successfully

+------------------------------------------------------------------------------+
| Post Build Chroot                                                            |
+------------------------------------------------------------------------------+


+------------------------------------------------------------------------------+
| Changes                                                                      |
+------------------------------------------------------------------------------+


patchelf_0.9+52.20180509-1_armhf.changes:
-----------------------------------------

Format: 1.8
Date: Fri, 28 Sep 2018 17:20:09 -0300
Source: patchelf
Binary: patchelf
Architecture: armhf
Version: 0.9+52.20180509-1
Distribution: buster-staging
Urgency: medium
Maintainer: Raspbian wandboard test autobuilder <root@raspbian.org>
Changed-By: Felipe Sateler <fsateler@debian.org>
Description:
 patchelf   - modify properties of ELF executables
Closes: 903396
Changes:
 patchelf (0.9+52.20180509-1) unstable; urgency=medium
 .
   [ Felipe Sateler ]
   * Package an upstream git snapshot
     - Makes some binaries strippable after patching (Closes: #903396)
   * no-rpath-prebuild: force pagesize to 4096 on prebuilt binaries.
     They all have that page size, and the host-detected one might be
     different.
   * Update watchfile
     - Use format version 4
     - Use github as source page
   * Migrate to salsa for hosting
   * Bump debhelper compat to 11.
     Also switch to the debhelper-compat virtual package
   * Bump Standards-Version
   * Enable hardening flags
 .
   [ Drew Parsons ]
   * add new patch adjust_startPage_issue127_commit1cc234fea.patch from
     upstream Issue #127. Fixes build-time tests.
Checksums-Sha1:
 e5c91a2347cd18a380d8446c1b81467a12f2c132 561112 patchelf-dbgsym_0.9+52.20180509-1_armhf.deb
 7e079a6b2661b6e5ba1e98690809767656d3510e 4681 patchelf_0.9+52.20180509-1_armhf.buildinfo
 0c8622fb8610cde88a396931732769a539e38192 49164 patchelf_0.9+52.20180509-1_armhf.deb
Checksums-Sha256:
 cc91858ea5a9933f866f09a00de44e6d30e225b29675c68b5df393cca6224dab 561112 patchelf-dbgsym_0.9+52.20180509-1_armhf.deb
 744c8a0f182600be5537a45a74a3b28f06b3bfde57e6a62ec1b032955bb00d07 4681 patchelf_0.9+52.20180509-1_armhf.buildinfo
 9f7b223ede1f855b778417e10e31212ed2f31bf03b25e4d845002556d645c736 49164 patchelf_0.9+52.20180509-1_armhf.deb
Files:
 42ea8f7b7efb733fd4b5858db6974c50 561112 debug optional patchelf-dbgsym_0.9+52.20180509-1_armhf.deb
 3525c9410b45bc8d16b95423d5eff78d 4681 utils optional patchelf_0.9+52.20180509-1_armhf.buildinfo
 e9f9da25cf9de4d5b2a94e4b7d2f0f15 49164 utils optional patchelf_0.9+52.20180509-1_armhf.deb

+------------------------------------------------------------------------------+
| Package contents                                                             |
+------------------------------------------------------------------------------+


patchelf-dbgsym_0.9+52.20180509-1_armhf.deb
-------------------------------------------

 new Debian package, version 2.0.
 size 561112 bytes: control archive=524 bytes.
     358 bytes,    12 lines      control              
     106 bytes,     1 lines      md5sums              
 Package: patchelf-dbgsym
 Source: patchelf
 Version: 0.9+52.20180509-1
 Auto-Built-Package: debug-symbols
 Architecture: armhf
 Maintainer: Felipe Sateler <fsateler@debian.org>
 Installed-Size: 591
 Depends: patchelf (= 0.9+52.20180509-1)
 Section: debug
 Priority: optional
 Description: debug symbols for patchelf
 Build-Ids: 4ff0679fcbfec6ebaa0004be9e77d5be2d57be46

drwxr-xr-x root/root         0 2018-09-28 20:20 ./
drwxr-xr-x root/root         0 2018-09-28 20:20 ./usr/
drwxr-xr-x root/root         0 2018-09-28 20:20 ./usr/lib/
drwxr-xr-x root/root         0 2018-09-28 20:20 ./usr/lib/debug/
drwxr-xr-x root/root         0 2018-09-28 20:20 ./usr/lib/debug/.build-id/
drwxr-xr-x root/root         0 2018-09-28 20:20 ./usr/lib/debug/.build-id/4f/
-rw-r--r-- root/root    594700 2018-09-28 20:20 ./usr/lib/debug/.build-id/4f/f0679fcbfec6ebaa0004be9e77d5be2d57be46.debug
drwxr-xr-x root/root         0 2018-09-28 20:20 ./usr/share/
drwxr-xr-x root/root         0 2018-09-28 20:20 ./usr/share/doc/
lrwxrwxrwx root/root         0 2018-09-28 20:20 ./usr/share/doc/patchelf-dbgsym -> patchelf


patchelf_0.9+52.20180509-1_armhf.deb
------------------------------------

 new Debian package, version 2.0.
 size 49164 bytes: control archive=836 bytes.
     646 bytes,    17 lines      control              
     329 bytes,     5 lines      md5sums              
 Package: patchelf
 Version: 0.9+52.20180509-1
 Architecture: armhf
 Maintainer: Felipe Sateler <fsateler@debian.org>
 Installed-Size: 135
 Depends: libc6 (>= 2.4), libgcc1 (>= 1:3.5), libstdc++6 (>= 5.2)
 Section: utils
 Priority: optional
 Homepage: http://nixos.org/patchelf.html
 Description: modify properties of ELF executables
  PatchELF is a simple utility for modifying existing ELF executables and
  libraries.  In particular, it can do the following:
  .
   * Change the dynamic loader ("ELF interpreter") of executables
   * Change the RPATH of executables and libraries
   * Remove declared dependencies on dynamic libraries
     (DT_NEEDED entries)

drwxr-xr-x root/root         0 2018-09-28 20:20 ./
drwxr-xr-x root/root         0 2018-09-28 20:20 ./usr/
drwxr-xr-x root/root         0 2018-09-28 20:20 ./usr/bin/
-rwxr-xr-x root/root    120332 2018-09-28 20:20 ./usr/bin/patchelf
drwxr-xr-x root/root         0 2018-09-28 20:20 ./usr/share/
drwxr-xr-x root/root         0 2018-09-28 20:20 ./usr/share/doc/
drwxr-xr-x root/root         0 2018-09-28 20:20 ./usr/share/doc/patchelf/
-rw-r--r-- root/root      2306 2018-05-09 09:48 ./usr/share/doc/patchelf/README.gz
-rw-r--r-- root/root       907 2018-09-28 20:20 ./usr/share/doc/patchelf/changelog.Debian.gz
-rw-r--r-- root/root      2014 2018-09-28 20:20 ./usr/share/doc/patchelf/copyright
drwxr-xr-x root/root         0 2018-09-28 20:20 ./usr/share/man/
drwxr-xr-x root/root         0 2018-09-28 20:20 ./usr/share/man/man1/
-rw-r--r-- root/root      1175 2018-09-28 20:20 ./usr/share/man/man1/patchelf.1.gz


+------------------------------------------------------------------------------+
| Post Build                                                                   |
+------------------------------------------------------------------------------+


+------------------------------------------------------------------------------+
| Cleanup                                                                      |
+------------------------------------------------------------------------------+

Purging /<<BUILDDIR>>
Not cleaning session: cloned chroot in use

+------------------------------------------------------------------------------+
| Summary                                                                      |
+------------------------------------------------------------------------------+

Build Architecture: armhf
Build-Space: 8936
Build-Time: 156
Distribution: buster-staging
Host Architecture: armhf
Install-Time: 275
Job: patchelf_0.9+52.20180509-1
Machine Architecture: armhf
Package: patchelf
Package-Time: 478
Source-Version: 0.9+52.20180509-1
Space: 8936
Status: successful
Version: 0.9+52.20180509-1
--------------------------------------------------------------------------------
Finished at 2018-10-23T05:12:09Z
Build needed 00:07:58, 8936k disc space