Diff of the two buildlogs: -- --- b1/build.log 2024-11-07 17:55:15.812131268 +0000 +++ b2/build.log 2024-11-07 17:56:09.134223163 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Thu Nov 7 05:54:33 -12 2024 -I: pbuilder-time-stamp: 1731002073 +I: Current time: Fri Nov 8 07:55:19 +14 2024 +I: pbuilder-time-stamp: 1731002119 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/trixie-reproducible-base.tgz] I: copying local configuration @@ -28,52 +28,84 @@ dpkg-source: info: applying gcc-driver.diff I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/1008811/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/2992468/tmp/hooks/D01_modify_environment starting +debug: Running on codethink04-arm64. +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 Nov 7 17:55 /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/2992468/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/2992468/tmp/hooks/D02_print_environment starting I: set - BUILDDIR='/build/reproducible-path' - BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' - BUILDUSERNAME='pbuilder1' - BUILD_ARCH='arm64' - DEBIAN_FRONTEND='noninteractive' + 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]="32" [3]="1" [4]="release" [5]="aarch64-unknown-linux-gnu") + BASH_VERSION='5.2.32(1)-release' + BUILDDIR=/build/reproducible-path + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=arm64 + DEBIAN_FRONTEND=noninteractive DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=12 ' - DISTRIBUTION='trixie' - HOME='/root' - HOST_ARCH='arm64' + DIRSTACK=() + DISTRIBUTION=trixie + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=aarch64 + HOST_ARCH=arm64 IFS=' ' - INVOCATION_ID='ac56f79ae7194016abe620d05e460cf2' - LANG='C' - LANGUAGE='en_US:en' - LC_ALL='C' - MAIL='/var/mail/root' - OPTIND='1' - PATH='/usr/sbin:/usr/bin:/sbin:/bin:/usr/games' - PBCURRENTCOMMANDLINEOPERATION='build' - PBUILDER_OPERATION='build' - PBUILDER_PKGDATADIR='/usr/share/pbuilder' - PBUILDER_PKGLIBDIR='/usr/lib/pbuilder' - PBUILDER_SYSCONFDIR='/etc' - PPID='1008811' - PS1='# ' - PS2='> ' + INVOCATION_ID=ff7c0605664f4c7b9e068d5e81ca7cda + LANG=C + LANGUAGE=nl_BE:nl + LC_ALL=C + MACHTYPE=aarch64-unknown-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=2992468 PS4='+ ' - PWD='/' - SHELL='/bin/bash' - SHLVL='2' - SUDO_COMMAND='/usr/bin/timeout -k 18.1h 18h /usr/bin/ionice -c 3 /usr/bin/nice /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.sfm0wEhX/pbuilderrc_twO7 --distribution trixie --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/trixie-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.sfm0wEhX/b1 --logfile b1/build.log debugedit_5.1-1.dsc' - SUDO_GID='109' - SUDO_UID='104' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://192.168.101.4:3128' + 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.sfm0wEhX/pbuilderrc_48XC --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.sfm0wEhX/b2 --logfile b2/build.log debugedit_5.1-1.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' + http_proxy=http://192.168.101.4:3128 I: uname -a - Linux codethink02-arm64 6.1.0-26-cloud-arm64 #1 SMP Debian 6.1.112-1 (2024-09-30) aarch64 GNU/Linux + Linux i-capture-the-hostname 6.1.0-26-cloud-arm64 #1 SMP Debian 6.1.112-1 (2024-09-30) aarch64 GNU/Linux I: ls -l /bin lrwxrwxrwx 1 root root 7 Aug 4 21:30 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/1008811/tmp/hooks/D02_print_environment finished +I: user script /srv/workspace/pbuilder/2992468/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -160,7 +192,7 @@ Get: 39 http://deb.debian.org/debian trixie/main arm64 libxxhash-dev arm64 0.8.2-2+b2 [81.3 kB] Get: 40 http://deb.debian.org/debian trixie/main arm64 pkgconf-bin arm64 1.8.1-4 [29.6 kB] Get: 41 http://deb.debian.org/debian trixie/main arm64 pkgconf arm64 1.8.1-4 [26.1 kB] -Fetched 22.0 MB in 0s (95.5 MB/s) +Fetched 22.0 MB in 0s (162 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package liblocale-gettext-perl. (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 ... 20089 files and directories currently installed.) @@ -339,7 +371,11 @@ Building tag database... -> Finished parsing the build-deps I: Building the package -I: Running cd /build/reproducible-path/debugedit-5.1/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-genchanges -S > ../debugedit_5.1-1_source.changes +I: user script /srv/workspace/pbuilder/2992468/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for trixie +I: user script /srv/workspace/pbuilder/2992468/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/reproducible-path/debugedit-5.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 > ../debugedit_5.1-1_source.changes dpkg-buildpackage: info: source package debugedit dpkg-buildpackage: info: source version 1:5.1-1 dpkg-buildpackage: info: source distribution unstable @@ -506,9 +542,9 @@ echo 'm4_define([AT_PACKAGE_STRING], [debugedit 5.1])'; \ echo 'm4_define([AT_PACKAGE_BUGREPORT], [debugedit@sourceware.org])'; \ } >./package.m4 -/bin/bash '/build/reproducible-path/debugedit-5.1/missing' autom4te --language=autotest -I . testsuite.at -o testsuite.tmp +/bin/sh '/build/reproducible-path/debugedit-5.1/missing' autom4te --language=autotest -I . testsuite.at -o testsuite.tmp mv testsuite.tmp testsuite -/bin/bash ./testsuite -j12 --verbose +/bin/sh ./testsuite -j12 --verbose ## ------------------------- ## ## debugedit 5.1 test suite. ## ## ------------------------- ## @@ -523,29 +559,24 @@ -1. debugedit.at:69: testing debugedit help ... -./debugedit.at:71: debugedit --help -4. debugedit.at:97: testing debugedit executable (compressed) ... -3. debugedit.at:87: testing debugedit executable ... 2. debugedit.at:77: testing debugedit usage ... ./debugedit.at:79: debugedit --usage -8. debugedit.at:219: testing debugedit .debug_str/line_str partial DWARF5 ... -6. debugedit.at:150: testing debugedit .debug_str/line_str objects DWARF5 ... stdout: Usage: debugedit [-in?] [-b|--base-dir STRING] [-d|--dest-dir STRING] [-l|--list-file STRING] [-i|--build-id] [-s|--build-id-seed STRING] [-n|--no-recompute-build-id] [-?|--help] [-u|--usage] [-V|--version] FILE -5. debugedit.at:113: testing debugedit .debug_str objects DWARF4 ... ./debugedit.at:80: debugedit -7. debugedit.at:188: testing debugedit .debug_str partial DWARF4 ... -stderr: -12. debugedit.at:350: testing debugedit .debug_info objects (compressed) ... -10. debugedit.at:281: testing debugedit .debug_str/line_str exe DWARF5 ... +4. debugedit.at:97: testing debugedit executable (compressed) ... +5. debugedit.at:113: testing debugedit .debug_str objects DWARF4 ... +1. debugedit.at:69: testing debugedit help ... +./debugedit.at:71: debugedit --help stderr: stdout: +6. debugedit.at:150: testing debugedit .debug_str/line_str objects DWARF5 ... +10. debugedit.at:281: testing debugedit .debug_str/line_str exe DWARF5 ... Usage: debugedit [OPTION...] FILE -b, --base-dir=STRING base build directory of objects -d, --dest-dir=STRING directory to rewrite base-dir into @@ -562,16 +593,23 @@ -?, --help Show this help message -u, --usage Display brief usage message -V, --version Show debugedit version +1. debugedit.at:69: ok +11. debugedit.at:327: testing debugedit .debug_info objects ... +8. debugedit.at:219: testing debugedit .debug_str/line_str partial DWARF5 ... +12. debugedit.at:350: testing debugedit .debug_info objects (compressed) ... +9. debugedit.at:251: testing debugedit .debug_str exe DWARF4 ... +stderr: +7. debugedit.at:188: testing debugedit .debug_str partial DWARF4 ... debugedit: Need one FILE as input Usage: debugedit [-in?] [-b|--base-dir STRING] [-d|--dest-dir STRING] [-l|--list-file STRING] [-i|--build-id] [-s|--build-id-seed STRING] [-n|--no-recompute-build-id] [-?|--help] [-u|--usage] [-V|--version] FILE -9. debugedit.at:251: testing debugedit .debug_str exe DWARF4 ... ./debugedit.at:81: debugedit . .. -1. debugedit.at:69: ok stderr: +3. debugedit.at:87: testing debugedit executable ... + debugedit: Need one FILE as input Usage: debugedit [-in?] [-b|--base-dir STRING] [-d|--dest-dir STRING] [-l|--list-file STRING] [-i|--build-id] @@ -579,26 +617,13 @@ [-n|--no-recompute-build-id] [-?|--help] [-u|--usage] [-V|--version] FILE 2. debugedit.at:77: ok -11. debugedit.at:327: testing debugedit .debug_info objects ... - - 13. debugedit.at:379: testing debugedit .debug_info partial ... + 14. debugedit.at:398: testing debugedit .debug_info partial (compressed) ... ./debugedit.at:337: debugedit -b $(pwd) -d /foo/bar/baz ./foo.o -./debugedit.at:103: ./foobarbaz.exe -./debugedit.at:239: debugedit -b $(pwd) -d /foo/bar/baz ./foobarbaz.part.o -./debugedit.at:104: debugedit -b $(pwd) -d /foo/bar/baz ./foobarbaz.exe ./debugedit.at:338: debugedit -b $(pwd) -d /foo/bar/baz ./subdir_bar/bar.o -./debugedit.at:105: ./foobarbaz.exe -4. debugedit.at:97: ok -./debugedit.at:91: ./foobarbaz.exe -./debugedit.at:240: -$READELF -zp.debug_str -zp.debug_line_str ./foobarbaz.part.o | cut -c13- \ - | grep ^/foo/bar/baz | sort | uniq - ./debugedit.at:339: debugedit -b $(pwd) -d /foo/bar/baz ./baz.o -./debugedit.at:269: debugedit -b $(pwd) -d /foo/bar/baz ./foobarbaz.exe -./debugedit.at:92: debugedit -b $(pwd) -d /foo/bar/baz ./foobarbaz.exe +./debugedit.at:362: debugedit -b $(pwd) -d /foo/bar/baz ./foo.o ./debugedit.at:340: ($READELF --debug-dump=info foo.o; \ $READELF --debug-dump=info subdir_bar/bar.o; \ @@ -606,51 +631,79 @@ | grep -E 'DW_AT_(name|comp_dir)' \ | rev | cut -d: -f1 | rev | cut -c2- | grep ^/foo/bar/baz | sort -u +./debugedit.at:363: debugedit -b $(pwd) -d /foo/bar/baz ./subdir_bar/bar.o +./debugedit.at:364: debugedit -b $(pwd) -d /foo/bar/baz ./baz.o +./debugedit.at:91: ./foobarbaz.exe +./debugedit.at:92: debugedit -b $(pwd) -d /foo/bar/baz ./foobarbaz.exe +./debugedit.at:93: ./foobarbaz.exe +./debugedit.at:239: debugedit -b $(pwd) -d /foo/bar/baz ./foobarbaz.part.o +./debugedit.at:103: ./foobarbaz.exe +./debugedit.at:365: +($READELF --debug-dump=info foo.o; \ + $READELF --debug-dump=info subdir_bar/bar.o; \ + $READELF --debug-dump=info baz.o) \ + | grep -E 'DW_AT_(name|comp_dir)' \ + | rev | cut -d: -f1 | rev | cut -c2- | grep ^/foo/bar/baz | sort -u + +./debugedit.at:240: +$READELF -zp.debug_str -zp.debug_line_str ./foobarbaz.part.o | cut -c13- \ + | grep ^/foo/bar/baz | sort | uniq + +3. debugedit.at:87: ok +./debugedit.at:104: debugedit -b $(pwd) -d /foo/bar/baz ./foobarbaz.exe +11. debugedit.at:327: ok +./debugedit.at:269: debugedit -b $(pwd) -d /foo/bar/baz ./foobarbaz.exe +./debugedit.at:105: ./foobarbaz.exe + ./debugedit.at:270: $READELF -zp.debug_str foobarbaz.exe | cut -c13- \ | grep ^/foo/bar/baz | sort + +4. debugedit.at:97: ok +15. debugedit.at:423: testing debugedit .debug_info exe ... stderr: -8. debugedit.at:219: ok +12. debugedit.at:350: ok +./debugedit.at:207: debugedit -b $(pwd) -d /foo/bar/baz ./foobarbaz.part.o +16. debugedit.at:441: testing debugedit .debug_info exe (compressed) ... +./debugedit.at:300: debugedit -b $(pwd) -d /foo/bar/baz ./foobarbaz.exe +./debugedit.at:208: +$READELF -zp.debug_str ./foobarbaz.part.o | cut -c13- \ + | grep ^/foo/bar/baz | sort +./debugedit.at:171: debugedit -b $(pwd) -d /foo/bar/baz ./foo.o 9. debugedit.at:251: ok -./debugedit.at:93: ./foobarbaz.exe -./debugedit.at:389: debugedit -b $(pwd) -d /foo/bar/baz ./foobarbaz.part.o +./debugedit.at:301: +$READELF -zp.debug_str -zp.debug_line_str foobarbaz.exe | cut -c13- \ + | grep ^/foo/bar/baz | sort | uniq + +8. debugedit.at:219: ok ./debugedit.at:133: debugedit -b $(pwd) -d /foo/bar/baz ./foo.o +./debugedit.at:389: debugedit -b $(pwd) -d /foo/bar/baz ./foobarbaz.part.o +./debugedit.at:172: debugedit -b $(pwd) -d /foo/bar/baz ./subdir_bar/bar.o + +stderr: + +./debugedit.at:134: debugedit -b $(pwd) -d /foo/bar/baz ./subdir_bar/bar.o +7. debugedit.at:188: ok ./debugedit.at:390: $READELF --debug-dump=info ./foobarbaz.part.o \ | grep -E 'DW_AT_(name|comp_dir)' \ | rev | cut -d: -f1 | rev | cut -c2- | grep ^/foo/bar/baz | sort -u -./debugedit.at:171: debugedit -b $(pwd) -d /foo/bar/baz ./foo.o -3. debugedit.at:87: ok -./debugedit.at:134: debugedit -b $(pwd) -d /foo/bar/baz ./subdir_bar/bar.o -./debugedit.at:300: debugedit -b $(pwd) -d /foo/bar/baz ./foobarbaz.exe -15. debugedit.at:423: testing debugedit .debug_info exe ... - ./debugedit.at:135: debugedit -b $(pwd) -d /foo/bar/baz ./baz.o -./debugedit.at:172: debugedit -b $(pwd) -d /foo/bar/baz ./subdir_bar/bar.o -11. debugedit.at:327: ok -./debugedit.at:362: debugedit -b $(pwd) -d /foo/bar/baz ./foo.o - ./debugedit.at:173: debugedit -b $(pwd) -d /foo/bar/baz ./baz.o -./debugedit.at:301: -$READELF -zp.debug_str -zp.debug_line_str foobarbaz.exe | cut -c13- \ - | grep ^/foo/bar/baz | sort | uniq +10. debugedit.at:281: ok + +18. debugedit.at:503: testing debugedit .debug_types partial ... -13. debugedit.at:379: ./debugedit.at:136: +./debugedit.at:136: ($READELF -zp.debug_str foo.o; \ $READELF -zp.debug_str subdir_bar/bar.o; \ $READELF -zp.debug_str baz.o) \ | cut -c13- \ | grep ^/foo/bar/baz | sort - ok -./debugedit.at:207: debugedit -b $(pwd) -d /foo/bar/baz ./foobarbaz.part.o -./debugedit.at:363: debugedit -b $(pwd) -d /foo/bar/baz ./subdir_bar/bar.o - -stderr: -16. debugedit.at:441: testing debugedit .debug_info exe (compressed) ... ./debugedit.at:174: ($READELF -zp.debug_str -zp.debug_line_str foo.o; \ $READELF -zp.debug_str -zp.debug_line_str subdir_bar/bar.o; \ @@ -658,77 +711,53 @@ | cut -c13- \ | grep ^/foo/bar/baz | sort | uniq - -./debugedit.at:364: debugedit -b $(pwd) -d /foo/bar/baz ./baz.o -18. debugedit.at:503: testing debugedit .debug_types partial ... -./debugedit.at:208: -$READELF -zp.debug_str ./foobarbaz.part.o | cut -c13- \ - | grep ^/foo/bar/baz | sort - -10. debugedit.at:281: ok -./debugedit.at:365: -($READELF --debug-dump=info foo.o; \ - $READELF --debug-dump=info subdir_bar/bar.o; \ - $READELF --debug-dump=info baz.o) \ - | grep -E 'DW_AT_(name|comp_dir)' \ - | rev | cut -d: -f1 | rev | cut -c2- | grep ^/foo/bar/baz | sort -u - +19. debugedit.at:533: testing debugedit .debug_types exe DWARF4 ... 17. debugedit.at:465: testing debugedit .debug_types objects ... + ./debugedit.at:410: debugedit -b $(pwd) -d /foo/bar/baz ./foobarbaz.part.o -5. debugedit.at:113: ok -19. debugedit.at:533: testing debugedit .debug_types exe DWARF4 ... stderr: -7. debugedit.at:188: ok - +13. debugedit.at:379: ok +6. debugedit.at:150: ok ./debugedit.at:411: $READELF --debug-dump=info ./foobarbaz.part.o \ | grep -E 'DW_AT_(name|comp_dir)' \ | rev | cut -d: -f1 | rev | cut -c2- | grep ^/foo/bar/baz | sort -u -6. debugedit.at:150: ok 20. debugedit.at:563: testing debugedit .debug_types exe DWARF5 ... - -21. debugedit.at:599: testing debugedit .debug_line objects DWARF4 ... 22. debugedit.at:626: testing debugedit .debug_line objects DWARF5 ... +21. debugedit.at:599: testing debugedit .debug_line objects DWARF4 ... +5. debugedit.at:113: ok -12. debugedit.at:350: ok -14. debugedit.at:398: ok 23. debugedit.at:656: testing debugedit .debug_line partial DWARF4 ... +14. debugedit.at:398: ok 24. debugedit.at:678: testing debugedit .debug_line partial DWARF5 ... -26. debugedit.at:724: testing debugedit .debug_line exe DWARF5 ... 25. debugedit.at:702: testing debugedit .debug_line exe DWARF4 ... +26. debugedit.at:724: testing debugedit .debug_line exe DWARF5 ... ./debugedit.at:433: debugedit -b $(pwd) -d /foo/bar/baz ./foobarbaz.exe ./debugedit.at:434: $READELF --debug-dump=info ./foobarbaz.exe | grep -E 'DW_AT_(name|comp_dir)' \ | rev | cut -d: -f1 | rev | cut -c2- | grep ^/foo/bar/baz | sort -u -15. debugedit.at:423: ok ./debugedit.at:453: debugedit -b $(pwd) -d /foo/bar/baz ./foobarbaz.exe ./debugedit.at:454: $READELF --debug-dump=info ./foobarbaz.exe | grep -E 'DW_AT_(name|comp_dir)' \ | rev | cut -d: -f1 | rev | cut -c2- | grep ^/foo/bar/baz | sort -u - ./debugedit.at:519: debugedit -b $(pwd) -d /foo/bar/baz ./foobarbaz.part.o +./debugedit.at:485: debugedit -b $(pwd) -d /foo/bar/baz ./foo.o ./debugedit.at:520: $READELF --debug-dump=info ./foobarbaz.part.o \ | awk '/Abbrev Number:.*DW_TAG_type_unit/{p=1}{if(p)print}/^$/{p=0}' \ | sed -n 's/^.*> *DW_AT_name *:.* \(stringp[^ ]*\|st.\)$/\1/p' \ | sort -27. debugedit.at:748: testing debugedit .debug_macro objects ... +./debugedit.at:486: debugedit -b $(pwd) -d /foo/bar/baz ./subdir_bar/bar.o +15. debugedit.at:423: ok 16. debugedit.at:441: ok -./debugedit.at:549: debugedit -b $(pwd) -d /foo/bar/baz ./foobarbaz.exe -./debugedit.at:550: -$READELF --debug-dump=info ./foobarbaz.exe \ - | awk '/Abbrev Number:.*DW_TAG_type_unit/{p=1}{if(p)print}/^$/{p=0}' \ - | sed -n 's/^.*> *DW_AT_name *:.* \(stringp[^ ]*\|st.\)$/\1/p' \ - | sort - /foo/bar/baz subdir_foo subdir_headers @@ -753,22 +782,29 @@ foobar.h stdc-predef.h ./debugedit.at:639: debugedit -b $(pwd) -d /foo/bar/baz ./foo.o -./debugedit.at:640: debugedit -b $(pwd) -d /foo/bar/baz ./subdir_bar/bar.o +./debugedit.at:487: debugedit -b $(pwd) -d /foo/bar/baz ./baz.o 18. debugedit.at:503: ok -./debugedit.at:641: debugedit -b $(pwd) -d /foo/bar/baz ./baz.o -19. debugedit.at:533: ok -./debugedit.at:642: -($READELF --debug-dump=line foo.o; \ - $READELF --debug-dump=line subdir_bar/bar.o; \ - $READELF --debug-dump=line baz.o) \ - | grep -E -A5 "The (Directory|File Name) Table" \ - | grep "^ [01234]" | cut -f3 -d: +./debugedit.at:488: +for i in ./foo.o ./subdir_bar/bar.o ./baz.o;do \ + $READELF --debug-dump=info $i \ + | awk '/Abbrev Number:.*DW_TAG_type_unit/{p=1}{if(p)print}/^$/{p=0}' \ + | sed -n 's/^.*> *DW_AT_name *:.* \(stringp[^ ]*\|st.\)$/\1/p' \ + | sort; +done + -./debugedit.at:485: debugedit -b $(pwd) -d /foo/bar/baz ./foo.o -./debugedit.at:486: debugedit -b $(pwd) -d /foo/bar/baz ./subdir_bar/bar.o +./debugedit.at:640: debugedit -b $(pwd) -d /foo/bar/baz ./subdir_bar/bar.o +27. debugedit.at:748: testing debugedit .debug_macro objects ... ./debugedit.at:580: debugedit -b $(pwd) -d /foo/bar/baz ./foobarbaz.exe +./debugedit.at:641: debugedit -b $(pwd) -d /foo/bar/baz ./baz.o +./debugedit.at:581: +$READELF --debug-dump=info ./foobarbaz.exe \ + | awk '/Abbrev Number:.*DW_TAG_type_unit/{p=1}{if(p)print}/^$/{p=0}' \ + | sed -n 's/^.*> *DW_AT_name *:.* \(stringp[^ ]*\|st.\)$/\1/p' \ + | sort + 28. debugedit.at:775: testing debugedit .debug_macro partial ... 1 subdir_foo 2 subdir_headers @@ -787,13 +823,61 @@ 1 1 0 0 baz.c 2 2 0 0 foobar.h 3 3 0 0 stdc-predef.h +./debugedit.at:642: +($READELF --debug-dump=line foo.o; \ + $READELF --debug-dump=line subdir_bar/bar.o; \ + $READELF --debug-dump=line baz.o) \ + | grep -E -A5 "The (Directory|File Name) Table" \ + | grep "^ [01234]" | cut -f3 -d: + +./debugedit.at:549: debugedit -b $(pwd) -d /foo/bar/baz ./foobarbaz.exe +29. debugedit.at:798: testing debugedit .debug_macro exe ... ./debugedit.at:610: debugedit -b $(pwd) -d /foo/bar/baz ./foo.o -./debugedit.at:581: +./debugedit.at:550: $READELF --debug-dump=info ./foobarbaz.exe \ | awk '/Abbrev Number:.*DW_TAG_type_unit/{p=1}{if(p)print}/^$/{p=0}' \ | sed -n 's/^.*> *DW_AT_name *:.* \(stringp[^ ]*\|st.\)$/\1/p' \ | sort + 1 subdir_foo + 2 subdir_headers + 3 /usr/include + 1 1 0 0 foo.c + 2 2 0 0 foobar.h + 3 3 0 0 stdc-predef.h + 1 ../subdir_headers + 2 /usr/include + 1 0 0 0 bar.c + 2 1 0 0 foobar.h + 3 2 0 0 stdc-predef.h + 1 /foo/bar/baz + 2 /foo/bar/baz/subdir_headers + 3 /usr/include + 1 1 0 0 baz.c + 2 2 0 0 foobar.h + 3 3 0 0 stdc-predef.h +./debugedit.at:665: debugedit -b $(pwd) -d /foo/bar/baz ./foobarbaz.part.o +20. debugedit.at:563: ok +./debugedit.at:666: +$READELF --debug-dump=line ./foobarbaz.part.o \ + | grep -E -A5 "The (Directory|File Name) Table" \ + | grep "^ [1234]" + +17. debugedit.at:465: ok +19. debugedit.at:533: ok +./debugedit.at:611: debugedit -b $(pwd) -d /foo/bar/baz ./subdir_bar/bar.o +22. debugedit.at:626: ok +23. debugedit.at:656: ok + +./debugedit.at:612: debugedit -b $(pwd) -d /foo/bar/baz ./baz.o +./debugedit.at:613: +($READELF --debug-dump=line foo.o; \ + $READELF --debug-dump=line subdir_bar/bar.o; \ + $READELF --debug-dump=line baz.o) \ + | grep -E -A5 "The (Directory|File Name) Table" | grep "^ [1234]" + + +30. debugedit.at:817: testing debugedit .debug_macro exe (compressed) ... /foo/bar/baz subdir_foo subdir_headers @@ -817,6 +901,7 @@ baz.c foobar.h stdc-predef.h +31. debugedit.at:841: testing debugedit --list-file DWARF4 ... 1 subdir_foo 2 subdir_headers 3 /usr/include @@ -834,22 +919,26 @@ 1 1 0 0 baz.c 2 2 0 0 foobar.h 3 3 0 0 stdc-predef.h +./debugedit.at:711: debugedit -b $(pwd) -d /foo/bar/baz ./foobarbaz.exe + + ./debugedit.at:689: debugedit -b $(pwd) -d /foo/bar/baz ./foobarbaz.part.o -./debugedit.at:665: debugedit -b $(pwd) -d /foo/bar/baz ./foobarbaz.part.o -./debugedit.at:487: debugedit -b $(pwd) -d /foo/bar/baz ./baz.o -29. debugedit.at:798: testing debugedit .debug_macro exe ... -./debugedit.at:611: debugedit -b $(pwd) -d /foo/bar/baz ./subdir_bar/bar.o -./debugedit.at:666: -$READELF --debug-dump=line ./foobarbaz.part.o \ - | grep -E -A5 "The (Directory|File Name) Table" \ - | grep "^ [1234]" ./debugedit.at:690: $READELF --debug-dump=line ./foobarbaz.part.o \ | grep -E -A5 "The (Directory|File Name) Table" \ | grep "^ [01234]" | cut -f3 -d: +21. debugedit.at:599: ok +33. debugedit.at:865: testing debugedit --list-file compressed DWARF4 ... +./debugedit.at:712: +$READELF --debug-dump=line ./foobarbaz.exe \ + | grep -E -A5 "The (Directory|File Name) Table" \ + | grep "^ [1234]" +34. debugedit.at:876: testing debugedit --list-file compressed DWARF5 ... +24. debugedit.at:678: ok +25. debugedit.at:702: ok /foo/bar/baz subdir_foo subdir_headers @@ -874,145 +963,92 @@ foobar.h stdc-predef.h ./debugedit.at:735: debugedit -b $(pwd) -d /foo/bar/baz ./foobarbaz.exe -22. debugedit.at:626: ok - 1 subdir_foo - 2 subdir_headers - 3 /usr/include - 1 1 0 0 foo.c - 2 2 0 0 foobar.h - 3 3 0 0 stdc-predef.h - 1 ../subdir_headers - 2 /usr/include - 1 0 0 0 bar.c - 2 1 0 0 foobar.h - 3 2 0 0 stdc-predef.h - 1 /foo/bar/baz - 2 /foo/bar/baz/subdir_headers - 3 /usr/include - 1 1 0 0 baz.c - 2 2 0 0 foobar.h - 3 3 0 0 stdc-predef.h -./debugedit.at:488: -for i in ./foo.o ./subdir_bar/bar.o ./baz.o;do \ - $READELF --debug-dump=info $i \ - | awk '/Abbrev Number:.*DW_TAG_type_unit/{p=1}{if(p)print}/^$/{p=0}' \ - | sed -n 's/^.*> *DW_AT_name *:.* \(stringp[^ ]*\|st.\)$/\1/p' \ - | sort; -done +32. debugedit.at:853: testing debugedit --list-file DWARF5 ... -./debugedit.at:612: debugedit -b $(pwd) -d /foo/bar/baz ./baz.o -./debugedit.at:711: debugedit -b $(pwd) -d /foo/bar/baz ./foobarbaz.exe -20. debugedit.at:563: ok +./debugedit.at:845: debugedit -l sources.list main +./debugedit.at:846: grep -q main.c sources.list ./debugedit.at:736: $READELF --debug-dump=line ./foobarbaz.exe \ | grep -E -A5 "The (Directory|File Name) Table" \ | grep "^ [01234]" | cut -f3 -d: -24. debugedit.at:678: ok -23. debugedit.at:656: 30. debugedit.at:817: testing debugedit .debug_macro exe (compressed) ... -./debugedit.at:712: -$READELF --debug-dump=line ./foobarbaz.exe \ - | grep -E -A5 "The (Directory|File Name) Table" \ - | grep "^ [1234]" - -./debugedit.at:613: -($READELF --debug-dump=line foo.o; \ - $READELF --debug-dump=line subdir_bar/bar.o; \ - $READELF --debug-dump=line baz.o) \ - | grep -E -A5 "The (Directory|File Name) Table" | grep "^ [1234]" - - ok - -26. debugedit.at:724: ok - -25. debugedit.at:702: ok - - -21. debugedit.at:599: ok -33. debugedit.at:865: testing debugedit --list-file compressed DWARF4 ... -34. debugedit.at:876: testing debugedit --list-file compressed DWARF5 ... -31. debugedit.at:841: testing debugedit --list-file DWARF4 ... - -17. debugedit.at:465: ok -32. debugedit.at:853: testing debugedit --list-file DWARF5 ... 35. debugedit.at:888: testing debugedit build-id recompute ... -./debugedit.at:845: debugedit -l sources.list main -./debugedit.at:881: debugedit -l sources.list main +/build/reproducible-path/debugedit-5.1/tests/testsuite.dir/31/main.c31. debugedit.at:841: ok +./debugedit.at:869: debugedit -l sources.list main +./debugedit.at:870: grep -q main.c sources.list +33. debugedit.at:865: ok ./debugedit.at:858: debugedit -l sources.list main -./debugedit.at:846: grep -q main.c sources.list -./debugedit.at:882: grep -q main.c sources.list +26. debugedit.at:724: ok ./debugedit.at:859: grep -q main.c sources.list -/build/reproducible-path/debugedit-5.1/tests/testsuite.dir/31/main.c34. debugedit.at:876: 31. debugedit.at:841: ok - ok 32. debugedit.at:853: ok -./debugedit.at:869: debugedit -l sources.list main -./debugedit.at:870: grep -q main.c sources.list +./debugedit.at:881: debugedit -l sources.list main +./debugedit.at:882: grep -q main.c sources.list ./debugedit.at:894: $READELF -n main | grep Build.ID: | awk '{print $3}' -33. debugedit.at:865: ok +34. debugedit.at:876: ok +./debugedit.at:786: debugedit -b $(pwd) -d /foo/bar/baz ./foobarbaz.part.o stderr: stdout: a41984dc557748e11175987828e00241e5a442c9 +./debugedit.at:787: +$READELF --debug-dump=macro ./foobarbaz.part.o \ + | grep NUMBER | rev | cut -d: -f1 | rev | cut -c2- + ./debugedit.at:896: expr "$bid" : '[0-9a-f]*' ./debugedit.at:759: debugedit -b $(pwd) -d /foo/bar/baz ./foo.o -./debugedit.at:760: debugedit -b $(pwd) -d /foo/bar/baz ./subdir_bar/bar.o stdout: -./debugedit.at:761: debugedit -b $(pwd) -d /foo/bar/baz ./baz.o 40 ./debugedit.at:899: debugedit -i -s deadbeef main -./debugedit.at:762: -($READELF --debug-dump=macro foo.o; \ - $READELF --debug-dump=macro subdir_bar/bar.o; \ - $READELF --debug-dump=macro baz.o) \ - | grep NUMBER | rev | cut -d: -f1 | rev | cut -c2- - stdout: +28. debugedit.at:775: ok 0302a6ac0d345e8d5e4dd895c4f0d4f7e5a442c9 +./debugedit.at:809: debugedit -b $(pwd) -d /foo/bar/baz ./foobarbaz.exe ./debugedit.at:901: expr "$bid2a" : '[0-9a-f]*' stdout: +./debugedit.at:810: +$READELF --debug-dump=macro ./foobarbaz.exe \ + | grep NUMBER | rev | cut -d: -f1 | rev | cut -c2- + 40 ./debugedit.at:902: test "$bid" != "$bid2a" +./debugedit.at:760: debugedit -b $(pwd) -d /foo/bar/baz ./subdir_bar/bar.o ./debugedit.at:905: $READELF -n main | grep Build.ID: | awk '{print $3}' -./debugedit.at:786: debugedit -b $(pwd) -d /foo/bar/baz ./foobarbaz.part.o -27. debugedit.at:748: stderr: - ok +stderr: +29. debugedit.at:798: ok +./debugedit.at:761: debugedit -b $(pwd) -d /foo/bar/baz ./baz.o stdout: 0302a6ac0d345e8d5e4dd895c4f0d4f7e5a442c9 -./debugedit.at:787: -$READELF --debug-dump=macro ./foobarbaz.part.o \ - | grep NUMBER | rev | cut -d: -f1 | rev | cut -c2- - -./debugedit.at:809: debugedit -b $(pwd) -d /foo/bar/baz ./foobarbaz.exe ./debugedit.at:907: expr "$bid2b" : '[0-9a-f]*' -stdout: -./debugedit.at:810: -$READELF --debug-dump=macro ./foobarbaz.exe \ +./debugedit.at:762: +($READELF --debug-dump=macro foo.o; \ + $READELF --debug-dump=macro subdir_bar/bar.o; \ + $READELF --debug-dump=macro baz.o) \ | grep NUMBER | rev | cut -d: -f1 | rev | cut -c2- +stdout: 40 ./debugedit.at:908: test "$bid2a" == "$bid2b" ./debugedit.at:911: debugedit -i -s deadbeef main stdout: 0302a6ac0d345e8d5e4dd895c4f0d4f7e5a442c9 -29. debugedit.at:798: ok ./debugedit.at:913: expr "$bid2c" : '[0-9a-f]*' -28. debugedit.at:775: ok stdout: -./debugedit.at:830: debugedit -b $(pwd) -d /foo/bar/baz ./foobarbaz.exe +27. debugedit.at:748: ok 40 ./debugedit.at:914: test "$bid2a" == "$bid2c" ./debugedit.at:917: debugedit -i -s zoofoo main stdout: -./debugedit.at:831: -$READELF --debug-dump=macro ./foobarbaz.exe \ - | grep NUMBER | rev | cut -d: -f1 | rev | cut -c2- - 5411ae1dc48607bec682ac39c9a20c4ce5a442c9 ./debugedit.at:919: expr "$bid3" : '[0-9a-f]*' stdout: 40 ./debugedit.at:920: test "$bid3" != "$bid2a" -30. debugedit.at:817: ok 35. debugedit.at:888: ok +./debugedit.at:830: debugedit -b $(pwd) -d /foo/bar/baz ./foobarbaz.exe +./debugedit.at:831: +$READELF --debug-dump=macro ./foobarbaz.exe \ + | grep NUMBER | rev | cut -d: -f1 | rev | cut -c2- + +30. debugedit.at:817: ok ## ------------- ## ## Test results. ## @@ -1074,12 +1110,14 @@ dpkg-buildpackage: info: binary-only upload (no source included) dpkg-genchanges: info: including full source code in upload I: copying local configuration +I: user script /srv/workspace/pbuilder/2992468/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/2992468/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/1008811 and its subdirectories -I: Current time: Thu Nov 7 05:55:14 -12 2024 -I: pbuilder-time-stamp: 1731002114 +I: removing directory /srv/workspace/pbuilder/2992468 and its subdirectories +I: Current time: Fri Nov 8 07:56:08 +14 2024 +I: pbuilder-time-stamp: 1731002168