Diff of the two buildlogs: -- --- b1/build.log 2024-11-09 14:01:29.029021910 +0000 +++ b2/build.log 2024-11-09 14:04:39.782232972 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Fri Dec 12 08:21:18 -12 2025 -I: pbuilder-time-stamp: 1765570878 +I: Current time: Sun Nov 10 04:01:32 +14 2024 +I: pbuilder-time-stamp: 1731160892 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/unstable-reproducible-base.tgz] I: copying local configuration @@ -27,53 +27,85 @@ 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/5242/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/5448/tmp/hooks/D01_modify_environment starting +debug: Running on infom07-i386. +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 Nov 9 14:01 /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/5448/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/5448/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='i386' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=6 ' - DISTRIBUTION='unstable' - HOME='/root' - HOST_ARCH='i386' + 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]="i686-pc-linux-gnu") + 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=i386 + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=5 ' + DIRSTACK=() + DISTRIBUTION=unstable + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=i686 + HOST_ARCH=i386 IFS=' ' - INVOCATION_ID='a5cf1dc9579c41649cf0ab796666fd30' - LANG='C' - LANGUAGE='en_US:en' - LC_ALL='C' - LD_LIBRARY_PATH='/usr/lib/libeatmydata' - LD_PRELOAD='libeatmydata.so' - 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='5242' - PS1='# ' - PS2='> ' + INVOCATION_ID=98046ff26b7f490aaeadeb9f8dd45e6c + LANG=C + LANGUAGE=de_CH:de + LC_ALL=C + LD_LIBRARY_PATH=/usr/lib/libeatmydata + LD_PRELOAD=libeatmydata.so + MACHTYPE=i686-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=5448 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.sTmrdYRB/pbuilderrc_xcAn --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.sTmrdYRB/b1 --logfile b1/build.log octave-dicom_0.6.1-1.dsc' - SUDO_GID='111' - 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.sTmrdYRB/pbuilderrc_6OKa --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.sTmrdYRB/b2 --logfile b2/build.log octave-dicom_0.6.1-1.dsc' + SUDO_GID=111 + 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 infom08-i386 6.10.11+bpo-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.10.11-1~bpo12+1 (2024-10-03) x86_64 GNU/Linux + Linux i-capture-the-hostname 6.1.0-26-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.112-1 (2024-09-30) x86_64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 Aug 4 2024 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/5242/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 Aug 4 21:30 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/5448/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -684,7 +716,7 @@ Get: 561 http://deb.debian.org/debian unstable/main i386 texlive-latex-base all 2024.20241102-1 [1278 kB] Get: 562 http://deb.debian.org/debian unstable/main i386 texlive-latex-recommended all 2024.20241102-1 [8757 kB] Get: 563 http://deb.debian.org/debian unstable/main i386 texlive all 2024.20241102-1 [18.6 kB] -Fetched 288 MB in 8s (36.7 MB/s) +Fetched 288 MB in 6s (48.8 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package libpython3.12-minimal:i386. (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 ... 19956 files and directories currently installed.) @@ -2523,8 +2555,8 @@ Setting up tzdata (2024b-3) ... Current default time zone: 'Etc/UTC' -Local time is now: Fri Dec 12 20:22:19 UTC 2025. -Universal Time is now: Fri Dec 12 20:22:19 UTC 2025. +Local time is now: Sat Nov 9 14:02:31 UTC 2024. +Universal Time is now: Sat Nov 9 14:02:31 UTC 2024. Run 'dpkg-reconfigure tzdata' if you wish to change it. Setting up libxcb-present0:i386 (1.17.0-2+b1) ... @@ -3015,7 +3047,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/5448/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for unstable +I: user script /srv/workspace/pbuilder/5448/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 @@ -3028,7 +3064,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 @@ -3060,7 +3096,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 @@ -3147,18 +3183,18 @@ make[1]: Entering directory '/build/reproducible-path/octave-dicom-0.6.1/src' /usr/bin/mkoctfile --verbose -I/usr/include/gdcm-3.0 -DHAVE_CONFIG_H -c dicomdict.cpp /usr/bin/mkoctfile --verbose -I/usr/include/gdcm-3.0 -DHAVE_CONFIG_H -lgdcmCommon -lgdcmDICT -lgdcmDSED -lgdcmIOD -lgdcmMSFF dicomdict.cpp -g++ -c -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 -mieee-fp -g -O2 -ffile-prefix-map=/build/reproducible-path/octave-dicom-0.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -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.2.0/octave/.. -I/usr/include/octave-9.2.0/octave -pthread -fopenmp -mieee-fp -g -O2 -ffile-prefix-map=/build/reproducible-path/octave-dicom-0.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I/usr/include/gdcm-3.0 -DHAVE_CONFIG_H dicomdict.cpp -o /tmp/oct-l1BKmC.o /usr/bin/mkoctfile --verbose -I/usr/include/gdcm-3.0 -DHAVE_CONFIG_H -lgdcmCommon -lgdcmDICT -lgdcmDSED -lgdcmIOD -lgdcmMSFF dicomread.cpp /usr/bin/mkoctfile --verbose -I/usr/include/gdcm-3.0 -DHAVE_CONFIG_H -lgdcmCommon -lgdcmDICT -lgdcmDSED -lgdcmIOD -lgdcmMSFF _gendicomdict.cpp -g++ -c -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 -mieee-fp -g -O2 -ffile-prefix-map=/build/reproducible-path/octave-dicom-0.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I/usr/include/gdcm-3.0 -DHAVE_CONFIG_H dicomread.cpp -o /tmp/oct-QZ4peH.o /usr/bin/mkoctfile --verbose -I/usr/include/gdcm-3.0 -DHAVE_CONFIG_H -lgdcmCommon -lgdcmDICT -lgdcmDSED -lgdcmIOD -lgdcmMSFF isdicom.cpp -g++ -c -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 -mieee-fp -g -O2 -ffile-prefix-map=/build/reproducible-path/octave-dicom-0.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I/usr/include/gdcm-3.0 -DHAVE_CONFIG_H _gendicomdict.cpp -o /tmp/oct-eOcnxF.o -g++ -c -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 -mieee-fp -g -O2 -ffile-prefix-map=/build/reproducible-path/octave-dicom-0.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I/usr/include/gdcm-3.0 -DHAVE_CONFIG_H isdicom.cpp -o /tmp/oct-EMfKbh.o +g++ -c -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 -mieee-fp -g -O2 -ffile-prefix-map=/build/reproducible-path/octave-dicom-0.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I/usr/include/gdcm-3.0 -DHAVE_CONFIG_H dicomdict.cpp -o dicomdict.o /usr/bin/mkoctfile --verbose -I/usr/include/gdcm-3.0 -DHAVE_CONFIG_H -lgdcmCommon -lgdcmDICT -lgdcmDSED -lgdcmIOD -lgdcmMSFF dicomuid.cpp -g++ -c -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 -mieee-fp -g -O2 -ffile-prefix-map=/build/reproducible-path/octave-dicom-0.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I/usr/include/gdcm-3.0 -DHAVE_CONFIG_H dicomuid.cpp -o /tmp/oct-8YMID8.o +g++ -c -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 -mieee-fp -g -O2 -ffile-prefix-map=/build/reproducible-path/octave-dicom-0.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I/usr/include/gdcm-3.0 -DHAVE_CONFIG_H dicomdict.cpp -o /tmp/oct-c2kaNG.o +g++ -c -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 -mieee-fp -g -O2 -ffile-prefix-map=/build/reproducible-path/octave-dicom-0.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I/usr/include/gdcm-3.0 -DHAVE_CONFIG_H _gendicomdict.cpp -o /tmp/oct-7jyJ1z.o +g++ -c -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 -mieee-fp -g -O2 -ffile-prefix-map=/build/reproducible-path/octave-dicom-0.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I/usr/include/gdcm-3.0 -DHAVE_CONFIG_H dicomread.cpp -o /tmp/oct-sL1WvI.o +g++ -c -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 -mieee-fp -g -O2 -ffile-prefix-map=/build/reproducible-path/octave-dicom-0.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I/usr/include/gdcm-3.0 -DHAVE_CONFIG_H dicomuid.cpp -o /tmp/oct-tILtJc.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.2.0/octave/.. -I/usr/include/octave-9.2.0/octave -pthread -fopenmp -mieee-fp -g -O2 -ffile-prefix-map=/build/reproducible-path/octave-dicom-0.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I/usr/include/gdcm-3.0 -DHAVE_CONFIG_H __dicom_decodeuid__.cpp -o /tmp/oct-6yD8BE.o +g++ -c -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 -mieee-fp -g -O2 -ffile-prefix-map=/build/reproducible-path/octave-dicom-0.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I/usr/include/gdcm-3.0 -DHAVE_CONFIG_H isdicom.cpp -o /tmp/oct-S41AyY.o +g++ -c -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 -mieee-fp -g -O2 -ffile-prefix-map=/build/reproducible-path/octave-dicom-0.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I/usr/include/gdcm-3.0 -DHAVE_CONFIG_H __dicom_decodeuid__.cpp -o /tmp/oct-66ZKhH.o Extracting tests from dicominfo.cpp ... Extracting tests from dicomdict.cpp ... Extracting tests from dicomread.cpp ... @@ -3169,22 +3205,22 @@ Extracting tests from dicomanon.cpp ... Extracting tests from dicomwrite.cpp ... Extracting tests from __dicom_decodeuid__.cpp ... -g++ -I/usr/include/octave-9.2.0/octave/.. -I/usr/include/octave-9.2.0/octave -pthread -fopenmp -mieee-fp -g -O2 -ffile-prefix-map=/build/reproducible-path/octave-dicom-0.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -o dicomuid.oct /tmp/oct-8YMID8.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.2.0/octave/.. -I/usr/include/octave-9.2.0/octave -pthread -fopenmp -mieee-fp -g -O2 -ffile-prefix-map=/build/reproducible-path/octave-dicom-0.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -o isdicom.oct /tmp/oct-EMfKbh.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.2.0/octave/.. -I/usr/include/octave-9.2.0/octave -pthread -fopenmp -mieee-fp -g -O2 -ffile-prefix-map=/build/reproducible-path/octave-dicom-0.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -o __dicom_decodeuid__.oct /tmp/oct-6yD8BE.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.2.0/octave/.. -I/usr/include/octave-9.2.0/octave -pthread -fopenmp -mieee-fp -g -O2 -ffile-prefix-map=/build/reproducible-path/octave-dicom-0.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -o _gendicomdict.oct /tmp/oct-eOcnxF.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.2.0/octave/.. -I/usr/include/octave-9.2.0/octave -pthread -fopenmp -mieee-fp -g -O2 -ffile-prefix-map=/build/reproducible-path/octave-dicom-0.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -o dicomread.oct /tmp/oct-QZ4peH.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.2.0/octave/.. -I/usr/include/octave-9.2.0/octave -pthread -fopenmp -mieee-fp -g -O2 -ffile-prefix-map=/build/reproducible-path/octave-dicom-0.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -o dicomuid.oct /tmp/oct-tILtJc.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.2.0/octave/.. -I/usr/include/octave-9.2.0/octave -pthread -fopenmp -mieee-fp -g -O2 -ffile-prefix-map=/build/reproducible-path/octave-dicom-0.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -o isdicom.oct /tmp/oct-S41AyY.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.2.0/octave/.. -I/usr/include/octave-9.2.0/octave -pthread -fopenmp -mieee-fp -g -O2 -ffile-prefix-map=/build/reproducible-path/octave-dicom-0.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -o __dicom_decodeuid__.oct /tmp/oct-66ZKhH.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.2.0/octave/.. -I/usr/include/octave-9.2.0/octave -pthread -fopenmp -mieee-fp -g -O2 -ffile-prefix-map=/build/reproducible-path/octave-dicom-0.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -o _gendicomdict.oct /tmp/oct-7jyJ1z.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.2.0/octave/.. -I/usr/include/octave-9.2.0/octave -pthread -fopenmp -mieee-fp -g -O2 -ffile-prefix-map=/build/reproducible-path/octave-dicom-0.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -o dicomread.oct /tmp/oct-sL1WvI.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 -g++ -c -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 -mieee-fp -g -O2 -ffile-prefix-map=/build/reproducible-path/octave-dicom-0.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I/usr/include/gdcm-3.0 -DHAVE_CONFIG_H dicominfo.cpp -o /tmp/oct-FgwcUu.o -g++ -c -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 -mieee-fp -g -O2 -ffile-prefix-map=/build/reproducible-path/octave-dicom-0.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I/usr/include/gdcm-3.0 -DHAVE_CONFIG_H dicomwrite.cpp -o /tmp/oct-FS18PM.o -g++ -c -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 -mieee-fp -g -O2 -ffile-prefix-map=/build/reproducible-path/octave-dicom-0.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I/usr/include/gdcm-3.0 -DHAVE_CONFIG_H dicomlookup.cpp -o /tmp/oct-VWNTWw.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.2.0/octave/.. -I/usr/include/octave-9.2.0/octave -pthread -fopenmp -mieee-fp -g -O2 -ffile-prefix-map=/build/reproducible-path/octave-dicom-0.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I/usr/include/gdcm-3.0 -DHAVE_CONFIG_H dicomdisp.cpp -o /tmp/oct-JuW9UG.o -g++ -c -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 -mieee-fp -g -O2 -ffile-prefix-map=/build/reproducible-path/octave-dicom-0.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I/usr/include/gdcm-3.0 -DHAVE_CONFIG_H dicomanon.cpp -o /tmp/oct-DODsef.o -g++ -I/usr/include/octave-9.2.0/octave/.. -I/usr/include/octave-9.2.0/octave -pthread -fopenmp -mieee-fp -g -O2 -ffile-prefix-map=/build/reproducible-path/octave-dicom-0.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -o dicomdict.oct /tmp/oct-l1BKmC.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.2.0/octave/.. -I/usr/include/octave-9.2.0/octave -pthread -fopenmp -mieee-fp -g -O2 -ffile-prefix-map=/build/reproducible-path/octave-dicom-0.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I/usr/include/gdcm-3.0 -DHAVE_CONFIG_H dicominfo.cpp -o /tmp/oct-HnWKLh.o +g++ -c -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 -mieee-fp -g -O2 -ffile-prefix-map=/build/reproducible-path/octave-dicom-0.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I/usr/include/gdcm-3.0 -DHAVE_CONFIG_H dicomlookup.cpp -o /tmp/oct-GsKdm3.o +g++ -c -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 -mieee-fp -g -O2 -ffile-prefix-map=/build/reproducible-path/octave-dicom-0.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I/usr/include/gdcm-3.0 -DHAVE_CONFIG_H dicomdisp.cpp -o /tmp/oct-jAk8dg.o +g++ -c -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 -mieee-fp -g -O2 -ffile-prefix-map=/build/reproducible-path/octave-dicom-0.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I/usr/include/gdcm-3.0 -DHAVE_CONFIG_H dicomwrite.cpp -o /tmp/oct-XsvJX6.o +g++ -c -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 -mieee-fp -g -O2 -ffile-prefix-map=/build/reproducible-path/octave-dicom-0.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -I/usr/include/gdcm-3.0 -DHAVE_CONFIG_H dicomanon.cpp -o /tmp/oct-ZNnL0s.o +g++ -I/usr/include/octave-9.2.0/octave/.. -I/usr/include/octave-9.2.0/octave -pthread -fopenmp -mieee-fp -g -O2 -ffile-prefix-map=/build/reproducible-path/octave-dicom-0.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -o dicomdict.oct /tmp/oct-c2kaNG.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)); @@ -3213,11 +3249,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.2.0/octave/.. -I/usr/include/octave-9.2.0/octave -pthread -fopenmp -mieee-fp -g -O2 -ffile-prefix-map=/build/reproducible-path/octave-dicom-0.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -o dicomlookup.oct dicomdict.o /tmp/oct-VWNTWw.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.2.0/octave/.. -I/usr/include/octave-9.2.0/octave -pthread -fopenmp -mieee-fp -g -O2 -ffile-prefix-map=/build/reproducible-path/octave-dicom-0.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -o dicomdisp.oct dicomdict.o /tmp/oct-JuW9UG.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.2.0/octave/.. -I/usr/include/octave-9.2.0/octave -pthread -fopenmp -mieee-fp -g -O2 -ffile-prefix-map=/build/reproducible-path/octave-dicom-0.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -o dicomanon.oct dicomdict.o /tmp/oct-DODsef.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.2.0/octave/.. -I/usr/include/octave-9.2.0/octave -pthread -fopenmp -mieee-fp -g -O2 -ffile-prefix-map=/build/reproducible-path/octave-dicom-0.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -o dicominfo.oct dicomdict.o /tmp/oct-FgwcUu.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.2.0/octave/.. -I/usr/include/octave-9.2.0/octave -pthread -fopenmp -mieee-fp -g -O2 -ffile-prefix-map=/build/reproducible-path/octave-dicom-0.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -o dicomwrite.oct dicomdict.o /tmp/oct-FS18PM.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.2.0/octave/.. -I/usr/include/octave-9.2.0/octave -pthread -fopenmp -mieee-fp -g -O2 -ffile-prefix-map=/build/reproducible-path/octave-dicom-0.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -o dicomlookup.oct dicomdict.o /tmp/oct-GsKdm3.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.2.0/octave/.. -I/usr/include/octave-9.2.0/octave -pthread -fopenmp -mieee-fp -g -O2 -ffile-prefix-map=/build/reproducible-path/octave-dicom-0.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -o dicomdisp.oct dicomdict.o /tmp/oct-jAk8dg.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.2.0/octave/.. -I/usr/include/octave-9.2.0/octave -pthread -fopenmp -mieee-fp -g -O2 -ffile-prefix-map=/build/reproducible-path/octave-dicom-0.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -o dicomanon.oct dicomdict.o /tmp/oct-ZNnL0s.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.2.0/octave/.. -I/usr/include/octave-9.2.0/octave -pthread -fopenmp -mieee-fp -g -O2 -ffile-prefix-map=/build/reproducible-path/octave-dicom-0.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -o dicominfo.oct dicomdict.o /tmp/oct-HnWKLh.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.2.0/octave/.. -I/usr/include/octave-9.2.0/octave -pthread -fopenmp -mieee-fp -g -O2 -ffile-prefix-map=/build/reproducible-path/octave-dicom-0.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -o dicomwrite.oct dicomdict.o /tmp/oct-XsvJX6.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/i686-pc-linux-gnu-api-v59 For information about changes from previous versions of the dicom package, run 'news dicom'. @@ -3226,6 +3262,52 @@ Checking package... Run the unit tests... Checking m files ... +[inst/+images/+dicom/decodeUID.m] +>>>>> /build/reproducible-path/octave-dicom-0.6.1/inst/+images/+dicom/decodeUID.m +***** fail("images.dicom.decodeUID") +***** fail("images.dicom.decodeUID(1)") +***** test + s = images.dicom.decodeUID("1.0"); + assert(isstruct(s)) + assert(s.Value, "") + assert(s.Name, "") +***** test + s = images.dicom.decodeUID("1.2.840.10008.1.1"); + assert(isstruct(s)) + assert(s.Value, "1.2.840.10008.1.1") + assert(s.Name, "Verification SOP Class") + assert(s.Type, "SOP Class") +***** test + s = images.dicom.decodeUID("1.2.840.10008.1.2.1"); + assert(isstruct(s)) + assert(s.Value, "1.2.840.10008.1.2.1") + assert(s.Name, "Explicit VR Little Endian") + assert(s.Type, "Transfer Syntax") + assert(s.Endian, "ieee-le") + assert(s.Compressed, false) +5 tests, 5 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/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/dicomupdate.m] >>>>> /build/reproducible-path/octave-dicom-0.6.1/inst/dicomupdate.m ***** test @@ -3255,62 +3337,46 @@ assert(finfo.Value{3}, 100); assert(finfo.Value{4}, 100); 2 tests, 2 passed, 0 known failure, 0 skipped -[inst/dicomfind.m] ->>>>> /build/reproducible-path/octave-dicom-0.6.1/inst/dicomfind.m +Checking C++ files ... +[src/dicomlookup.cpp] +>>>>> /build/reproducible-path/octave-dicom-0.6.1/src/dicomlookup.cpp ***** 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') + assert(dicomlookup(0x10,0x10),"PatientName"); + assert(dicomlookup("10","10"),"PatientName"); + assert(dicomlookup("0x10","0x10"),"PatientName"); + assert(dicomlookup(16,16),"PatientName"); ***** 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/decodeUID.m] ->>>>> /build/reproducible-path/octave-dicom-0.6.1/inst/+images/+dicom/decodeUID.m -***** fail("images.dicom.decodeUID") -***** fail("images.dicom.decodeUID(1)") + [g e]=dicomlookup("PatientName"); + assert([g e], uint16([0x10 0x10])); + +***** fail ("dicomlookup") +3 tests, 3 passed, 0 known failure, 0 skipped +[src/__dicom_decodeuid__.cpp] +>>>>> /build/reproducible-path/octave-dicom-0.6.1/src/__dicom_decodeuid__.cpp +***** fail("__dicom_decodeuid__") +***** fail("__dicom_decodeuid__(1)") ***** test - s = images.dicom.decodeUID("1.0"); + s = __dicom_decodeuid__("1.0"); assert(isstruct(s)) assert(s.Value, "") assert(s.Name, "") ***** test - s = images.dicom.decodeUID("1.2.840.10008.1.1"); + s = __dicom_decodeuid__("1.2.840.10008.1.1"); assert(isstruct(s)) assert(s.Value, "1.2.840.10008.1.1") 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)"); ***** test - s = images.dicom.decodeUID("1.2.840.10008.1.2.1"); - assert(isstruct(s)) - assert(s.Value, "1.2.840.10008.1.2.1") - assert(s.Name, "Explicit VR Little Endian") - assert(s.Type, "Transfer Syntax") - assert(s.Endian, "ieee-le") - assert(s.Compressed, false) -5 tests, 5 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 -Checking C++ files ... -[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); + 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 @@ -3319,60 +3385,89 @@ 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")); +File:/tmp/oct-5p8rrg +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.22058131...] +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.22058131...] +00000514 0 (0008,0020) DA 8 - StudyDate [20241110] +00000530 0 (0008,0030) TM 14 - StudyTime [040419.605510 ] +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.13721816...] +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.27589417...] +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.71251829...] +00001180 0 (0020,000e) UI 64 - SeriesInstanceUID [1.2.826.0.1.3680043.2.1143.29189186...] +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 - if exist (testfile1, 'file') - delete (testfile1); - endif - if exist (testfile2, 'file') - delete (testfile2); + if exist (testfile, 'file') + delete (testfile); endif -10 tests, 10 passed, 0 known failure, 0 skipped -[src/dicomlookup.cpp] ->>>>> /build/reproducible-path/octave-dicom-0.6.1/src/dicomlookup.cpp +4 tests, 4 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 - assert(dicomlookup(0x10,0x10),"PatientName"); - assert(dicomlookup("10","10"),"PatientName"); - assert(dicomlookup("0x10","0x10"),"PatientName"); - assert(dicomlookup(16,16),"PatientName"); + id = dicomuid (); + assert (ischar (id)); + assert (length(id) > 0); ***** test - [g e]=dicomlookup("PatientName"); - assert([g e], uint16([0x10 0x10])); - -***** fail ("dicomlookup") -3 tests, 3 passed, 0 known failure, 0 skipped + 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 @@ -3452,32 +3547,15 @@ delete (testfile2); endif 7 tests, 7 passed, 0 known failure, 0 skipped -[src/__dicom_decodeuid__.cpp] ->>>>> /build/reproducible-path/octave-dicom-0.6.1/src/__dicom_decodeuid__.cpp -***** fail("__dicom_decodeuid__") -***** fail("__dicom_decodeuid__(1)") -***** test - s = __dicom_decodeuid__("1.0"); - assert(isstruct(s)) - assert(s.Value, "") - assert(s.Name, "") -***** test - s = __dicom_decodeuid__("1.2.840.10008.1.1"); - assert(isstruct(s)) - assert(s.Value, "1.2.840.10008.1.1") - 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)"); -***** test +[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 @@ -3486,71 +3564,47 @@ No PhotometricInterpretation found, default to MONOCHROME2 -File:/tmp/oct-r4v0ay -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.35070774...] -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.35070774...] -00000514 0 (0008,0020) DA 8 - StudyDate [20251212] -00000530 0 (0008,0030) TM 14 - StudyTime [082413.342755 ] -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.54510360...] -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.36399799...] -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.82045648...] -00001180 0 (0020,000e) UI 64 - SeriesInstanceUID [1.2.826.0.1.3680043.2.1143.86518390...] -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/dicomdict.cpp] >>>>> /build/reproducible-path/octave-dicom-0.6.1/src/dicomdict.cpp ***** fail ("dicomdict") @@ -3563,24 +3617,6 @@ assert([n e],"octavedicom.dic"); % todo 4 tests, 4 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 Done running the unit tests. Summary: 49 tests, 49 passed, 0 known failures, 0 skipped dh_installdocs -O--buildsystem=octave @@ -3611,8 +3647,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_i386.deb'. dpkg-deb: building package 'octave-dicom' in '../octave-dicom_0.6.1-1_i386.deb'. +dpkg-deb: building package 'octave-dicom-dbgsym' in '../octave-dicom-dbgsym_0.6.1-1_i386.deb'. dpkg-genbuildinfo --build=binary -O../octave-dicom_0.6.1-1_i386.buildinfo dpkg-genchanges --build=binary -O../octave-dicom_0.6.1-1_i386.changes dpkg-genchanges: info: binary-only upload (no source code included) @@ -3621,12 +3657,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/5448/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/5448/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/5242 and its subdirectories -I: Current time: Fri Dec 12 08:24:27 -12 2025 -I: pbuilder-time-stamp: 1765571067 +I: removing directory /srv/workspace/pbuilder/5448 and its subdirectories +I: Current time: Sun Nov 10 04:04:38 +14 2024 +I: pbuilder-time-stamp: 1731161078