Diff of the two buildlogs: -- --- b1/build.log 2023-05-06 06:07:44.959602061 +0000 +++ b2/build.log 2023-05-06 06:10:02.573569032 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Fri Jun 7 00:25:52 -12 2024 -I: pbuilder-time-stamp: 1717763152 +I: Current time: Sat May 6 20:07:49 +14 2023 +I: pbuilder-time-stamp: 1683353269 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/bookworm-reproducible-base.tgz] I: copying local configuration @@ -16,7 +16,7 @@ I: copying [./golang-github-hillu-go-yara_4.2.4.orig.tar.gz] I: copying [./golang-github-hillu-go-yara_4.2.4-2.debian.tar.xz] I: Extracting source -gpgv: Signature made Sat Oct 8 02:07:18 2022 -12 +gpgv: Signature made Sun Oct 9 04:07:18 2022 +14 gpgv: using RSA key 5B34BA5AAB5507E903426E85E8D37AE2F09F4872 gpgv: Can't check signature: No public key dpkg-source: warning: cannot verify inline signature for ./golang-github-hillu-go-yara_4.2.4-2.dsc: no acceptable signature found @@ -25,52 +25,84 @@ dpkg-source: info: unpacking golang-github-hillu-go-yara_4.2.4-2.debian.tar.xz I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/22924/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/23245/tmp/hooks/D01_modify_environment starting +debug: Running on codethink10-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 May 6 20:08 /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/23245/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/23245/tmp/hooks/D02_print_environment starting I: set - BUILDDIR='/build' - 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]="15" [3]="1" [4]="release" [5]="aarch64-unknown-linux-gnu") + BASH_VERSION='5.2.15(1)-release' + BUILDDIR=/build + 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=8' - DISTRIBUTION='bookworm' - HOME='/var/lib/jenkins' - HOST_ARCH='arm64' + DIRSTACK=() + DISTRIBUTION=bookworm + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/var/lib/jenkins + HOSTNAME=i-capture-the-hostname + HOSTTYPE=aarch64 + HOST_ARCH=arm64 IFS=' ' - 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='22924' - PS1='# ' - PS2='> ' + 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=23245 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.xKG3uVAd/pbuilderrc_GpxS --distribution bookworm --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bookworm-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.xKG3uVAd/b1 --logfile b1/build.log golang-github-hillu-go-yara_4.2.4-2.dsc' - SUDO_GID='117' - SUDO_UID='110' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - USERNAME='root' - _='/usr/bin/systemd-run' - http_proxy='http://192.168.101.16: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.xKG3uVAd/pbuilderrc_RlMz --distribution bookworm --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bookworm-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.xKG3uVAd/b2 --logfile b2/build.log --extrapackages usrmerge golang-github-hillu-go-yara_4.2.4-2.dsc' + SUDO_GID=117 + SUDO_UID=110 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + USERNAME=root + _='I: set' + http_proxy=http://192.168.101.16:3128 I: uname -a - Linux codethink13-arm64 4.15.0-210-generic #221-Ubuntu SMP Tue Apr 18 08:32:48 UTC 2023 aarch64 GNU/Linux + Linux i-capture-the-hostname 4.15.0-210-generic #221-Ubuntu SMP Tue Apr 18 08:32:48 UTC 2023 aarch64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 May 4 2023 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/22924/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 May 6 00:25 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/23245/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -159,7 +191,7 @@ Get: 43 http://deb.debian.org/debian bookworm/main arm64 pkgconf-bin arm64 1.8.1-1 [28.9 kB] Get: 44 http://deb.debian.org/debian bookworm/main arm64 pkgconf arm64 1.8.1-1 [25.9 kB] Get: 45 http://deb.debian.org/debian bookworm/main arm64 pkg-config arm64 1.8.1-1 [13.7 kB] -Fetched 96.2 MB in 3s (35.6 MB/s) +Fetched 96.2 MB in 2s (52.4 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 ... 19616 files and directories currently installed.) @@ -353,8 +385,17 @@ Writing extended state information... Building tag database... -> Finished parsing the build-deps +Reading package lists... +Building dependency tree... +Reading state information... +usrmerge is already the newest version (35). +0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. I: Building the package -I: Running cd /build/golang-github-hillu-go-yara-4.2.4/ && 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 > ../golang-github-hillu-go-yara_4.2.4-2_source.changes +I: user script /srv/workspace/pbuilder/23245/tmp/hooks/A99_set_merged_usr starting +Re-configuring usrmerge... +I: user script /srv/workspace/pbuilder/23245/tmp/hooks/A99_set_merged_usr finished +hostname: Temporary failure in name resolution +I: Running cd /build/golang-github-hillu-go-yara-4.2.4/ && 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 > ../golang-github-hillu-go-yara_4.2.4-2_source.changes dpkg-buildpackage: info: source package golang-github-hillu-go-yara dpkg-buildpackage: info: source version 4.2.4-2 dpkg-buildpackage: info: source distribution unstable @@ -373,43 +414,43 @@ dh_auto_configure -O--buildsystem=golang dh_auto_build -O--buildsystem=golang cd obj-aarch64-linux-gnu && go install -trimpath -v -p 8 github.com/hillu/go-yara -internal/goarch internal/unsafeheader -internal/goos +internal/goarch internal/goexperiment +internal/itoa internal/race +internal/goos internal/cpu -sync/atomic -runtime/internal/syscall internal/abi +runtime/internal/syscall +sync/atomic runtime/internal/math -runtime/internal/sys -internal/itoa unicode/utf8 +runtime/internal/sys math/bits unicode runtime/internal/atomic internal/bytealg math runtime -sync internal/reflectlite +sync internal/testlog runtime/cgo errors sort -io internal/oserror internal/safefilepath path +io strconv syscall reflect -time internal/syscall/execenv internal/syscall/unix -io/fs +time internal/poll +io/fs os github.com/hillu/go-yara dh_auto_test -O--buildsystem=golang @@ -422,7 +463,7 @@ --- PASS: TestPanic (0.00s) === RUN TestWarnings compiler_test.go:43: Recorded Errors=[]yara.CompilerMessage{yara.CompilerMessage{Filename:"", Line:1, Text:"syntax error", Rule:(*yara.Rule)(0x400000e0d8)}}, Warnings=[]yara.CompilerMessage(nil) ---- PASS: TestWarnings (0.00s) +--- PASS: TestWarnings (0.01s) === RUN TestCompilerIncludeCallback compiler_test.go:52: Processing include "existing" (from ns="default", file="") compiler_test.go:52: Processing include "non-existing" (from ns="default", file="") @@ -432,37 +473,37 @@ mem_blocks_test.go:71: simple iterator scan (no data): [{t1 default [] [] []}] mem_blocks_test.go:79: simple iterator scan (empty block): [{Rule:t1 Namespace:default Tags:[] Metas:[] Strings:[]}] mem_blocks_test.go:93: simple iterator scan (aaa..bbb): [{Rule:t1 Namespace:default Tags:[] Metas:[] Strings:[]} {Rule:t2 Namespace:default Tags:[] Metas:[] Strings:[{Name:$a Base:0 Offset:0 Data:[97 97 97 97]} {Name:$b Base:32 Offset:0 Data:[98 98 98 98]}]} {Rule:t4 Namespace:default Tags:[] Metas:[] Strings:[]}] ---- PASS: TestIterator (0.02s) +--- PASS: TestIterator (0.01s) === RUN TestBooleanOperators ---- PASS: TestBooleanOperators (0.08s) +--- PASS: TestBooleanOperators (0.03s) === RUN TestComparisonOperators ---- PASS: TestComparisonOperators (0.15s) +--- PASS: TestComparisonOperators (0.12s) === RUN TestArithmeticOperators ---- PASS: TestArithmeticOperators (0.07s) +--- PASS: TestArithmeticOperators (0.05s) === RUN TestBitwiseOperators ---- PASS: TestBitwiseOperators (0.08s) +--- PASS: TestBitwiseOperators (0.02s) === RUN TestStrings ---- PASS: TestStrings (0.27s) +--- PASS: TestStrings (0.12s) === RUN TestWildcardStrings --- PASS: TestWildcardStrings (0.00s) === RUN TestHexStrings ---- PASS: TestHexStrings (0.13s) +--- PASS: TestHexStrings (0.07s) === RUN TestEntrypoint ---- PASS: TestEntrypoint (0.02s) +--- PASS: TestEntrypoint (0.01s) === RUN TestFilesize --- PASS: TestFilesize (0.00s) === RUN TestExternals ---- PASS: TestExternals (0.10s) +--- PASS: TestExternals (0.06s) === RUN TestModules ---- PASS: TestModules (0.09s) +--- PASS: TestModules (0.05s) === RUN TestIntegerFunctions ---- PASS: TestIntegerFunctions (0.03s) +--- PASS: TestIntegerFunctions (0.02s) === RUN TestSimpleMatch rules_test.go:44: Matches: [{Rule:test Namespace:default Tags:[tag1] Metas:[{Identifier:author Value:Hilko Bengen}] Strings:[{Name:$a Base:0 Offset:1 Data:[97 98 99]}]}] --- PASS: TestSimpleMatch (0.00s) === RUN TestSimpleFileMatch rules_test.go:60: Matches: [{Rule:test Namespace:default Tags:[tag1] Metas:[{Identifier:author Value:Hilko Bengen}] Strings:[{Name:$a Base:0 Offset:1 Data:[97 98 99]}]}] ---- PASS: TestSimpleFileMatch (0.02s) +--- PASS: TestSimpleFileMatch (0.00s) === RUN TestSimpleFileDescriptorMatch rules_test.go:76: Matches: [{Rule:test Namespace:default Tags:[tag1] Metas:[{Identifier:author Value:Hilko Bengen}] Strings:[{Name:$a Base:0 Offset:1 Data:[97 98 99]}]}] --- PASS: TestSimpleFileDescriptorMatch (0.00s) @@ -475,15 +516,15 @@ rules_test.go:129: Matches: [{Rule:test Namespace:default Tags:[tag1] Metas:[{Identifier:author Value:Hilko Bengen}] Strings:[{Name:$a Base:0 Offset:1 Data:[97 98 99]}]}] --- PASS: TestReader (0.00s) === RUN TestWriter ---- PASS: TestWriter (0.02s) +--- PASS: TestWriter (0.00s) === RUN TestWriterBuffer ---- PASS: TestWriterBuffer (1.24s) +--- PASS: TestWriterBuffer (0.89s) === RUN TestReaderBZIP2 ---- PASS: TestReaderBZIP2 (5.47s) +--- PASS: TestReaderBZIP2 (2.96s) === RUN TestScanMemCgoPointer --- PASS: TestScanMemCgoPointer (0.00s) === RUN TestRule ---- PASS: TestRule (0.01s) +--- PASS: TestRule (0.00s) === RUN TestImportDataCallback rules_test.go:280: ImportModule callback called: module=tests rules_test.go:288: ModuleImported callback called @@ -493,28 +534,28 @@ rules_test.go:270: RuleNotMatching callback called: rule=t2 rules_test.go:265: RuleMatching callback called: rule=t3 rules_test.go:275: ScanFinished callback called ---- PASS: TestImportDataCallback (0.04s) +--- PASS: TestImportDataCallback (0.01s) === RUN TestConsoleCallback rules_test.go:280: ImportModule callback called: module=console rules_test.go:288: ModuleImported callback called rules_test.go:265: RuleMatching callback called: rule=t rules_test.go:275: ScanFinished callback called ---- PASS: TestConsoleCallback (0.03s) +--- PASS: TestConsoleCallback (0.00s) === RUN TestScannerSimpleMatch scanner_test.go:45: Matches: [{Rule:test Namespace:default Tags:[tag1] Metas:[{Identifier:author Value:Matt Blewitt}] Strings:[{Name:$a Base:0 Offset:1 Data:[97 98 99]}]}] ---- PASS: TestScannerSimpleMatch (0.01s) +--- PASS: TestScannerSimpleMatch (0.00s) === RUN TestScannerSimpleFileMatch scanner_test.go:61: Matches: [{Rule:test Namespace:default Tags:[tag1] Metas:[{Identifier:author Value:Matt Blewitt}] Strings:[{Name:$a Base:0 Offset:1 Data:[97 98 99]}]}] --- PASS: TestScannerSimpleFileMatch (0.01s) === RUN TestScannerSimpleFileDescriptorMatch scanner_test.go:77: Matches: [{Rule:test Namespace:default Tags:[tag1] Metas:[{Identifier:author Value:Matt Blewitt}] Strings:[{Name:$a Base:0 Offset:1 Data:[97 98 99]}]}] ---- PASS: TestScannerSimpleFileDescriptorMatch (0.01s) +--- PASS: TestScannerSimpleFileDescriptorMatch (0.00s) === RUN TestScannerEmptyCallback ---- PASS: TestScannerEmptyCallback (0.01s) +--- PASS: TestScannerEmptyCallback (0.00s) === RUN TestScannerIndependence scanner_test.go:155: Matches 1: [{Rule:test Namespace:default Tags:[] Metas:[] Strings:[]}] scanner_test.go:156: Matches 2: [] ---- PASS: TestScannerIndependence (0.01s) +--- PASS: TestScannerIndependence (0.00s) === RUN TestScannerImportDataCallback rules_test.go:280: ImportModule callback called: module=tests rules_test.go:288: ModuleImported callback called @@ -524,10 +565,10 @@ rules_test.go:270: RuleNotMatching callback called: rule=t2 rules_test.go:265: RuleMatching callback called: rule=t3 rules_test.go:275: ScanFinished callback called ---- PASS: TestScannerImportDataCallback (0.07s) +--- PASS: TestScannerImportDataCallback (0.01s) === RUN TestScannerError scanner_test.go:205: ScanMem: got expected error, callback error ---- PASS: TestScannerError (0.00s) +--- PASS: TestScannerError (0.01s) === RUN TestFileWalk stress_test.go:21: Set TEST_WALK to enable scanning files from user's HOME with a dummy ruleset. (Setting -test.timeout may be a good idea for this.) @@ -537,9 +578,9 @@ (Setting -test.timeout may be a good idea for this.) --- SKIP: TestScannerFileWalk (0.00s) === RUN Example_ScanMemBlocks ---- PASS: Example_ScanMemBlocks (0.00s) +--- PASS: Example_ScanMemBlocks (0.01s) PASS -ok github.com/hillu/go-yara 8.390s +ok github.com/hillu/go-yara 4.795s create-stamp debian/debhelper-build-stamp dh_testroot -O--buildsystem=golang dh_prep -O--buildsystem=golang @@ -566,12 +607,14 @@ 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/23245/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/23245/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/22924 and its subdirectories -I: Current time: Fri Jun 7 00:30:43 -12 2024 -I: pbuilder-time-stamp: 1717763443 +I: removing directory /srv/workspace/pbuilder/23245 and its subdirectories +I: Current time: Sat May 6 20:10:01 +14 2023 +I: pbuilder-time-stamp: 1683353401