Diff of the two buildlogs: -- --- b1/build.log 2024-05-13 15:21:17.045685807 +0000 +++ b2/build.log 2024-05-13 15:27:12.130574802 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Mon May 13 03:14:24 -12 2024 -I: pbuilder-time-stamp: 1715613264 +I: Current time: Tue May 14 05:21:29 +14 2024 +I: pbuilder-time-stamp: 1715613689 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/trixie-reproducible-base.tgz] I: copying local configuration @@ -26,52 +26,84 @@ dpkg-source: info: unpacking octave-splines_1.3.5-2.debian.tar.xz I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/12621/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/32763/tmp/hooks/D01_modify_environment starting +debug: Running on virt32a. +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 13 15:21 /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/32763/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/32763/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=5 ' - 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]="21" [3]="1" [4]="release" [5]="arm-unknown-linux-gnueabihf") + 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=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='4479c9d00d454743ac93421a54d32363' - 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='12621' - PS1='# ' - PS2='> ' + INVOCATION_ID=c168aafa124940a8b15208c747596d09 + 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=32763 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.GzY3ygVn/pbuilderrc_OnIJ --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.GzY3ygVn/b1 --logfile b1/build.log octave-splines_1.3.5-2.dsc' - SUDO_GID='114' - SUDO_UID='109' - 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.GzY3ygVn/pbuilderrc_L1t4 --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.GzY3ygVn/b2 --logfile b2/build.log octave-splines_1.3.5-2.dsc' + SUDO_GID=113 + SUDO_UID=107 + 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 ff64a 6.1.0-21-arm64 #1 SMP Debian 6.1.90-1 (2024-05-03) aarch64 GNU/Linux + Linux i-capture-the-hostname 6.1.0-21-armmp-lpae #1 SMP Debian 6.1.90-1 (2024-05-03) armv7l GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 May 12 11:42 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/12621/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 May 13 11:24 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/32763/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -616,7 +648,7 @@ Get: 505 http://deb.debian.org/debian trixie/main armhf gfortran armhf 4:13.2.0-7 [1432 B] Get: 506 http://deb.debian.org/debian trixie/main armhf octave-dev armhf 8.4.0-1+b4 [951 kB] Get: 507 http://deb.debian.org/debian trixie/main armhf dh-octave all 1.8.0 [22.7 kB] -Fetched 176 MB in 7s (24.7 MB/s) +Fetched 176 MB in 17s (10.3 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 ... 19445 files and directories currently installed.) @@ -2700,7 +2732,11 @@ Building tag database... -> Finished parsing the build-deps I: Building the package -I: Running cd /build/reproducible-path/octave-splines-1.3.5/ && 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-splines_1.3.5-2_source.changes +I: user script /srv/workspace/pbuilder/32763/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for trixie +I: user script /srv/workspace/pbuilder/32763/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/reproducible-path/octave-splines-1.3.5/ && 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-splines_1.3.5-2_source.changes dpkg-buildpackage: info: source package octave-splines dpkg-buildpackage: info: source version 1.3.5-2 dpkg-buildpackage: info: source distribution unstable @@ -2737,6 +2773,108 @@ Checking package... Run the unit tests... Checking m files ... +[inst/bin_values.m] +>>>>> /build/reproducible-path/octave-splines-1.3.5/inst/bin_values.m +***** shared x, y, x_bin, y_bin, w_bin, n_bin + x = [1; 2; 2; 3; 4]; + y = [0 0; 1 1; 2 1; 3 4; 5 NaN]; + [x_bin y_bin w_bin n_bin] = bin_values(x, y); +***** assert (x_bin, [1; 7/3]); +***** assert (y_bin, [0 0; 2 2]); +***** assert (!any(isfinite(w_bin(1, :)))); +***** assert (w_bin(2, :), [3 1]); +***** assert (n_bin, [1; 3]); +5 tests, 5 passed, 0 known failure, 0 skipped +[inst/tps_val.m] +>>>>> /build/reproducible-path/octave-splines-1.3.5/inst/tps_val.m +***** shared x,y,c,xi + x = ([1:10 10.5 11.3])'; y = sin(x); + c = tpaps(x,y,1); +***** assert (tpaps(x,y,1,x), tps_val(x,c,x), 100*eps); + x = ((1 ./ (1:100))' - 0.5) * ([0.2 0.6]); + y = x(:, 1) .^ 2 + x(:, 2) .^ 2; + c = tpaps(x,y,1); +***** assert (tpaps(x,y,1,x), tps_val(x,c,x), 100*eps); +***** assert (tps_val(x,c,x,true), tps_val(x,c,x,false), 100*eps); +3 tests, 3 passed, 0 known failure, 0 skipped +[inst/regularization2D.m] +>>>>> /build/reproducible-path/octave-splines-1.3.5/inst/regularization2D.m +***** demo + M = 100; + lambda1 = 0; lambda2 = 0.05; + x = 2*rand(M,1)-1; y = 2*rand(M,1)-1; + z = x.*y + 0.1*randn(M,1); + data = [x,y,z]; + [grid,u] = regularization2D(data,[-1 1;-1 1],[50 50],lambda1,lambda2); + figure() + mesh(grid.x, grid.y,u) + xlabel('x'); ylabel('y'); + hold on + plot3(data(:,1),data(:,2),data(:,3),'*b','Markersize',2) + hold off + view([30,30]); +***** demo + lambda1 = 0; lambda2 = 0.01; + M = 4; angles = [1:M]/M*2*pi; + data = zeros(M+1,3); data(M+1,3) = 1; + data(1:M,1) = cos(angles); data(1:M,2) = sin(angles); + [grid,u] = regularization2D(data,[-1.5 1.5;-1.5 1.5],[50 50],lambda1,lambda2); + figure() + mesh(grid.x, grid.y,u) + xlabel('x'); ylabel('y'); + hold on + plot3(data(:,1),data(:,2),data(:,3),'*b','Markersize',2) + hold off +***** test + data = [0,0,0;1,2,3;2,0,2;0,2,2]; % data on z = x+y + lambda1 = 0.0 ; lambda2 = 0.1; + [grid,u,u_valid] = regularization2D(data,[-0.2 2.2; -0.2,2.2],[11,12],lambda1,lambda2); + assert(norm(data-u_valid),0,1e-12) + assert(norm(grid.x(:) + grid.y(:) - u(:)),0,1e-10) +***** test + data = [0,0,0;1,1,3;2,1,2;0,2,-2;-1.5,-1,0;-2,2,0]; + lambda1 = 0.001 ; lambda2 = 0.01; + [grid,u,u_valid] = regularization2D(data,[-2.1 2.1;-2.1,2.1],[40,50],lambda1,lambda2); + value_at_data = [ 1.233351091378741e-01 + 2.694454049778803e+00 + 2.102786670571836e+00 + -1.870655633783656e+00 + -1.635243922246946e-02 + -3.356775648311422e-02]; + assert(norm(value_at_data-u_valid(:,3)),0,1e-12) +2 tests, 2 passed, 0 known failure, 0 skipped +[inst/csaps.m] +>>>>> /build/reproducible-path/octave-splines-1.3.5/inst/csaps.m +***** shared x,y,xi,yi,p,sigma2,unc_yi,df + x = ([1:10 10.5 11.3])'; y = sin(x); xi = linspace(min(x), max(x), 30)'; +***** assert (csaps(x,y,1,x), y, 10*eps); +***** assert (csaps(x,y,1,x'), y', 10*eps); +***** assert (csaps(x',y',1,x'), y', 10*eps); +***** assert (csaps(x',y',1,x), y, 10*eps); +***** assert (csaps(x,[y 2*y],1,x)', [y 2*y], 10*eps); + [yi,p,sigma2,unc_yi,df] = csaps(x,y,1,xi); +***** assert (yi, ppval(csape(x, y, "variational"), xi), eps); +***** assert (p, 1); +***** assert (unc_yi, zeros(size(xi))); +***** assert (sigma2, 0); +***** assert (df, numel(x)); + [yi,p,~,~,df] = csaps(x,y,0,xi); +***** assert (yi, polyval(polyfit(x, y, 1), xi), 10*eps); +***** assert (p, 0); +***** assert (df, 2, 100*eps); +13 tests, 13 passed, 0 known failure, 0 skipped +[inst/dedup.m] +>>>>> /build/reproducible-path/octave-splines-1.3.5/inst/dedup.m +***** shared x, y, w + x = [1; 2; 2; 3; 4]; + y = [0 0; 1 1; 2 1; 3 4; 5 NaN]; + w = [1; 0.1; 1; 0.5; 1]; +***** assert (nthargout(1:3, @dedup, x, y, ones(size(x))), nthargout(1:3, @dedup, x, y)) + [x y w] = dedup(x, y, w); +***** assert (x, [1; 2; 3]); +***** assert (y, [0 0; 21/11 1; 3 4], 10*eps); +***** assert (w, [1; 1.1; 0.5]); +4 tests, 4 passed, 0 known failure, 0 skipped [inst/csaps_sel.m] >>>>> /build/reproducible-path/octave-splines-1.3.5/inst/csaps_sel.m ***** shared x,y,ret,p,sigma2,unc_y @@ -2760,21 +2898,15 @@ legend ('Given data', 'Spline fit') title ('Spline smoothing with synthetic data sampled from sine wave with noise') 5 tests, 5 passed, 0 known failure, 0 skipped -[inst/tps_val_der.m] ->>>>> /build/reproducible-path/octave-splines-1.3.5/inst/tps_val_der.m -***** shared a,b,x,y,x1,x2,y1,c,dy,dy0 - a = 2; b = -3; x = ([1:2:10 10.5 11.3])'; y = a*x; - c = tpaps(x,y,1); -***** assert (a*ones(size(x)), tps_val_der(x,c,x), 1E3*eps); - [x1 x2] = meshgrid(x, x); - y1 = a*x1+b*x2; - c = tpaps([x1(:) x2(:)],y1(:),0.5); - dy = tps_val_der([x1(:) x2(:)],c,[x1(:) x2(:)]); - dy0 = tps_val_der([x1(:) x2(:)],c,[x1(:) x2(:)],false); -***** assert (a*ones(size(x1(:))), dy(:, 1), 1E3*eps); -***** assert (b*ones(size(x2(:))), dy(:, 2), 1E3*eps); -***** assert (dy0, dy, 1E3*eps); -4 tests, 4 passed, 0 known failure, 0 skipped +[inst/tpaps.m] +>>>>> /build/reproducible-path/octave-splines-1.3.5/inst/tpaps.m +***** shared x,y + x = ([1:10 10.5 11.3])'; y = sin(x); +***** assert (tpaps(x,y,1,x), y, 1E3*eps); + x = ((1 ./ (1:100))' - 0.5) * ([0.2 0.6]); + y = x(:, 1) .^ 2 + x(:, 2) .^ 2; +***** assert (tpaps(x,y,1,x), y, 1E-10); +2 tests, 2 passed, 0 known failure, 0 skipped [inst/regularization.m] >>>>> /build/reproducible-path/octave-splines-1.3.5/inst/regularization.m ***** demo @@ -2848,38 +2980,6 @@ [grid,u] = regularization([x;x.^2]',[-2,2],20,F1,F2); assert(u(11),7.330959483903200e-03,1e-8) 2 tests, 2 passed, 0 known failure, 0 skipped -[inst/bin_values.m] ->>>>> /build/reproducible-path/octave-splines-1.3.5/inst/bin_values.m -***** shared x, y, x_bin, y_bin, w_bin, n_bin - x = [1; 2; 2; 3; 4]; - y = [0 0; 1 1; 2 1; 3 4; 5 NaN]; - [x_bin y_bin w_bin n_bin] = bin_values(x, y); -***** assert (x_bin, [1; 7/3]); -***** assert (y_bin, [0 0; 2 2]); -***** assert (!any(isfinite(w_bin(1, :)))); -***** assert (w_bin(2, :), [3 1]); -***** assert (n_bin, [1; 3]); -5 tests, 5 passed, 0 known failure, 0 skipped -[inst/csaps.m] ->>>>> /build/reproducible-path/octave-splines-1.3.5/inst/csaps.m -***** shared x,y,xi,yi,p,sigma2,unc_yi,df - x = ([1:10 10.5 11.3])'; y = sin(x); xi = linspace(min(x), max(x), 30)'; -***** assert (csaps(x,y,1,x), y, 10*eps); -***** assert (csaps(x,y,1,x'), y', 10*eps); -***** assert (csaps(x',y',1,x'), y', 10*eps); -***** assert (csaps(x',y',1,x), y, 10*eps); -***** assert (csaps(x,[y 2*y],1,x)', [y 2*y], 10*eps); - [yi,p,sigma2,unc_yi,df] = csaps(x,y,1,xi); -***** assert (yi, ppval(csape(x, y, "variational"), xi), eps); -***** assert (p, 1); -***** assert (unc_yi, zeros(size(xi))); -***** assert (sigma2, 0); -***** assert (df, numel(x)); - [yi,p,~,~,df] = csaps(x,y,0,xi); -***** assert (yi, polyval(polyfit(x, y, 1), xi), 10*eps); -***** assert (p, 0); -***** assert (df, 2, 100*eps); -13 tests, 13 passed, 0 known failure, 0 skipped [inst/csape.m] >>>>> /build/reproducible-path/octave-splines-1.3.5/inst/csape.m ***** shared x,x2,y,cond,pp,pp1,pp2,h,valc,xi,yi @@ -2991,85 +3091,21 @@ ***** assert (ppval(ppder(pp), x(1)), ppval(ppder(pp), x(end)), 10*eps); ***** assert (ppval(ppder(pp, 2), x(1)), ppval(ppder(pp, 2), x(end)), 10*eps); 85 tests, 85 passed, 0 known failure, 0 skipped -[inst/tpaps.m] ->>>>> /build/reproducible-path/octave-splines-1.3.5/inst/tpaps.m -***** shared x,y - x = ([1:10 10.5 11.3])'; y = sin(x); -***** assert (tpaps(x,y,1,x), y, 1E3*eps); - x = ((1 ./ (1:100))' - 0.5) * ([0.2 0.6]); - y = x(:, 1) .^ 2 + x(:, 2) .^ 2; -***** assert (tpaps(x,y,1,x), y, 1E-10); -2 tests, 2 passed, 0 known failure, 0 skipped -[inst/dedup.m] ->>>>> /build/reproducible-path/octave-splines-1.3.5/inst/dedup.m -***** shared x, y, w - x = [1; 2; 2; 3; 4]; - y = [0 0; 1 1; 2 1; 3 4; 5 NaN]; - w = [1; 0.1; 1; 0.5; 1]; -***** assert (nthargout(1:3, @dedup, x, y, ones(size(x))), nthargout(1:3, @dedup, x, y)) - [x y w] = dedup(x, y, w); -***** assert (x, [1; 2; 3]); -***** assert (y, [0 0; 21/11 1; 3 4], 10*eps); -***** assert (w, [1; 1.1; 0.5]); -4 tests, 4 passed, 0 known failure, 0 skipped -[inst/regularization2D.m] ->>>>> /build/reproducible-path/octave-splines-1.3.5/inst/regularization2D.m -***** demo - M = 100; - lambda1 = 0; lambda2 = 0.05; - x = 2*rand(M,1)-1; y = 2*rand(M,1)-1; - z = x.*y + 0.1*randn(M,1); - data = [x,y,z]; - [grid,u] = regularization2D(data,[-1 1;-1 1],[50 50],lambda1,lambda2); - figure() - mesh(grid.x, grid.y,u) - xlabel('x'); ylabel('y'); - hold on - plot3(data(:,1),data(:,2),data(:,3),'*b','Markersize',2) - hold off - view([30,30]); -***** demo - lambda1 = 0; lambda2 = 0.01; - M = 4; angles = [1:M]/M*2*pi; - data = zeros(M+1,3); data(M+1,3) = 1; - data(1:M,1) = cos(angles); data(1:M,2) = sin(angles); - [grid,u] = regularization2D(data,[-1.5 1.5;-1.5 1.5],[50 50],lambda1,lambda2); - figure() - mesh(grid.x, grid.y,u) - xlabel('x'); ylabel('y'); - hold on - plot3(data(:,1),data(:,2),data(:,3),'*b','Markersize',2) - hold off -***** test - data = [0,0,0;1,2,3;2,0,2;0,2,2]; % data on z = x+y - lambda1 = 0.0 ; lambda2 = 0.1; - [grid,u,u_valid] = regularization2D(data,[-0.2 2.2; -0.2,2.2],[11,12],lambda1,lambda2); - assert(norm(data-u_valid),0,1e-12) - assert(norm(grid.x(:) + grid.y(:) - u(:)),0,1e-10) -***** test - data = [0,0,0;1,1,3;2,1,2;0,2,-2;-1.5,-1,0;-2,2,0]; - lambda1 = 0.001 ; lambda2 = 0.01; - [grid,u,u_valid] = regularization2D(data,[-2.1 2.1;-2.1,2.1],[40,50],lambda1,lambda2); - value_at_data = [ 1.233351091378741e-01 - 2.694454049778803e+00 - 2.102786670571836e+00 - -1.870655633783656e+00 - -1.635243922246946e-02 - -3.356775648311422e-02]; - assert(norm(value_at_data-u_valid(:,3)),0,1e-12) -2 tests, 2 passed, 0 known failure, 0 skipped -[inst/tps_val.m] ->>>>> /build/reproducible-path/octave-splines-1.3.5/inst/tps_val.m -***** shared x,y,c,xi - x = ([1:10 10.5 11.3])'; y = sin(x); - c = tpaps(x,y,1); -***** assert (tpaps(x,y,1,x), tps_val(x,c,x), 100*eps); - x = ((1 ./ (1:100))' - 0.5) * ([0.2 0.6]); - y = x(:, 1) .^ 2 + x(:, 2) .^ 2; +[inst/tps_val_der.m] +>>>>> /build/reproducible-path/octave-splines-1.3.5/inst/tps_val_der.m +***** shared a,b,x,y,x1,x2,y1,c,dy,dy0 + a = 2; b = -3; x = ([1:2:10 10.5 11.3])'; y = a*x; c = tpaps(x,y,1); -***** assert (tpaps(x,y,1,x), tps_val(x,c,x), 100*eps); -***** assert (tps_val(x,c,x,true), tps_val(x,c,x,false), 100*eps); -3 tests, 3 passed, 0 known failure, 0 skipped +***** assert (a*ones(size(x)), tps_val_der(x,c,x), 1E3*eps); + [x1 x2] = meshgrid(x, x); + y1 = a*x1+b*x2; + c = tpaps([x1(:) x2(:)],y1(:),0.5); + dy = tps_val_der([x1(:) x2(:)],c,[x1(:) x2(:)]); + dy0 = tps_val_der([x1(:) x2(:)],c,[x1(:) x2(:)],false); +***** assert (a*ones(size(x1(:))), dy(:, 1), 1E3*eps); +***** assert (b*ones(size(x2(:))), dy(:, 2), 1E3*eps); +***** assert (dy0, dy, 1E3*eps); +4 tests, 4 passed, 0 known failure, 0 skipped Checking C++ files ... Done running the unit tests. Summary: 125 tests, 125 passed, 0 known failures, 0 skipped @@ -3098,12 +3134,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/32763/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/32763/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/12621 and its subdirectories -I: Current time: Mon May 13 03:21:11 -12 2024 -I: pbuilder-time-stamp: 1715613671 +I: removing directory /srv/workspace/pbuilder/32763 and its subdirectories +I: Current time: Tue May 14 05:27:07 +14 2024 +I: pbuilder-time-stamp: 1715614027