Diff of the two buildlogs: -- --- b1/build.log 2024-10-21 12:47:40.848279263 +0000 +++ b2/build.log 2024-10-21 13:03:30.510480328 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Mon Oct 21 00:32:29 -12 2024 -I: pbuilder-time-stamp: 1729513949 +I: Current time: Tue Oct 22 02:48:21 +14 2024 +I: pbuilder-time-stamp: 1729514901 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 midi-device-devinfo-xtest.patch I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/8424/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/8161/tmp/hooks/D01_modify_environment starting +debug: Running on ff4a. +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 Oct 21 12:48 /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/8161/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/8161/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]="32" [3]="1" [4]="release" [5]="arm-unknown-linux-gnueabihf") + BASH_VERSION='5.2.32(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='bb34768a3cfc44aa80714378ccf0a5d2' - 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='8424' - PS1='# ' - PS2='> ' + INVOCATION_ID=1ea458f9a9b84e9e9c4b988b242cbadf + 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=8161 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.EVlsdDYf/pbuilderrc_XSxq --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.EVlsdDYf/b1 --logfile b1/build.log octave-audio_2.0.9-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.EVlsdDYf/pbuilderrc_Tv87 --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.EVlsdDYf/b2 --logfile b2/build.log octave-audio_2.0.9-1.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 virt64c 6.1.0-26-arm64 #1 SMP Debian 6.1.112-1 (2024-09-30) aarch64 GNU/Linux + Linux i-capture-the-hostname 6.1.0-26-armmp-lpae #1 SMP Debian 6.1.112-1 (2024-09-30) armv7l GNU/Linux I: ls -l /bin lrwxrwxrwx 1 root root 7 Aug 4 21:30 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/8424/tmp/hooks/D02_print_environment finished +I: user script /srv/workspace/pbuilder/8161/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -693,7 +725,7 @@ Get: 572 http://deb.debian.org/debian unstable/main armhf texlive-latex-base all 2024.20240829-2 [1273 kB] Get: 573 http://deb.debian.org/debian unstable/main armhf texlive-latex-recommended all 2024.20240829-2 [8845 kB] Get: 574 http://deb.debian.org/debian unstable/main armhf texlive all 2024.20240829-2 [18.6 kB] -Fetched 233 MB in 5s (42.9 MB/s) +Fetched 233 MB in 13s (17.5 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package libpython3.12-minimal:armhf. (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 ... 19665 files and directories currently installed.) @@ -2563,8 +2595,8 @@ Setting up tzdata (2024b-3) ... Current default time zone: 'Etc/UTC' -Local time is now: Mon Oct 21 12:36:04 UTC 2024. -Universal Time is now: Mon Oct 21 12:36:04 UTC 2024. +Local time is now: Mon Oct 21 12:51:54 UTC 2024. +Universal Time is now: Mon Oct 21 12:51:54 UTC 2024. Run 'dpkg-reconfigure tzdata' if you wish to change it. Setting up libxcb-present0:armhf (1.17.0-2) ... @@ -3068,7 +3100,11 @@ Building tag database... -> Finished parsing the build-deps I: Building the package -I: Running cd /build/reproducible-path/octave-audio-2.0.9/ && 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-audio_2.0.9-1_source.changes +I: user script /srv/workspace/pbuilder/8161/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for unstable +I: user script /srv/workspace/pbuilder/8161/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/reproducible-path/octave-audio-2.0.9/ && 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-audio_2.0.9-1_source.changes dpkg-buildpackage: info: source package octave-audio dpkg-buildpackage: info: source version 2.0.9-1 dpkg-buildpackage: info: source distribution unstable @@ -3142,9 +3178,9 @@ dh_prep -O--buildsystem=octave dh_auto_install --destdir=debian/octave-audio/ -O--buildsystem=octave octave --no-gui --no-history --silent --no-init-file --no-window-system /usr/share/dh-octave/install-pkg.m /build/reproducible-path/octave-audio-2.0.9/debian/octave-audio/usr/share/octave/packages /build/reproducible-path/octave-audio-2.0.9/debian/octave-audio/usr/lib/arm-linux-gnueabihf/octave/packages -checking build system type... aarch64-unknown-linux-gnu -checking host system type... aarch64-unknown-linux-gnu -checking target system type... aarch64-unknown-linux-gnu +checking build system type... armv7l-unknown-linux-gnueabihf +checking host system type... armv7l-unknown-linux-gnueabihf +checking target system type... armv7l-unknown-linux-gnueabihf checking for a sed that does not truncate output... /usr/bin/sed checking whether the C++ compiler works... yes checking for C++ compiler default output file name... a.out @@ -3191,11 +3227,11 @@ /usr/bin/mkoctfile --verbose -c mididevinfo.cc -g -O2 -ffile-prefix-map=/build/reproducible-path/octave-audio-2.0.9=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -pthread -I/usr/include/rtmidi -D__UNIX_JACK__ -D__LINUX_ALSA__ -pthread -DHAVE_CONFIG_H /usr/bin/mkoctfile --verbose -c mididevice.cc -g -O2 -ffile-prefix-map=/build/reproducible-path/octave-audio-2.0.9=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -pthread -I/usr/include/rtmidi -D__UNIX_JACK__ -D__LINUX_ALSA__ -pthread -DHAVE_CONFIG_H /usr/bin/mkoctfile --verbose -c midi.cc -g -O2 -ffile-prefix-map=/build/reproducible-path/octave-audio-2.0.9=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -pthread -I/usr/include/rtmidi -D__UNIX_JACK__ -D__LINUX_ALSA__ -pthread -DHAVE_CONFIG_H -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-audio-2.0.9=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -pthread -I/usr/include/rtmidi -D__UNIX_JACK__ -D__LINUX_ALSA__ -pthread -DHAVE_CONFIG_H -g -O2 -ffile-prefix-map=/build/reproducible-path/octave-audio-2.0.9=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I/usr/include/rtmidi -D__UNIX_JACK__ -D__LINUX_ALSA__ -DHAVE_CONFIG_H mididevinfo.cc -o mididevinfo.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-audio-2.0.9=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -pthread -I/usr/include/rtmidi -D__UNIX_JACK__ -D__LINUX_ALSA__ -pthread -DHAVE_CONFIG_H -g -O2 -ffile-prefix-map=/build/reproducible-path/octave-audio-2.0.9=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I/usr/include/rtmidi -D__UNIX_JACK__ -D__LINUX_ALSA__ -DHAVE_CONFIG_H mididevice.cc -o mididevice.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-audio-2.0.9=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -pthread -I/usr/include/rtmidi -D__UNIX_JACK__ -D__LINUX_ALSA__ -pthread -DHAVE_CONFIG_H -g -O2 -ffile-prefix-map=/build/reproducible-path/octave-audio-2.0.9=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I/usr/include/rtmidi -D__UNIX_JACK__ -D__LINUX_ALSA__ -DHAVE_CONFIG_H midi.cc -o midi.o /usr/bin/mkoctfile --verbose -c midi_object.cc -g -O2 -ffile-prefix-map=/build/reproducible-path/octave-audio-2.0.9=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -pthread -I/usr/include/rtmidi -D__UNIX_JACK__ -D__LINUX_ALSA__ -pthread -DHAVE_CONFIG_H 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-audio-2.0.9=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -pthread -I/usr/include/rtmidi -D__UNIX_JACK__ -D__LINUX_ALSA__ -pthread -DHAVE_CONFIG_H -g -O2 -ffile-prefix-map=/build/reproducible-path/octave-audio-2.0.9=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I/usr/include/rtmidi -D__UNIX_JACK__ -D__LINUX_ALSA__ -DHAVE_CONFIG_H midi_object.cc -o midi_object.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-audio-2.0.9=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -pthread -I/usr/include/rtmidi -D__UNIX_JACK__ -D__LINUX_ALSA__ -pthread -DHAVE_CONFIG_H -g -O2 -ffile-prefix-map=/build/reproducible-path/octave-audio-2.0.9=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I/usr/include/rtmidi -D__UNIX_JACK__ -D__LINUX_ALSA__ -DHAVE_CONFIG_H mididevinfo.cc -o mididevinfo.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-audio-2.0.9=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -pthread -I/usr/include/rtmidi -D__UNIX_JACK__ -D__LINUX_ALSA__ -pthread -DHAVE_CONFIG_H -g -O2 -ffile-prefix-map=/build/reproducible-path/octave-audio-2.0.9=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I/usr/include/rtmidi -D__UNIX_JACK__ -D__LINUX_ALSA__ -DHAVE_CONFIG_H midi.cc -o midi.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-audio-2.0.9=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -pthread -I/usr/include/rtmidi -D__UNIX_JACK__ -D__LINUX_ALSA__ -pthread -DHAVE_CONFIG_H -g -O2 -ffile-prefix-map=/build/reproducible-path/octave-audio-2.0.9=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I/usr/include/rtmidi -D__UNIX_JACK__ -D__LINUX_ALSA__ -DHAVE_CONFIG_H mididevice.cc -o mididevice.o In file included from /usr/include/arm-linux-gnueabihf/c++/14/bits/c++allocator.h:33, from /usr/include/c++/14/bits/allocator.h:46, from /usr/include/c++/14/string:43, @@ -3267,53 +3303,94 @@ Checking package... Run the unit tests... Checking m files ... -[inst/hz2bark.m] ->>>>> /build/reproducible-path/octave-audio-2.0.9/inst/hz2bark.m -***** error hz2bark() -***** error hz2bark('a') -***** error hz2bark(2i) -***** assert(hz2bark(100), 0.9557, 10^-4) -4 tests, 4 passed, 0 known failure, 0 skipped -[inst/midifileread.m] ->>>>> /build/reproducible-path/octave-audio-2.0.9/inst/midifileread.m -***** shared testname - testname = file_in_loadpath("data/c_maj_melody.mid"); -***** test - msg = midifileread(testname); - assert(length(msg), 70); - assert(msg(1).type == "ResetAllControllers"); - assert(msg(1).timestamp, 0); - assert(msg(length(msg)).type == "NoteOn"); - assert(msg(length(msg)).timestamp, 7.9739583, 5e-7); -***** test - msg = midifileread(testname, 'includemetaevents', true); - assert(length(msg), 77); - assert(msg(1).type == "MetaEvent"); - assert(msg(1).timestamp, 0); - assert(msg(length(msg)).type == "MetaEvent"); - assert(msg(length(msg)).timestamp, 7.975, 5e-7); -***** fail midifileread(testname, "1name"); -***** fail midifileread(); +[inst/sone2phon.m] +>>>>> /build/reproducible-path/octave-audio-2.0.9/inst/sone2phon.m +***** error sone2phon() +***** error sone2phon('a') +***** error sone2phon([100], 'invalid') +***** assert(sone2phon(16), 80, 100*eps) +***** assert(sone2phon(16, 'ISO 532-1'), 80, 100*eps) +***** assert(sone2phon(15.8, 'ISO 532-2'), 80, 100*eps) +6 tests, 6 passed, 0 known failure, 0 skipped +[inst/hz2mel.m] +>>>>> /build/reproducible-path/octave-audio-2.0.9/inst/hz2mel.m +***** error hz2mel() +***** error hz2mel('a') +***** error hz2mel(2i) +***** assert(hz2mel(440), 549.6387, 10^-4) 4 tests, 4 passed, 0 known failure, 0 skipped -[inst/midiflush.m] ->>>>> /build/reproducible-path/octave-audio-2.0.9/inst/midiflush.m +[inst/midicontrols.m] +>>>>> /build/reproducible-path/octave-audio-2.0.9/inst/midicontrols.m ***** xtest - a = mididevice(0); - assert(isa(a, "octave_midi")); - midiflush(a); + a = midicontrols(); + assert(isa(a, "midicontrols")); ALSA lib seq_hw.c:528:(snd_seq_hw_open) open /dev/snd/seq failed: No such file or directory MidiOutAlsa::initialize: error creating ALSA sequencer client object. !!!!! known failure Error getting midi info: 'MidiOutAlsa::initialize: error creating ALSA sequencer client object.' -***** error midiflush(0) -2 tests, 1 passed, 1 known failure, 0 skipped -[inst/midicontrols.m] ->>>>> /build/reproducible-path/octave-audio-2.0.9/inst/midicontrols.m +1 test, 0 passed, 1 known failure, 0 skipped +[inst/mel2hz.m] +>>>>> /build/reproducible-path/octave-audio-2.0.9/inst/mel2hz.m +***** error mel2hz() +***** error mel2hz('a') +***** error mel2hz(2i) +***** test + mel = hz2mel(220); + hz = mel2hz(mel); + assert(hz, 220, 100*eps) +4 tests, 4 passed, 0 known failure, 0 skipped +[inst/audioOscillator.m] +>>>>> /build/reproducible-path/octave-audio-2.0.9/inst/audioOscillator.m +***** error audioOscillator(1) +***** error audioOscillator("unknown") +***** error audioOscillator("sine", "a") +***** test + osc = audioOscillator(); + assert(osc.Frequency, 100); + assert(osc.SampleRate, 44100); + assert(osc.SignalType, "sine"); + osc = audioOscillator("sine"); + assert(osc.SignalType, "sine"); + osc = audioOscillator("SignalType", "sine"); + assert(osc.SignalType, "sine"); + osc = audioOscillator("sine", 2); + assert(osc.SignalType, "sine"); + assert(osc.Frequency, 2); +***** test + osc = audioOscillator("square"); + assert(osc.Frequency, 100); + assert(osc.SampleRate, 44100); + assert(osc.SignalType, "square"); + osc = audioOscillator("SignalType", "square"); + assert(osc.SignalType, "square"); + osc = audioOscillator("square", 2); + assert(osc.SignalType, "square"); + assert(osc.Frequency, 2); +***** test + osc = audioOscillator("sawtooth"); + assert(osc.Frequency, 100); + assert(osc.SampleRate, 44100); + assert(osc.SignalType, "sawtooth"); + osc = audioOscillator("SignalType", "sawtooth"); + assert(osc.SignalType, "sawtooth"); +***** test + osc = audioOscillator("SignalType", "sine", "Frequency", 2, "Amplitude", 1.1, "SamplesPerFrame", 1024); + assert(osc.Frequency, 2); + assert(osc.Amplitude, 1.1); + assert(osc.SamplesPerFrame, 1024); + assert(osc.SampleRate, 44100); +***** test + osc = audioOscillator("sine"); + data = osc(); + assert(length(data), osc.SamplesPerFrame) +8 tests, 8 passed, 0 known failure, 0 skipped +[inst/mididevice.m] +>>>>> /build/reproducible-path/octave-audio-2.0.9/inst/mididevice.m ***** xtest - a = midicontrols(); - assert(isa(a, "midicontrols")); + a = mididevice(0); + assert(isa(a, "octave_midi")); ALSA lib seq_hw.c:528:(snd_seq_hw_open) open /dev/snd/seq failed: No such file or directory MidiOutAlsa::initialize: error creating ALSA sequencer client object. @@ -3335,13 +3412,96 @@ !!!!! known failure Error getting midi info: 'MidiOutAlsa::initialize: error creating ALSA sequencer client object.' 1 test, 0 passed, 1 known failure, 0 skipped -[inst/hz2mel.m] ->>>>> /build/reproducible-path/octave-audio-2.0.9/inst/hz2mel.m -***** error hz2mel() -***** error hz2mel('a') -***** error hz2mel(2i) -***** assert(hz2mel(440), 549.6387, 10^-4) +[inst/hz2bark.m] +>>>>> /build/reproducible-path/octave-audio-2.0.9/inst/hz2bark.m +***** error hz2bark() +***** error hz2bark('a') +***** error hz2bark(2i) +***** assert(hz2bark(100), 0.9557, 10^-4) +4 tests, 4 passed, 0 known failure, 0 skipped +[inst/bark2hz.m] +>>>>> /build/reproducible-path/octave-audio-2.0.9/inst/bark2hz.m +***** error bark2hz() +***** error bark2hz('a') +***** error bark2hz(2i) +***** test + bark = hz2bark(10); + hz = bark2hz(bark); + assert(hz, 10, 100*eps) +4 tests, 4 passed, 0 known failure, 0 skipped +[inst/midifileinfo.m] +>>>>> /build/reproducible-path/octave-audio-2.0.9/inst/midifileinfo.m +***** shared testname + testname = file_in_loadpath("data/c_maj_melody.mid"); +***** test + info = midifileinfo(testname); + t = info.header; + assert(info.header.format, 1); + assert(info.header.tracks, 2); + assert(info.header.ticks_per_qtr, 480); + assert(info.header.ticks, 224); + assert(info.header.frames, 1); + assert(length(info.track), 2); + assert(length(info.other), 0); +1 test, 1 passed, 0 known failure, 0 skipped +[inst/midiflush.m] +>>>>> /build/reproducible-path/octave-audio-2.0.9/inst/midiflush.m +***** xtest + a = mididevice(0); + assert(isa(a, "octave_midi")); + midiflush(a); +ALSA lib seq_hw.c:528:(snd_seq_hw_open) open /dev/snd/seq failed: No such file or directory + +MidiOutAlsa::initialize: error creating ALSA sequencer client object. + +!!!!! known failure +Error getting midi info: 'MidiOutAlsa::initialize: error creating ALSA sequencer client object.' +***** error midiflush(0) +2 tests, 1 passed, 1 known failure, 0 skipped +[inst/ismidifile.m] +>>>>> /build/reproducible-path/octave-audio-2.0.9/inst/ismidifile.m +***** test + testname = file_in_loadpath("data/c_maj_melody.mid"); + assert (ismidifile(testname), true); +***** test + testname = file_in_loadpath("data/sample.wav"); + assert (ismidifile(testname), false); +***** test + testname = "X_DOES_NOT_EXIST_X"; + assert (ismidifile(testname), false); +3 tests, 3 passed, 0 known failure, 0 skipped +[inst/midifileread.m] +>>>>> /build/reproducible-path/octave-audio-2.0.9/inst/midifileread.m +***** shared testname + testname = file_in_loadpath("data/c_maj_melody.mid"); +***** test + msg = midifileread(testname); + assert(length(msg), 70); + assert(msg(1).type == "ResetAllControllers"); + assert(msg(1).timestamp, 0); + assert(msg(length(msg)).type == "NoteOn"); + assert(msg(length(msg)).timestamp, 7.9739583, 5e-7); +***** test + msg = midifileread(testname, 'includemetaevents', true); + assert(length(msg), 77); + assert(msg(1).type == "MetaEvent"); + assert(msg(1).timestamp, 0); + assert(msg(length(msg)).type == "MetaEvent"); + assert(msg(length(msg)).timestamp, 7.975, 5e-7); +***** fail midifileread(testname, "1name"); +***** fail midifileread(); 4 tests, 4 passed, 0 known failure, 0 skipped +[inst/hz2erb.m] +>>>>> /build/reproducible-path/octave-audio-2.0.9/inst/hz2erb.m +***** error hz2erb() +***** error hz2erb('a') +***** error hz2erb(2i) +***** assert(hz2erb(5500), 29.8342, 10^-4) +***** test + erb = hz2erb(10); + hz = erb2hz(erb); + assert(hz, 10, 100*eps) +5 tests, 5 passed, 0 known failure, 0 skipped [inst/midimsg.m] >>>>> /build/reproducible-path/octave-audio-2.0.9/inst/midimsg.m ***** fail midimsg('badtype') @@ -3789,91 +3949,14 @@ assert(smsgs(2).Note, 80) assert(smsgs(3).Note, 82) 46 tests, 46 passed, 0 known failure, 0 skipped -[inst/mel2hz.m] ->>>>> /build/reproducible-path/octave-audio-2.0.9/inst/mel2hz.m -***** error mel2hz() -***** error mel2hz('a') -***** error mel2hz(2i) -***** test - mel = hz2mel(220); - hz = mel2hz(mel); - assert(hz, 220, 100*eps) -4 tests, 4 passed, 0 known failure, 0 skipped -[inst/ismidifile.m] ->>>>> /build/reproducible-path/octave-audio-2.0.9/inst/ismidifile.m -***** test - testname = file_in_loadpath("data/c_maj_melody.mid"); - assert (ismidifile(testname), true); -***** test - testname = file_in_loadpath("data/sample.wav"); - assert (ismidifile(testname), false); -***** test - testname = "X_DOES_NOT_EXIST_X"; - assert (ismidifile(testname), false); -3 tests, 3 passed, 0 known failure, 0 skipped -[inst/audioOscillator.m] ->>>>> /build/reproducible-path/octave-audio-2.0.9/inst/audioOscillator.m -***** error audioOscillator(1) -***** error audioOscillator("unknown") -***** error audioOscillator("sine", "a") -***** test - osc = audioOscillator(); - assert(osc.Frequency, 100); - assert(osc.SampleRate, 44100); - assert(osc.SignalType, "sine"); - osc = audioOscillator("sine"); - assert(osc.SignalType, "sine"); - osc = audioOscillator("SignalType", "sine"); - assert(osc.SignalType, "sine"); - osc = audioOscillator("sine", 2); - assert(osc.SignalType, "sine"); - assert(osc.Frequency, 2); -***** test - osc = audioOscillator("square"); - assert(osc.Frequency, 100); - assert(osc.SampleRate, 44100); - assert(osc.SignalType, "square"); - osc = audioOscillator("SignalType", "square"); - assert(osc.SignalType, "square"); - osc = audioOscillator("square", 2); - assert(osc.SignalType, "square"); - assert(osc.Frequency, 2); -***** test - osc = audioOscillator("sawtooth"); - assert(osc.Frequency, 100); - assert(osc.SampleRate, 44100); - assert(osc.SignalType, "sawtooth"); - osc = audioOscillator("SignalType", "sawtooth"); - assert(osc.SignalType, "sawtooth"); -***** test - osc = audioOscillator("SignalType", "sine", "Frequency", 2, "Amplitude", 1.1, "SamplesPerFrame", 1024); - assert(osc.Frequency, 2); - assert(osc.Amplitude, 1.1); - assert(osc.SamplesPerFrame, 1024); - assert(osc.SampleRate, 44100); -***** test - osc = audioOscillator("sine"); - data = osc(); - assert(length(data), osc.SamplesPerFrame) -8 tests, 8 passed, 0 known failure, 0 skipped -[inst/bark2hz.m] ->>>>> /build/reproducible-path/octave-audio-2.0.9/inst/bark2hz.m -***** error bark2hz() -***** error bark2hz('a') -***** error bark2hz(2i) -***** test - bark = hz2bark(10); - hz = bark2hz(bark); - assert(hz, 10, 100*eps) -4 tests, 4 passed, 0 known failure, 0 skipped -[inst/sone2phon.m] ->>>>> /build/reproducible-path/octave-audio-2.0.9/inst/sone2phon.m -***** error sone2phon() -***** error sone2phon('a') -***** error sone2phon([100], 'invalid') -***** assert(sone2phon(16), 80, 100*eps) -***** assert(sone2phon(16, 'ISO 532-1'), 80, 100*eps) -***** assert(sone2phon(15.8, 'ISO 532-2'), 80, 100*eps) +[inst/phon2sone.m] +>>>>> /build/reproducible-path/octave-audio-2.0.9/inst/phon2sone.m +***** error phon2sone() +***** error phon2sone('a') +***** error phon2sone([100], 'invalid') +***** assert(phon2sone(80), 16, 100*eps) +***** assert(phon2sone(80, 'ISO 532-1'), 16, 100*eps) +***** assert(phon2sone(80, 'ISO 532-2'), 15.8, 100*eps) 6 tests, 6 passed, 0 known failure, 0 skipped [inst/erb2hz.m] >>>>> /build/reproducible-path/octave-audio-2.0.9/inst/erb2hz.m @@ -3885,41 +3968,6 @@ hz = erb2hz(erb); assert(hz, 10, 100*eps) 4 tests, 4 passed, 0 known failure, 0 skipped -[inst/hz2erb.m] ->>>>> /build/reproducible-path/octave-audio-2.0.9/inst/hz2erb.m -***** error hz2erb() -***** error hz2erb('a') -***** error hz2erb(2i) -***** assert(hz2erb(5500), 29.8342, 10^-4) -***** test - erb = hz2erb(10); - hz = erb2hz(erb); - assert(hz, 10, 100*eps) -5 tests, 5 passed, 0 known failure, 0 skipped -[inst/phon2sone.m] ->>>>> /build/reproducible-path/octave-audio-2.0.9/inst/phon2sone.m -***** error phon2sone() -***** error phon2sone('a') -***** error phon2sone([100], 'invalid') -***** assert(phon2sone(80), 16, 100*eps) -***** assert(phon2sone(80, 'ISO 532-1'), 16, 100*eps) -***** assert(phon2sone(80, 'ISO 532-2'), 15.8, 100*eps) -6 tests, 6 passed, 0 known failure, 0 skipped -[inst/midifileinfo.m] ->>>>> /build/reproducible-path/octave-audio-2.0.9/inst/midifileinfo.m -***** shared testname - testname = file_in_loadpath("data/c_maj_melody.mid"); -***** test - info = midifileinfo(testname); - t = info.header; - assert(info.header.format, 1); - assert(info.header.tracks, 2); - assert(info.header.ticks_per_qtr, 480); - assert(info.header.ticks, 224); - assert(info.header.frames, 1); - assert(length(info.track), 2); - assert(length(info.other), 0); -1 test, 1 passed, 0 known failure, 0 skipped [inst/midimsgtype.m] >>>>> /build/reproducible-path/octave-audio-2.0.9/inst/midimsgtype.m ***** fail midimsg.InvalidEnumValue @@ -3966,18 +4014,6 @@ Error getting midi info: 'MidiOutAlsa::initialize: error creating ALSA sequencer client object.' ***** error midicallback(0); 2 tests, 1 passed, 1 known failure, 0 skipped -[inst/mididevice.m] ->>>>> /build/reproducible-path/octave-audio-2.0.9/inst/mididevice.m -***** xtest - a = mididevice(0); - assert(isa(a, "octave_midi")); -ALSA lib seq_hw.c:528:(snd_seq_hw_open) open /dev/snd/seq failed: No such file or directory - -MidiOutAlsa::initialize: error creating ALSA sequencer client object. - -!!!!! known failure -Error getting midi info: 'MidiOutAlsa::initialize: error creating ALSA sequencer client object.' -1 test, 0 passed, 1 known failure, 0 skipped [inst/midifilewrite.m] >>>>> /build/reproducible-path/octave-audio-2.0.9/inst/midifilewrite.m ***** shared testname @@ -4067,12 +4103,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/8161/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/8161/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/8424 and its subdirectories -I: Current time: Mon Oct 21 00:47:35 -12 2024 -I: pbuilder-time-stamp: 1729514855 +I: removing directory /srv/workspace/pbuilder/8161 and its subdirectories +I: Current time: Tue Oct 22 03:03:25 +14 2024 +I: pbuilder-time-stamp: 1729515805