Diff of the two buildlogs: -- --- b1/build.log 2025-09-12 12:28:32.781051864 +0000 +++ b2/build.log 2025-09-12 12:25:06.936798502 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Thu Oct 15 06:48:08 -12 2026 -I: pbuilder-time-stamp: 1792090088 +I: Current time: Sat Sep 13 02:22:19 +14 2025 +I: pbuilder-time-stamp: 1757679739 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/forky-reproducible-base.tgz] I: copying local configuration @@ -24,52 +24,84 @@ dpkg-source: info: applying replace-ava-by-tape.patch I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/2945893/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/1503595/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 Sep 12 12:22 /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/1503595/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/1503595/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=16 ' - DISTRIBUTION='forky' - 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]="3" [2]="3" [3]="1" [4]="release" [5]="x86_64-pc-linux-gnu") + BASH_VERSION='5.3.3(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=forky + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=x86_64 + HOST_ARCH=amd64 IFS=' ' - INVOCATION_ID='da3e1b4956734771ba6fe8998ac2858e' - 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='2945893' - PS1='# ' - PS2='> ' + INVOCATION_ID=6ccf3fb799864aa1ae6b1f3a90623354 + 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=1503595 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.Gq5k8yx7/pbuilderrc_OhuP --distribution forky --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/forky-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.Gq5k8yx7/b1 --logfile b1/build.log node-registry-url_6.0.1-1.dsc' - SUDO_GID='109' - SUDO_HOME='/var/lib/jenkins' - SUDO_UID='104' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' + 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.Gq5k8yx7/pbuilderrc_mCBk --distribution forky --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/forky-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.Gq5k8yx7/b2 --logfile b2/build.log node-registry-url_6.0.1-1.dsc' + SUDO_GID=109 + SUDO_HOME=/var/lib/jenkins + 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 infom02-amd64 6.12.43+deb13-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.12.43-1 (2025-08-27) x86_64 GNU/Linux + Linux i-capture-the-hostname 6.12.43+deb13-cloud-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.12.43-1 (2025-08-27) x86_64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 Aug 10 2025 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/2945893/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 Aug 10 12:30 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/1503595/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -82,7 +114,7 @@ Depends: debhelper-compat (= 13), dh-sequence-nodejs, node-import-fresh, node-parent-module, node-rc, node-tape dpkg-deb: building package 'pbuilder-satisfydepends-dummy' in '/tmp/satisfydepends-aptitude/pbuilder-satisfydepends-dummy.deb'. Selecting previously unselected package pbuilder-satisfydepends-dummy. -(Reading database ... 21054 files and directories currently installed.) +(Reading database ... 19917 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: @@ -417,10 +449,10 @@ Get: 300 http://deb.debian.org/debian forky/main amd64 node-ini all 3.0.1-2 [6928 B] Get: 301 http://deb.debian.org/debian forky/main amd64 node-strip-json-comments all 4.0.0-4 [5668 B] Get: 302 http://deb.debian.org/debian forky/main amd64 node-rc all 1.2.8-2 [8656 B] -Fetched 45.8 MB in 1s (32.0 MB/s) +Fetched 45.8 MB in 2s (22.9 MB/s) Preconfiguring packages ... Selecting previously unselected package netbase. -(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 ... 21054 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 ... 19917 files and directories currently installed.) Preparing to unpack .../000-netbase_6.5_all.deb ... Unpacking netbase (6.5) ... Selecting previously unselected package sensible-utils. @@ -1652,7 +1684,11 @@ Building tag database... -> Finished parsing the build-deps I: Building the package -I: Running cd /build/reproducible-path/node-registry-url-6.0.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 > ../node-registry-url_6.0.1-1_source.changes +I: user script /srv/workspace/pbuilder/1503595/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for forky +I: user script /srv/workspace/pbuilder/1503595/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/reproducible-path/node-registry-url-6.0.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 > ../node-registry-url_6.0.1-1_source.changes dpkg-buildpackage: info: source package node-registry-url dpkg-buildpackage: info: source version 6.0.1-1 dpkg-buildpackage: info: source distribution unstable @@ -1691,21 +1727,7 @@ # get the npm registry URL locally ok 3 should be strictly equal # get local scope registry URL -not ok 4 should be strictly equal - --- - operator: equal - expected: |- - 'http://reg.example.com/' - actual: |- - 'https://registry.npmjs.org/' - stack: |- - Error: should be strictly equal - at Test.assert [as _assert] (/usr/share/nodejs/tape/lib/test.js:312:48) - at Test.bound [as _assert] (/usr/share/nodejs/tape/lib/test.js:95:17) - at Test.strictEqual (/usr/share/nodejs/tape/lib/test.js:476:7) - at Test.bound [as is] (/usr/share/nodejs/tape/lib/test.js:95:17) - at Test. (file:///build/reproducible-path/node-registry-url-6.0.1/test.js:44:4) - ... +ok 4 should be strictly equal # return default npm registry when scope registry is not set ok 5 should be strictly equal # add trailing slash to local npm registry URL @@ -1715,18 +1737,53 @@ 1..7 # tests 7 -# pass 6 -# fail 1 +# pass 7 -dh_auto_test: error: /bin/sh -ex debian/tests/pkg-js/test returned exit code 1 -make: *** [debian/rules:8: binary] Error 25 -dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2 +# ok + +Removing node_modules/registry-url + create-stamp debian/debhelper-build-stamp + dh_prep + dh_auto_install --buildsystem=nodejs --destdir=debian/node-registry-url/ +dh_auto_install: warning: ### Missing ./build/config.gypi, skipping + +Found "files" field in ./package.json, using it + mkdir -p /build/reproducible-path/node-registry-url-6.0.1/debian/node-registry-url//usr/share/nodejs/registry-url/ + install -m 644 ./index.js /build/reproducible-path/node-registry-url-6.0.1/debian/node-registry-url//usr/share/nodejs/registry-url// + install -m 644 ./index.d.ts /build/reproducible-path/node-registry-url-6.0.1/debian/node-registry-url//usr/share/nodejs/registry-url// + install -m 644 ./package.json /build/reproducible-path/node-registry-url-6.0.1/debian/node-registry-url//usr/share/nodejs/registry-url// + install -m 644 ./package.json /build/reproducible-path/node-registry-url-6.0.1/debian/node-registry-url//usr/share/nodejs/registry-url// +Set ${nodejs:Version} to 20.19.2+dfsg + dh_installdocs + dh_installchangelogs + dh_perl + dh_link + dh_strip_nondeterminism + dh_compress + dh_fixperms + dh_missing + dh_installdeb + dh_nodejs_substvars + dh_gencontrol +dpkg-gencontrol: warning: package node-registry-url: substitution variable ${nodejs:Version} unused, but is defined + dh_md5sums + dh_builddeb +dpkg-deb: building package 'node-registry-url' in '../node-registry-url_6.0.1-1_all.deb'. + dpkg-genbuildinfo --build=binary -O../node-registry-url_6.0.1-1_amd64.buildinfo + dpkg-genchanges --build=binary -O../node-registry-url_6.0.1-1_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: including full source code in upload I: copying local configuration -E: Failed autobuilding of package +I: user script /srv/workspace/pbuilder/1503595/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/1503595/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/2945893 and its subdirectories +I: removing directory /srv/workspace/pbuilder/1503595 and its subdirectories +I: Current time: Sat Sep 13 02:25:06 +14 2025 +I: pbuilder-time-stamp: 1757679906