Diff of the two buildlogs: -- --- b1/build.log 2025-01-02 02:19:11.825294448 +0000 +++ b2/build.log 2025-01-02 02:25:40.975568530 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Tue Feb 3 20:40:53 -12 2026 -I: pbuilder-time-stamp: 1770194453 +I: Current time: Thu Jan 2 16:19:14 +14 2025 +I: pbuilder-time-stamp: 1735784354 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/364846/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/4114530/tmp/hooks/D01_modify_environment starting +debug: Running on ionos1-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 Jan 2 02:19 /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/4114530/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/4114530/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='amd64' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=42 ' - DISTRIBUTION='trixie' - HOME='/root' - HOST_ARCH='amd64' + 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=20 ' + 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='1be906f76eae4837b9aa9f014742b09a' - 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='364846' - PS1='# ' - PS2='> ' + INVOCATION_ID=e49d41b1857243eda4bda94af8cae6e8 + 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=4114530 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.jibjGgHe/pbuilderrc_xOxi --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.jibjGgHe/b1 --logfile b1/build.log golang-github-hillu-go-yara_4.3.3-1.dsc' - SUDO_GID='111' - SUDO_UID='106' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://213.165.73.152: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.jibjGgHe/pbuilderrc_YwHz --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.jibjGgHe/b2 --logfile b2/build.log golang-github-hillu-go-yara_4.3.3-1.dsc' + SUDO_GID=110 + SUDO_UID=105 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://46.16.76.132:3128 I: uname -a - Linux ionos15-amd64 6.11.10+bpo-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.11.10-1~bpo12+1 (2024-12-19) x86_64 GNU/Linux + Linux i-capture-the-hostname 6.1.0-28-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 2024 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/364846/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 Nov 22 14:40 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/4114530/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -158,7 +190,7 @@ Get: 42 http://deb.debian.org/debian trixie/main amd64 pkgconf-bin amd64 1.8.1-4 [30.2 kB] Get: 43 http://deb.debian.org/debian trixie/main amd64 pkgconf amd64 1.8.1-4 [26.2 kB] Get: 44 http://deb.debian.org/debian trixie/main amd64 pkg-config amd64 1.8.1-4 [14.0 kB] -Fetched 69.5 MB in 3s (20.1 MB/s) +Fetched 69.5 MB in 5s (14.2 MB/s) Preconfiguring packages ... 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 ... 19964 files and directories currently installed.) @@ -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/4114530/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for trixie +I: user script /srv/workspace/pbuilder/4114530/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,63 +403,63 @@ dh_autoreconf -O--buildsystem=golang dh_auto_configure -O--buildsystem=golang dh_auto_build -O--buildsystem=golang - cd obj-x86_64-linux-gnu && go install -trimpath -v -p 42 github.com/hillu/go-yara + cd obj-x86_64-linux-gnu && go install -trimpath -v -p 20 github.com/hillu/go-yara cmp -internal/itoa -internal/profilerecord -internal/byteorder internal/goarch -internal/godebugs -internal/unsafeheader -internal/race -internal/goos +math/bits internal/coverage/rtcov +internal/byteorder +internal/goexperiment unicode/utf8 internal/msan -internal/goexperiment -unicode +internal/itoa +internal/race internal/asan -math/bits +unicode +internal/unsafeheader +internal/godebugs +internal/goos +internal/profilerecord internal/runtime/syscall -internal/runtime/atomic internal/cpu +internal/runtime/atomic sync/atomic -runtime/internal/math internal/abi -runtime/internal/sys +runtime/internal/math internal/chacha8rand +runtime/internal/sys internal/bytealg -internal/runtime/exithook math +internal/runtime/exithook internal/stringslite runtime -internal/reflectlite iter sync +internal/reflectlite slices -internal/testlog internal/bisect +internal/testlog runtime/cgo errors -strconv internal/godebug +io +strconv internal/oserror path -io syscall reflect internal/syscall/execenv -time internal/syscall/unix +time +internal/fmtsort io/fs internal/poll -internal/fmtsort internal/filepathlite os fmt github.com/hillu/go-yara dh_auto_test -O--buildsystem=golang - cd obj-x86_64-linux-gnu && go test -vet=off -v -p 42 github.com/hillu/go-yara + cd obj-x86_64-linux-gnu && go test -vet=off -v -p 20 github.com/hillu/go-yara === RUN TestCompiler compiler_test.go:23: expected error: syntax error, unexpected identifier --- PASS: TestCompiler (0.00s) @@ -450,29 +486,29 @@ --- 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.00s) +--- PASS: TestIteratorWithPanic (0.01s) === RUN TestBooleanOperators ---- PASS: TestBooleanOperators (0.03s) +--- PASS: TestBooleanOperators (0.04s) === RUN TestComparisonOperators ---- PASS: TestComparisonOperators (0.12s) +--- PASS: TestComparisonOperators (0.15s) === RUN TestArithmeticOperators ---- PASS: TestArithmeticOperators (0.06s) +--- PASS: TestArithmeticOperators (0.08s) === RUN TestBitwiseOperators ---- PASS: TestBitwiseOperators (0.03s) +--- PASS: TestBitwiseOperators (0.04s) === RUN TestStrings ---- PASS: TestStrings (0.18s) +--- PASS: TestStrings (0.20s) === RUN TestWildcardStrings --- PASS: TestWildcardStrings (0.01s) === RUN TestHexStrings ---- PASS: TestHexStrings (0.11s) +--- PASS: TestHexStrings (0.13s) === RUN TestEntrypoint ---- PASS: TestEntrypoint (0.02s) +--- PASS: TestEntrypoint (0.03s) === RUN TestFilesize ---- PASS: TestFilesize (0.00s) +--- PASS: TestFilesize (0.01s) === RUN TestExternals ---- PASS: TestExternals (0.09s) +--- PASS: TestExternals (0.12s) === RUN TestModules ---- PASS: TestModules (0.08s) +--- PASS: TestModules (0.09s) === RUN TestIntegerFunctions --- PASS: TestIntegerFunctions (0.03s) === RUN TestSimpleMatch @@ -480,7 +516,7 @@ --- 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.04s) +--- 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.01s) @@ -495,9 +531,9 @@ === RUN TestWriter --- PASS: TestWriter (0.01s) === RUN TestWriterBuffer ---- PASS: TestWriterBuffer (0.18s) +--- PASS: TestWriterBuffer (0.36s) === RUN TestReaderBZIP2 ---- PASS: TestReaderBZIP2 (1.11s) +--- PASS: TestReaderBZIP2 (1.59s) === RUN TestScanMemCgoPointer --- PASS: TestScanMemCgoPointer (0.00s) === RUN TestRule @@ -521,24 +557,24 @@ === RUN TestTooManyMatches rules_test.go:272: RuleNotMatching callback called: rule=t rules_test.go:277: ScanFinished callback called ---- PASS: TestTooManyMatches (0.20s) +--- PASS: TestTooManyMatches (0.31s) === RUN TestXorKey ---- PASS: TestXorKey (0.00s) +--- 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.00s) +--- 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.00s) +--- PASS: TestScannerSimpleFileMatch (0.02s) === 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.00s) +--- PASS: TestScannerSimpleFileDescriptorMatch (0.01s) === RUN TestScannerEmptyCallback ---- PASS: TestScannerEmptyCallback (0.00s) +--- 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: [] ---- PASS: TestScannerIndependence (0.00s) +--- PASS: TestScannerIndependence (0.01s) === RUN TestScannerImportDataCallback rules_test.go:282: ImportModule callback called: module=tests rules_test.go:290: ModuleImported callback called @@ -551,7 +587,7 @@ --- 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.) @@ -563,7 +599,7 @@ === RUN Example_ScanMemBlocks --- PASS: Example_ScanMemBlocks (0.01s) PASS -ok github.com/hillu/go-yara 2.769s +ok github.com/hillu/go-yara 3.463s create-stamp debian/debhelper-build-stamp dh_testroot -O--buildsystem=golang dh_prep -O--buildsystem=golang @@ -590,12 +626,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/4114530/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/4114530/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/364846 and its subdirectories -I: Current time: Tue Feb 3 20:42:10 -12 2026 -I: pbuilder-time-stamp: 1770194530 +I: removing directory /srv/workspace/pbuilder/4114530 and its subdirectories +I: Current time: Thu Jan 2 16:25:40 +14 2025 +I: pbuilder-time-stamp: 1735784740