Diff of the two buildlogs: -- --- b1/build.log 2023-06-07 18:21:13.804606370 +0000 +++ b2/build.log 2023-06-07 18:33:21.116775844 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Wed Jun 7 06:07:55 -12 2023 -I: pbuilder-time-stamp: 1686161275 +I: Current time: Thu Jun 8 08:21:31 +14 2023 +I: pbuilder-time-stamp: 1686162091 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/bookworm-reproducible-base.tgz] I: copying local configuration @@ -16,7 +16,7 @@ I: copying [./octave-miscellaneous_1.3.0.orig.tar.gz] I: copying [./octave-miscellaneous_1.3.0-5.debian.tar.xz] I: Extracting source -gpgv: Signature made Mon Dec 5 18:51:02 2022 -12 +gpgv: Signature made Tue Dec 6 20:51:02 2022 +14 gpgv: using RSA key 3F464391498FE874BDB5D98F2124AA1983785C90 gpgv: issuer "rafael@debian.org" gpgv: Can't check signature: No public key @@ -31,135 +31,167 @@ dpkg-source: info: applying remove-inst-private-dir.patch I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/8371/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/6005/tmp/hooks/D01_modify_environment starting +debug: Running on wbq0. +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 Jun 8 08: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/6005/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/6005/tmp/hooks/D02_print_environment starting I: set - BUILDDIR='/build' - 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='bookworm' - 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]="15" [3]="1" [4]="release" [5]="arm-unknown-linux-gnueabihf") + BASH_VERSION='5.2.15(1)-release' + BUILDDIR=/build + 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=bookworm + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=arm + HOST_ARCH=armhf IFS=' ' - INVOCATION_ID='5c05e1d5553d4d2a8c6e7e75aa8f49b5' - 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='8371' - PS1='# ' - PS2='> ' + INVOCATION_ID=c760b2e966f443e5836507e6f28145b0 + 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=6005 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.2qmyYHyR/pbuilderrc_xUsz --distribution bookworm --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bookworm-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.2qmyYHyR/b1 --logfile b1/build.log octave-miscellaneous_1.3.0-5.dsc' - SUDO_GID='114' - SUDO_UID='110' - 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.2qmyYHyR/pbuilderrc_rChv --distribution bookworm --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bookworm-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.2qmyYHyR/b2 --logfile b2/build.log --extrapackages usrmerge octave-miscellaneous_1.3.0-5.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 jtx1b 5.10.0-23-arm64 #1 SMP Debian 5.10.179-1 (2023-05-12) aarch64 GNU/Linux + Linux i-capture-the-hostname 5.10.0-23-armmp #1 SMP Debian 5.10.179-1 (2023-05-12) armv7l GNU/Linux I: ls -l /bin total 5072 - -rwxr-xr-x 1 root root 838488 Apr 23 09:24 bash - -rwxr-xr-x 3 root root 67144 Sep 18 2022 bunzip2 - -rwxr-xr-x 3 root root 67144 Sep 18 2022 bzcat - lrwxrwxrwx 1 root root 6 Sep 18 2022 bzcmp -> bzdiff - -rwxr-xr-x 1 root root 2225 Sep 18 2022 bzdiff - lrwxrwxrwx 1 root root 6 Sep 18 2022 bzegrep -> bzgrep - -rwxr-xr-x 1 root root 4893 Nov 27 2021 bzexe - lrwxrwxrwx 1 root root 6 Sep 18 2022 bzfgrep -> bzgrep - -rwxr-xr-x 1 root root 3775 Sep 18 2022 bzgrep - -rwxr-xr-x 3 root root 67144 Sep 18 2022 bzip2 - -rwxr-xr-x 1 root root 67112 Sep 18 2022 bzip2recover - lrwxrwxrwx 1 root root 6 Sep 18 2022 bzless -> bzmore - -rwxr-xr-x 1 root root 1297 Sep 18 2022 bzmore - -rwxr-xr-x 1 root root 67632 Sep 20 2022 cat - -rwxr-xr-x 1 root root 67676 Sep 20 2022 chgrp - -rwxr-xr-x 1 root root 67644 Sep 20 2022 chmod - -rwxr-xr-x 1 root root 67684 Sep 20 2022 chown - -rwxr-xr-x 1 root root 133532 Sep 20 2022 cp - -rwxr-xr-x 1 root root 132868 Jan 5 01:20 dash - -rwxr-xr-x 1 root root 133220 Sep 20 2022 date - -rwxr-xr-x 1 root root 67732 Sep 20 2022 dd - -rwxr-xr-x 1 root root 68104 Sep 20 2022 df - -rwxr-xr-x 1 root root 133632 Sep 20 2022 dir - -rwxr-xr-x 1 root root 59128 Mar 22 21:02 dmesg - lrwxrwxrwx 1 root root 8 Dec 19 01:33 dnsdomainname -> hostname - lrwxrwxrwx 1 root root 8 Dec 19 01:33 domainname -> hostname - -rwxr-xr-x 1 root root 67560 Sep 20 2022 echo - -rwxr-xr-x 1 root root 41 Jan 24 02:43 egrep - -rwxr-xr-x 1 root root 67548 Sep 20 2022 false - -rwxr-xr-x 1 root root 41 Jan 24 02:43 fgrep - -rwxr-xr-x 1 root root 55748 Mar 22 21:02 findmnt - -rwsr-xr-x 1 root root 26208 Mar 22 20:15 fusermount - -rwxr-xr-x 1 root root 128608 Jan 24 02:43 grep - -rwxr-xr-x 2 root root 2346 Apr 9 2022 gunzip - -rwxr-xr-x 1 root root 6447 Apr 9 2022 gzexe - -rwxr-xr-x 1 root root 64220 Apr 9 2022 gzip - -rwxr-xr-x 1 root root 67032 Dec 19 01:33 hostname - -rwxr-xr-x 1 root root 67720 Sep 20 2022 ln - -rwxr-xr-x 1 root root 35132 Mar 22 21:51 login - -rwxr-xr-x 1 root root 133632 Sep 20 2022 ls - -rwxr-xr-x 1 root root 136808 Mar 22 21:02 lsblk - -rwxr-xr-x 1 root root 67800 Sep 20 2022 mkdir - -rwxr-xr-x 1 root root 67764 Sep 20 2022 mknod - -rwxr-xr-x 1 root root 67596 Sep 20 2022 mktemp - -rwxr-xr-x 1 root root 38504 Mar 22 21:02 more - -rwsr-xr-x 1 root root 38496 Mar 22 21:02 mount - -rwxr-xr-x 1 root root 9824 Mar 22 21:02 mountpoint - -rwxr-xr-x 1 root root 133532 Sep 20 2022 mv - lrwxrwxrwx 1 root root 8 Dec 19 01:33 nisdomainname -> hostname - lrwxrwxrwx 1 root root 14 Apr 2 18:25 pidof -> /sbin/killall5 - -rwxr-xr-x 1 root root 67608 Sep 20 2022 pwd - lrwxrwxrwx 1 root root 4 Apr 23 09:24 rbash -> bash - -rwxr-xr-x 1 root root 67600 Sep 20 2022 readlink - -rwxr-xr-x 1 root root 67672 Sep 20 2022 rm - -rwxr-xr-x 1 root root 67600 Sep 20 2022 rmdir - -rwxr-xr-x 1 root root 67400 Nov 2 2022 run-parts - -rwxr-xr-x 1 root root 133372 Jan 5 07:55 sed - lrwxrwxrwx 1 root root 4 Jan 5 01:20 sh -> dash - -rwxr-xr-x 1 root root 67584 Sep 20 2022 sleep - -rwxr-xr-x 1 root root 67644 Sep 20 2022 stty - -rwsr-xr-x 1 root root 50800 Mar 22 21:02 su - -rwxr-xr-x 1 root root 67584 Sep 20 2022 sync - -rwxr-xr-x 1 root root 336764 Apr 6 02:25 tar - -rwxr-xr-x 1 root root 67144 Nov 2 2022 tempfile - -rwxr-xr-x 1 root root 133224 Sep 20 2022 touch - -rwxr-xr-x 1 root root 67548 Sep 20 2022 true - -rwxr-xr-x 1 root root 9768 Mar 22 20:15 ulockmgr_server - -rwsr-xr-x 1 root root 22108 Mar 22 21:02 umount - -rwxr-xr-x 1 root root 67572 Sep 20 2022 uname - -rwxr-xr-x 2 root root 2346 Apr 9 2022 uncompress - -rwxr-xr-x 1 root root 133632 Sep 20 2022 vdir - -rwxr-xr-x 1 root root 42608 Mar 22 21:02 wdctl - lrwxrwxrwx 1 root root 8 Dec 19 01:33 ypdomainname -> hostname - -rwxr-xr-x 1 root root 1984 Apr 9 2022 zcat - -rwxr-xr-x 1 root root 1678 Apr 9 2022 zcmp - -rwxr-xr-x 1 root root 6460 Apr 9 2022 zdiff - -rwxr-xr-x 1 root root 29 Apr 9 2022 zegrep - -rwxr-xr-x 1 root root 29 Apr 9 2022 zfgrep - -rwxr-xr-x 1 root root 2081 Apr 9 2022 zforce - -rwxr-xr-x 1 root root 8103 Apr 9 2022 zgrep - -rwxr-xr-x 1 root root 2206 Apr 9 2022 zless - -rwxr-xr-x 1 root root 1842 Apr 9 2022 zmore - -rwxr-xr-x 1 root root 4577 Apr 9 2022 znew -I: user script /srv/workspace/pbuilder/8371/tmp/hooks/D02_print_environment finished + -rwxr-xr-x 1 root root 838488 Apr 24 11:24 bash + -rwxr-xr-x 3 root root 67144 Sep 19 2022 bunzip2 + -rwxr-xr-x 3 root root 67144 Sep 19 2022 bzcat + lrwxrwxrwx 1 root root 6 Sep 19 2022 bzcmp -> bzdiff + -rwxr-xr-x 1 root root 2225 Sep 19 2022 bzdiff + lrwxrwxrwx 1 root root 6 Sep 19 2022 bzegrep -> bzgrep + -rwxr-xr-x 1 root root 4893 Nov 28 2021 bzexe + lrwxrwxrwx 1 root root 6 Sep 19 2022 bzfgrep -> bzgrep + -rwxr-xr-x 1 root root 3775 Sep 19 2022 bzgrep + -rwxr-xr-x 3 root root 67144 Sep 19 2022 bzip2 + -rwxr-xr-x 1 root root 67112 Sep 19 2022 bzip2recover + lrwxrwxrwx 1 root root 6 Sep 19 2022 bzless -> bzmore + -rwxr-xr-x 1 root root 1297 Sep 19 2022 bzmore + -rwxr-xr-x 1 root root 67632 Sep 21 2022 cat + -rwxr-xr-x 1 root root 67676 Sep 21 2022 chgrp + -rwxr-xr-x 1 root root 67644 Sep 21 2022 chmod + -rwxr-xr-x 1 root root 67684 Sep 21 2022 chown + -rwxr-xr-x 1 root root 133532 Sep 21 2022 cp + -rwxr-xr-x 1 root root 132868 Jan 6 03:20 dash + -rwxr-xr-x 1 root root 133220 Sep 21 2022 date + -rwxr-xr-x 1 root root 67732 Sep 21 2022 dd + -rwxr-xr-x 1 root root 68104 Sep 21 2022 df + -rwxr-xr-x 1 root root 133632 Sep 21 2022 dir + -rwxr-xr-x 1 root root 59128 Mar 23 23:02 dmesg + lrwxrwxrwx 1 root root 8 Dec 20 03:33 dnsdomainname -> hostname + lrwxrwxrwx 1 root root 8 Dec 20 03:33 domainname -> hostname + -rwxr-xr-x 1 root root 67560 Sep 21 2022 echo + -rwxr-xr-x 1 root root 41 Jan 25 04:43 egrep + -rwxr-xr-x 1 root root 67548 Sep 21 2022 false + -rwxr-xr-x 1 root root 41 Jan 25 04:43 fgrep + -rwxr-xr-x 1 root root 55748 Mar 23 23:02 findmnt + -rwsr-xr-x 1 root root 26208 Mar 23 22:15 fusermount + -rwxr-xr-x 1 root root 128608 Jan 25 04:43 grep + -rwxr-xr-x 2 root root 2346 Apr 10 2022 gunzip + -rwxr-xr-x 1 root root 6447 Apr 10 2022 gzexe + -rwxr-xr-x 1 root root 64220 Apr 10 2022 gzip + -rwxr-xr-x 1 root root 67032 Dec 20 03:33 hostname + -rwxr-xr-x 1 root root 67720 Sep 21 2022 ln + -rwxr-xr-x 1 root root 35132 Mar 23 23:51 login + -rwxr-xr-x 1 root root 133632 Sep 21 2022 ls + -rwxr-xr-x 1 root root 136808 Mar 23 23:02 lsblk + -rwxr-xr-x 1 root root 67800 Sep 21 2022 mkdir + -rwxr-xr-x 1 root root 67764 Sep 21 2022 mknod + -rwxr-xr-x 1 root root 67596 Sep 21 2022 mktemp + -rwxr-xr-x 1 root root 38504 Mar 23 23:02 more + -rwsr-xr-x 1 root root 38496 Mar 23 23:02 mount + -rwxr-xr-x 1 root root 9824 Mar 23 23:02 mountpoint + -rwxr-xr-x 1 root root 133532 Sep 21 2022 mv + lrwxrwxrwx 1 root root 8 Dec 20 03:33 nisdomainname -> hostname + lrwxrwxrwx 1 root root 14 Apr 3 20:25 pidof -> /sbin/killall5 + -rwxr-xr-x 1 root root 67608 Sep 21 2022 pwd + lrwxrwxrwx 1 root root 4 Apr 24 11:24 rbash -> bash + -rwxr-xr-x 1 root root 67600 Sep 21 2022 readlink + -rwxr-xr-x 1 root root 67672 Sep 21 2022 rm + -rwxr-xr-x 1 root root 67600 Sep 21 2022 rmdir + -rwxr-xr-x 1 root root 67400 Nov 3 2022 run-parts + -rwxr-xr-x 1 root root 133372 Jan 6 09:55 sed + lrwxrwxrwx 1 root root 9 Jun 8 08:22 sh -> /bin/bash + -rwxr-xr-x 1 root root 67584 Sep 21 2022 sleep + -rwxr-xr-x 1 root root 67644 Sep 21 2022 stty + -rwsr-xr-x 1 root root 50800 Mar 23 23:02 su + -rwxr-xr-x 1 root root 67584 Sep 21 2022 sync + -rwxr-xr-x 1 root root 336764 Apr 7 04:25 tar + -rwxr-xr-x 1 root root 67144 Nov 3 2022 tempfile + -rwxr-xr-x 1 root root 133224 Sep 21 2022 touch + -rwxr-xr-x 1 root root 67548 Sep 21 2022 true + -rwxr-xr-x 1 root root 9768 Mar 23 22:15 ulockmgr_server + -rwsr-xr-x 1 root root 22108 Mar 23 23:02 umount + -rwxr-xr-x 1 root root 67572 Sep 21 2022 uname + -rwxr-xr-x 2 root root 2346 Apr 10 2022 uncompress + -rwxr-xr-x 1 root root 133632 Sep 21 2022 vdir + -rwxr-xr-x 1 root root 42608 Mar 23 23:02 wdctl + lrwxrwxrwx 1 root root 8 Dec 20 03:33 ypdomainname -> hostname + -rwxr-xr-x 1 root root 1984 Apr 10 2022 zcat + -rwxr-xr-x 1 root root 1678 Apr 10 2022 zcmp + -rwxr-xr-x 1 root root 6460 Apr 10 2022 zdiff + -rwxr-xr-x 1 root root 29 Apr 10 2022 zegrep + -rwxr-xr-x 1 root root 29 Apr 10 2022 zfgrep + -rwxr-xr-x 1 root root 2081 Apr 10 2022 zforce + -rwxr-xr-x 1 root root 8103 Apr 10 2022 zgrep + -rwxr-xr-x 1 root root 2206 Apr 10 2022 zless + -rwxr-xr-x 1 root root 1842 Apr 10 2022 zmore + -rwxr-xr-x 1 root root 4577 Apr 10 2022 znew +I: user script /srv/workspace/pbuilder/6005/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -707,7 +739,7 @@ Get: 504 http://deb.debian.org/debian bookworm/main armhf dh-octave-autopkgtest all 1.2.7 [9364 B] Get: 505 http://deb.debian.org/debian bookworm/main armhf dh-octave all 1.2.7 [22.8 kB] Get: 506 http://deb.debian.org/debian bookworm/main armhf units armhf 2.22-2 [261 kB] -Fetched 171 MB in 21s (8094 kB/s) +Fetched 171 MB in 14s (11.9 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 ... 19324 files and directories currently installed.) @@ -2782,8 +2814,19 @@ Writing extended state information... Building tag database... -> Finished parsing the build-deps +Reading package lists... +Building dependency tree... +Reading state information... +usrmerge is already the newest version (35). +0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. I: Building the package -I: Running cd /build/octave-miscellaneous-1.3.0/ && 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.0-5_source.changes +I: user script /srv/workspace/pbuilder/6005/tmp/hooks/A99_set_merged_usr starting +Re-configuring usrmerge... +removed '/etc/unsupported-skip-usrmerge-conversion' +The system has been successfully converted. +I: user script /srv/workspace/pbuilder/6005/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/octave-miscellaneous-1.3.0/ && 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.0-5_source.changes dpkg-buildpackage: info: source package octave-miscellaneous dpkg-buildpackage: info: source version 1.3.0-5 dpkg-buildpackage: info: source distribution unstable @@ -2824,8 +2867,8 @@ checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking how to run the C preprocessor... gcc -E -checking for grep that handles long lines and -e... /bin/grep -checking for egrep... /bin/grep -E +checking for grep that handles long lines and -e... /usr/bin/grep +checking for egrep... /usr/bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes @@ -2852,50 +2895,76 @@ make[1]: Entering directory '/build/octave-miscellaneous-1.3.0/src' /usr/bin/mkoctfile --verbose cell2cell.cc /usr/bin/mkoctfile --verbose partint.cc -g++ -c -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/octave-7.3.0/octave/.. -I/usr/include/octave-7.3.0/octave -pthread -fopenmp -g -O2 -ffile-prefix-map=/build/octave-miscellaneous-1.3.0=. -fstack-protector-strong -Wformat -Werror=format-security cell2cell.cc -o /tmp/oct-oB6qX0.o -g++ -c -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/octave-7.3.0/octave/.. -I/usr/include/octave-7.3.0/octave -pthread -fopenmp -g -O2 -ffile-prefix-map=/build/octave-miscellaneous-1.3.0=. -fstack-protector-strong -Wformat -Werror=format-security partint.cc -o /tmp/oct-QDO4CB.o /usr/bin/mkoctfile --verbose sample.cc /usr/bin/mkoctfile --verbose text_waitbar.cc -g++ -c -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/octave-7.3.0/octave/.. -I/usr/include/octave-7.3.0/octave -pthread -fopenmp -g -O2 -ffile-prefix-map=/build/octave-miscellaneous-1.3.0=. -fstack-protector-strong -Wformat -Werror=format-security sample.cc -o /tmp/oct-lV9EjN.o -g++ -c -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/octave-7.3.0/octave/.. -I/usr/include/octave-7.3.0/octave -pthread -fopenmp -g -O2 -ffile-prefix-map=/build/octave-miscellaneous-1.3.0=. -fstack-protector-strong -Wformat -Werror=format-security text_waitbar.cc -o /tmp/oct-1Oqjxe.o -g++ -I/usr/include/octave-7.3.0/octave/.. -I/usr/include/octave-7.3.0/octave -pthread -fopenmp -g -O2 -ffile-prefix-map=/build/octave-miscellaneous-1.3.0=. -fstack-protector-strong -Wformat -Werror=format-security -o sample.oct /tmp/oct-lV9EjN.o -shared -Wl,-Bsymbolic -Wl,-z,relro -L/usr/lib/arm-linux-gnueabihf -shared -Wl,-Bsymbolic -Wl,-z,relro +g++ -c -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/octave-7.3.0/octave/.. -I/usr/include/octave-7.3.0/octave -pthread -fopenmp -g -O2 -ffile-prefix-map=/build/octave-miscellaneous-1.3.0=. -fstack-protector-strong -Wformat -Werror=format-security cell2cell.cc -o /tmp/oct-Es041W.o +g++ -c -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/octave-7.3.0/octave/.. -I/usr/include/octave-7.3.0/octave -pthread -fopenmp -g -O2 -ffile-prefix-map=/build/octave-miscellaneous-1.3.0=. -fstack-protector-strong -Wformat -Werror=format-security partint.cc -o /tmp/oct-CWt36R.o +g++ -c -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/octave-7.3.0/octave/.. -I/usr/include/octave-7.3.0/octave -pthread -fopenmp -g -O2 -ffile-prefix-map=/build/octave-miscellaneous-1.3.0=. -fstack-protector-strong -Wformat -Werror=format-security sample.cc -o /tmp/oct-c1xnaV.o +g++ -c -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/octave-7.3.0/octave/.. -I/usr/include/octave-7.3.0/octave -pthread -fopenmp -g -O2 -ffile-prefix-map=/build/octave-miscellaneous-1.3.0=. -fstack-protector-strong -Wformat -Werror=format-security text_waitbar.cc -o /tmp/oct-Oybh6t.o +g++ -I/usr/include/octave-7.3.0/octave/.. -I/usr/include/octave-7.3.0/octave -pthread -fopenmp -g -O2 -ffile-prefix-map=/build/octave-miscellaneous-1.3.0=. -fstack-protector-strong -Wformat -Werror=format-security -o sample.oct /tmp/oct-c1xnaV.o -shared -Wl,-Bsymbolic -Wl,-z,relro -L/usr/lib/arm-linux-gnueabihf -shared -Wl,-Bsymbolic -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-7.3.0/octave/.. -I/usr/include/octave-7.3.0/octave -pthread -fopenmp -g -O2 -ffile-prefix-map=/build/octave-miscellaneous-1.3.0=. -fstack-protector-strong -Wformat -Werror=format-security -o cell2cell.oct /tmp/oct-oB6qX0.o -shared -Wl,-Bsymbolic -Wl,-z,relro -L/usr/lib/arm-linux-gnueabihf -shared -Wl,-Bsymbolic -Wl,-z,relro -g++ -I/usr/include/octave-7.3.0/octave/.. -I/usr/include/octave-7.3.0/octave -pthread -fopenmp -g -O2 -ffile-prefix-map=/build/octave-miscellaneous-1.3.0=. -fstack-protector-strong -Wformat -Werror=format-security -o partint.oct /tmp/oct-QDO4CB.o -shared -Wl,-Bsymbolic -Wl,-z,relro -L/usr/lib/arm-linux-gnueabihf -shared -Wl,-Bsymbolic -Wl,-z,relro -g++ -I/usr/include/octave-7.3.0/octave/.. -I/usr/include/octave-7.3.0/octave -pthread -fopenmp -g -O2 -ffile-prefix-map=/build/octave-miscellaneous-1.3.0=. -fstack-protector-strong -Wformat -Werror=format-security -o text_waitbar.oct /tmp/oct-1Oqjxe.o -shared -Wl,-Bsymbolic -Wl,-z,relro -L/usr/lib/arm-linux-gnueabihf -shared -Wl,-Bsymbolic -Wl,-z,relro +g++ -I/usr/include/octave-7.3.0/octave/.. -I/usr/include/octave-7.3.0/octave -pthread -fopenmp -g -O2 -ffile-prefix-map=/build/octave-miscellaneous-1.3.0=. -fstack-protector-strong -Wformat -Werror=format-security -o cell2cell.oct /tmp/oct-Es041W.o -shared -Wl,-Bsymbolic -Wl,-z,relro -L/usr/lib/arm-linux-gnueabihf -shared -Wl,-Bsymbolic -Wl,-z,relro +g++ -I/usr/include/octave-7.3.0/octave/.. -I/usr/include/octave-7.3.0/octave -pthread -fopenmp -g -O2 -ffile-prefix-map=/build/octave-miscellaneous-1.3.0=. -fstack-protector-strong -Wformat -Werror=format-security -o text_waitbar.oct /tmp/oct-Oybh6t.o -shared -Wl,-Bsymbolic -Wl,-z,relro -L/usr/lib/arm-linux-gnueabihf -shared -Wl,-Bsymbolic -Wl,-z,relro +g++ -I/usr/include/octave-7.3.0/octave/.. -I/usr/include/octave-7.3.0/octave -pthread -fopenmp -g -O2 -ffile-prefix-map=/build/octave-miscellaneous-1.3.0=. -fstack-protector-strong -Wformat -Werror=format-security -o partint.oct /tmp/oct-CWt36R.o -shared -Wl,-Bsymbolic -Wl,-z,relro -L/usr/lib/arm-linux-gnueabihf -shared -Wl,-Bsymbolic -Wl,-z,relro make[1]: Leaving directory '/build/octave-miscellaneous-1.3.0/src' copyfile /build/octave-miscellaneous-1.3.0/./src/cell2cell.oct /build/octave-miscellaneous-1.3.0/./src/partint.oct /build/octave-miscellaneous-1.3.0/./src/sample.oct /build/octave-miscellaneous-1.3.0/./src/text_waitbar.oct /build/octave-miscellaneous-1.3.0/./src/cell2cell.cc-tst /build/octave-miscellaneous-1.3.0/./src/partint.cc-tst /build/octave-miscellaneous-1.3.0/./src/sample.cc-tst /build/octave-miscellaneous-1.3.0/./inst/arm-unknown-linux-gnueabihf-api-v57 For information about changes from previous versions of the miscellaneous package, run 'news miscellaneous'. dh_octave_check -O--buildsystem=octave Checking package... Checking m files ... -[inst/ascii.m] ->>>>> /build/octave-miscellaneous-1.3.0/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, :)); +[inst/match.m] +>>>>> /build/octave-miscellaneous-1.3.0/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/chebyshevpoly.m] +>>>>> /build/octave-miscellaneous-1.3.0/inst/chebyshevpoly.m ***** 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 "); + 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/normr.m] +>>>>> /build/octave-miscellaneous-1.3.0/inst/normr.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 + 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/zigzag.m] +>>>>> /build/octave-miscellaneous-1.3.0/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/units.m] +>>>>> /build/octave-miscellaneous-1.3.0/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/clip.m] >>>>> /build/octave-miscellaneous-1.3.0/inst/clip.m ***** error clip @@ -2907,37 +2976,14 @@ ***** 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/z_curve.m] ->>>>> /build/octave-miscellaneous-1.3.0/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/reduce.m] +>>>>> /build/octave-miscellaneous-1.3.0/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/normc.m] >>>>> /build/octave-miscellaneous-1.3.0/inst/normc.m ***** test @@ -2957,106 +3003,30 @@ assert(normc(M), expected, 10*eps); ***** error normc(); 4 tests, 4 passed, 0 known failure, 0 skipped -[inst/match.m] ->>>>> /build/octave-miscellaneous-1.3.0/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/zigzag.m] ->>>>> /build/octave-miscellaneous-1.3.0/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/units.m] ->>>>> /build/octave-miscellaneous-1.3.0/inst/units.m +[inst/ascii.m] +>>>>> /build/octave-miscellaneous-1.3.0/inst/ascii.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/hilbert_curve.m] ->>>>> /build/octave-miscellaneous-1.3.0/inst/hilbert_curve.m -***** test - n = 2; - expect = [0, 0, 1, 1; 0, 1, 1, 0]; - [get(1,:), get(2,:)] = hilbert_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 hilbert_curve (n); -***** demo - clf - n = 4; - [x, y] = hilbert_curve (n); - line (x, y, "linewidth", 4, "color", "blue"); - % ----------------------------------------------------------------------- - % the figure window shows an iteration of the Hilbert space-fillig curve - % with 4 points on each axis. -***** demo - clf - n = 64; - [x, y] = hilbert_curve (n); - line (x, y, "linewidth", 2, "color", "blue"); - % ---------------------------------------------------------------------- - % 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/reduce.m] ->>>>> /build/octave-miscellaneous-1.3.0/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) + ## 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/peano_curve.m] ->>>>> /build/octave-miscellaneous-1.3.0/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/idxmatrix.m] ->>>>> /build/octave-miscellaneous-1.3.0/inst/idxmatrix.m -***** error (idxmatrix ([])) -***** assert (idxmatrix (0), []) -***** assert (idxmatrix (2), idxmatrix ([2 2])) -3 tests, 3 passed, 0 known failure, 0 skipped [inst/physical_constant.m] >>>>> /build/octave-miscellaneous-1.3.0/inst/physical_constant.m ***** assert(physical_constant("Angstrom star"), 1.00001495e-10); @@ -3395,38 +3365,144 @@ ***** 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/peano_curve.m] +>>>>> /build/octave-miscellaneous-1.3.0/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/idxmatrix.m] +>>>>> /build/octave-miscellaneous-1.3.0/inst/idxmatrix.m +***** error (idxmatrix ([])) +***** assert (idxmatrix (0), []) +***** assert (idxmatrix (2), idxmatrix ([2 2])) +3 tests, 3 passed, 0 known failure, 0 skipped +[inst/z_curve.m] +>>>>> /build/octave-miscellaneous-1.3.0/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/zagzig.m] >>>>> /build/octave-miscellaneous-1.3.0/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/normr.m] ->>>>> /build/octave-miscellaneous-1.3.0/inst/normr.m -***** test - M = [1,2; 3,4]; - expected = [0.447213595499958, 0.894427190999916; 0.6, 0.8]; - assert(normr(M), expected, eps); +[inst/hilbert_curve.m] +>>>>> /build/octave-miscellaneous-1.3.0/inst/hilbert_curve.m +***** test + n = 2; + expect = [0, 0, 1, 1; 0, 1, 1, 0]; + [get(1,:), get(2,:)] = hilbert_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 hilbert_curve (n); +***** demo + clf + n = 4; + [x, y] = hilbert_curve (n); + line (x, y, "linewidth", 4, "color", "blue"); + % ----------------------------------------------------------------------- + % the figure window shows an iteration of the Hilbert space-fillig curve + % with 4 points on each axis. +***** demo + clf + n = 64; + [x, y] = hilbert_curve (n); + line (x, y, "linewidth", 2, "color", "blue"); + % ---------------------------------------------------------------------- + % 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 +Checking C++ files ... +[src/partint.cc] +>>>>> /build/octave-miscellaneous-1.3.0/src/partint.cc ***** 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); + autoload ("partcnt", "partint.oct") + assert(partcnt(1), 1); + assert(partcnt(17), 297); + fail("partcnt()", "partcnt"); + fail("partcnt(1,2)", "partcnt"); + fail("partcnt('xyz')", "partcnt"); +***** demo + p = partcnt([1, 5; 17 -5]) +***** assert(partint(1), 1); +***** assert(all(partint(n=17) * [1:n]' == n) - 1, 0); ***** 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/chebyshevpoly.m] ->>>>> /build/octave-miscellaneous-1.3.0/inst/chebyshevpoly.m + expected = [4,0,0,0; 2,1,0,0; 0,2,0,0; 1,0,1,0; 0,0,0,1]; + assert(partint(4), expected); +***** fail("partint()", "partint"); +***** fail("partint(1,2)", "partint"); +***** fail("partint('xyz')", "partint"); +***** demo + p = partint(4) +7 tests, 7 passed, 0 known failure, 0 skipped +[src/cell2cell.cc] +>>>>> /build/octave-miscellaneous-1.3.0/src/cell2cell.cc ***** 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 -Checking C++ files ... + c = { 0, 1, 2, 3 }; + assert (cell2cell (c, 1), { c }); + assert (cell2cell (c, 2), { {0}, {1}, {2}, {3} }); +***** fail ("cell2cell()", "cell2cell"); +***** fail ("cell2cell({1})", "cell2cell"); +***** fail ("cell2cell([], 1)", "cell2cell"); +***** fail ("cell2cell([], 0)", "cell2cell"); +5 tests, 5 passed, 0 known failure, 0 skipped [src/sample.cc] >>>>> /build/octave-miscellaneous-1.3.0/src/sample.cc ***** assert (isempty(sample(0,10))); @@ -3450,39 +3526,6 @@ 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/cell2cell.cc] ->>>>> /build/octave-miscellaneous-1.3.0/src/cell2cell.cc -***** test - c = { 0, 1, 2, 3 }; - assert (cell2cell (c, 1), { c }); - assert (cell2cell (c, 2), { {0}, {1}, {2}, {3} }); -***** fail ("cell2cell()", "cell2cell"); -***** fail ("cell2cell({1})", "cell2cell"); -***** fail ("cell2cell([], 1)", "cell2cell"); -***** fail ("cell2cell([], 0)", "cell2cell"); -5 tests, 5 passed, 0 known failure, 0 skipped -[src/partint.cc] ->>>>> /build/octave-miscellaneous-1.3.0/src/partint.cc -***** test - autoload ("partcnt", "partint.oct") - assert(partcnt(1), 1); - assert(partcnt(17), 297); - fail("partcnt()", "partcnt"); - fail("partcnt(1,2)", "partcnt"); - fail("partcnt('xyz')", "partcnt"); -***** demo - p = partcnt([1, 5; 17 -5]) -***** assert(partint(1), 1); -***** assert(all(partint(n=17) * [1:n]' == n) - 1, 0); -***** test - expected = [4,0,0,0; 2,1,0,0; 0,2,0,0; 1,0,1,0; 0,0,0,1]; - assert(partint(4), expected); -***** fail("partint()", "partint"); -***** fail("partint(1,2)", "partint"); -***** fail("partint('xyz')", "partint"); -***** demo - p = partint(4) -7 tests, 7 passed, 0 known failure, 0 skipped Summary: 407 tests, 407 passed, 0 known failures, 0 skipped dh_installdocs -O--buildsystem=octave dh_installchangelogs -O--buildsystem=octave @@ -3519,12 +3562,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/6005/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/6005/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/8371 and its subdirectories -I: Current time: Wed Jun 7 06:21:07 -12 2023 -I: pbuilder-time-stamp: 1686162067 +I: removing directory /srv/workspace/pbuilder/6005 and its subdirectories +I: Current time: Thu Jun 8 08:33:11 +14 2023 +I: pbuilder-time-stamp: 1686162791