Diff of the two buildlogs: -- --- b1/build.log 2024-06-05 19:04:26.761510731 +0000 +++ b2/build.log 2024-06-05 19:06:50.647392630 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Wed Jun 5 06:57:57 -12 2024 -I: pbuilder-time-stamp: 1717613877 +I: Current time: Wed Jul 9 15:27:29 +14 2025 +I: pbuilder-time-stamp: 1752024449 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/unstable-reproducible-base.tgz] I: copying local configuration @@ -28,52 +28,84 @@ dpkg-source: info: applying add-distclean-target.patch I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/1931181/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/3777932/tmp/hooks/D01_modify_environment starting +debug: Running on ionos15-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 Jul 9 01:27 /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/3777932/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/3777932/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=20 ' - DISTRIBUTION='unstable' - 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]="21" [3]="1" [4]="release" [5]="x86_64-pc-linux-gnu") + BASH_VERSION='5.2.21(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=42 ' + DIRSTACK=() + DISTRIBUTION=unstable + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=x86_64 + HOST_ARCH=amd64 IFS=' ' - INVOCATION_ID='2d740e8aa2aa402f9f6a4d463e0b808b' - 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='1931181' - PS1='# ' - PS2='> ' + INVOCATION_ID=88cf72988cca43348d39d1710f40da79 + 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=3777932 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.dQsWqfxS/pbuilderrc_vt6P --distribution unstable --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/unstable-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.dQsWqfxS/b1 --logfile b1/build.log octave-optiminterp_0.3.7-3.dsc' - SUDO_GID='110' - SUDO_UID='105' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://46.16.76.132: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.dQsWqfxS/pbuilderrc_2fOE --distribution unstable --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/unstable-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.dQsWqfxS/b2 --logfile b2/build.log octave-optiminterp_0.3.7-3.dsc' + SUDO_GID=111 + SUDO_UID=106 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://213.165.73.152:3128 I: uname -a - Linux ionos1-amd64 6.1.0-21-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.90-1 (2024-05-03) x86_64 GNU/Linux + Linux i-capture-the-hostname 6.7.12+bpo-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.7.12-1~bpo12+1 (2024-05-06) x86_64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 Jun 5 07:42 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/1931181/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 Jul 7 14:05 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/3777932/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -651,7 +683,7 @@ Get: 536 http://deb.debian.org/debian unstable/main amd64 gfortran amd64 4:13.2.0-7 [1440 B] Get: 537 http://deb.debian.org/debian unstable/main amd64 octave-dev amd64 9.1.0-3 [991 kB] Get: 538 http://deb.debian.org/debian unstable/main amd64 dh-octave all 1.8.0 [22.7 kB] -Fetched 235 MB in 12s (19.5 MB/s) +Fetched 235 MB in 6s (36.6 MB/s) debconf: delaying package configuration, since apt-utils is not installed 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 ... 19705 files and directories currently installed.) @@ -2860,7 +2892,11 @@ Building tag database... -> Finished parsing the build-deps I: Building the package -I: Running cd /build/reproducible-path/octave-optiminterp-0.3.7/ && 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 > ../octave-optiminterp_0.3.7-3_source.changes +I: user script /srv/workspace/pbuilder/3777932/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for unstable +I: user script /srv/workspace/pbuilder/3777932/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/reproducible-path/octave-optiminterp-0.3.7/ && 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 > ../octave-optiminterp_0.3.7-3_source.changes dpkg-buildpackage: info: source package octave-optiminterp dpkg-buildpackage: info: source version 0.3.7-3 dpkg-buildpackage: info: source distribution unstable @@ -2982,130 +3018,49 @@ Checking package... Run the unit tests... Checking m files ... -[inst/optiminterp2.m] ->>>>> /build/reproducible-path/octave-optiminterp-0.3.7/inst/optiminterp2.m +[inst/optiminterp1.m] +>>>>> /build/reproducible-path/octave-optiminterp-0.3.7/inst/optiminterp1.m ***** test # grid of background field - [xi,yi] = ndgrid(linspace(0,1,30)); - fi_ref = sin( xi*6 ) .* cos( yi*6); + xi = linspace(0,1,50); + fi_ref = sin( xi*6 ); # grid of observations - [x,y] = ndgrid(linspace(0,1,20)); - x = x(:); - y = y(:); + x = linspace(0,1,20); on = numel(x); var = 0.01 * ones(on,1); - f = sin( x*6 ) .* cos( y*6); + f = sin( x*6 ); - m = 30; + m = 15; - [fi,vari] = optiminterp2(x,y,f,var,0.1,0.1,m,xi,yi); + [fi,vari] = optiminterp1(x,f,var,0.1,m,xi); rms = sqrt(mean((fi_ref(:) - fi(:)).^2)); assert (rms <= 0.005, "unexpected large difference with reference field"); ***** test # grid of background field - [xi,yi] = ndgrid(linspace(0,1,30)); - - fi_ref(:,:,1) = sin( xi*6 ) .* cos( yi*6); - fi_ref(:,:,2) = cos( xi*6 ) .* sin( yi*6); + xi = linspace(0,1,50)'; + fi_ref(:,1) = sin( xi*6 ); + fi_ref(:,2) = cos( xi*6 ); # grid of observations - [x,y] = ndgrid(linspace(0,1,20)); + x = linspace(0,1,20)'; on = numel(x); var = 0.01 * ones(on,1); - f(:,:,1) = sin( x*6 ) .* cos( y*6); - f(:,:,2) = cos( x*6 ) .* sin( y*6); + f(:,1) = sin( x*6 ); + f(:,2) = cos( x*6 ); - m = 30; + m = 15; - [fi,vari] = optiminterp2(x,y,f,var,0.1,0.1,m,xi,yi); + [fi,vari] = optiminterp1(x,f,var,0.1,m,xi); rms = sqrt(mean((fi_ref(:) - fi(:)).^2)); assert (rms <= 0.005, "unexpected large difference with reference field"); -***** test - # grid of background field - [xi,yi] = ndgrid(linspace(0,1,30)); - fi_ref = sin( xi*6 ) .* cos( yi*6); - - # grid of observations - [x,y] = ndgrid(linspace(0,1,6)); - x = x(:); - y = y(:); - - on = numel(x); - var = 0.01 * ones(on,1); - f = sin( x*6 ) .* cos( y*6); - - len = 0.1; - m = min(30,on); - - # covariance function - # gaussian - bcovar2 = @(d2) exp(-d2/len^2) ; - # diva - #bcovar2 = @(d2) max(sqrt(d2)/len,eps) .* besselk(1,max(sqrt(d2)/len,eps)); - - # P: covariance between grid points (xi,yi) and grid points (xi,yi) - P = zeros(numel(xi),numel(xi)); - - for j=1:numel(xi) - for i=1:numel(xi) - P(i,j) = (xi(i) - xi(j))^2 + (yi(i) - yi(j))^2; - end - end - P = bcovar2(P); - - # HPH: covariance between observation points (x,y) and observation points (x,y) - HPH = zeros(numel(x),numel(x)); - - for j=1:numel(x) - for i=1:numel(x) - HPH(i,j) = (x(i) - x(j))^2 + (y(i) - y(j))^2; - end - end - HPH = bcovar2(HPH); - - # PH: covariance between grid points (xi,yi) and observation points (x,y) - PH = zeros(numel(xi),numel(x)); - - for j=1:numel(x) - for i=1:numel(xi) - PH(i,j) = (xi(i) - x(j))^2 + (yi(i) - y(j))^2; - end - end - PH = bcovar2(PH); - - R = diag(var); - - # call optiminterp - [fi,vari] = optiminterp2(x,y,f,var,len,len,m,xi,yi); - - # Kalman gain - K = PH * inv(HPH + R); - - # analysis - fi2 = K * f; - - # error field - vari2 = diag(P - K * PH'); - - # transform vectors into 2d-arrays - fi2 = reshape(fi2,size(fi)); - vari2 = reshape(vari2,size(fi)); - - rms = sqrt(mean((fi2(:) - fi(:)).^2)); - - assert (rms <= 1e-4, "unexpected large RMS difference (analysis)"); - - rms = sqrt(mean((vari2(:) - vari(:)).^2)); - - assert (rms <= 1e-4, "unexpected large RMS difference (error field)"); -3 tests, 3 passed, 0 known failure, 0 skipped +2 tests, 2 passed, 0 known failure, 0 skipped [inst/optiminterp4.m] >>>>> /build/reproducible-path/octave-optiminterp-0.3.7/inst/optiminterp4.m ***** test @@ -3158,24 +3113,6 @@ assert (rms <= 0.04, "unexpected large difference with reference field"); 2 tests, 2 passed, 0 known failure, 0 skipped -[inst/optiminterpn.m] ->>>>> /build/reproducible-path/octave-optiminterp-0.3.7/inst/optiminterpn.m -***** error optiminterpn () -***** error optiminterpn (1) -***** error optiminterpn (1,2) -***** test - # grid of background field - xi = linspace(0,1,50); - - # grid of observations - x = linspace(0,1,20); - - on = numel(x) + 1; - var = 0.01 * ones(on,1); - f = sin( x*6 ); - - fail ("optiminterpn(x,f,var,0.1,15,xi)", "number of columns in ox must be equal to the number of elements in of and ovar"); -4 tests, 4 passed, 0 known failure, 0 skipped [inst/optiminterp3.m] >>>>> /build/reproducible-path/octave-optiminterp-0.3.7/inst/optiminterp3.m ***** test @@ -3223,49 +3160,148 @@ assert (rms <= 0.04, "'unexpected large difference with reference field"); 2 tests, 2 passed, 0 known failure, 0 skipped -[inst/optiminterp1.m] ->>>>> /build/reproducible-path/octave-optiminterp-0.3.7/inst/optiminterp1.m +[inst/optiminterp2.m] +>>>>> /build/reproducible-path/octave-optiminterp-0.3.7/inst/optiminterp2.m ***** test # grid of background field - xi = linspace(0,1,50); - fi_ref = sin( xi*6 ); + [xi,yi] = ndgrid(linspace(0,1,30)); + fi_ref = sin( xi*6 ) .* cos( yi*6); # grid of observations - x = linspace(0,1,20); + [x,y] = ndgrid(linspace(0,1,20)); + x = x(:); + y = y(:); on = numel(x); var = 0.01 * ones(on,1); - f = sin( x*6 ); + f = sin( x*6 ) .* cos( y*6); - m = 15; + m = 30; - [fi,vari] = optiminterp1(x,f,var,0.1,m,xi); + [fi,vari] = optiminterp2(x,y,f,var,0.1,0.1,m,xi,yi); rms = sqrt(mean((fi_ref(:) - fi(:)).^2)); assert (rms <= 0.005, "unexpected large difference with reference field"); ***** test # grid of background field - xi = linspace(0,1,50)'; - fi_ref(:,1) = sin( xi*6 ); - fi_ref(:,2) = cos( xi*6 ); + [xi,yi] = ndgrid(linspace(0,1,30)); + + fi_ref(:,:,1) = sin( xi*6 ) .* cos( yi*6); + fi_ref(:,:,2) = cos( xi*6 ) .* sin( yi*6); # grid of observations - x = linspace(0,1,20)'; + [x,y] = ndgrid(linspace(0,1,20)); on = numel(x); var = 0.01 * ones(on,1); - f(:,1) = sin( x*6 ); - f(:,2) = cos( x*6 ); + f(:,:,1) = sin( x*6 ) .* cos( y*6); + f(:,:,2) = cos( x*6 ) .* sin( y*6); - m = 15; + m = 30; - [fi,vari] = optiminterp1(x,f,var,0.1,m,xi); + [fi,vari] = optiminterp2(x,y,f,var,0.1,0.1,m,xi,yi); rms = sqrt(mean((fi_ref(:) - fi(:)).^2)); assert (rms <= 0.005, "unexpected large difference with reference field"); -2 tests, 2 passed, 0 known failure, 0 skipped +***** test + # grid of background field + [xi,yi] = ndgrid(linspace(0,1,30)); + fi_ref = sin( xi*6 ) .* cos( yi*6); + + # grid of observations + [x,y] = ndgrid(linspace(0,1,6)); + x = x(:); + y = y(:); + + on = numel(x); + var = 0.01 * ones(on,1); + f = sin( x*6 ) .* cos( y*6); + + len = 0.1; + m = min(30,on); + + # covariance function + # gaussian + bcovar2 = @(d2) exp(-d2/len^2) ; + # diva + #bcovar2 = @(d2) max(sqrt(d2)/len,eps) .* besselk(1,max(sqrt(d2)/len,eps)); + + # P: covariance between grid points (xi,yi) and grid points (xi,yi) + P = zeros(numel(xi),numel(xi)); + + for j=1:numel(xi) + for i=1:numel(xi) + P(i,j) = (xi(i) - xi(j))^2 + (yi(i) - yi(j))^2; + end + end + P = bcovar2(P); + + # HPH: covariance between observation points (x,y) and observation points (x,y) + HPH = zeros(numel(x),numel(x)); + + for j=1:numel(x) + for i=1:numel(x) + HPH(i,j) = (x(i) - x(j))^2 + (y(i) - y(j))^2; + end + end + HPH = bcovar2(HPH); + + # PH: covariance between grid points (xi,yi) and observation points (x,y) + PH = zeros(numel(xi),numel(x)); + + for j=1:numel(x) + for i=1:numel(xi) + PH(i,j) = (xi(i) - x(j))^2 + (yi(i) - y(j))^2; + end + end + PH = bcovar2(PH); + + R = diag(var); + + # call optiminterp + [fi,vari] = optiminterp2(x,y,f,var,len,len,m,xi,yi); + + # Kalman gain + K = PH * inv(HPH + R); + + # analysis + fi2 = K * f; + + # error field + vari2 = diag(P - K * PH'); + + # transform vectors into 2d-arrays + fi2 = reshape(fi2,size(fi)); + vari2 = reshape(vari2,size(fi)); + + rms = sqrt(mean((fi2(:) - fi(:)).^2)); + + assert (rms <= 1e-4, "unexpected large RMS difference (analysis)"); + + rms = sqrt(mean((vari2(:) - vari(:)).^2)); + + assert (rms <= 1e-4, "unexpected large RMS difference (error field)"); +3 tests, 3 passed, 0 known failure, 0 skipped +[inst/optiminterpn.m] +>>>>> /build/reproducible-path/octave-optiminterp-0.3.7/inst/optiminterpn.m +***** error optiminterpn () +***** error optiminterpn (1) +***** error optiminterpn (1,2) +***** test + # grid of background field + xi = linspace(0,1,50); + + # grid of observations + x = linspace(0,1,20); + + on = numel(x) + 1; + var = 0.01 * ones(on,1); + f = sin( x*6 ); + + fail ("optiminterpn(x,f,var,0.1,15,xi)", "number of columns in ox must be equal to the number of elements in of and ovar"); +4 tests, 4 passed, 0 known failure, 0 skipped Checking C++ files ... Run tests in debian/check.m [example_optiminterp] @@ -3304,12 +3340,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/3777932/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/3777932/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/1931181 and its subdirectories -I: Current time: Wed Jun 5 07:04:25 -12 2024 -I: pbuilder-time-stamp: 1717614265 +I: removing directory /srv/workspace/pbuilder/3777932 and its subdirectories +I: Current time: Wed Jul 9 15:29:50 +14 2025 +I: pbuilder-time-stamp: 1752024590