Diff of the two buildlogs: -- --- b1/build.log 2025-02-26 14:36:20.904270287 +0000 +++ b2/build.log 2025-02-26 14:43:09.845825184 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Tue Mar 31 08:50:40 -12 2026 -I: pbuilder-time-stamp: 1774990240 +I: Current time: Thu Feb 27 04:36:23 +14 2025 +I: pbuilder-time-stamp: 1740580583 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/trixie-reproducible-base.tgz] I: copying local configuration @@ -22,51 +22,83 @@ dpkg-source: info: unpacking octave-dicom_0.6.1-1.debian.tar.xz I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/2574649/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/3913990/tmp/hooks/D01_modify_environment starting +debug: Running on infom01-amd64. +I: Changing host+domainname to test build reproducibility +I: Adding a custom variable just for the fun of it... +I: Changing /bin/sh to bash +'/bin/sh' -> '/bin/bash' +lrwxrwxrwx 1 root root 9 Feb 26 14:36 /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/3913990/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/3913990/tmp/hooks/D02_print_environment starting I: set - BUILDDIR='/build/reproducible-path' - BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' - BUILDUSERNAME='pbuilder1' - BUILD_ARCH='amd64' - DEBIAN_FRONTEND='noninteractive' + 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]="37" [3]="1" [4]="release" [5]="x86_64-pc-linux-gnu") + BASH_VERSION='5.2.37(1)-release' + BUILDDIR=/build/reproducible-path + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=amd64 + DEBIAN_FRONTEND=noninteractive DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=12 ' - DISTRIBUTION='trixie' - HOME='/root' - HOST_ARCH='amd64' + DIRSTACK=() + DISTRIBUTION=trixie + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=x86_64 + HOST_ARCH=amd64 IFS=' ' - INVOCATION_ID='5d1c013a89e349f684b5b56cf6ed7b05' - 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='2574649' - PS1='# ' - PS2='> ' + INVOCATION_ID=fd194e01d04645f58e6c2aef1837cc1a + LANG=C + LANGUAGE=et_EE:et + LC_ALL=C + MACHTYPE=x86_64-pc-linux-gnu + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnu + PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path + PBCURRENTCOMMANDLINEOPERATION=build + PBUILDER_OPERATION=build + PBUILDER_PKGDATADIR=/usr/share/pbuilder + PBUILDER_PKGLIBDIR=/usr/lib/pbuilder + PBUILDER_SYSCONFDIR=/etc + PIPESTATUS=([0]="0") + POSIXLY_CORRECT=y + PPID=3913990 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.9Pi1XdhW/pbuilderrc_cWaV --distribution trixie --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/trixie-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.9Pi1XdhW/b1 --logfile b1/build.log octave-dicom_0.6.1-1.dsc' - SUDO_GID='109' - SUDO_UID='104' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' + 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.9Pi1XdhW/pbuilderrc_TZc6 --distribution trixie --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/trixie-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.9Pi1XdhW/b2 --logfile b2/build.log octave-dicom_0.6.1-1.dsc' + SUDO_GID=109 + SUDO_UID=104 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' I: uname -a - Linux infom02-amd64 6.12.9+bpo-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.12.9-1~bpo12+1 (2025-01-19) x86_64 GNU/Linux + Linux i-capture-the-hostname 6.1.0-31-cloud-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.128-1 (2025-02-07) x86_64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 Nov 22 2024 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/2574649/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 Nov 22 14:40 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/3913990/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -692,7 +724,7 @@ Get: 576 http://deb.debian.org/debian trixie/main amd64 texlive-latex-base all 2024.20250114-1 [1282 kB] Get: 577 http://deb.debian.org/debian trixie/main amd64 texlive-latex-recommended all 2024.20250114-1 [8760 kB] Get: 578 http://deb.debian.org/debian trixie/main amd64 texlive all 2024.20250114-1 [18.6 kB] -Fetched 284 MB in 10s (29.6 MB/s) +Fetched 284 MB in 8s (35.0 MB/s) Preconfiguring packages ... Selecting previously unselected package libpython3.13-minimal:amd64. (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 ... 19800 files and directories currently installed.) @@ -2573,8 +2605,8 @@ Setting up tzdata (2025a-2) ... Current default time zone: 'Etc/UTC' -Local time is now: Tue Mar 31 20:56:33 UTC 2026. -Universal Time is now: Tue Mar 31 20:56:33 UTC 2026. +Local time is now: Wed Feb 26 14:41:23 UTC 2025. +Universal Time is now: Wed Feb 26 14:41:23 UTC 2025. Run 'dpkg-reconfigure tzdata' if you wish to change it. Setting up libxcb-present0:amd64 (1.17.0-2+b1) ... @@ -3078,7 +3110,11 @@ Building tag database... -> Finished parsing the build-deps I: Building the package -I: Running cd /build/reproducible-path/octave-dicom-0.6.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-dicom_0.6.1-1_source.changes +I: user script /srv/workspace/pbuilder/3913990/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for trixie +I: user script /srv/workspace/pbuilder/3913990/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/reproducible-path/octave-dicom-0.6.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-dicom_0.6.1-1_source.changes dpkg-buildpackage: info: source package octave-dicom dpkg-buildpackage: info: source version 0.6.1-1 dpkg-buildpackage: info: source distribution unstable @@ -3091,7 +3127,7 @@ dh_auto_clean -O--buildsystem=octave dh_octave_clean make[1]: Entering directory '/build/reproducible-path/octave-dicom-0.6.1' -/bin/sh: 1: hg: not found +/bin/sh: line 1: hg: command not found make[1]: hg: No such file or directory rm -f -f doc/dicom.info rm -f -f doc/dicom.pdf @@ -3123,7 +3159,7 @@ make[1]: Entering directory '/build/reproducible-path/octave-dicom-0.6.1' make -k docs doc/dicom.info make[2]: Entering directory '/build/reproducible-path/octave-dicom-0.6.1' -/bin/sh: 1: hg: not found +/bin/sh: line 1: hg: command not found make[2]: hg: No such file or directory cd doc && ./mkfuncdocs.py --src-dir=../inst/ --src-dir=../src/ ../INDEX | sed 's/@seealso/@xseealso/g' > functions.texi Generating doc/version.texi @@ -3210,40 +3246,40 @@ /usr/bin/mkoctfile --verbose -I/usr/include/gdcm-3.0 -DHAVE_CONFIG_H -lgdcmCommon -lgdcmDICT -lgdcmDSED -lgdcmIOD -lgdcmMSFF _gendicomdict.cpp /usr/bin/mkoctfile --verbose -I/usr/include/gdcm-3.0 -DHAVE_CONFIG_H -lgdcmCommon -lgdcmDICT -lgdcmDSED -lgdcmIOD -lgdcmMSFF isdicom.cpp /usr/bin/mkoctfile --verbose -I/usr/include/gdcm-3.0 -DHAVE_CONFIG_H -lgdcmCommon -lgdcmDICT -lgdcmDSED -lgdcmIOD -lgdcmMSFF dicomuid.cpp -/usr/bin/mkoctfile --verbose -I/usr/include/gdcm-3.0 -DHAVE_CONFIG_H -lgdcmCommon -lgdcmDICT -lgdcmDSED -lgdcmIOD -lgdcmMSFF __dicom_decodeuid__.cpp g++ -c -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/octave-9.4.0/octave/.. -I/usr/include/octave-9.4.0/octave -pthread -fopenmp -g -O2 -ffile-prefix-map=/build/reproducible-path/octave-dicom-0.6.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I/usr/include/gdcm-3.0 -DHAVE_CONFIG_H dicomdict.cpp -o dicomdict.o -g++ -c -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/octave-9.4.0/octave/.. -I/usr/include/octave-9.4.0/octave -pthread -fopenmp -g -O2 -ffile-prefix-map=/build/reproducible-path/octave-dicom-0.6.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I/usr/include/gdcm-3.0 -DHAVE_CONFIG_H dicomdict.cpp -o /tmp/oct-0FYO3Q.o -g++ -c -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/octave-9.4.0/octave/.. -I/usr/include/octave-9.4.0/octave -pthread -fopenmp -g -O2 -ffile-prefix-map=/build/reproducible-path/octave-dicom-0.6.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I/usr/include/gdcm-3.0 -DHAVE_CONFIG_H dicomread.cpp -o /tmp/oct-Gt9Jx7.o -g++ -c -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/octave-9.4.0/octave/.. -I/usr/include/octave-9.4.0/octave -pthread -fopenmp -g -O2 -ffile-prefix-map=/build/reproducible-path/octave-dicom-0.6.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I/usr/include/gdcm-3.0 -DHAVE_CONFIG_H _gendicomdict.cpp -o /tmp/oct-w002wZ.o -g++ -c -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/octave-9.4.0/octave/.. -I/usr/include/octave-9.4.0/octave -pthread -fopenmp -g -O2 -ffile-prefix-map=/build/reproducible-path/octave-dicom-0.6.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I/usr/include/gdcm-3.0 -DHAVE_CONFIG_H isdicom.cpp -o /tmp/oct-XmXUu5.o -g++ -c -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/octave-9.4.0/octave/.. -I/usr/include/octave-9.4.0/octave -pthread -fopenmp -g -O2 -ffile-prefix-map=/build/reproducible-path/octave-dicom-0.6.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I/usr/include/gdcm-3.0 -DHAVE_CONFIG_H dicomuid.cpp -o /tmp/oct-YSAGwS.o -g++ -c -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/octave-9.4.0/octave/.. -I/usr/include/octave-9.4.0/octave -pthread -fopenmp -g -O2 -ffile-prefix-map=/build/reproducible-path/octave-dicom-0.6.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I/usr/include/gdcm-3.0 -DHAVE_CONFIG_H __dicom_decodeuid__.cpp -o /tmp/oct-2MD3AM.o +/usr/bin/mkoctfile --verbose -I/usr/include/gdcm-3.0 -DHAVE_CONFIG_H -lgdcmCommon -lgdcmDICT -lgdcmDSED -lgdcmIOD -lgdcmMSFF __dicom_decodeuid__.cpp +g++ -c -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/octave-9.4.0/octave/.. -I/usr/include/octave-9.4.0/octave -pthread -fopenmp -g -O2 -ffile-prefix-map=/build/reproducible-path/octave-dicom-0.6.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I/usr/include/gdcm-3.0 -DHAVE_CONFIG_H dicomdict.cpp -o /tmp/oct-GbZhcr.o +g++ -c -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/octave-9.4.0/octave/.. -I/usr/include/octave-9.4.0/octave -pthread -fopenmp -g -O2 -ffile-prefix-map=/build/reproducible-path/octave-dicom-0.6.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I/usr/include/gdcm-3.0 -DHAVE_CONFIG_H _gendicomdict.cpp -o /tmp/oct-DpWQka.o +g++ -c -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/octave-9.4.0/octave/.. -I/usr/include/octave-9.4.0/octave -pthread -fopenmp -g -O2 -ffile-prefix-map=/build/reproducible-path/octave-dicom-0.6.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I/usr/include/gdcm-3.0 -DHAVE_CONFIG_H isdicom.cpp -o /tmp/oct-vEMcs4.o +g++ -c -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/octave-9.4.0/octave/.. -I/usr/include/octave-9.4.0/octave -pthread -fopenmp -g -O2 -ffile-prefix-map=/build/reproducible-path/octave-dicom-0.6.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I/usr/include/gdcm-3.0 -DHAVE_CONFIG_H dicomread.cpp -o /tmp/oct-Ziym6I.o +g++ -c -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/octave-9.4.0/octave/.. -I/usr/include/octave-9.4.0/octave -pthread -fopenmp -g -O2 -ffile-prefix-map=/build/reproducible-path/octave-dicom-0.6.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I/usr/include/gdcm-3.0 -DHAVE_CONFIG_H dicomuid.cpp -o /tmp/oct-yhvEvr.o +g++ -c -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/octave-9.4.0/octave/.. -I/usr/include/octave-9.4.0/octave -pthread -fopenmp -g -O2 -ffile-prefix-map=/build/reproducible-path/octave-dicom-0.6.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I/usr/include/gdcm-3.0 -DHAVE_CONFIG_H __dicom_decodeuid__.cpp -o /tmp/oct-tQxms1.o Extracting tests from dicominfo.cpp ... Extracting tests from dicomdict.cpp ... Extracting tests from dicomread.cpp ... Extracting tests from dicomlookup.cpp ... -Extracting tests from dicomuid.cpp ... Extracting tests from isdicom.cpp ... +Extracting tests from dicomuid.cpp ... Extracting tests from dicomdisp.cpp ... Extracting tests from dicomanon.cpp ... Extracting tests from dicomwrite.cpp ... Extracting tests from __dicom_decodeuid__.cpp ... -g++ -I/usr/include/octave-9.4.0/octave/.. -I/usr/include/octave-9.4.0/octave -pthread -fopenmp -g -O2 -ffile-prefix-map=/build/reproducible-path/octave-dicom-0.6.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -o dicomuid.oct /tmp/oct-YSAGwS.o -lgdcmCommon -lgdcmDICT -lgdcmDSED -lgdcmIOD -lgdcmMSFF -shared -Wl,-Bsymbolic -Wl,-z,relro -flto=auto -ffat-lto-objects -Wl,-z,relro -g++ -I/usr/include/octave-9.4.0/octave/.. -I/usr/include/octave-9.4.0/octave -pthread -fopenmp -g -O2 -ffile-prefix-map=/build/reproducible-path/octave-dicom-0.6.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -o __dicom_decodeuid__.oct /tmp/oct-2MD3AM.o -lgdcmCommon -lgdcmDICT -lgdcmDSED -lgdcmIOD -lgdcmMSFF -shared -Wl,-Bsymbolic -Wl,-z,relro -flto=auto -ffat-lto-objects -Wl,-z,relro -g++ -I/usr/include/octave-9.4.0/octave/.. -I/usr/include/octave-9.4.0/octave -pthread -fopenmp -g -O2 -ffile-prefix-map=/build/reproducible-path/octave-dicom-0.6.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -o isdicom.oct /tmp/oct-XmXUu5.o -lgdcmCommon -lgdcmDICT -lgdcmDSED -lgdcmIOD -lgdcmMSFF -shared -Wl,-Bsymbolic -Wl,-z,relro -flto=auto -ffat-lto-objects -Wl,-z,relro -g++ -I/usr/include/octave-9.4.0/octave/.. -I/usr/include/octave-9.4.0/octave -pthread -fopenmp -g -O2 -ffile-prefix-map=/build/reproducible-path/octave-dicom-0.6.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -o _gendicomdict.oct /tmp/oct-w002wZ.o -lgdcmCommon -lgdcmDICT -lgdcmDSED -lgdcmIOD -lgdcmMSFF -shared -Wl,-Bsymbolic -Wl,-z,relro -flto=auto -ffat-lto-objects -Wl,-z,relro -g++ -I/usr/include/octave-9.4.0/octave/.. -I/usr/include/octave-9.4.0/octave -pthread -fopenmp -g -O2 -ffile-prefix-map=/build/reproducible-path/octave-dicom-0.6.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -o dicomread.oct /tmp/oct-Gt9Jx7.o -lgdcmCommon -lgdcmDICT -lgdcmDSED -lgdcmIOD -lgdcmMSFF -shared -Wl,-Bsymbolic -Wl,-z,relro -flto=auto -ffat-lto-objects -Wl,-z,relro +g++ -I/usr/include/octave-9.4.0/octave/.. -I/usr/include/octave-9.4.0/octave -pthread -fopenmp -g -O2 -ffile-prefix-map=/build/reproducible-path/octave-dicom-0.6.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -o dicomuid.oct /tmp/oct-yhvEvr.o -lgdcmCommon -lgdcmDICT -lgdcmDSED -lgdcmIOD -lgdcmMSFF -shared -Wl,-Bsymbolic -Wl,-z,relro -flto=auto -ffat-lto-objects -Wl,-z,relro +g++ -I/usr/include/octave-9.4.0/octave/.. -I/usr/include/octave-9.4.0/octave -pthread -fopenmp -g -O2 -ffile-prefix-map=/build/reproducible-path/octave-dicom-0.6.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -o __dicom_decodeuid__.oct /tmp/oct-tQxms1.o -lgdcmCommon -lgdcmDICT -lgdcmDSED -lgdcmIOD -lgdcmMSFF -shared -Wl,-Bsymbolic -Wl,-z,relro -flto=auto -ffat-lto-objects -Wl,-z,relro +g++ -I/usr/include/octave-9.4.0/octave/.. -I/usr/include/octave-9.4.0/octave -pthread -fopenmp -g -O2 -ffile-prefix-map=/build/reproducible-path/octave-dicom-0.6.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -o isdicom.oct /tmp/oct-vEMcs4.o -lgdcmCommon -lgdcmDICT -lgdcmDSED -lgdcmIOD -lgdcmMSFF -shared -Wl,-Bsymbolic -Wl,-z,relro -flto=auto -ffat-lto-objects -Wl,-z,relro +g++ -I/usr/include/octave-9.4.0/octave/.. -I/usr/include/octave-9.4.0/octave -pthread -fopenmp -g -O2 -ffile-prefix-map=/build/reproducible-path/octave-dicom-0.6.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -o _gendicomdict.oct /tmp/oct-DpWQka.o -lgdcmCommon -lgdcmDICT -lgdcmDSED -lgdcmIOD -lgdcmMSFF -shared -Wl,-Bsymbolic -Wl,-z,relro -flto=auto -ffat-lto-objects -Wl,-z,relro +g++ -I/usr/include/octave-9.4.0/octave/.. -I/usr/include/octave-9.4.0/octave -pthread -fopenmp -g -O2 -ffile-prefix-map=/build/reproducible-path/octave-dicom-0.6.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -o dicomread.oct /tmp/oct-Ziym6I.o -lgdcmCommon -lgdcmDICT -lgdcmDSED -lgdcmIOD -lgdcmMSFF -shared -Wl,-Bsymbolic -Wl,-z,relro -flto=auto -ffat-lto-objects -Wl,-z,relro /usr/bin/mkoctfile --verbose -I/usr/include/gdcm-3.0 -DHAVE_CONFIG_H -lgdcmCommon -lgdcmDICT -lgdcmDSED -lgdcmIOD -lgdcmMSFF dicominfo.cpp dicomdict.o /usr/bin/mkoctfile --verbose -I/usr/include/gdcm-3.0 -DHAVE_CONFIG_H -lgdcmCommon -lgdcmDICT -lgdcmDSED -lgdcmIOD -lgdcmMSFF dicomwrite.cpp dicomdict.o /usr/bin/mkoctfile --verbose -I/usr/include/gdcm-3.0 -DHAVE_CONFIG_H -lgdcmCommon -lgdcmDICT -lgdcmDSED -lgdcmIOD -lgdcmMSFF dicomlookup.cpp dicomdict.o /usr/bin/mkoctfile --verbose -I/usr/include/gdcm-3.0 -DHAVE_CONFIG_H -lgdcmCommon -lgdcmDICT -lgdcmDSED -lgdcmIOD -lgdcmMSFF dicomdisp.cpp dicomdict.o /usr/bin/mkoctfile --verbose -I/usr/include/gdcm-3.0 -DHAVE_CONFIG_H -lgdcmCommon -lgdcmDICT -lgdcmDSED -lgdcmIOD -lgdcmMSFF dicomanon.cpp dicomdict.o -g++ -c -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/octave-9.4.0/octave/.. -I/usr/include/octave-9.4.0/octave -pthread -fopenmp -g -O2 -ffile-prefix-map=/build/reproducible-path/octave-dicom-0.6.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I/usr/include/gdcm-3.0 -DHAVE_CONFIG_H dicominfo.cpp -o /tmp/oct-f5Y30W.o -g++ -c -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/octave-9.4.0/octave/.. -I/usr/include/octave-9.4.0/octave -pthread -fopenmp -g -O2 -ffile-prefix-map=/build/reproducible-path/octave-dicom-0.6.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I/usr/include/gdcm-3.0 -DHAVE_CONFIG_H dicomwrite.cpp -o /tmp/oct-HVfDxh.o -g++ -c -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/octave-9.4.0/octave/.. -I/usr/include/octave-9.4.0/octave -pthread -fopenmp -g -O2 -ffile-prefix-map=/build/reproducible-path/octave-dicom-0.6.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I/usr/include/gdcm-3.0 -DHAVE_CONFIG_H dicomlookup.cpp -o /tmp/oct-Fkb3c1.o -g++ -c -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/octave-9.4.0/octave/.. -I/usr/include/octave-9.4.0/octave -pthread -fopenmp -g -O2 -ffile-prefix-map=/build/reproducible-path/octave-dicom-0.6.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I/usr/include/gdcm-3.0 -DHAVE_CONFIG_H dicomanon.cpp -o /tmp/oct-EwrgCr.o -g++ -c -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/octave-9.4.0/octave/.. -I/usr/include/octave-9.4.0/octave -pthread -fopenmp -g -O2 -ffile-prefix-map=/build/reproducible-path/octave-dicom-0.6.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I/usr/include/gdcm-3.0 -DHAVE_CONFIG_H dicomdisp.cpp -o /tmp/oct-IQj8EY.o -g++ -I/usr/include/octave-9.4.0/octave/.. -I/usr/include/octave-9.4.0/octave -pthread -fopenmp -g -O2 -ffile-prefix-map=/build/reproducible-path/octave-dicom-0.6.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -o dicomdict.oct /tmp/oct-0FYO3Q.o -lgdcmCommon -lgdcmDICT -lgdcmDSED -lgdcmIOD -lgdcmMSFF -shared -Wl,-Bsymbolic -Wl,-z,relro -flto=auto -ffat-lto-objects -Wl,-z,relro +g++ -c -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/octave-9.4.0/octave/.. -I/usr/include/octave-9.4.0/octave -pthread -fopenmp -g -O2 -ffile-prefix-map=/build/reproducible-path/octave-dicom-0.6.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I/usr/include/gdcm-3.0 -DHAVE_CONFIG_H dicominfo.cpp -o /tmp/oct-W6vbS6.o +g++ -c -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/octave-9.4.0/octave/.. -I/usr/include/octave-9.4.0/octave -pthread -fopenmp -g -O2 -ffile-prefix-map=/build/reproducible-path/octave-dicom-0.6.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I/usr/include/gdcm-3.0 -DHAVE_CONFIG_H dicomwrite.cpp -o /tmp/oct-hRt9wX.o +g++ -c -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/octave-9.4.0/octave/.. -I/usr/include/octave-9.4.0/octave -pthread -fopenmp -g -O2 -ffile-prefix-map=/build/reproducible-path/octave-dicom-0.6.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I/usr/include/gdcm-3.0 -DHAVE_CONFIG_H dicomlookup.cpp -o /tmp/oct-haKQ0S.o +g++ -c -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/octave-9.4.0/octave/.. -I/usr/include/octave-9.4.0/octave -pthread -fopenmp -g -O2 -ffile-prefix-map=/build/reproducible-path/octave-dicom-0.6.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I/usr/include/gdcm-3.0 -DHAVE_CONFIG_H dicomdisp.cpp -o /tmp/oct-3aN6Tr.o +g++ -c -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/octave-9.4.0/octave/.. -I/usr/include/octave-9.4.0/octave -pthread -fopenmp -g -O2 -ffile-prefix-map=/build/reproducible-path/octave-dicom-0.6.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I/usr/include/gdcm-3.0 -DHAVE_CONFIG_H dicomanon.cpp -o /tmp/oct-zw4opa.o +g++ -I/usr/include/octave-9.4.0/octave/.. -I/usr/include/octave-9.4.0/octave -pthread -fopenmp -g -O2 -ffile-prefix-map=/build/reproducible-path/octave-dicom-0.6.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -o dicomdict.oct /tmp/oct-GbZhcr.o -lgdcmCommon -lgdcmDICT -lgdcmDSED -lgdcmIOD -lgdcmMSFF -shared -Wl,-Bsymbolic -Wl,-z,relro -flto=auto -ffat-lto-objects -Wl,-z,relro dicomanon.cpp: In function 'octave_value_list Fdicomanon(const octave_value_list&, int)': dicomanon.cpp:95:9: warning: ignoring return value of '_FIter std::remove(_FIter, _FIter, const _Tp&) [with _FIter = __gnu_cxx::__normal_iterator >; _Tp = gdcm::Tag]', declared with attribute 'nodiscard' [-Wunused-result] 95 | remove(remove_tags.begin(), remove_tags.end(), gdcm::Tag(0x0008, 0x0018)); @@ -3272,11 +3308,11 @@ /usr/include/c++/14/bits/stl_algo.h:788:5: note: declared here 788 | remove(_ForwardIterator __first, _ForwardIterator __last, | ^~~~~~ -g++ -I/usr/include/octave-9.4.0/octave/.. -I/usr/include/octave-9.4.0/octave -pthread -fopenmp -g -O2 -ffile-prefix-map=/build/reproducible-path/octave-dicom-0.6.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -o dicomlookup.oct dicomdict.o /tmp/oct-Fkb3c1.o -lgdcmCommon -lgdcmDICT -lgdcmDSED -lgdcmIOD -lgdcmMSFF -shared -Wl,-Bsymbolic -Wl,-z,relro -flto=auto -ffat-lto-objects -Wl,-z,relro -g++ -I/usr/include/octave-9.4.0/octave/.. -I/usr/include/octave-9.4.0/octave -pthread -fopenmp -g -O2 -ffile-prefix-map=/build/reproducible-path/octave-dicom-0.6.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -o dicomanon.oct dicomdict.o /tmp/oct-EwrgCr.o -lgdcmCommon -lgdcmDICT -lgdcmDSED -lgdcmIOD -lgdcmMSFF -shared -Wl,-Bsymbolic -Wl,-z,relro -flto=auto -ffat-lto-objects -Wl,-z,relro -g++ -I/usr/include/octave-9.4.0/octave/.. -I/usr/include/octave-9.4.0/octave -pthread -fopenmp -g -O2 -ffile-prefix-map=/build/reproducible-path/octave-dicom-0.6.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -o dicomdisp.oct dicomdict.o /tmp/oct-IQj8EY.o -lgdcmCommon -lgdcmDICT -lgdcmDSED -lgdcmIOD -lgdcmMSFF -shared -Wl,-Bsymbolic -Wl,-z,relro -flto=auto -ffat-lto-objects -Wl,-z,relro -g++ -I/usr/include/octave-9.4.0/octave/.. -I/usr/include/octave-9.4.0/octave -pthread -fopenmp -g -O2 -ffile-prefix-map=/build/reproducible-path/octave-dicom-0.6.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -o dicominfo.oct dicomdict.o /tmp/oct-f5Y30W.o -lgdcmCommon -lgdcmDICT -lgdcmDSED -lgdcmIOD -lgdcmMSFF -shared -Wl,-Bsymbolic -Wl,-z,relro -flto=auto -ffat-lto-objects -Wl,-z,relro -g++ -I/usr/include/octave-9.4.0/octave/.. -I/usr/include/octave-9.4.0/octave -pthread -fopenmp -g -O2 -ffile-prefix-map=/build/reproducible-path/octave-dicom-0.6.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -o dicomwrite.oct dicomdict.o /tmp/oct-HVfDxh.o -lgdcmCommon -lgdcmDICT -lgdcmDSED -lgdcmIOD -lgdcmMSFF -shared -Wl,-Bsymbolic -Wl,-z,relro -flto=auto -ffat-lto-objects -Wl,-z,relro +g++ -I/usr/include/octave-9.4.0/octave/.. -I/usr/include/octave-9.4.0/octave -pthread -fopenmp -g -O2 -ffile-prefix-map=/build/reproducible-path/octave-dicom-0.6.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -o dicomlookup.oct dicomdict.o /tmp/oct-haKQ0S.o -lgdcmCommon -lgdcmDICT -lgdcmDSED -lgdcmIOD -lgdcmMSFF -shared -Wl,-Bsymbolic -Wl,-z,relro -flto=auto -ffat-lto-objects -Wl,-z,relro +g++ -I/usr/include/octave-9.4.0/octave/.. -I/usr/include/octave-9.4.0/octave -pthread -fopenmp -g -O2 -ffile-prefix-map=/build/reproducible-path/octave-dicom-0.6.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -o dicomanon.oct dicomdict.o /tmp/oct-zw4opa.o -lgdcmCommon -lgdcmDICT -lgdcmDSED -lgdcmIOD -lgdcmMSFF -shared -Wl,-Bsymbolic -Wl,-z,relro -flto=auto -ffat-lto-objects -Wl,-z,relro +g++ -I/usr/include/octave-9.4.0/octave/.. -I/usr/include/octave-9.4.0/octave -pthread -fopenmp -g -O2 -ffile-prefix-map=/build/reproducible-path/octave-dicom-0.6.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -o dicomdisp.oct dicomdict.o /tmp/oct-3aN6Tr.o -lgdcmCommon -lgdcmDICT -lgdcmDSED -lgdcmIOD -lgdcmMSFF -shared -Wl,-Bsymbolic -Wl,-z,relro -flto=auto -ffat-lto-objects -Wl,-z,relro +g++ -I/usr/include/octave-9.4.0/octave/.. -I/usr/include/octave-9.4.0/octave -pthread -fopenmp -g -O2 -ffile-prefix-map=/build/reproducible-path/octave-dicom-0.6.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -o dicominfo.oct dicomdict.o /tmp/oct-W6vbS6.o -lgdcmCommon -lgdcmDICT -lgdcmDSED -lgdcmIOD -lgdcmMSFF -shared -Wl,-Bsymbolic -Wl,-z,relro -flto=auto -ffat-lto-objects -Wl,-z,relro +g++ -I/usr/include/octave-9.4.0/octave/.. -I/usr/include/octave-9.4.0/octave -pthread -fopenmp -g -O2 -ffile-prefix-map=/build/reproducible-path/octave-dicom-0.6.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -o dicomwrite.oct dicomdict.o /tmp/oct-hRt9wX.o -lgdcmCommon -lgdcmDICT -lgdcmDSED -lgdcmIOD -lgdcmMSFF -shared -Wl,-Bsymbolic -Wl,-z,relro -flto=auto -ffat-lto-objects -Wl,-z,relro make[1]: Leaving directory '/build/reproducible-path/octave-dicom-0.6.1/src' copyfile /build/reproducible-path/octave-dicom-0.6.1/./src/__dicom_decodeuid__.oct /build/reproducible-path/octave-dicom-0.6.1/./src/_gendicomdict.oct /build/reproducible-path/octave-dicom-0.6.1/./src/dicomanon.oct /build/reproducible-path/octave-dicom-0.6.1/./src/dicomdict.oct /build/reproducible-path/octave-dicom-0.6.1/./src/dicomdisp.oct /build/reproducible-path/octave-dicom-0.6.1/./src/dicominfo.oct /build/reproducible-path/octave-dicom-0.6.1/./src/dicomlookup.oct /build/reproducible-path/octave-dicom-0.6.1/./src/dicomread.oct /build/reproducible-path/octave-dicom-0.6.1/./src/dicomuid.oct /build/reproducible-path/octave-dicom-0.6.1/./src/dicomwrite.oct /build/reproducible-path/octave-dicom-0.6.1/./src/isdicom.oct /build/reproducible-path/octave-dicom-0.6.1/./src/__dicom_decodeuid__.cpp-tst /build/reproducible-path/octave-dicom-0.6.1/./src/dicomanon.cpp-tst /build/reproducible-path/octave-dicom-0.6.1/./src/dicomdict.cpp-tst /build/reproducible-path/octave-dicom-0.6.1/./src/dicomdisp.cpp-tst /build/reproducible-path/octave-dicom-0.6.1/./src/dicominfo.cpp-tst /build/reproducible-path/octave-dicom-0.6.1/./src/dicomlookup.cpp-tst /build/reproducible-path/octave-dicom-0.6.1/./src/dicomread.cpp-tst /build/reproducible-path/octave-dicom-0.6.1/./src/dicomuid.cpp-tst /build/reproducible-path/octave-dicom-0.6.1/./src/dicomwrite.cpp-tst /build/reproducible-path/octave-dicom-0.6.1/./src/isdicom.cpp-tst /build/reproducible-path/octave-dicom-0.6.1/./inst/x86_64-pc-linux-gnu-api-v59 For information about changes from previous versions of the dicom package, run 'news dicom'. @@ -3285,12 +3321,6 @@ Checking package... Run the unit tests... Checking m files ... -[inst/+images/+dicom/parseDICOMDIR.m] ->>>>> /build/reproducible-path/octave-dicom-0.6.1/inst/+images/+dicom/parseDICOMDIR.m -***** fail ('images.dicom.parseDICOMDIR()') -***** fail ('images.dicom.parseDICOMDIR(1)') -***** fail ('images.dicom.parseDICOMDIR(file_in_loadpath("imdata/rtstruct.dcm"))') -3 tests, 3 passed, 0 known failure, 0 skipped [inst/+images/+dicom/decodeUID.m] >>>>> /build/reproducible-path/octave-dicom-0.6.1/inst/+images/+dicom/decodeUID.m ***** fail("images.dicom.decodeUID") @@ -3315,22 +3345,12 @@ assert(s.Endian, "ieee-le") assert(s.Compressed, false) 5 tests, 5 passed, 0 known failure, 0 skipped -[inst/dicomfind.m] ->>>>> /build/reproducible-path/octave-dicom-0.6.1/inst/dicomfind.m -***** test - filename = file_in_loadpath("imdata/rtstruct.dcm"); - info = dicomfind(filename, "ROINumber"); - assert(length(info.Location),4) - assert(length(info.Value),4) - assert(info.Location{1}, 'StructureSetROISequence.Item_1.ROINumber') -***** test - filename = file_in_loadpath("imdata/rtstruct.dcm"); - dinfo = dicominfo(filename); - info = dicomfind(dinfo, "ROINumber"); - assert(length(info.Location),4) - assert(length(info.Value),4) - assert(info.Location{1}, 'StructureSetROISequence.Item_1.ROINumber') -2 tests, 2 passed, 0 known failure, 0 skipped +[inst/+images/+dicom/parseDICOMDIR.m] +>>>>> /build/reproducible-path/octave-dicom-0.6.1/inst/+images/+dicom/parseDICOMDIR.m +***** fail ('images.dicom.parseDICOMDIR()') +***** fail ('images.dicom.parseDICOMDIR(1)') +***** fail ('images.dicom.parseDICOMDIR(file_in_loadpath("imdata/rtstruct.dcm"))') +3 tests, 3 passed, 0 known failure, 0 skipped [inst/dicomupdate.m] >>>>> /build/reproducible-path/octave-dicom-0.6.1/inst/dicomupdate.m ***** test @@ -3360,19 +3380,23 @@ assert(finfo.Value{3}, 100); assert(finfo.Value{4}, 100); 2 tests, 2 passed, 0 known failure, 0 skipped -Checking C++ files ... -[src/dicomdict.cpp] ->>>>> /build/reproducible-path/octave-dicom-0.6.1/src/dicomdict.cpp -***** fail ("dicomdict") -***** fail ("dicomdict(1)") -***** fail ("dicomdict('set')") +[inst/dicomfind.m] +>>>>> /build/reproducible-path/octave-dicom-0.6.1/inst/dicomfind.m ***** test - % assumes dictionary is in the load path so it can find the dictionary - dicomdict factory ; - [f n e]=fileparts(dicomdict('get')); - assert([n e],"octavedicom.dic"); - % todo -4 tests, 4 passed, 0 known failure, 0 skipped + filename = file_in_loadpath("imdata/rtstruct.dcm"); + info = dicomfind(filename, "ROINumber"); + assert(length(info.Location),4) + assert(length(info.Value),4) + assert(info.Location{1}, 'StructureSetROISequence.Item_1.ROINumber') +***** test + filename = file_in_loadpath("imdata/rtstruct.dcm"); + dinfo = dicominfo(filename); + info = dicomfind(dinfo, "ROINumber"); + assert(length(info.Location),4) + assert(length(info.Value),4) + assert(info.Location{1}, 'StructureSetROISequence.Item_1.ROINumber') +2 tests, 2 passed, 0 known failure, 0 skipped +Checking C++ files ... [src/__dicom_decodeuid__.cpp] >>>>> /build/reproducible-path/octave-dicom-0.6.1/src/__dicom_decodeuid__.cpp ***** fail("__dicom_decodeuid__") @@ -3389,16 +3413,27 @@ assert(s.Name, "Verification SOP Class") assert(s.Type, "SOP Class") 4 tests, 4 passed, 0 known failure, 0 skipped -[src/dicomdisp.cpp] ->>>>> /build/reproducible-path/octave-dicom-0.6.1/src/dicomdisp.cpp -***** shared testfile - testfile = tempname (); -***** fail("dicomdisp"); -***** fail("dicomdisp(1)"); +[src/dicomdict.cpp] +>>>>> /build/reproducible-path/octave-dicom-0.6.1/src/dicomdict.cpp +***** fail ("dicomdict") +***** fail ("dicomdict(1)") +***** fail ("dicomdict('set')") ***** test + % assumes dictionary is in the load path so it can find the dictionary + dicomdict factory ; + [f n e]=fileparts(dicomdict('get')); + assert([n e],"octavedicom.dic"); + % todo +4 tests, 4 passed, 0 known failure, 0 skipped +[src/dicomanon.cpp] +>>>>> /build/reproducible-path/octave-dicom-0.6.1/src/dicomanon.cpp +***** shared testfile1, testfile2 + testfile1 = tempname(); + testfile2 = tempname(); wdata = uint8 (10*rand (10,10)); - dicomwrite (wdata, testfile); - dicomdisp(testfile); + s.PatientName = "John"; + s.PatientAge = "20"; + dicomwrite (wdata, testfile1, s); Warning: In ./Source/DataStructureAndEncodingDefinition/gdcmMediaStorage.cxx, line 534, function bool gdcm::MediaStorage::SetFromModality(const gdcm::DataSet&) Unknown/Unhandle MediaStorage, but Pixel Data element found @@ -3407,71 +3442,65 @@ No PhotometricInterpretation found, default to MONOCHROME2 -File:/tmp/oct-WTO449 -Location Level Tag VR Size Name Data ------------------------------------------------------------------------------------------- -00000132 0 (0002,0000) UL 4 - FileMetaInformationGroupLength *Binary* -00000144 0 (0002,0001) OB 2 - FileMetaInformationVersion *Binary* -00000158 0 (0002,0002) UI 26 - MediaStorageSOPClassUID [1.2.840.10008.5.1.4.1.1.7] -00000192 0 (0002,0003) UI 64 - MediaStorageSOPInstanceUID [1.2.826.0.1.3680043.2.1143.87725552...] -00000264 0 (0002,0010) UI 18 - TransferSyntaxUID [1.2.840.10008.1.2] -00000290 0 (0002,0012) UI 50 - ImplementationClassUID [1.2.826.0.1.3680043.2.1143.107.104....] -00000348 0 (0002,0013) SH 12 - ImplementationVersionName [GDCM 3.0.24 ] -00000368 0 (0002,0016) AE 4 - SourceApplicationEntityTitle [GDCM] -00000380 0 (0008,0008) CS 20 - ImageType [DERIVED \SECONDARY ] -00000408 0 (0008,0016) UI 26 - SOPClassUID [1.2.840.10008.5.1.4.1.1.7] -00000442 0 (0008,0018) UI 64 - SOPInstanceUID [1.2.826.0.1.3680043.2.1143.87725552...] -00000514 0 (0008,0020) DA 8 - StudyDate [20260331] -00000530 0 (0008,0030) TM 14 - StudyTime [085901.194783 ] -00000552 0 (0008,0050) SH 0 - AccessionNumber [] -00000560 0 (0008,0060) CS 2 - Modality [OT] -00000570 0 (0008,0064) CS 4 - ConversionType [WSD ] -00000582 0 (0008,0090) PN 0 - ReferringPhysicianName [Anonymized] -00000590 0 (0008,2112) SQ - SourceImageSequence *Sequence* -00000602 1 (0008,1150) UI 26 - ReferencedSOPClassUID [1.2.840.10008.5.1.4.1.1.7] -00000636 1 (0008,1155) UI 64 - ReferencedSOPInstanceUID [1.2.826.0.1.3680043.2.1143.20990810...] -00000708 1 (0040,a170) SQ - PurposeOfReferenceCodeSequence *Sequence* -00000720 2 (0008,0100) SH 6 - CodeValue [121322] -00000734 2 (0008,0102) SH 4 - CodingSchemeDesignator [DCM ] -00000746 2 (0008,0104) LO 44 - CodeMeaning [Source image for image processing o...] -00000798 1 (0008,1150) UI 26 - ReferencedSOPClassUID [1.2.840.10008.5.1.4.1.1.7] -00000832 1 (0008,1155) UI 64 - ReferencedSOPInstanceUID [1.2.826.0.1.3680043.2.1143.94843500...] -00000904 1 (0040,a170) SQ - PurposeOfReferenceCodeSequence *Sequence* -00000916 2 (0008,0100) SH 6 - CodeValue [121322] -00000930 2 (0008,0102) SH 4 - CodingSchemeDesignator [DCM ] -00000942 2 (0008,0104) LO 44 - CodeMeaning [Source image for image processing o...] -00000994 0 (0008,9215) SQ - DerivationCodeSequence *Sequence* -00001006 1 (0008,0100) SH 6 - CodeValue [113072] -00001020 1 (0008,0102) SH 4 - CodingSchemeDesignator [DCM ] -00001032 1 (0008,0104) LO 24 - CodeMeaning [Multiplanar reformatting] -00001064 0 (0010,0010) PN 0 - PatientName [Anonymized] -00001072 0 (0010,0020) LO 0 - PatientID [] -00001080 0 (0010,0030) DA 0 - PatientBirthDate [] -00001088 0 (0010,0040) CS 0 - PatientSex [] -00001096 0 (0018,2010) DS 4 - NominalScannedPixelSpacing [1\1 ] -00001108 0 (0020,000d) UI 64 - StudyInstanceUID [1.2.826.0.1.3680043.2.1143.18346893...] -00001180 0 (0020,000e) UI 64 - SeriesInstanceUID [1.2.826.0.1.3680043.2.1143.36857616...] -00001252 0 (0020,0010) SH 0 - StudyID [] -00001260 0 (0020,0011) IS 0 - SeriesNumber [] -00001268 0 (0020,0013) IS 0 - InstanceNumber [] -00001276 0 (0020,0020) CS 0 - PatientOrientation [] -00001284 0 (0028,0002) US 2 - SamplesPerPixel *Binary* -00001294 0 (0028,0004) CS 12 - PhotometricInterpretation [MONOCHROME1 ] -00001314 0 (0028,0010) US 2 - Rows *Binary* -00001324 0 (0028,0011) US 2 - Columns *Binary* -00001334 0 (0028,0100) US 2 - BitsAllocated *Binary* -00001344 0 (0028,0101) US 2 - BitsStored *Binary* -00001354 0 (0028,0102) US 2 - HighBit *Binary* -00001364 0 (0028,0103) US 2 - PixelRepresentation *Binary* -00001374 0 (0028,1052) DS 2 - RescaleIntercept [0 ] -00001384 0 (0028,1053) DS 2 - RescaleSlope [1 ] -00001394 0 (0028,1054) LO 2 - RescaleType [US] -00001404 0 (7fe0,0010) OW 100 - PixelData [] +***** fail ("dicomanon"); +***** fail ("dicomanon (1, 1)"); +***** fail ("dicomanon (testfile1, 1)"); +***** fail ("dicomanon (testfile1, testfile2, 'a')"); ***** test - if exist (testfile, 'file') - delete (testfile); + info = dicominfo(testfile1); + assert (isfield(info, "PatientName")); + assert (isfield(info, "PatientAge")); + assert (info.PatientName, "John"); + assert (info.PatientAge, "20"); +***** test + dicomanon(testfile1, testfile2); + info2 = dicominfo(testfile2); + assert (!isfield(info2, "PatientName")); + assert (!isfield(info2, "PatientAge")); +***** test + dicomanon(testfile1, testfile2, "keep", {"PatientAge"}); + info3 = dicominfo(testfile2); + assert (isfield(info3, "PatientAge")); + assert (info3.PatientAge, "20"); + assert (!isfield(info3, "PatientName")); +***** test + attrs.PatientAge = "21"; + dicomanon(testfile1, testfile2, "update", attrs); + info5 = dicominfo(testfile2); + assert (info5.PatientAge, "21"); + assert (!isfield(info5, "PatientName")); +***** test + attrs.PatientAge = "21"; + dicomanon(testfile1, testfile2, "update", attrs, "keep", {'PatientName'}); + info6 = dicominfo(testfile2); + assert (info6.PatientAge, "21"); + assert (isfield(info6, "PatientName")); +***** test + if exist (testfile1, 'file') + delete (testfile1); endif -4 tests, 4 passed, 0 known failure, 0 skipped + if exist (testfile2, 'file') + delete (testfile2); + endif +10 tests, 10 passed, 0 known failure, 0 skipped +[src/dicomuid.cpp] +>>>>> /build/reproducible-path/octave-dicom-0.6.1/src/dicomuid.cpp +***** fail ("dicomuuid (1)"); +***** fail ("dicominfo ([])"); +***** fail ("dicominfo ('string')"); +Error: In ./Source/DataStructureAndEncodingDefinition/gdcmReader.cxx, line 342, function bool gdcm::Reader::InternalReadCommon(const T_Caller&) [with T_Caller = gdcm::details::DefaultCaller] +No File + + +***** test + id = dicomuid (); + assert (ischar (id)); + assert (length(id) > 0); +***** test + id1 = dicomuid (); + id2 = dicomuid(); + assert (strcmp (id1, id2), false); +5 tests, 5 passed, 0 known failure, 0 skipped [src/dicomwrite.cpp] >>>>> /build/reproducible-path/octave-dicom-0.6.1/src/dicomwrite.cpp ***** shared testfile1, testfile2 @@ -3551,64 +3580,6 @@ delete (testfile2); endif 7 tests, 7 passed, 0 known failure, 0 skipped -[src/dicomanon.cpp] ->>>>> /build/reproducible-path/octave-dicom-0.6.1/src/dicomanon.cpp -***** shared testfile1, testfile2 - testfile1 = tempname(); - testfile2 = tempname(); - wdata = uint8 (10*rand (10,10)); - s.PatientName = "John"; - s.PatientAge = "20"; - dicomwrite (wdata, testfile1, s); -Warning: In ./Source/DataStructureAndEncodingDefinition/gdcmMediaStorage.cxx, line 534, function bool gdcm::MediaStorage::SetFromModality(const gdcm::DataSet&) -Unknown/Unhandle MediaStorage, but Pixel Data element found - - -Warning: In ./Source/MediaStorageAndFileFormat/gdcmImageHelper.cxx, line 2641, function static gdcm::PhotometricInterpretation gdcm::ImageHelper::GetPhotometricInterpretationValue(const gdcm::File&) -No PhotometricInterpretation found, default to MONOCHROME2 - - -***** fail ("dicomanon"); -***** fail ("dicomanon (1, 1)"); -***** fail ("dicomanon (testfile1, 1)"); -***** fail ("dicomanon (testfile1, testfile2, 'a')"); -***** test - info = dicominfo(testfile1); - assert (isfield(info, "PatientName")); - assert (isfield(info, "PatientAge")); - assert (info.PatientName, "John"); - assert (info.PatientAge, "20"); -***** test - dicomanon(testfile1, testfile2); - info2 = dicominfo(testfile2); - assert (!isfield(info2, "PatientName")); - assert (!isfield(info2, "PatientAge")); -***** test - dicomanon(testfile1, testfile2, "keep", {"PatientAge"}); - info3 = dicominfo(testfile2); - assert (isfield(info3, "PatientAge")); - assert (info3.PatientAge, "20"); - assert (!isfield(info3, "PatientName")); -***** test - attrs.PatientAge = "21"; - dicomanon(testfile1, testfile2, "update", attrs); - info5 = dicominfo(testfile2); - assert (info5.PatientAge, "21"); - assert (!isfield(info5, "PatientName")); -***** test - attrs.PatientAge = "21"; - dicomanon(testfile1, testfile2, "update", attrs, "keep", {'PatientName'}); - info6 = dicominfo(testfile2); - assert (info6.PatientAge, "21"); - assert (isfield(info6, "PatientName")); -***** test - if exist (testfile1, 'file') - delete (testfile1); - endif - if exist (testfile2, 'file') - delete (testfile2); - endif -10 tests, 10 passed, 0 known failure, 0 skipped [src/dicomlookup.cpp] >>>>> /build/reproducible-path/octave-dicom-0.6.1/src/dicomlookup.cpp ***** test @@ -3622,24 +3593,89 @@ ***** fail ("dicomlookup") 3 tests, 3 passed, 0 known failure, 0 skipped -[src/dicomuid.cpp] ->>>>> /build/reproducible-path/octave-dicom-0.6.1/src/dicomuid.cpp -***** fail ("dicomuuid (1)"); -***** fail ("dicominfo ([])"); -***** fail ("dicominfo ('string')"); -Error: In ./Source/DataStructureAndEncodingDefinition/gdcmReader.cxx, line 342, function bool gdcm::Reader::InternalReadCommon(const T_Caller&) [with T_Caller = gdcm::details::DefaultCaller] -No File +[src/dicomdisp.cpp] +>>>>> /build/reproducible-path/octave-dicom-0.6.1/src/dicomdisp.cpp +***** shared testfile + testfile = tempname (); +***** fail("dicomdisp"); +***** fail("dicomdisp(1)"); +***** test + wdata = uint8 (10*rand (10,10)); + dicomwrite (wdata, testfile); + dicomdisp(testfile); +Warning: In ./Source/DataStructureAndEncodingDefinition/gdcmMediaStorage.cxx, line 534, function bool gdcm::MediaStorage::SetFromModality(const gdcm::DataSet&) +Unknown/Unhandle MediaStorage, but Pixel Data element found +Warning: In ./Source/MediaStorageAndFileFormat/gdcmImageHelper.cxx, line 2641, function static gdcm::PhotometricInterpretation gdcm::ImageHelper::GetPhotometricInterpretationValue(const gdcm::File&) +No PhotometricInterpretation found, default to MONOCHROME2 + + +File:/tmp/oct-cTLLB7 +Location Level Tag VR Size Name Data +------------------------------------------------------------------------------------------ +00000132 0 (0002,0000) UL 4 - FileMetaInformationGroupLength *Binary* +00000144 0 (0002,0001) OB 2 - FileMetaInformationVersion *Binary* +00000158 0 (0002,0002) UI 26 - MediaStorageSOPClassUID [1.2.840.10008.5.1.4.1.1.7] +00000192 0 (0002,0003) UI 64 - MediaStorageSOPInstanceUID [1.2.826.0.1.3680043.2.1143.96160350...] +00000264 0 (0002,0010) UI 18 - TransferSyntaxUID [1.2.840.10008.1.2] +00000290 0 (0002,0012) UI 50 - ImplementationClassUID [1.2.826.0.1.3680043.2.1143.107.104....] +00000348 0 (0002,0013) SH 12 - ImplementationVersionName [GDCM 3.0.24 ] +00000368 0 (0002,0016) AE 4 - SourceApplicationEntityTitle [GDCM] +00000380 0 (0008,0008) CS 20 - ImageType [DERIVED \SECONDARY ] +00000408 0 (0008,0016) UI 26 - SOPClassUID [1.2.840.10008.5.1.4.1.1.7] +00000442 0 (0008,0018) UI 64 - SOPInstanceUID [1.2.826.0.1.3680043.2.1143.96160350...] +00000514 0 (0008,0020) DA 8 - StudyDate [20250227] +00000530 0 (0008,0030) TM 14 - StudyTime [044259.295609 ] +00000552 0 (0008,0050) SH 0 - AccessionNumber [] +00000560 0 (0008,0060) CS 2 - Modality [OT] +00000570 0 (0008,0064) CS 4 - ConversionType [WSD ] +00000582 0 (0008,0090) PN 0 - ReferringPhysicianName [Anonymized] +00000590 0 (0008,2112) SQ - SourceImageSequence *Sequence* +00000602 1 (0008,1150) UI 26 - ReferencedSOPClassUID [1.2.840.10008.5.1.4.1.1.7] +00000636 1 (0008,1155) UI 64 - ReferencedSOPInstanceUID [1.2.826.0.1.3680043.2.1143.90418957...] +00000708 1 (0040,a170) SQ - PurposeOfReferenceCodeSequence *Sequence* +00000720 2 (0008,0100) SH 6 - CodeValue [121322] +00000734 2 (0008,0102) SH 4 - CodingSchemeDesignator [DCM ] +00000746 2 (0008,0104) LO 44 - CodeMeaning [Source image for image processing o...] +00000798 1 (0008,1150) UI 26 - ReferencedSOPClassUID [1.2.840.10008.5.1.4.1.1.7] +00000832 1 (0008,1155) UI 64 - ReferencedSOPInstanceUID [1.2.826.0.1.3680043.2.1143.84580246...] +00000904 1 (0040,a170) SQ - PurposeOfReferenceCodeSequence *Sequence* +00000916 2 (0008,0100) SH 6 - CodeValue [121322] +00000930 2 (0008,0102) SH 4 - CodingSchemeDesignator [DCM ] +00000942 2 (0008,0104) LO 44 - CodeMeaning [Source image for image processing o...] +00000994 0 (0008,9215) SQ - DerivationCodeSequence *Sequence* +00001006 1 (0008,0100) SH 6 - CodeValue [113072] +00001020 1 (0008,0102) SH 4 - CodingSchemeDesignator [DCM ] +00001032 1 (0008,0104) LO 24 - CodeMeaning [Multiplanar reformatting] +00001064 0 (0010,0010) PN 0 - PatientName [Anonymized] +00001072 0 (0010,0020) LO 0 - PatientID [] +00001080 0 (0010,0030) DA 0 - PatientBirthDate [] +00001088 0 (0010,0040) CS 0 - PatientSex [] +00001096 0 (0018,2010) DS 4 - NominalScannedPixelSpacing [1\1 ] +00001108 0 (0020,000d) UI 64 - StudyInstanceUID [1.2.826.0.1.3680043.2.1143.13768356...] +00001180 0 (0020,000e) UI 64 - SeriesInstanceUID [1.2.826.0.1.3680043.2.1143.63216259...] +00001252 0 (0020,0010) SH 0 - StudyID [] +00001260 0 (0020,0011) IS 0 - SeriesNumber [] +00001268 0 (0020,0013) IS 0 - InstanceNumber [] +00001276 0 (0020,0020) CS 0 - PatientOrientation [] +00001284 0 (0028,0002) US 2 - SamplesPerPixel *Binary* +00001294 0 (0028,0004) CS 12 - PhotometricInterpretation [MONOCHROME1 ] +00001314 0 (0028,0010) US 2 - Rows *Binary* +00001324 0 (0028,0011) US 2 - Columns *Binary* +00001334 0 (0028,0100) US 2 - BitsAllocated *Binary* +00001344 0 (0028,0101) US 2 - BitsStored *Binary* +00001354 0 (0028,0102) US 2 - HighBit *Binary* +00001364 0 (0028,0103) US 2 - PixelRepresentation *Binary* +00001374 0 (0028,1052) DS 2 - RescaleIntercept [0 ] +00001384 0 (0028,1053) DS 2 - RescaleSlope [1 ] +00001394 0 (0028,1054) LO 2 - RescaleType [US] +00001404 0 (7fe0,0010) OW 100 - PixelData [] ***** test - id = dicomuid (); - assert (ischar (id)); - assert (length(id) > 0); -***** test - id1 = dicomuid (); - id2 = dicomuid(); - assert (strcmp (id1, id2), false); -5 tests, 5 passed, 0 known failure, 0 skipped + if exist (testfile, 'file') + delete (testfile); + endif +4 tests, 4 passed, 0 known failure, 0 skipped Done running the unit tests. Summary: 49 tests, 49 passed, 0 known failures, 0 skipped dh_installdocs -O--buildsystem=octave @@ -3670,8 +3706,8 @@ dpkg-gencontrol: warning: package octave-dicom: substitution variable ${octave:Upstream-Description} unused, but is defined dh_md5sums -O--buildsystem=octave dh_builddeb -O--buildsystem=octave -dpkg-deb: building package 'octave-dicom-dbgsym' in '../octave-dicom-dbgsym_0.6.1-1_amd64.deb'. dpkg-deb: building package 'octave-dicom' in '../octave-dicom_0.6.1-1_amd64.deb'. +dpkg-deb: building package 'octave-dicom-dbgsym' in '../octave-dicom-dbgsym_0.6.1-1_amd64.deb'. dpkg-genbuildinfo --build=binary -O../octave-dicom_0.6.1-1_amd64.buildinfo dpkg-genchanges --build=binary -O../octave-dicom_0.6.1-1_amd64.changes dpkg-genchanges: info: binary-only upload (no source code included) @@ -3680,12 +3716,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/3913990/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/3913990/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/2574649 and its subdirectories -I: Current time: Tue Mar 31 08:59:20 -12 2026 -I: pbuilder-time-stamp: 1774990760 +I: removing directory /srv/workspace/pbuilder/3913990 and its subdirectories +I: Current time: Thu Feb 27 04:43:09 +14 2025 +I: pbuilder-time-stamp: 1740580989