Diff of the two buildlogs: -- --- b1/build.log 2024-09-03 16:34:28.017311003 +0000 +++ b2/build.log 2024-09-03 16:37:31.201556304 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Tue Sep 3 04:32:31 -12 2024 -I: pbuilder-time-stamp: 1725381151 +I: Current time: Wed Sep 4 06:34:37 +14 2024 +I: pbuilder-time-stamp: 1725381277 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/trixie-reproducible-base.tgz] I: copying local configuration @@ -25,52 +25,84 @@ dpkg-source: info: unpacking golang-github-hillu-go-yara_4.3.3-1.debian.tar.xz I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/24149/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/8117/tmp/hooks/D01_modify_environment starting +debug: Running on virt64a. +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 Sep 3 16:34 /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/8117/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/8117/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='armhf' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=3 ' - DISTRIBUTION='trixie' - HOME='/root' - HOST_ARCH='armhf' + 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]="arm-unknown-linux-gnueabihf") + 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=armhf + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=4 ' + DIRSTACK=() + DISTRIBUTION=trixie + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=arm + HOST_ARCH=armhf IFS=' ' - INVOCATION_ID='987747bf6f184addb742191ef692fbb0' - 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='24149' - PS1='# ' - PS2='> ' + INVOCATION_ID=c37004901a8c42449267430520f0f325 + LANG=C + LANGUAGE=it_CH:it + LC_ALL=C + MACHTYPE=arm-unknown-linux-gnueabihf + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnueabihf + 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=8117 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.IelNr5pe/pbuilderrc_MJew --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.IelNr5pe/b1 --logfile b1/build.log golang-github-hillu-go-yara_4.3.3-1.dsc' - SUDO_GID='110' - SUDO_UID='103' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://10.0.0.15:3142/' + 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.IelNr5pe/pbuilderrc_1Fk9 --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.IelNr5pe/b2 --logfile b2/build.log golang-github-hillu-go-yara_4.3.3-1.dsc' + SUDO_GID=114 + SUDO_UID=108 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://10.0.0.15:3142/ I: uname -a - Linux virt32z 6.1.0-25-armmp-lpae #1 SMP Debian 6.1.106-3 (2024-08-26) armv7l GNU/Linux + Linux i-capture-the-hostname 6.1.0-25-arm64 #1 SMP Debian 6.1.106-3 (2024-08-26) 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/24149/tmp/hooks/D02_print_environment finished +I: user script /srv/workspace/pbuilder/8117/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -83,7 +115,7 @@ Depends: debhelper-compat (= 13), dh-golang, golang-any, pkg-config, libyara-dev (>= 4.3.2) dpkg-deb: building package 'pbuilder-satisfydepends-dummy' in '/tmp/satisfydepends-aptitude/pbuilder-satisfydepends-dummy.deb'. Selecting previously unselected package pbuilder-satisfydepends-dummy. -(Reading database ... 19494 files and directories currently installed.) +(Reading database ... 19508 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: @@ -158,10 +190,10 @@ Get: 42 http://deb.debian.org/debian trixie/main armhf pkgconf-bin armhf 1.8.1-3 [29.1 kB] Get: 43 http://deb.debian.org/debian trixie/main armhf pkgconf armhf 1.8.1-3 [26.1 kB] Get: 44 http://deb.debian.org/debian trixie/main armhf pkg-config armhf 1.8.1-3 [13.9 kB] -Fetched 62.5 MB in 1s (85.2 MB/s) +Fetched 62.5 MB in 1s (41.8 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 ... 19494 files and directories currently installed.) +(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 ... 19508 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. @@ -349,7 +381,11 @@ Building tag database... -> Finished parsing the build-deps I: Building the package -I: Running cd /build/reproducible-path/golang-github-hillu-go-yara-4.3.3/ && 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.3.3-1_source.changes +I: user script /srv/workspace/pbuilder/8117/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for trixie +I: user script /srv/workspace/pbuilder/8117/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/reproducible-path/golang-github-hillu-go-yara-4.3.3/ && 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.3.3-1_source.changes dpkg-buildpackage: info: source package golang-github-hillu-go-yara dpkg-buildpackage: info: source version 4.3.3-1 dpkg-buildpackage: info: source distribution unstable @@ -367,17 +403,17 @@ dh_autoreconf -O--buildsystem=golang dh_auto_configure -O--buildsystem=golang dh_auto_build -O--buildsystem=golang - cd obj-arm-linux-gnueabihf && go install -trimpath -v -p 3 github.com/hillu/go-yara -internal/unsafeheader + cd obj-arm-linux-gnueabihf && go install -trimpath -v -p 4 github.com/hillu/go-yara internal/goarch -internal/cpu +internal/unsafeheader internal/coverage/rtcov -internal/abi -internal/chacha8rand -internal/bytealg +internal/cpu internal/godebugs +internal/chacha8rand +internal/abi internal/goexperiment internal/goos +internal/bytealg runtime/internal/atomic runtime/internal/math runtime/internal/sys @@ -385,40 +421,40 @@ internal/itoa math/bits unicode/utf8 -math internal/race sync/atomic -runtime +math unicode cmp slices +runtime internal/reflectlite sync internal/testlog runtime/cgo errors -strconv sort +strconv io -reflect internal/oserror syscall +internal/safefilepath +path +reflect internal/syscall/unix time -internal/safefilepath internal/syscall/execenv -path -internal/fmtsort io/fs internal/poll +internal/fmtsort os fmt github.com/hillu/go-yara dh_auto_test -O--buildsystem=golang - cd obj-arm-linux-gnueabihf && go test -vet=off -v -p 3 github.com/hillu/go-yara + cd obj-arm-linux-gnueabihf && go test -vet=off -v -p 4 github.com/hillu/go-yara === RUN TestCompiler compiler_test.go:23: expected error: syntax error, unexpected identifier ---- PASS: TestCompiler (0.01s) +--- PASS: TestCompiler (0.00s) === RUN TestPanic compiler_test.go:33: Everything ok, MustCompile panicked: syntax error, unexpected identifier --- PASS: TestPanic (0.00s) @@ -429,12 +465,12 @@ --- PASS: TestErrors (0.00s) === RUN TestErrorNoPanic compiler_test.go:69: got error as expected: Compiler cannot be used after producing rule set ---- PASS: TestErrorNoPanic (0.01s) +--- PASS: TestErrorNoPanic (0.00s) === RUN TestCompilerIncludeCallback compiler_test.go:79: Processing include "existing" (from ns="default", file="") compiler_test.go:79: Processing include "non-existing" (from ns="default", file="") compiler_test.go:100: Compiler returned error on attempt to include non-existing rule: callback failed to provide include resource: non-existing ---- PASS: TestCompilerIncludeCallback (0.01s) +--- PASS: TestCompilerIncludeCallback (0.00s) === RUN TestIterator 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:[]}] @@ -442,58 +478,58 @@ --- PASS: TestIterator (0.01s) === RUN TestIteratorWithPanic mem_blocks_test.go:146: simple iterator scan (aaa..bbb): [{Rule:t1 Namespace:default Tags:[] Metas:[] Strings:[]}] ---- PASS: TestIteratorWithPanic (0.01s) +--- PASS: TestIteratorWithPanic (0.00s) === RUN TestBooleanOperators ---- PASS: TestBooleanOperators (0.07s) +--- PASS: TestBooleanOperators (0.03s) === RUN TestComparisonOperators ---- PASS: TestComparisonOperators (0.29s) +--- PASS: TestComparisonOperators (0.10s) === RUN TestArithmeticOperators ---- PASS: TestArithmeticOperators (0.14s) +--- PASS: TestArithmeticOperators (0.05s) === RUN TestBitwiseOperators ---- PASS: TestBitwiseOperators (0.08s) +--- PASS: TestBitwiseOperators (0.03s) === RUN TestStrings ---- PASS: TestStrings (0.44s) +--- PASS: TestStrings (0.16s) === RUN TestWildcardStrings --- PASS: TestWildcardStrings (0.01s) === RUN TestHexStrings ---- PASS: TestHexStrings (0.26s) +--- PASS: TestHexStrings (0.10s) === RUN TestEntrypoint ---- PASS: TestEntrypoint (0.05s) +--- PASS: TestEntrypoint (0.02s) === RUN TestFilesize ---- PASS: TestFilesize (0.01s) +--- PASS: TestFilesize (0.00s) === RUN TestExternals ---- PASS: TestExternals (0.21s) +--- PASS: TestExternals (0.08s) === RUN TestModules ---- PASS: TestModules (0.18s) +--- PASS: TestModules (0.07s) === RUN TestIntegerFunctions ---- PASS: TestIntegerFunctions (0.06s) +--- 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] XorKey:0}]}] ---- PASS: TestSimpleMatch (0.02s) +--- PASS: TestSimpleMatch (0.01s) === 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] XorKey:0}]}] ---- PASS: TestSimpleFileMatch (0.02s) +--- PASS: TestSimpleFileMatch (0.01s) === 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] XorKey:0}]}] ---- PASS: TestSimpleFileDescriptorMatch (0.02s) +--- PASS: TestSimpleFileDescriptorMatch (0.01s) === RUN TestEmpty rules_test.go:82: Scan of null-byte slice did not crash. Yay. ---- PASS: TestEmpty (0.01s) +--- PASS: TestEmpty (0.00s) === RUN TestLoad --- PASS: TestLoad (0.00s) === RUN TestReader 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] XorKey:0}]}] --- PASS: TestReader (0.00s) === RUN TestWriter ---- PASS: TestWriter (0.02s) +--- PASS: TestWriter (0.01s) === RUN TestWriterBuffer ---- PASS: TestWriterBuffer (0.56s) +--- PASS: TestWriterBuffer (0.72s) === RUN TestReaderBZIP2 ---- PASS: TestReaderBZIP2 (3.08s) +--- PASS: TestReaderBZIP2 (2.85s) === RUN TestScanMemCgoPointer ---- PASS: TestScanMemCgoPointer (0.02s) +--- PASS: TestScanMemCgoPointer (0.01s) === RUN TestRule ---- PASS: TestRule (0.02s) +--- PASS: TestRule (0.01s) === RUN TestImportDataCallback rules_test.go:282: ImportModule callback called: module=tests rules_test.go:290: ModuleImported callback called @@ -503,7 +539,7 @@ rules_test.go:272: RuleNotMatching callback called: rule=t2 rules_test.go:267: RuleMatching callback called: rule=t3 rules_test.go:277: ScanFinished callback called ---- PASS: TestImportDataCallback (0.02s) +--- PASS: TestImportDataCallback (0.01s) === RUN TestConsoleCallback rules_test.go:282: ImportModule callback called: module=console rules_test.go:290: ModuleImported callback called @@ -513,20 +549,20 @@ === RUN TestTooManyMatches rules_test.go:272: RuleNotMatching callback called: rule=t rules_test.go:277: ScanFinished callback called ---- PASS: TestTooManyMatches (0.67s) +--- PASS: TestTooManyMatches (0.61s) === RUN TestXorKey ---- PASS: TestXorKey (0.02s) +--- PASS: TestXorKey (0.01s) === 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] XorKey:0}]}] ---- PASS: TestScannerSimpleMatch (0.02s) +--- PASS: TestScannerSimpleMatch (0.01s) === 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] XorKey:0}]}] ---- PASS: TestScannerSimpleFileMatch (0.02s) +--- 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] XorKey:0}]}] ---- PASS: TestScannerSimpleFileDescriptorMatch (0.02s) +--- PASS: TestScannerSimpleFileDescriptorMatch (0.01s) === RUN TestScannerEmptyCallback ---- PASS: TestScannerEmptyCallback (0.02s) +--- PASS: TestScannerEmptyCallback (0.01s) === RUN TestScannerIndependence scanner_test.go:155: Matches 1: [{Rule:test Namespace:default Tags:[] Metas:[] Strings:[]}] scanner_test.go:156: Matches 2: [] @@ -540,7 +576,7 @@ rules_test.go:272: RuleNotMatching callback called: rule=t2 rules_test.go:267: RuleMatching callback called: rule=t3 rules_test.go:277: ScanFinished callback called ---- PASS: TestScannerImportDataCallback (0.02s) +--- PASS: TestScannerImportDataCallback (0.01s) === RUN TestScannerError scanner_test.go:205: ScanMem: got expected error, callback error --- PASS: TestScannerError (0.01s) @@ -553,9 +589,9 @@ (Setting -test.timeout may be a good idea for this.) --- SKIP: TestScannerFileWalk (0.00s) === RUN Example_ScanMemBlocks ---- PASS: Example_ScanMemBlocks (0.02s) +--- PASS: Example_ScanMemBlocks (0.01s) PASS -ok github.com/hillu/go-yara 6.530s +ok github.com/hillu/go-yara 5.045s create-stamp debian/debhelper-build-stamp dh_testroot -O--buildsystem=golang dh_prep -O--buildsystem=golang @@ -582,12 +618,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/8117/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/8117/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/24149 and its subdirectories -I: Current time: Tue Sep 3 04:34:24 -12 2024 -I: pbuilder-time-stamp: 1725381264 +I: removing directory /srv/workspace/pbuilder/8117 and its subdirectories +I: Current time: Wed Sep 4 06:37:27 +14 2024 +I: pbuilder-time-stamp: 1725381447