I: pbuilder: network access will be disabled during build I: Current time: Tue Dec 17 08:10:56 +14 2024 I: pbuilder-time-stamp: 1734372656 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/trixie-reproducible-base.tgz] I: copying local configuration W: --override-config is not set; not updating apt.conf Read the manpage for details. I: mounting /proc filesystem I: mounting /sys filesystem I: creating /{dev,run}/shm I: mounting /dev/pts filesystem I: redirecting /dev/ptmx to /dev/pts/ptmx I: policy-rc.d already exists I: Copying source file I: copying [libtree_3.1.1-3.dsc] I: copying [./libtree_3.1.1.orig.tar.gz] I: copying [./libtree_3.1.1-3.debian.tar.xz] I: Extracting source gpgv: Signature made Mon Jul 15 21:55:57 2024 gpgv: using RSA key B60A1BF363DC1319FF0A8E89116852BCDF7515C0 gpgv: Can't check signature: No public key dpkg-source: warning: cannot verify inline signature for ./libtree_3.1.1-3.dsc: no acceptable signature found dpkg-source: info: extracting libtree in libtree-3.1.1 dpkg-source: info: unpacking libtree_3.1.1.orig.tar.gz dpkg-source: info: unpacking libtree_3.1.1-3.debian.tar.xz dpkg-source: info: using patch list from debian/patches/series dpkg-source: info: applying fix-test-05.patch I: Not using root during the build. I: Installing the build-deps I: user script /srv/workspace/pbuilder/2999562/tmp/hooks/D01_modify_environment starting debug: Running on infom01-amd64. I: Changing host+domainname to test build reproducibility I: Adding a custom variable just for the fun of it... I: Changing /bin/sh to bash '/bin/sh' -> '/bin/bash' lrwxrwxrwx 1 root root 9 Dec 16 18:11 /bin/sh -> /bin/bash I: Setting pbuilder2's login shell to /bin/bash I: Setting pbuilder2's GECOS to second user,second room,second work-phone,second home-phone,second other I: user script /srv/workspace/pbuilder/2999562/tmp/hooks/D01_modify_environment finished I: user script /srv/workspace/pbuilder/2999562/tmp/hooks/D02_print_environment starting I: set BASH=/bin/sh BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:globskipdots:hostcomplete:interactive_comments:patsub_replacement:progcomp:promptvars:sourcepath BASH_ALIASES=() BASH_ARGC=() BASH_ARGV=() BASH_CMDS=() BASH_LINENO=([0]="12" [1]="0") BASH_LOADABLES_PATH=/usr/local/lib/bash:/usr/lib/bash:/opt/local/lib/bash:/usr/pkg/lib/bash:/opt/pkg/lib/bash:. BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") BASH_VERSINFO=([0]="5" [1]="2" [2]="37" [3]="1" [4]="release" [5]="x86_64-pc-linux-gnu") BASH_VERSION='5.2.37(1)-release' BUILDDIR=/build/reproducible-path BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' BUILDUSERNAME=pbuilder2 BUILD_ARCH=amd64 DEBIAN_FRONTEND=noninteractive DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=12 ' DIRSTACK=() DISTRIBUTION=trixie EUID=0 FUNCNAME=([0]="Echo" [1]="main") GROUPS=() HOME=/root HOSTNAME=i-capture-the-hostname HOSTTYPE=x86_64 HOST_ARCH=amd64 IFS=' ' INVOCATION_ID=753c90d4a7c149628076cd7f5c91778c LANG=C LANGUAGE=et_EE:et LC_ALL=C MACHTYPE=x86_64-pc-linux-gnu MAIL=/var/mail/root OPTERR=1 OPTIND=1 OSTYPE=linux-gnu PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path PBCURRENTCOMMANDLINEOPERATION=build PBUILDER_OPERATION=build PBUILDER_PKGDATADIR=/usr/share/pbuilder PBUILDER_PKGLIBDIR=/usr/lib/pbuilder PBUILDER_SYSCONFDIR=/etc PIPESTATUS=([0]="0") POSIXLY_CORRECT=y PPID=2999562 PS4='+ ' PWD=/ SHELL=/bin/bash SHELLOPTS=braceexpand:errexit:hashall:interactive-comments:posix SHLVL=3 SUDO_COMMAND='/usr/bin/timeout -k 24.1h 24h /usr/bin/ionice -c 3 /usr/bin/nice -n 11 /usr/bin/unshare --uts -- /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.EqKufKo9/pbuilderrc_dBpv --distribution trixie --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/trixie-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.EqKufKo9/b2 --logfile b2/build.log libtree_3.1.1-3.dsc' SUDO_GID=109 SUDO_UID=104 SUDO_USER=jenkins TERM=unknown TZ=/usr/share/zoneinfo/Etc/GMT-14 UID=0 USER=root _='I: set' I: uname -a Linux i-capture-the-hostname 6.1.0-28-cloud-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.119-1 (2024-11-22) x86_64 GNU/Linux I: ls -l /bin lrwxrwxrwx 1 root root 7 Nov 22 14:40 /bin -> usr/bin I: user script /srv/workspace/pbuilder/2999562/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy Version: 0.invalid.0 Architecture: amd64 Maintainer: Debian Pbuilder Team Description: Dummy package to satisfy dependencies with aptitude - created by pbuilder This package was created automatically by pbuilder to satisfy the build-dependencies of the package being currently built. Depends: debhelper-compat (= 13) dpkg-deb: building package 'pbuilder-satisfydepends-dummy' in '/tmp/satisfydepends-aptitude/pbuilder-satisfydepends-dummy.deb'. Selecting previously unselected package pbuilder-satisfydepends-dummy. (Reading database ... 19965 files and directories currently installed.) Preparing to unpack .../pbuilder-satisfydepends-dummy.deb ... Unpacking pbuilder-satisfydepends-dummy (0.invalid.0) ... dpkg: pbuilder-satisfydepends-dummy: dependency problems, but configuring anyway as you requested: pbuilder-satisfydepends-dummy depends on debhelper-compat (= 13); however: Package debhelper-compat is not installed. Setting up pbuilder-satisfydepends-dummy (0.invalid.0) ... Reading package lists... Building dependency tree... Reading state information... Initializing package states... Writing extended state information... Building tag database... pbuilder-satisfydepends-dummy is already installed at the requested version (0.invalid.0) pbuilder-satisfydepends-dummy is already installed at the requested version (0.invalid.0) The following NEW packages will be installed: autoconf{a} automake{a} autopoint{a} autotools-dev{a} bsdextrautils{a} debhelper{a} dh-autoreconf{a} dh-strip-nondeterminism{a} dwz{a} file{a} gettext{a} gettext-base{a} groff-base{a} intltool-debian{a} libarchive-zip-perl{a} libdebhelper-perl{a} libelf1t64{a} libfile-stripnondeterminism-perl{a} libicu72{a} libmagic-mgc{a} libmagic1t64{a} libpipeline1{a} libtool{a} libuchardet0{a} libxml2{a} m4{a} man-db{a} po-debconf{a} sensible-utils{a} The following packages are RECOMMENDED but will NOT be installed: curl libarchive-cpio-perl libltdl-dev libmail-sendmail-perl lynx wget 0 packages upgraded, 29 newly installed, 0 to remove and 0 not upgraded. Need to get 19.8 MB of archives. After unpacking 75.5 MB will be used. Writing extended state information... Get: 1 http://deb.debian.org/debian trixie/main amd64 sensible-utils all 0.0.24 [24.8 kB] Get: 2 http://deb.debian.org/debian trixie/main amd64 libmagic-mgc amd64 1:5.45-3+b1 [314 kB] Get: 3 http://deb.debian.org/debian trixie/main amd64 libmagic1t64 amd64 1:5.45-3+b1 [108 kB] Get: 4 http://deb.debian.org/debian trixie/main amd64 file amd64 1:5.45-3+b1 [43.3 kB] Get: 5 http://deb.debian.org/debian trixie/main amd64 gettext-base amd64 0.22.5-2 [200 kB] Get: 6 http://deb.debian.org/debian trixie/main amd64 libuchardet0 amd64 0.0.8-1+b2 [68.9 kB] Get: 7 http://deb.debian.org/debian trixie/main amd64 groff-base amd64 1.23.0-6 [1184 kB] Get: 8 http://deb.debian.org/debian trixie/main amd64 bsdextrautils amd64 2.40.2-12 [92.0 kB] Get: 9 http://deb.debian.org/debian trixie/main amd64 libpipeline1 amd64 1.5.8-1 [42.0 kB] Get: 10 http://deb.debian.org/debian trixie/main amd64 man-db amd64 2.13.0-1 [1420 kB] Get: 11 http://deb.debian.org/debian trixie/main amd64 m4 amd64 1.4.19-4 [287 kB] Get: 12 http://deb.debian.org/debian trixie/main amd64 autoconf all 2.72-3 [493 kB] Get: 13 http://deb.debian.org/debian trixie/main amd64 autotools-dev all 20220109.1 [51.6 kB] Get: 14 http://deb.debian.org/debian trixie/main amd64 automake all 1:1.16.5-1.3 [823 kB] Get: 15 http://deb.debian.org/debian trixie/main amd64 autopoint all 0.22.5-2 [723 kB] Get: 16 http://deb.debian.org/debian trixie/main amd64 libdebhelper-perl all 13.20 [89.7 kB] Get: 17 http://deb.debian.org/debian trixie/main amd64 libtool all 2.4.7-8 [517 kB] Get: 18 http://deb.debian.org/debian trixie/main amd64 dh-autoreconf all 20 [17.1 kB] Get: 19 http://deb.debian.org/debian trixie/main amd64 libarchive-zip-perl all 1.68-1 [104 kB] Get: 20 http://deb.debian.org/debian trixie/main amd64 libfile-stripnondeterminism-perl all 1.14.0-1 [19.5 kB] Get: 21 http://deb.debian.org/debian trixie/main amd64 dh-strip-nondeterminism all 1.14.0-1 [8448 B] Get: 22 http://deb.debian.org/debian trixie/main amd64 libelf1t64 amd64 0.192-4 [189 kB] Get: 23 http://deb.debian.org/debian trixie/main amd64 dwz amd64 0.15-1+b1 [110 kB] Get: 24 http://deb.debian.org/debian trixie/main amd64 libicu72 amd64 72.1-5+b1 [9423 kB] Get: 25 http://deb.debian.org/debian trixie/main amd64 libxml2 amd64 2.12.7+dfsg+really2.9.14-0.2+b1 [699 kB] Get: 26 http://deb.debian.org/debian trixie/main amd64 gettext amd64 0.22.5-2 [1601 kB] Get: 27 http://deb.debian.org/debian trixie/main amd64 intltool-debian all 0.35.0+20060710.6 [22.9 kB] Get: 28 http://deb.debian.org/debian trixie/main amd64 po-debconf all 1.0.21+nmu1 [248 kB] Get: 29 http://deb.debian.org/debian trixie/main amd64 debhelper all 13.20 [915 kB] Fetched 19.8 MB in 0s (71.1 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package sensible-utils. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 19965 files and directories currently installed.) Preparing to unpack .../00-sensible-utils_0.0.24_all.deb ... Unpacking sensible-utils (0.0.24) ... Selecting previously unselected package libmagic-mgc. Preparing to unpack .../01-libmagic-mgc_1%3a5.45-3+b1_amd64.deb ... Unpacking libmagic-mgc (1:5.45-3+b1) ... Selecting previously unselected package libmagic1t64:amd64. Preparing to unpack .../02-libmagic1t64_1%3a5.45-3+b1_amd64.deb ... Unpacking libmagic1t64:amd64 (1:5.45-3+b1) ... Selecting previously unselected package file. Preparing to unpack .../03-file_1%3a5.45-3+b1_amd64.deb ... Unpacking file (1:5.45-3+b1) ... Selecting previously unselected package gettext-base. Preparing to unpack .../04-gettext-base_0.22.5-2_amd64.deb ... Unpacking gettext-base (0.22.5-2) ... Selecting previously unselected package libuchardet0:amd64. Preparing to unpack .../05-libuchardet0_0.0.8-1+b2_amd64.deb ... Unpacking libuchardet0:amd64 (0.0.8-1+b2) ... Selecting previously unselected package groff-base. Preparing to unpack .../06-groff-base_1.23.0-6_amd64.deb ... Unpacking groff-base (1.23.0-6) ... Selecting previously unselected package bsdextrautils. Preparing to unpack .../07-bsdextrautils_2.40.2-12_amd64.deb ... Unpacking bsdextrautils (2.40.2-12) ... Selecting previously unselected package libpipeline1:amd64. Preparing to unpack .../08-libpipeline1_1.5.8-1_amd64.deb ... Unpacking libpipeline1:amd64 (1.5.8-1) ... Selecting previously unselected package man-db. Preparing to unpack .../09-man-db_2.13.0-1_amd64.deb ... Unpacking man-db (2.13.0-1) ... Selecting previously unselected package m4. Preparing to unpack .../10-m4_1.4.19-4_amd64.deb ... Unpacking m4 (1.4.19-4) ... Selecting previously unselected package autoconf. Preparing to unpack .../11-autoconf_2.72-3_all.deb ... Unpacking autoconf (2.72-3) ... Selecting previously unselected package autotools-dev. Preparing to unpack .../12-autotools-dev_20220109.1_all.deb ... Unpacking autotools-dev (20220109.1) ... Selecting previously unselected package automake. Preparing to unpack .../13-automake_1%3a1.16.5-1.3_all.deb ... Unpacking automake (1:1.16.5-1.3) ... Selecting previously unselected package autopoint. Preparing to unpack .../14-autopoint_0.22.5-2_all.deb ... Unpacking autopoint (0.22.5-2) ... Selecting previously unselected package libdebhelper-perl. Preparing to unpack .../15-libdebhelper-perl_13.20_all.deb ... Unpacking libdebhelper-perl (13.20) ... Selecting previously unselected package libtool. Preparing to unpack .../16-libtool_2.4.7-8_all.deb ... Unpacking libtool (2.4.7-8) ... Selecting previously unselected package dh-autoreconf. Preparing to unpack .../17-dh-autoreconf_20_all.deb ... Unpacking dh-autoreconf (20) ... Selecting previously unselected package libarchive-zip-perl. Preparing to unpack .../18-libarchive-zip-perl_1.68-1_all.deb ... Unpacking libarchive-zip-perl (1.68-1) ... Selecting previously unselected package libfile-stripnondeterminism-perl. Preparing to unpack .../19-libfile-stripnondeterminism-perl_1.14.0-1_all.deb ... Unpacking libfile-stripnondeterminism-perl (1.14.0-1) ... Selecting previously unselected package dh-strip-nondeterminism. Preparing to unpack .../20-dh-strip-nondeterminism_1.14.0-1_all.deb ... Unpacking dh-strip-nondeterminism (1.14.0-1) ... Selecting previously unselected package libelf1t64:amd64. Preparing to unpack .../21-libelf1t64_0.192-4_amd64.deb ... Unpacking libelf1t64:amd64 (0.192-4) ... Selecting previously unselected package dwz. Preparing to unpack .../22-dwz_0.15-1+b1_amd64.deb ... Unpacking dwz (0.15-1+b1) ... Selecting previously unselected package libicu72:amd64. Preparing to unpack .../23-libicu72_72.1-5+b1_amd64.deb ... Unpacking libicu72:amd64 (72.1-5+b1) ... Selecting previously unselected package libxml2:amd64. Preparing to unpack .../24-libxml2_2.12.7+dfsg+really2.9.14-0.2+b1_amd64.deb ... Unpacking libxml2:amd64 (2.12.7+dfsg+really2.9.14-0.2+b1) ... Selecting previously unselected package gettext. Preparing to unpack .../25-gettext_0.22.5-2_amd64.deb ... Unpacking gettext (0.22.5-2) ... Selecting previously unselected package intltool-debian. Preparing to unpack .../26-intltool-debian_0.35.0+20060710.6_all.deb ... Unpacking intltool-debian (0.35.0+20060710.6) ... Selecting previously unselected package po-debconf. Preparing to unpack .../27-po-debconf_1.0.21+nmu1_all.deb ... Unpacking po-debconf (1.0.21+nmu1) ... Selecting previously unselected package debhelper. Preparing to unpack .../28-debhelper_13.20_all.deb ... Unpacking debhelper (13.20) ... Setting up libpipeline1:amd64 (1.5.8-1) ... Setting up libicu72:amd64 (72.1-5+b1) ... Setting up bsdextrautils (2.40.2-12) ... Setting up libmagic-mgc (1:5.45-3+b1) ... Setting up libarchive-zip-perl (1.68-1) ... Setting up libdebhelper-perl (13.20) ... Setting up libmagic1t64:amd64 (1:5.45-3+b1) ... Setting up gettext-base (0.22.5-2) ... Setting up m4 (1.4.19-4) ... Setting up file (1:5.45-3+b1) ... Setting up libelf1t64:amd64 (0.192-4) ... Setting up autotools-dev (20220109.1) ... Setting up autopoint (0.22.5-2) ... Setting up autoconf (2.72-3) ... Setting up dwz (0.15-1+b1) ... Setting up sensible-utils (0.0.24) ... Setting up libuchardet0:amd64 (0.0.8-1+b2) ... Setting up libxml2:amd64 (2.12.7+dfsg+really2.9.14-0.2+b1) ... Setting up automake (1:1.16.5-1.3) ... update-alternatives: using /usr/bin/automake-1.16 to provide /usr/bin/automake (automake) in auto mode Setting up libfile-stripnondeterminism-perl (1.14.0-1) ... Setting up gettext (0.22.5-2) ... Setting up libtool (2.4.7-8) ... Setting up intltool-debian (0.35.0+20060710.6) ... Setting up dh-autoreconf (20) ... Setting up dh-strip-nondeterminism (1.14.0-1) ... Setting up groff-base (1.23.0-6) ... Setting up po-debconf (1.0.21+nmu1) ... Setting up man-db (2.13.0-1) ... Not building database; man-db/auto-update is not 'true'. Setting up debhelper (13.20) ... Processing triggers for libc-bin (2.40-4) ... Reading package lists... Building dependency tree... Reading state information... Reading extended state information... Initializing package states... Writing extended state information... Building tag database... -> Finished parsing the build-deps I: Building the package I: user script /srv/workspace/pbuilder/2999562/tmp/hooks/A99_set_merged_usr starting Not re-configuring usrmerge for trixie I: user script /srv/workspace/pbuilder/2999562/tmp/hooks/A99_set_merged_usr finished hostname: Name or service not known I: Running cd /build/reproducible-path/libtree-3.1.1/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-genchanges -S > ../libtree_3.1.1-3_source.changes dpkg-buildpackage: info: source package libtree dpkg-buildpackage: info: source version 3.1.1-3 dpkg-buildpackage: info: source distribution unstable dpkg-buildpackage: info: source changed by Alex Myczko dpkg-source --before-build . dpkg-buildpackage: info: host architecture amd64 debian/rules clean dh clean dh_auto_clean make -j12 clean make[1]: Entering directory '/build/reproducible-path/libtree-3.1.1' rm -f *.o libtree find tests -mindepth 1 -maxdepth 1 -type d | while read -r dir; do \ make -C "$dir" clean || exit 1 ;\ done make[2]: Entering directory '/build/reproducible-path/libtree-3.1.1/tests/05_32_bits' rm -rf lib32 lib64 exe* make[2]: Leaving directory '/build/reproducible-path/libtree-3.1.1/tests/05_32_bits' make[2]: Entering directory '/build/reproducible-path/libtree-3.1.1/tests/04_rpath_over_env_over_runpath' rm -rf *.so dir exe* make[2]: Leaving directory '/build/reproducible-path/libtree-3.1.1/tests/04_rpath_over_env_over_runpath' make[2]: Entering directory '/build/reproducible-path/libtree-3.1.1/tests/02_rpath_of_parents_parent' rm -f *.so exe* make[2]: Leaving directory '/build/reproducible-path/libtree-3.1.1/tests/02_rpath_of_parents_parent' make[2]: Entering directory '/build/reproducible-path/libtree-3.1.1/tests/10_rpath_order' rm -rf -- *.so exe* first second make[2]: Leaving directory '/build/reproducible-path/libtree-3.1.1/tests/10_rpath_order' make[2]: Entering directory '/build/reproducible-path/libtree-3.1.1/tests/07_origin_is_relative_to_symlink_location_not_realpath' rm -rf a b exe* make[2]: Leaving directory '/build/reproducible-path/libtree-3.1.1/tests/07_origin_is_relative_to_symlink_location_not_realpath' make[2]: Entering directory '/build/reproducible-path/libtree-3.1.1/tests/08_nodeflib' rm -f *.so exe* make[2]: Leaving directory '/build/reproducible-path/libtree-3.1.1/tests/08_nodeflib' make[2]: Entering directory '/build/reproducible-path/libtree-3.1.1/tests/06_symbol_versions' rm -rf v1 v2 exe* make[2]: Leaving directory '/build/reproducible-path/libtree-3.1.1/tests/06_symbol_versions' make[2]: Entering directory '/build/reproducible-path/libtree-3.1.1/tests/03_direct_and_absolute_rpath' rm -rf *.so some_dir exe* make[2]: Leaving directory '/build/reproducible-path/libtree-3.1.1/tests/03_direct_and_absolute_rpath' make[2]: Entering directory '/build/reproducible-path/libtree-3.1.1/tests/01_origin' rm -f *.so exe* make[2]: Leaving directory '/build/reproducible-path/libtree-3.1.1/tests/01_origin' make[1]: Leaving directory '/build/reproducible-path/libtree-3.1.1' dh_clean debian/rules binary dh binary dh_update_autotools_config dh_autoreconf dh_auto_configure dh_auto_build make -j12 "INSTALL=install --strip-program=true" make[1]: Entering directory '/build/reproducible-path/libtree-3.1.1' cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libtree-3.1.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -std=c99 -Wall -Wextra -Wshadow -pedantic -D_FILE_OFFSET_BITS=64 -c libtree.c cc -Wl,-z,relro -Wl,-z,now -o libtree libtree.o make[1]: Leaving directory '/build/reproducible-path/libtree-3.1.1' dh_auto_test make -j12 check make[1]: Entering directory '/build/reproducible-path/libtree-3.1.1' find tests -mindepth 1 -maxdepth 1 -type d | while read -r dir; do \ make -C "$dir" check || exit 1 ;\ done make[2]: Entering directory '/build/reproducible-path/libtree-3.1.1/tests/05_32_bits' mkdir -p lib32 mkdir -p lib64 echo 'int a(){return 42;}' | cc -shared -Wl,-soname,libx.so -m32 -o lib32/libx.so -nostdlib -x c - echo 'int a(){return 42;}' | cc -shared -Wl,-soname,libx.so -m64 -o lib64/libx.so -nostdlib -x c - echo 'extern int a(); int _start(){return a();}' | cc -m32 "-Wl,-rpath,/build/reproducible-path/libtree-3.1.1/tests/05_32_bits/lib64" "-Wl,-rpath,/build/reproducible-path/libtree-3.1.1/tests/05_32_bits/lib32" -o exe32 -nostdlib -x c - -Llib32 -lx echo 'extern int a(); int _start(){return a();}' | cc -m64 "-Wl,-rpath,/build/reproducible-path/libtree-3.1.1/tests/05_32_bits/lib32" "-Wl,-rpath,/build/reproducible-path/libtree-3.1.1/tests/05_32_bits/lib64" -o exe64 -nostdlib -x c - -Llib64 -lx ../../libtree exe32 exe32 └── libx.so [runpath] ../../libtree exe64 exe64 └── libx.so [runpath] make[2]: Leaving directory '/build/reproducible-path/libtree-3.1.1/tests/05_32_bits' make[2]: Entering directory '/build/reproducible-path/libtree-3.1.1/tests/04_rpath_over_env_over_runpath' echo 'int b(){return 10;}' | cc -shared -Wl,-soname,libb.so -Wl,--no-as-needed -o libb.so -Wno-implicit-function-declaration -nostdlib -x c - mkdir dir echo 'int a(){return 42;}' | cc -shared -Wl,-soname,liba.so -Wl,--no-as-needed -o dir/liba.so -nostdlib -x c - echo 'int b(){return a();}' | cc -shared -Wl,-soname,libb.so -Wl,--no-as-needed -Wl,--disable-new-dtags '-Wl,-rpath,$ORIGIN' -Wno-implicit-function-declaration -o dir/libb.so -nostdlib dir/liba.so -x c - echo 'int _start(){return b();}' | cc -Wl,--no-as-needed -Wl,--disable-new-dtags "-Wl,-rpath,/build/reproducible-path/libtree-3.1.1/tests/04_rpath_over_env_over_runpath" libb.so -o exe_rpath -Wno-implicit-function-declaration -nostdlib -x c - echo 'int _start(){return b();}' | cc -Wl,--no-as-needed -Wl,--enable-new-dtags "-Wl,-rpath,/build/reproducible-path/libtree-3.1.1/tests/04_rpath_over_env_over_runpath" libb.so -o exe_runpath -Wno-implicit-function-declaration -nostdlib -x c - ../../libtree exe_rpath exe_rpath └── libb.so [rpath] LD_LIBRARY_PATH="/build/reproducible-path/libtree-3.1.1/tests/04_rpath_over_env_over_runpath/dir" ../../libtree exe_rpath exe_rpath └── libb.so [rpath] ../../libtree exe_runpath exe_runpath └── libb.so [runpath] LD_LIBRARY_PATH="/build/reproducible-path/libtree-3.1.1/tests/04_rpath_over_env_over_runpath/dir" ../../libtree exe_runpath exe_runpath └── libb.so [LD_LIBRARY_PATH] └── liba.so [rpath] make[2]: Leaving directory '/build/reproducible-path/libtree-3.1.1/tests/04_rpath_over_env_over_runpath' make[2]: Entering directory '/build/reproducible-path/libtree-3.1.1/tests/02_rpath_of_parents_parent' echo 'int g(){return 1;}' | cc -shared -Wl,-soname,libb.so -o libb.so -nostdlib -x c - echo 'int f(){return g();}' | cc -shared -Wl,--no-as-needed -Wl,-soname,liba.so -o liba.so -Wno-implicit-function-declaration libb.so -nostdlib -x c - echo 'int _start(){return f();}' | cc -o exe -Wl,--no-as-needed -Wl,--disable-new-dtags '-Wl,-rpath,$ORIGIN' '-Wl,-rpath-link,/build/reproducible-path/libtree-3.1.1/tests/02_rpath_of_parents_parent' -Wno-implicit-function-declaration -nostdlib -L. -la -x c - ! ../../libtree liba.so # should not find libb.so liba.so └── libb.so not found ┊ Paths considered in this order: ┊ 1. rpath: ┊ 2. LD_LIBRARY_PATH was not set ┊ 3. runpath was not set ┊ 4. ld config files: ┊ /usr/lib/x86_64-linux-gnu/libfakeroot ┊ /usr/local/lib ┊ /usr/local/lib/x86_64-linux-gnu ┊ /lib/x86_64-linux-gnu ┊ /usr/lib/x86_64-linux-gnu ┊ 5. Standard paths: ┊ /lib ┊ /lib64 ┊ /usr/lib ┊ /usr/lib64 Error [liba.so]: Not all dependencies were found LD_LIBRARY_PATH=/build/reproducible-path/libtree-3.1.1/tests/02_rpath_of_parents_parent ../../libtree liba.so # should find libb.so through LD_LIBRARY_PATH liba.so └── libb.so [LD_LIBRARY_PATH] ../../libtree exe # should find libb.so through exe's rpath exe └── liba.so [rpath] └── libb.so [rpath of 1] make[2]: Leaving directory '/build/reproducible-path/libtree-3.1.1/tests/02_rpath_of_parents_parent' make[2]: Entering directory '/build/reproducible-path/libtree-3.1.1/tests/10_rpath_order' echo 'int g(){return 1;}' | cc -shared -Wl,-soname,libb.so -o first/libb.so -x c - echo 'int g(){return 2;}' | cc -shared -Wl,-soname,libb.so -o second/libb.so -x c - echo 'extern int g(); int f(){return g();}' | cc -shared -Wl,--disable-new-dtags -Wl,-soname,liba.so -o liba.so '-Wl,-rpath,$ORIGIN/second' -x c - -Lsecond -lb echo 'extern int f(); int main(){return f();}' | cc -o exe -Wl,--disable-new-dtags '-Wl,-rpath,$ORIGIN,-rpath,$ORIGIN/first' -x c - -L. -la ../../libtree -p liba.so # should find second/libb.so, not first/libb.so liba.so └── .//second/libb.so [rpath] ../../libtree -p exe # should find second/libb.so, not first/libb.so exe └── ./liba.so [rpath] └── ./second/libb.so [rpath] make[2]: Leaving directory '/build/reproducible-path/libtree-3.1.1/tests/10_rpath_order' make[2]: Entering directory '/build/reproducible-path/libtree-3.1.1/tests/07_origin_is_relative_to_symlink_location_not_realpath' mkdir -p a echo 'int f(){return 3;};' | cc -shared -Wl,-soname,libf.so -o a/libf.so -x c - -nostdlib mkdir -p a echo 'extern int f(); int g(){return f();};' | cc -shared -Wl,-soname,libg.so '-Wl,-rpath,${ORIGIN}' -o a/libg.so -x c - -La -lf -nostdlib mkdir -p b ln -vs ../a/libg.so b/libg.so 'b/libg.so' -> '../a/libg.so' echo 'extern int g(); int _start(){return g();};' | cc -Wl,-soname,exe '-Wl,-rpath,${ORIGIN}/b' -o exe -x c - -La -lg -nostdlib ! ../../libtree exe # should not find libf.so exe └── libg.so [runpath] └── libf.so not found ┊ Paths considered in this order: ┊ 1. rpath is skipped because runpath was set ┊ 2. LD_LIBRARY_PATH was not set ┊ 3. runpath: ┊ .//b ┊ 4. ld config files: ┊ /usr/lib/x86_64-linux-gnu/libfakeroot ┊ /usr/local/lib ┊ /usr/local/lib/x86_64-linux-gnu ┊ /lib/x86_64-linux-gnu ┊ /usr/lib/x86_64-linux-gnu ┊ 5. Standard paths: ┊ /lib ┊ /lib64 ┊ /usr/lib ┊ /usr/lib64 Error [exe]: Not all dependencies were found LD_LIBRARY_PATH=/build/reproducible-path/libtree-3.1.1/tests/07_origin_is_relative_to_symlink_location_not_realpath/a ../../libtree exe # should find libf.so exe └── libg.so [LD_LIBRARY_PATH] └── libf.so [LD_LIBRARY_PATH] make[2]: Leaving directory '/build/reproducible-path/libtree-3.1.1/tests/07_origin_is_relative_to_symlink_location_not_realpath' make[2]: Entering directory '/build/reproducible-path/libtree-3.1.1/tests/08_nodeflib' echo 'int f(){return 1;}' | cc -z nodefaultlib -Wl,--no-as-needed -shared -Wl,-soname,lib_nodefaultlib.so -o lib_nodefaultlib.so -x c - echo 'int g(){return 1;}' | cc -Wl,--no-as-needed -shared -Wl,-soname,lib_defaultlib.so -o lib_defaultlib.so -x c - echo 'extern int g(); int main(){return g();}' | cc -z nodefaultlib -o exe_b -Wl,--disable-new-dtags '-Wl,-rpath,$ORIGIN' -x c - -L. -l_defaultlib echo 'extern int f(); extern int g(); int main(){return f() + g();}' | cc -z nodefaultlib -o exe_a -Wl,--enable-new-dtags '-Wl,-rpath,$ORIGIN' -x c - -L. -l_nodefaultlib -l_defaultlib ! ../../libtree -vvv exe_a # should likely not find libc exe_a ├── lib_nodefaultlib.so [runpath] │ └── libc.so.6 not found │ ┊ Paths considered in this order: │ ┊ 1. rpath: │ ┊ 2. LD_LIBRARY_PATH was not set │ ┊ 3. runpath was not set │ ┊ 4. ld config files not considered due to NODEFLIB flag │ ┊ /usr/lib/x86_64-linux-gnu/libfakeroot │ ┊ /usr/local/lib │ ┊ /usr/local/lib/x86_64-linux-gnu │ ┊ /lib/x86_64-linux-gnu │ ┊ /usr/lib/x86_64-linux-gnu │ ┊ 5. Standard paths not considered due to NODEFLIB flag │ ┊ /lib │ ┊ /lib64 │ ┊ /usr/lib │ ┊ /usr/lib64 ├── lib_defaultlib.so [runpath] │ └── libc.so.6 [ld.so.conf] │ └── ld-linux-x86-64.so.2 [ld.so.conf] └── libc.so.6 not found ┊ Paths considered in this order: ┊ 1. rpath is skipped because runpath was set ┊ 2. LD_LIBRARY_PATH was not set ┊ 3. runpath: ┊ ./ ┊ 4. ld config files not considered due to NODEFLIB flag ┊ /usr/lib/x86_64-linux-gnu/libfakeroot ┊ /usr/local/lib ┊ /usr/local/lib/x86_64-linux-gnu ┊ /lib/x86_64-linux-gnu ┊ /usr/lib/x86_64-linux-gnu ┊ 5. Standard paths not considered due to NODEFLIB flag ┊ /lib ┊ /lib64 ┊ /usr/lib ┊ /usr/lib64 Error [exe_a]: Not all dependencies were found ! ../../libtree -vvv exe_b # should likely not find libc exe_b ├── lib_defaultlib.so [rpath] │ └── libc.so.6 [ld.so.conf] │ └── ld-linux-x86-64.so.2 [ld.so.conf] └── libc.so.6 not found ┊ Paths considered in this order: ┊ 1. rpath: ┊ depth 1 ┊ ./ ┊ 2. LD_LIBRARY_PATH was not set ┊ 3. runpath was not set ┊ 4. ld config files not considered due to NODEFLIB flag ┊ /usr/lib/x86_64-linux-gnu/libfakeroot ┊ /usr/local/lib ┊ /usr/local/lib/x86_64-linux-gnu ┊ /lib/x86_64-linux-gnu ┊ /usr/lib/x86_64-linux-gnu ┊ 5. Standard paths not considered due to NODEFLIB flag ┊ /lib ┊ /lib64 ┊ /usr/lib ┊ /usr/lib64 Error [exe_b]: Not all dependencies were found make[2]: Leaving directory '/build/reproducible-path/libtree-3.1.1/tests/08_nodeflib' make[2]: Entering directory '/build/reproducible-path/libtree-3.1.1/tests/06_symbol_versions' mkdir -p v1 mkdir -p v2 cc -shared -Wl,-soname,libx.so -o v1/libx.so -Wl,--version-script,v1.map v1.c cc -shared -Wl,-soname,libx.so -o v2/libx.so -Wl,--version-script,v2.map v2.c cc -o exe_v1 main.c v1/libx.so "-Wl,-rpath,/build/reproducible-path/libtree-3.1.1/tests/06_symbol_versions/v2" "-Wl,-rpath,/build/reproducible-path/libtree-3.1.1/tests/06_symbol_versions/v1" cc -o exe_v2 main.c v2/libx.so "-Wl,-rpath,/build/reproducible-path/libtree-3.1.1/tests/06_symbol_versions/v1" "-Wl,-rpath,/build/reproducible-path/libtree-3.1.1/tests/06_symbol_versions/v2" ../../libtree exe_v1 exe_v1 └── libx.so [runpath] ../../libtree exe_v2 exe_v2 └── libx.so [runpath] make[2]: Leaving directory '/build/reproducible-path/libtree-3.1.1/tests/06_symbol_versions' make[2]: Entering directory '/build/reproducible-path/libtree-3.1.1/tests/03_direct_and_absolute_rpath' mkdir some_dir echo 'int i(){return 1;}' | cc -shared -Wl,--no-as-needed -o lib_without_soname.so -x c - echo 'int f(){return 42;}' | cc -shared -Wl,-soname,lib_f.so -Wl,--no-as-needed -o some_dir/lib_f.so -x c - echo 'extern int f(); int g(){return f();}' | cc -shared -Wl,-soname,lib_g.so -Wl,--no-as-needed "-Wl,-rpath,/build/reproducible-path/libtree-3.1.1/tests/03_direct_and_absolute_rpath/some_dir" -L./some_dir -l_f -o lib_g.so -x c - echo 'extern int i(); extern int f(); extern int g(); int main(){return f() + g() + i();}' | cc -Wl,--no-as-needed "-Wl,-rpath,/build/reproducible-path/libtree-3.1.1/tests/03_direct_and_absolute_rpath/" -L. -L./some_dir -l_f -l_g /build/reproducible-path/libtree-3.1.1/tests/03_direct_and_absolute_rpath/lib_without_soname.so -o exe_a -x c - echo 'extern int i(); extern int f(); extern int g(); int main(){return f() + g() + i();}' | cc -Wl,--no-as-needed "-Wl,-rpath,/build/reproducible-path/libtree-3.1.1/tests/03_direct_and_absolute_rpath/" "-Wl,-rpath,/build/reproducible-path/libtree-3.1.1/tests/03_direct_and_absolute_rpath/some_dir" -L. -L./some_dir -l_f -l_g /build/reproducible-path/libtree-3.1.1/tests/03_direct_and_absolute_rpath/lib_without_soname.so -o exe_b -x c - ! ../../libtree exe_a # cannot find lib_f.so exe_a ├── /build/reproducible-path/libtree-3.1.1/tests/03_direct_and_absolute_rpath/lib_without_soname.so [direct] ├── lib_g.so [runpath] │ └── lib_f.so [runpath] └── lib_f.so not found ┊ Paths considered in this order: ┊ 1. rpath is skipped because runpath was set ┊ 2. LD_LIBRARY_PATH was not set ┊ 3. runpath: ┊ /build/reproducible-path/libtree-3.1.1/tests/03_direct_and_absolute_rpath/ ┊ 4. ld config files: ┊ /usr/lib/x86_64-linux-gnu/libfakeroot ┊ /usr/local/lib ┊ /usr/local/lib/x86_64-linux-gnu ┊ /lib/x86_64-linux-gnu ┊ /usr/lib/x86_64-linux-gnu ┊ 5. Standard paths: ┊ /lib ┊ /lib64 ┊ /usr/lib ┊ /usr/lib64 Error [exe_a]: Not all dependencies were found ../../libtree exe_b # should find lib_f.so exe_b ├── /build/reproducible-path/libtree-3.1.1/tests/03_direct_and_absolute_rpath/lib_without_soname.so [direct] ├── lib_g.so [runpath] │ └── lib_f.so [runpath] └── lib_f.so [runpath] make[2]: Leaving directory '/build/reproducible-path/libtree-3.1.1/tests/03_direct_and_absolute_rpath' make[2]: Entering directory '/build/reproducible-path/libtree-3.1.1/tests/01_origin' echo 'int f(){return 1;}' | cc -shared -Wl,-soname,liba.so -o liba.so -nostdlib -x c - echo 'int _start(){return f();}' | cc -o exe_rpath -Wl,--no-as-needed -Wl,--disable-new-dtags '-Wl,-rpath,$ORIGIN' -Wno-implicit-function-declaration -nostdlib liba.so -x c - echo 'int _start(){return f();}' | cc -o exe_runpath -Wl,--no-as-needed -Wl,--enable-new-dtags '-Wl,-rpath,$ORIGIN' -Wno-implicit-function-declaration -nostdlib liba.so -x c - ../../libtree exe_rpath exe_rpath └── liba.so [rpath] ../../libtree exe_runpath exe_runpath └── liba.so [runpath] make[2]: Leaving directory '/build/reproducible-path/libtree-3.1.1/tests/01_origin' make[1]: Leaving directory '/build/reproducible-path/libtree-3.1.1' create-stamp debian/debhelper-build-stamp dh_prep debian/rules override_dh_auto_install make[1]: Entering directory '/build/reproducible-path/libtree-3.1.1' manual install make[1]: Leaving directory '/build/reproducible-path/libtree-3.1.1' dh_install dh_installdocs dh_installchangelogs dh_installman dh_perl dh_link dh_strip_nondeterminism dh_compress dh_fixperms dh_missing dh_dwz -a dh_strip -a dh_makeshlibs -a dh_shlibdeps -a dh_installdeb dh_gencontrol dh_md5sums dh_builddeb dpkg-deb: building package 'libtree' in '../libtree_3.1.1-3_amd64.deb'. dpkg-deb: building package 'libtree-dbgsym' in '../libtree-dbgsym_3.1.1-3_amd64.deb'. dpkg-genbuildinfo --build=binary -O../libtree_3.1.1-3_amd64.buildinfo dpkg-genchanges --build=binary -O../libtree_3.1.1-3_amd64.changes dpkg-genchanges: info: binary-only upload (no source code included) dpkg-source --after-build . dpkg-buildpackage: info: binary-only upload (no source included) dpkg-genchanges: info: not including original source code in upload I: copying local configuration I: user script /srv/workspace/pbuilder/2999562/tmp/hooks/B01_cleanup starting I: user script /srv/workspace/pbuilder/2999562/tmp/hooks/B01_cleanup finished I: unmounting dev/ptmx filesystem I: unmounting dev/pts filesystem I: unmounting dev/shm filesystem I: unmounting proc filesystem I: unmounting sys filesystem I: cleaning the build env I: removing directory /srv/workspace/pbuilder/2999562 and its subdirectories I: Current time: Tue Dec 17 08:11:28 +14 2024 I: pbuilder-time-stamp: 1734372688