Diff of the two buildlogs: -- --- b1/build.log 2024-08-10 20:57:21.093937383 +0000 +++ b2/build.log 2024-08-10 21:00:30.509890685 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Sat Aug 10 08:46:50 -12 2024 -I: pbuilder-time-stamp: 1723322810 +I: Current time: Sun Aug 11 10:57:32 +14 2024 +I: pbuilder-time-stamp: 1723323452 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 partcnt-test-succeeds.patch I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/20939/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/24153/tmp/hooks/D01_modify_environment starting +debug: Running on virt64z. +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 Aug 10 20:57 /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/24153/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/24153/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='unstable' - 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=unstable + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=arm + HOST_ARCH=armhf IFS=' ' - INVOCATION_ID='4ec6ce974e854b7da3455a08234fbad3' - 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='20939' - PS1='# ' - PS2='> ' + INVOCATION_ID=2785c7f0f1774bf6b0de798a11da8b09 + 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=24153 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.40zEFfVx/pbuilderrc_nlvo --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.40zEFfVx/b1 --logfile b1/build.log octave-miscellaneous_1.3.1-1.dsc' - SUDO_GID='113' - SUDO_UID='107' - 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.40zEFfVx/pbuilderrc_v4A3 --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.40zEFfVx/b2 --logfile b2/build.log octave-miscellaneous_1.3.1-1.dsc' + SUDO_GID=110 + SUDO_UID=103 + 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 cbxi4a 6.1.0-23-armmp #1 SMP Debian 6.1.99-1 (2024-07-15) armv7l GNU/Linux + Linux i-capture-the-hostname 6.1.0-23-arm64 #1 SMP Debian 6.1.99-1 (2024-07-15) 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/20939/tmp/hooks/D02_print_environment finished +I: user script /srv/workspace/pbuilder/24153/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -646,7 +678,7 @@ Get: 529 http://deb.debian.org/debian unstable/main armhf octave-dev armhf 9.2.0-2 [994 kB] Get: 530 http://deb.debian.org/debian unstable/main armhf dh-octave all 1.8.0 [22.7 kB] Get: 531 http://deb.debian.org/debian unstable/main armhf units armhf 2.23-1+b1 [297 kB] -Fetched 187 MB in 18s (10.6 MB/s) +Fetched 187 MB in 2s (103 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 ... 19448 files and directories currently installed.) @@ -2826,7 +2858,11 @@ Building tag database... -> Finished parsing the build-deps I: Building the package -I: Running cd /build/reproducible-path/octave-miscellaneous-1.3.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 > ../octave-miscellaneous_1.3.1-1_source.changes +I: user script /srv/workspace/pbuilder/24153/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for unstable +I: user script /srv/workspace/pbuilder/24153/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/reproducible-path/octave-miscellaneous-1.3.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 > ../octave-miscellaneous_1.3.1-1_source.changes dpkg-buildpackage: info: source package octave-miscellaneous dpkg-buildpackage: info: source version 1.3.1-1 dpkg-buildpackage: info: source distribution unstable @@ -2899,18 +2935,18 @@ /usr/bin/mkoctfile --verbose partint.cc /usr/bin/mkoctfile --verbose sample.cc /usr/bin/mkoctfile --verbose text_waitbar.cc -g++ -c -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/octave-9.2.0/octave/.. -I/usr/include/octave-9.2.0/octave -pthread -fopenmp -g -O2 -ffile-prefix-map=/build/reproducible-path/octave-miscellaneous-1.3.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security cell2cell.cc -o /tmp/oct-QlDTbZ.o -g++ -c -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/octave-9.2.0/octave/.. -I/usr/include/octave-9.2.0/octave -pthread -fopenmp -g -O2 -ffile-prefix-map=/build/reproducible-path/octave-miscellaneous-1.3.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security partint.cc -o /tmp/oct-pHS9XX.o -g++ -c -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/octave-9.2.0/octave/.. -I/usr/include/octave-9.2.0/octave -pthread -fopenmp -g -O2 -ffile-prefix-map=/build/reproducible-path/octave-miscellaneous-1.3.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security sample.cc -o /tmp/oct-Ggpyz9.o -g++ -c -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/octave-9.2.0/octave/.. -I/usr/include/octave-9.2.0/octave -pthread -fopenmp -g -O2 -ffile-prefix-map=/build/reproducible-path/octave-miscellaneous-1.3.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security text_waitbar.cc -o /tmp/oct-TKKseJ.o -g++ -I/usr/include/octave-9.2.0/octave/.. -I/usr/include/octave-9.2.0/octave -pthread -fopenmp -g -O2 -ffile-prefix-map=/build/reproducible-path/octave-miscellaneous-1.3.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -o sample.oct /tmp/oct-Ggpyz9.o -shared -Wl,-Bsymbolic -Wl,-z,relro -flto=auto -ffat-lto-objects -Wl,-z,relro +g++ -c -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/octave-9.2.0/octave/.. -I/usr/include/octave-9.2.0/octave -pthread -fopenmp -g -O2 -ffile-prefix-map=/build/reproducible-path/octave-miscellaneous-1.3.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security cell2cell.cc -o /tmp/oct-4lyZMz.o +g++ -c -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/octave-9.2.0/octave/.. -I/usr/include/octave-9.2.0/octave -pthread -fopenmp -g -O2 -ffile-prefix-map=/build/reproducible-path/octave-miscellaneous-1.3.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security partint.cc -o /tmp/oct-LhmndT.o +g++ -c -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/octave-9.2.0/octave/.. -I/usr/include/octave-9.2.0/octave -pthread -fopenmp -g -O2 -ffile-prefix-map=/build/reproducible-path/octave-miscellaneous-1.3.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security sample.cc -o /tmp/oct-965NpJ.o +g++ -c -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/octave-9.2.0/octave/.. -I/usr/include/octave-9.2.0/octave -pthread -fopenmp -g -O2 -ffile-prefix-map=/build/reproducible-path/octave-miscellaneous-1.3.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security text_waitbar.cc -o /tmp/oct-6ZmrsO.o +g++ -I/usr/include/octave-9.2.0/octave/.. -I/usr/include/octave-9.2.0/octave -pthread -fopenmp -g -O2 -ffile-prefix-map=/build/reproducible-path/octave-miscellaneous-1.3.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -o sample.oct /tmp/oct-965NpJ.o -shared -Wl,-Bsymbolic -Wl,-z,relro -flto=auto -ffat-lto-objects -Wl,-z,relro Extracting tests from cell2cell.cc ... Extracting tests from partint.cc ... Extracting tests from sample.cc ... Generating ../inst/private/get_exeext.m -g++ -I/usr/include/octave-9.2.0/octave/.. -I/usr/include/octave-9.2.0/octave -pthread -fopenmp -g -O2 -ffile-prefix-map=/build/reproducible-path/octave-miscellaneous-1.3.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -o text_waitbar.oct /tmp/oct-TKKseJ.o -shared -Wl,-Bsymbolic -Wl,-z,relro -flto=auto -ffat-lto-objects -Wl,-z,relro -g++ -I/usr/include/octave-9.2.0/octave/.. -I/usr/include/octave-9.2.0/octave -pthread -fopenmp -g -O2 -ffile-prefix-map=/build/reproducible-path/octave-miscellaneous-1.3.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -o partint.oct /tmp/oct-pHS9XX.o -shared -Wl,-Bsymbolic -Wl,-z,relro -flto=auto -ffat-lto-objects -Wl,-z,relro -g++ -I/usr/include/octave-9.2.0/octave/.. -I/usr/include/octave-9.2.0/octave -pthread -fopenmp -g -O2 -ffile-prefix-map=/build/reproducible-path/octave-miscellaneous-1.3.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -o cell2cell.oct /tmp/oct-QlDTbZ.o -shared -Wl,-Bsymbolic -Wl,-z,relro -flto=auto -ffat-lto-objects -Wl,-z,relro +g++ -I/usr/include/octave-9.2.0/octave/.. -I/usr/include/octave-9.2.0/octave -pthread -fopenmp -g -O2 -ffile-prefix-map=/build/reproducible-path/octave-miscellaneous-1.3.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -o text_waitbar.oct /tmp/oct-6ZmrsO.o -shared -Wl,-Bsymbolic -Wl,-z,relro -flto=auto -ffat-lto-objects -Wl,-z,relro +g++ -I/usr/include/octave-9.2.0/octave/.. -I/usr/include/octave-9.2.0/octave -pthread -fopenmp -g -O2 -ffile-prefix-map=/build/reproducible-path/octave-miscellaneous-1.3.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -o cell2cell.oct /tmp/oct-4lyZMz.o -shared -Wl,-Bsymbolic -Wl,-z,relro -flto=auto -ffat-lto-objects -Wl,-z,relro +g++ -I/usr/include/octave-9.2.0/octave/.. -I/usr/include/octave-9.2.0/octave -pthread -fopenmp -g -O2 -ffile-prefix-map=/build/reproducible-path/octave-miscellaneous-1.3.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -o partint.oct /tmp/oct-LhmndT.o -shared -Wl,-Bsymbolic -Wl,-z,relro -flto=auto -ffat-lto-objects -Wl,-z,relro make[1]: Leaving directory '/build/reproducible-path/octave-miscellaneous-1.3.1/src' copyfile /build/reproducible-path/octave-miscellaneous-1.3.1/./src/cell2cell.oct /build/reproducible-path/octave-miscellaneous-1.3.1/./src/partint.oct /build/reproducible-path/octave-miscellaneous-1.3.1/./src/sample.oct /build/reproducible-path/octave-miscellaneous-1.3.1/./src/text_waitbar.oct /build/reproducible-path/octave-miscellaneous-1.3.1/./src/cell2cell.cc-tst /build/reproducible-path/octave-miscellaneous-1.3.1/./src/partint.cc-tst /build/reproducible-path/octave-miscellaneous-1.3.1/./src/sample.cc-tst /build/reproducible-path/octave-miscellaneous-1.3.1/./inst/arm-unknown-linux-gnueabihf-api-v59 For information about changes from previous versions of the miscellaneous package, run 'news miscellaneous'. @@ -2918,6 +2954,156 @@ Checking package... Run the unit tests... Checking m files ... +[inst/idxmatrix.m] +>>>>> /build/reproducible-path/octave-miscellaneous-1.3.1/inst/idxmatrix.m +***** error (idxmatrix ([])) +***** assert (idxmatrix (0), []) +***** assert (idxmatrix (2), idxmatrix ([2 2])) +3 tests, 3 passed, 0 known failure, 0 skipped +[inst/clip.m] +>>>>> /build/reproducible-path/octave-miscellaneous-1.3.1/inst/clip.m +***** error clip +***** error clip(1,2,3) +***** assert (clip(pi), 1) +***** assert (clip(-pi), 0) +***** assert (clip([-1.5, 0, 1.5], [-1, 1]), [-1, 0, 1]); +***** assert (clip([-1.5, 0, 1.5]', [-1, 1]'), [-1, 0, 1]'); +***** assert (clip([-1.5, 1; 0, 1.5], [-1, 1]), [-1, 1; 0, 1]); +***** assert (isempty(clip([],1))); +8 tests, 8 passed, 0 known failure, 0 skipped +[inst/match.m] +>>>>> /build/reproducible-path/octave-miscellaneous-1.3.1/inst/match.m +***** assert(match(@(x) mod(x,2),1:10),[1:2:10],0) +***** assert(match(@sin,1:10),[1:10],0) +***** assert(match(@(x) strcmp('Octave',x),{'Matlab','Octave'}),{'Octave'},0) +***** assert(match(@(x) (x>0), [-10:+10]),[1:10],0) +4 tests, 4 passed, 0 known failure, 0 skipped +[inst/reduce.m] +>>>>> /build/reproducible-path/octave-miscellaneous-1.3.1/inst/reduce.m +***** assert(reduce(@(x,y)(x+y),[],-1),-1) +***** assert(reduce(@(x,y)(x+y),[+1],-1),0) +***** assert(reduce(@(x,y)(x+y),[-10:-1]),-55) +***** assert(reduce(@(x,y)(x+y),[-10:-1],+55),0) +***** assert(reduce(@(x,y)(y*x),[1:4],5),120) +5 tests, 5 passed, 0 known failure, 0 skipped +[inst/chebyshevpoly.m] +>>>>> /build/reproducible-path/octave-miscellaneous-1.3.1/inst/chebyshevpoly.m +***** test + x = logspace(-2, 2, 30); + maxdeg = 10; + for n = 1:maxdeg + assert( chebyshevpoly(1,n,cos(x)), cos(n*x), 1E3*eps ) + assert( chebyshevpoly(2,n,cos(x)) .* sin(x), sin((n+1)*x), 1E3*eps ) + endfor +1 test, 1 passed, 0 known failure, 0 skipped +[inst/ascii.m] +>>>>> /build/reproducible-path/octave-miscellaneous-1.3.1/inst/ascii.m +***** demo + ## Display pretty table of conversion between ASCII, decimal and hexadecimal + ascii () +***** demo + ## Display 6 columns table of conversion between ASCII, decimal and hexadecimal + ascii (6) +***** demo + ## Return a string with a pretty formatted table (but don't display it) + table = ascii (1) + display (table (65, :)); +***** test + str = ascii (5); + assert (str(1,:), " Dec Hex Chr Dec Hex Chr Dec Hex Chr Dec Hex Chr Dec Hex Chr "); + assert (str(4,:), " 33 21 ! 52 34 4 71 47 G 90 5A Z 109 6D m "); +***** test + str = ascii (1); + assert (str(1,:), " Dec Hex Chr "); + assert (str(6,:), " 35 23 # "); +***** error ascii (0) +***** error ascii (4.5) +***** error ascii ("dec") +5 tests, 5 passed, 0 known failure, 0 skipped +[inst/z_curve.m] +>>>>> /build/reproducible-path/octave-miscellaneous-1.3.1/inst/z_curve.m +***** test + n = 2; + expect = [0, 1, 0, 1; 0, 0, -1, -1]; + [get(1,:), get(2,:)] = z_curve (n); + if (any(size (expect) != size (get))) + error ("wrong size: expected %d,%d but got %d,%d", size (expect), size (get)); + elseif (any (any (expect!=get))) + error ("didn't get what was expected."); + endif +***** test + n = 5; +***** error z_curve (n); +***** demo + clf + n = 4; + [x, y] = z_curve (n); + line (x, y, "linewidth", 4, "color", "blue"); + % ----------------------------------------------------------------------- + % the figure window shows an iteration of the Z-order space-fillig curve + % with 4 points on each axis. +***** demo + clf + n = 32; + [x, y] = z_curve (n); + line (x, y, "linewidth", 2, "color", "blue"); + % ---------------------------------------------------------------------- + % the figure window shows an iteration of the Z-order space-fillig curve + % with 32 points on each axis. +3 tests, 3 passed, 0 known failure, 0 skipped +[inst/normr.m] +>>>>> /build/reproducible-path/octave-miscellaneous-1.3.1/inst/normr.m +***** test + M = [1,2; 3,4]; + expected = [0.447213595499958, 0.894427190999916; 0.6, 0.8]; + assert(normr(M), expected, eps); +***** test + M = [i,2*i; 3*I,4*I]; + expected = [0.447213595499958*I, 0.894427190999916*I; 0.6*I, 0.8*I]; + assert(normr(M), expected, eps); +***** test + M = [1+2*I, 3+4*I; 5+6*I, 7+8*I]; + expected = [0.182574185835055 + 0.365148371670111i, 0.547722557505166 + 0.730296743340221i + 0.379049021789452 + 0.454858826147342i, 0.530668630505232 + 0.606478434863123i]; + assert(normr(M), expected, 10*eps); +***** error normr(); +4 tests, 4 passed, 0 known failure, 0 skipped +[inst/zagzig.m] +>>>>> /build/reproducible-path/octave-miscellaneous-1.3.1/inst/zagzig.m +***** assert(zagzig(reshape(1:9,3,3)),[1 4 2 3 5 7 8 6 9]) +1 test, 1 passed, 0 known failure, 0 skipped +[inst/peano_curve.m] +>>>>> /build/reproducible-path/octave-miscellaneous-1.3.1/inst/peano_curve.m +***** test + n = 3; + expect(1,:) = [0, 0, 0, 1, 1, 1, 2, 2, 2]; + expect(2,:) = [0, 1, 2, 2, 1, 0, 0, 1, 2]; + [get(1,:), get(2,:)] = peano_curve (n); + if (any(size (expect) != size (get))) + error ("wrong size: expected %d,%d but got %d,%d", size (expect), size (get)); + elseif (any (any (expect!=get))) + error ("didn't get what was expected."); + endif +***** test + n = 5; +***** error peano_curve (n); +***** demo + clf + n = 9; + [x, y] = peano_curve (n); + line (x, y, "linewidth", 4, "color", "red"); + % -------------------------------------------------------------------- + % the figure window shows an iteration of the Peano space-fillig curve + % with 9 points on each axis. +***** demo + clf + n = 81; + [x, y] = peano_curve (n); + line (x, y, "linewidth", 2, "color", "red"); + % -------------------------------------------------------------------- + % the figure window shows an iteration of the Peano space-fillig curve + % with 81 points on each axis. +3 tests, 3 passed, 0 known failure, 0 skipped [inst/physical_constant.m] >>>>> /build/reproducible-path/octave-miscellaneous-1.3.1/inst/physical_constant.m ***** assert(physical_constant("Angstrom star"), 1.00001495e-10); @@ -3256,37 +3442,18 @@ ***** assert(physical_constant("weak mixing angle"), 0.2223); ***** assert(physical_constant("{220} lattice spacing of silicon"), 192.0155714e-12); 335 tests, 335 passed, 0 known failure, 0 skipped -[inst/match.m] ->>>>> /build/reproducible-path/octave-miscellaneous-1.3.1/inst/match.m -***** assert(match(@(x) mod(x,2),1:10),[1:2:10],0) -***** assert(match(@sin,1:10),[1:10],0) -***** assert(match(@(x) strcmp('Octave',x),{'Matlab','Octave'}),{'Octave'},0) -***** assert(match(@(x) (x>0), [-10:+10]),[1:10],0) -4 tests, 4 passed, 0 known failure, 0 skipped -[inst/ascii.m] ->>>>> /build/reproducible-path/octave-miscellaneous-1.3.1/inst/ascii.m -***** demo - ## Display pretty table of conversion between ASCII, decimal and hexadecimal - ascii () -***** demo - ## Display 6 columns table of conversion between ASCII, decimal and hexadecimal - ascii (6) +[inst/units.m] +>>>>> /build/reproducible-path/octave-miscellaneous-1.3.1/inst/units.m ***** demo - ## Return a string with a pretty formatted table (but don't display it) - table = ascii (1) - display (table (65, :)); -***** test - str = ascii (5); - assert (str(1,:), " Dec Hex Chr Dec Hex Chr Dec Hex Chr Dec Hex Chr Dec Hex Chr "); - assert (str(4,:), " 33 21 ! 52 34 4 71 47 G 90 5A Z 109 6D m "); -***** test - str = ascii (1); - assert (str(1,:), " Dec Hex Chr "); - assert (str(6,:), " 35 23 # "); -***** error ascii (0) -***** error ascii (4.5) -***** error ascii ("dec") -5 tests, 5 passed, 0 known failure, 0 skipped + a.value = 100; a.unit = 'lb'; + b.value = 50; b.unit = 'oz'; + c.unit = 'kg'; + c.value = units(a.unit, c.unit, a.value) + units(b.unit, c.unit, b.value) +***** assert (units ("in", "mm"), 25.4) +***** assert (units ("in", "mm", [5 7; 8 9]), 25.4 * [5 7; 8 9]) +***** assert (units ("tempC", "tempF", 100), 212) +***** error units ("tempC", "tempF") +4 tests, 4 passed, 0 known failure, 0 skipped [inst/normc.m] >>>>> /build/reproducible-path/octave-miscellaneous-1.3.1/inst/normc.m ***** test @@ -3306,141 +3473,6 @@ assert(normc(M), expected, 10*eps); ***** error normc(); 4 tests, 4 passed, 0 known failure, 0 skipped -[inst/units.m] ->>>>> /build/reproducible-path/octave-miscellaneous-1.3.1/inst/units.m -***** demo - a.value = 100; a.unit = 'lb'; - b.value = 50; b.unit = 'oz'; - c.unit = 'kg'; - c.value = units(a.unit, c.unit, a.value) + units(b.unit, c.unit, b.value) -***** assert (units ("in", "mm"), 25.4) -***** assert (units ("in", "mm", [5 7; 8 9]), 25.4 * [5 7; 8 9]) -***** assert (units ("tempC", "tempF", 100), 212) -***** error units ("tempC", "tempF") -4 tests, 4 passed, 0 known failure, 0 skipped -[inst/normr.m] ->>>>> /build/reproducible-path/octave-miscellaneous-1.3.1/inst/normr.m -***** test - M = [1,2; 3,4]; - expected = [0.447213595499958, 0.894427190999916; 0.6, 0.8]; - assert(normr(M), expected, eps); -***** test - M = [i,2*i; 3*I,4*I]; - expected = [0.447213595499958*I, 0.894427190999916*I; 0.6*I, 0.8*I]; - assert(normr(M), expected, eps); -***** test - M = [1+2*I, 3+4*I; 5+6*I, 7+8*I]; - expected = [0.182574185835055 + 0.365148371670111i, 0.547722557505166 + 0.730296743340221i - 0.379049021789452 + 0.454858826147342i, 0.530668630505232 + 0.606478434863123i]; - assert(normr(M), expected, 10*eps); -***** error normr(); -4 tests, 4 passed, 0 known failure, 0 skipped -[inst/zagzig.m] ->>>>> /build/reproducible-path/octave-miscellaneous-1.3.1/inst/zagzig.m -***** assert(zagzig(reshape(1:9,3,3)),[1 4 2 3 5 7 8 6 9]) -1 test, 1 passed, 0 known failure, 0 skipped -[inst/peano_curve.m] ->>>>> /build/reproducible-path/octave-miscellaneous-1.3.1/inst/peano_curve.m -***** test - n = 3; - expect(1,:) = [0, 0, 0, 1, 1, 1, 2, 2, 2]; - expect(2,:) = [0, 1, 2, 2, 1, 0, 0, 1, 2]; - [get(1,:), get(2,:)] = peano_curve (n); - if (any(size (expect) != size (get))) - error ("wrong size: expected %d,%d but got %d,%d", size (expect), size (get)); - elseif (any (any (expect!=get))) - error ("didn't get what was expected."); - endif -***** test - n = 5; -***** error peano_curve (n); -***** demo - clf - n = 9; - [x, y] = peano_curve (n); - line (x, y, "linewidth", 4, "color", "red"); - % -------------------------------------------------------------------- - % the figure window shows an iteration of the Peano space-fillig curve - % with 9 points on each axis. -***** demo - clf - n = 81; - [x, y] = peano_curve (n); - line (x, y, "linewidth", 2, "color", "red"); - % -------------------------------------------------------------------- - % the figure window shows an iteration of the Peano space-fillig curve - % with 81 points on each axis. -3 tests, 3 passed, 0 known failure, 0 skipped -[inst/z_curve.m] ->>>>> /build/reproducible-path/octave-miscellaneous-1.3.1/inst/z_curve.m -***** test - n = 2; - expect = [0, 1, 0, 1; 0, 0, -1, -1]; - [get(1,:), get(2,:)] = z_curve (n); - if (any(size (expect) != size (get))) - error ("wrong size: expected %d,%d but got %d,%d", size (expect), size (get)); - elseif (any (any (expect!=get))) - error ("didn't get what was expected."); - endif -***** test - n = 5; -***** error z_curve (n); -***** demo - clf - n = 4; - [x, y] = z_curve (n); - line (x, y, "linewidth", 4, "color", "blue"); - % ----------------------------------------------------------------------- - % the figure window shows an iteration of the Z-order space-fillig curve - % with 4 points on each axis. -***** demo - clf - n = 32; - [x, y] = z_curve (n); - line (x, y, "linewidth", 2, "color", "blue"); - % ---------------------------------------------------------------------- - % the figure window shows an iteration of the Z-order space-fillig curve - % with 32 points on each axis. -3 tests, 3 passed, 0 known failure, 0 skipped -[inst/idxmatrix.m] ->>>>> /build/reproducible-path/octave-miscellaneous-1.3.1/inst/idxmatrix.m -***** error (idxmatrix ([])) -***** assert (idxmatrix (0), []) -***** assert (idxmatrix (2), idxmatrix ([2 2])) -3 tests, 3 passed, 0 known failure, 0 skipped -[inst/clip.m] ->>>>> /build/reproducible-path/octave-miscellaneous-1.3.1/inst/clip.m -***** error clip -***** error clip(1,2,3) -***** assert (clip(pi), 1) -***** assert (clip(-pi), 0) -***** assert (clip([-1.5, 0, 1.5], [-1, 1]), [-1, 0, 1]); -***** assert (clip([-1.5, 0, 1.5]', [-1, 1]'), [-1, 0, 1]'); -***** assert (clip([-1.5, 1; 0, 1.5], [-1, 1]), [-1, 1; 0, 1]); -***** assert (isempty(clip([],1))); -8 tests, 8 passed, 0 known failure, 0 skipped -[inst/chebyshevpoly.m] ->>>>> /build/reproducible-path/octave-miscellaneous-1.3.1/inst/chebyshevpoly.m -***** test - x = logspace(-2, 2, 30); - maxdeg = 10; - for n = 1:maxdeg - assert( chebyshevpoly(1,n,cos(x)), cos(n*x), 1E3*eps ) - assert( chebyshevpoly(2,n,cos(x)) .* sin(x), sin((n+1)*x), 1E3*eps ) - endfor -1 test, 1 passed, 0 known failure, 0 skipped -[inst/zigzag.m] ->>>>> /build/reproducible-path/octave-miscellaneous-1.3.1/inst/zigzag.m -***** assert(zigzag(reshape(1:9,3,3)),[1 2 4 7 5 3 6 8 9]) -1 test, 1 passed, 0 known failure, 0 skipped -[inst/reduce.m] ->>>>> /build/reproducible-path/octave-miscellaneous-1.3.1/inst/reduce.m -***** assert(reduce(@(x,y)(x+y),[],-1),-1) -***** assert(reduce(@(x,y)(x+y),[+1],-1),0) -***** assert(reduce(@(x,y)(x+y),[-10:-1]),-55) -***** assert(reduce(@(x,y)(x+y),[-10:-1],+55),0) -***** assert(reduce(@(x,y)(y*x),[1:4],5),120) -5 tests, 5 passed, 0 known failure, 0 skipped [inst/hilbert_curve.m] >>>>> /build/reproducible-path/octave-miscellaneous-1.3.1/inst/hilbert_curve.m ***** test @@ -3472,30 +3504,11 @@ % the figure window shows an iteration of the Hilbert space-fillig curve % with 64 points on each axis. 3 tests, 3 passed, 0 known failure, 0 skipped +[inst/zigzag.m] +>>>>> /build/reproducible-path/octave-miscellaneous-1.3.1/inst/zigzag.m +***** assert(zigzag(reshape(1:9,3,3)),[1 2 4 7 5 3 6 8 9]) +1 test, 1 passed, 0 known failure, 0 skipped Checking C++ files ... -[src/sample.cc] ->>>>> /build/reproducible-path/octave-miscellaneous-1.3.1/src/sample.cc -***** assert (isempty(sample(0,10))); -***** assert (isempty(sample(-2,10))); -***** assert (sample(10,10),[0:9]); -***** assert (sample(12,10),[0:9]); -***** assert (length(sample(9,10)),9); -***** shared a,m,n - m = 1e4-5; - n = 1e4; - a = sample(m,n); -***** assert (all(a=0)); -***** assert (length(a),m); - n = 1e300; - a = sample(m,n); -***** assert (all(a=0)); -***** assert (length(a),m); -***** demo - s = sample(4,8) - % s should contain an increasing sequence of 4 integers from the range 0..7 -11 tests, 11 passed, 0 known failure, 0 skipped [src/partint.cc] >>>>> /build/reproducible-path/octave-miscellaneous-1.3.1/src/partint.cc ***** test @@ -3529,6 +3542,29 @@ ***** fail ("cell2cell([], 1)", "cell2cell"); ***** fail ("cell2cell([], 0)", "cell2cell"); 5 tests, 5 passed, 0 known failure, 0 skipped +[src/sample.cc] +>>>>> /build/reproducible-path/octave-miscellaneous-1.3.1/src/sample.cc +***** assert (isempty(sample(0,10))); +***** assert (isempty(sample(-2,10))); +***** assert (sample(10,10),[0:9]); +***** assert (sample(12,10),[0:9]); +***** assert (length(sample(9,10)),9); +***** shared a,m,n + m = 1e4-5; + n = 1e4; + a = sample(m,n); +***** assert (all(a=0)); +***** assert (length(a),m); + n = 1e300; + a = sample(m,n); +***** assert (all(a=0)); +***** assert (length(a),m); +***** demo + s = sample(4,8) + % s should contain an increasing sequence of 4 integers from the range 0..7 +11 tests, 11 passed, 0 known failure, 0 skipped Done running the unit tests. Summary: 407 tests, 407 passed, 0 known failures, 0 skipped dh_installdocs -O--buildsystem=octave @@ -3561,8 +3597,8 @@ dpkg-gencontrol: warning: package octave-miscellaneous: substitution variable ${octave:Upstream-Description} unused, but is defined dh_md5sums -O--buildsystem=octave dh_builddeb -O--buildsystem=octave -dpkg-deb: building package 'octave-miscellaneous-dbgsym' in '../octave-miscellaneous-dbgsym_1.3.1-1_armhf.deb'. dpkg-deb: building package 'octave-miscellaneous' in '../octave-miscellaneous_1.3.1-1_armhf.deb'. +dpkg-deb: building package 'octave-miscellaneous-dbgsym' in '../octave-miscellaneous-dbgsym_1.3.1-1_armhf.deb'. dpkg-genbuildinfo --build=binary -O../octave-miscellaneous_1.3.1-1_armhf.buildinfo dpkg-genchanges --build=binary -O../octave-miscellaneous_1.3.1-1_armhf.changes dpkg-genchanges: info: binary-only upload (no source code included) @@ -3570,12 +3606,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/24153/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/24153/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/20939 and its subdirectories -I: Current time: Sat Aug 10 08:57:14 -12 2024 -I: pbuilder-time-stamp: 1723323434 +I: removing directory /srv/workspace/pbuilder/24153 and its subdirectories +I: Current time: Sun Aug 11 11:00:26 +14 2024 +I: pbuilder-time-stamp: 1723323626