Diff of the two buildlogs: -- --- b1/build.log 2024-10-31 04:36:47.227133446 +0000 +++ b2/build.log 2024-10-31 05:50:21.142127618 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Wed Oct 30 16:30:26 -12 2024 -I: pbuilder-time-stamp: 1730349026 +I: Current time: Thu Dec 4 01:01:02 +14 2025 +I: pbuilder-time-stamp: 1764759662 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/trixie-reproducible-base.tgz] I: copying local configuration @@ -27,54 +27,86 @@ 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/62597/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/56076/tmp/hooks/D01_modify_environment starting +debug: Running on ionos6-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 Dec 3 11:05 /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/56076/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/56076/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=11 ' - DISTRIBUTION='trixie' - 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=21 ' + DIRSTACK=() + DISTRIBUTION=trixie + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=i686 + HOST_ARCH=i386 IFS=' ' - INVOCATION_ID='7366e602285b4dc896eb641f43358a33' - 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='62597' - PS1='# ' - PS2='> ' + INVOCATION_ID=502ce4275c834afda7b6adf0fac459c3 + 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=56076 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.6znKN30Y/pbuilderrc_569D --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.6znKN30Y/b1 --logfile b1/build.log octave-dicom_0.6.1-1.dsc' - SUDO_GID='112' - SUDO_UID='107' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://46.16.76.132:3128' + 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.6znKN30Y/pbuilderrc_SQwB --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.6znKN30Y/b2 --logfile b2/build.log octave-dicom_0.6.1-1.dsc' + SUDO_GID=112 + SUDO_UID=107 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://213.165.73.152:3128 I: uname -a - Linux ionos2-i386 6.1.0-26-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.112-1 (2024-09-30) 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 21:30 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/62597/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 Aug 4 2024 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/56076/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -685,7 +717,7 @@ Get: 561 http://deb.debian.org/debian trixie/main i386 texlive-latex-base all 2024.20240829-2 [1273 kB] Get: 562 http://deb.debian.org/debian trixie/main i386 texlive-latex-recommended all 2024.20240829-2 [8845 kB] Get: 563 http://deb.debian.org/debian trixie/main i386 texlive all 2024.20240829-2 [18.6 kB] -Fetched 287 MB in 7s (43.2 MB/s) +Fetched 287 MB in 28s (10.3 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.) @@ -2524,8 +2556,8 @@ Setting up tzdata (2024a-4) ... Current default time zone: 'Etc/UTC' -Local time is now: Thu Oct 31 04:32:19 UTC 2024. -Universal Time is now: Thu Oct 31 04:32:19 UTC 2024. +Local time is now: Wed Dec 3 11:14:00 UTC 2025. +Universal Time is now: Wed Dec 3 11:14:00 UTC 2025. Run 'dpkg-reconfigure tzdata' if you wish to change it. Setting up libxcb-present0:i386 (1.17.0-2+b1) ... @@ -3016,7 +3048,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/56076/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for trixie +I: user script /srv/workspace/pbuilder/56076/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 @@ -3029,7 +3065,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 @@ -3063,7 +3099,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 @@ -3153,41 +3189,41 @@ /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 /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 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 dicomread.cpp -o /tmp/oct-5rn4QH.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-XHwK4F.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 __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 _gendicomdict.cpp -o /tmp/oct-QkEetL.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-8KH8ht.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-zzd0PD.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-hnGHoT.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-tAB07v.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-fM3b2b.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-szWFxT.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-E9jZBa.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-1zMu4B.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-AkU6WU.o Extracting tests from dicominfo.cpp ... Extracting tests from dicomdict.cpp ... Extracting tests from dicomread.cpp ... -Extracting tests from dicomlookup.cpp ... Extracting tests from isdicom.cpp ... +Extracting tests from dicomlookup.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.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-zzd0PD.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-8KH8ht.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-hnGHoT.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-5rn4QH.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-QkEetL.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 dicomdict.oct /tmp/oct-XHwK4F.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-1zMu4B.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-fM3b2b.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-AkU6WU.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-E9jZBa.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-szWFxT.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 dicomdict.oct /tmp/oct-tAB07v.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.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-yuQMue.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-eLmMWO.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-IIn0LU.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-j1E4vn.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-k92XI3.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-cy4Hp5.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-nvFU9I.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-Kaubxa.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-acFbtm.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-mhEVtZ.o 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)); @@ -3216,11 +3252,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-IIn0LU.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-eLmMWO.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-yuQMue.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-j1E4vn.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-k92XI3.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-cy4Hp5.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-nvFU9I.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-acFbtm.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-mhEVtZ.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-Kaubxa.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'. @@ -3259,6 +3295,22 @@ ***** 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 @@ -3288,39 +3340,86 @@ 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/dicomwrite.cpp] +>>>>> /build/reproducible-path/octave-dicom-0.6.1/src/dicomwrite.cpp +***** shared testfile1, testfile2 + testfile1 = tempname (); + testfile2 = tempname (); ***** 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') + wdata = uint8 (10*rand (5,10)); + dicomwrite (wdata, testfile1); + rdata = dicomread (testfile1); + assert(wdata, rdata); +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 ("dicomwrite", "dicomwrite: should have at least 2 arguments"); +***** fail ("dicomwrite ([],1)"); ***** 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__") -***** fail("__dicom_decodeuid__(1)") + wdata = uint8 (10*rand (5,10)); + dicomwrite (wdata, testfile1); + info = dicominfo (testfile1); + dicomwrite (wdata, testfile2, info); +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 + + ***** test - s = __dicom_decodeuid__("1.0"); - assert(isstruct(s)) - assert(s.Value, "") - assert(s.Name, "") + wdata = uint8 (10*rand (5,10)); + s.PatientName = "fred"; + s.PatientID = "1"; + dicomwrite (wdata, testfile2, s); + p = dicominfo (testfile2); + assert (p.PatientName, "fred"); + assert (p.PatientID, "1"); +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 + + ***** 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 + # test we have control of image property information + wdata = uint8 (10*rand (5,10)); + dicomwrite (wdata, testfile2); + p = dicominfo (testfile2); + assert (p.PhotometricInterpretation, "MONOCHROME1 "); + s.PhotometricInterpretation = "MONOCHROME2"; + dicomwrite (wdata, testfile2, s); + p = dicominfo (testfile2); + assert (p.PhotometricInterpretation, "MONOCHROME2 "); +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 + + +Warning: In ./Source/DataStructureAndEncodingDefinition/gdcmMediaStorage.cxx, line 534, function bool gdcm::MediaStorage::SetFromModality(const gdcm::DataSet&) +Unknown/Unhandle MediaStorage, but Pixel Data element found + + +***** test + if exist (testfile1, 'file') + delete (testfile1); + endif + if exist (testfile2, 'file') + delete (testfile2); + endif +7 tests, 7 passed, 0 known failure, 0 skipped [src/dicomdisp.cpp] >>>>> /build/reproducible-path/octave-dicom-0.6.1/src/dicomdisp.cpp ***** shared testfile @@ -3339,35 +3438,35 @@ No PhotometricInterpretation found, default to MONOCHROME2 -File:/tmp/oct-1spQTt +File:/tmp/oct-3oxPgv 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.38428062...] +00000192 0 (0002,0003) UI 64 - MediaStorageSOPInstanceUID [1.2.826.0.1.3680043.2.1143.83028742...] 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.38428062...] -00000514 0 (0008,0020) DA 8 - StudyDate [20241030] -00000530 0 (0008,0030) TM 14 - StudyTime [163616.182972 ] +00000442 0 (0008,0018) UI 64 - SOPInstanceUID [1.2.826.0.1.3680043.2.1143.83028742...] +00000514 0 (0008,0020) DA 8 - StudyDate [20251204] +00000530 0 (0008,0030) TM 14 - StudyTime [021129.015553 ] 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.63621955...] +00000636 1 (0008,1155) UI 64 - ReferencedSOPInstanceUID [1.2.826.0.1.3680043.2.1143.39539731...] 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.77088789...] +00000832 1 (0008,1155) UI 64 - ReferencedSOPInstanceUID [1.2.826.0.1.3680043.2.1143.18897882...] 00000904 1 (0040,a170) SQ - PurposeOfReferenceCodeSequence *Sequence* 00000916 2 (0008,0100) SH 6 - CodeValue [121322] 00000930 2 (0008,0102) SH 4 - CodingSchemeDesignator [DCM ] @@ -3381,8 +3480,8 @@ 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.88341591...] -00001180 0 (0020,000e) UI 64 - SeriesInstanceUID [1.2.826.0.1.3680043.2.1143.53365098...] +00001108 0 (0020,000d) UI 64 - StudyInstanceUID [1.2.826.0.1.3680043.2.1143.67408404...] +00001180 0 (0020,000e) UI 64 - SeriesInstanceUID [1.2.826.0.1.3680043.2.1143.52273510...] 00001252 0 (0020,0010) SH 0 - StudyID [] 00001260 0 (0020,0011) IS 0 - SeriesNumber [] 00001268 0 (0020,0013) IS 0 - InstanceNumber [] @@ -3462,85 +3561,6 @@ delete (testfile2); endif 10 tests, 10 passed, 0 known failure, 0 skipped -[src/dicomwrite.cpp] ->>>>> /build/reproducible-path/octave-dicom-0.6.1/src/dicomwrite.cpp -***** shared testfile1, testfile2 - testfile1 = tempname (); - testfile2 = tempname (); -***** test - wdata = uint8 (10*rand (5,10)); - dicomwrite (wdata, testfile1); - rdata = dicomread (testfile1); - assert(wdata, rdata); -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 ("dicomwrite", "dicomwrite: should have at least 2 arguments"); -***** fail ("dicomwrite ([],1)"); -***** test - wdata = uint8 (10*rand (5,10)); - dicomwrite (wdata, testfile1); - info = dicominfo (testfile1); - dicomwrite (wdata, testfile2, info); -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 - - -***** test - wdata = uint8 (10*rand (5,10)); - s.PatientName = "fred"; - s.PatientID = "1"; - dicomwrite (wdata, testfile2, s); - p = dicominfo (testfile2); - assert (p.PatientName, "fred"); - assert (p.PatientID, "1"); -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 - - -***** test - # test we have control of image property information - wdata = uint8 (10*rand (5,10)); - dicomwrite (wdata, testfile2); - p = dicominfo (testfile2); - assert (p.PhotometricInterpretation, "MONOCHROME1 "); - s.PhotometricInterpretation = "MONOCHROME2"; - dicomwrite (wdata, testfile2, s); - p = dicominfo (testfile2); - assert (p.PhotometricInterpretation, "MONOCHROME2 "); -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 - - -Warning: In ./Source/DataStructureAndEncodingDefinition/gdcmMediaStorage.cxx, line 534, function bool gdcm::MediaStorage::SetFromModality(const gdcm::DataSet&) -Unknown/Unhandle MediaStorage, but Pixel Data element found - - -***** test - if exist (testfile1, 'file') - delete (testfile1); - endif - if exist (testfile2, 'file') - delete (testfile2); - endif -7 tests, 7 passed, 0 known failure, 0 skipped [src/dicomuid.cpp] >>>>> /build/reproducible-path/octave-dicom-0.6.1/src/dicomuid.cpp ***** fail ("dicomuuid (1)"); @@ -3559,6 +3579,18 @@ id2 = dicomuid(); assert (strcmp (id1, id2), false); 5 tests, 5 passed, 0 known failure, 0 skipped +[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/dicomlookup.cpp] >>>>> /build/reproducible-path/octave-dicom-0.6.1/src/dicomlookup.cpp ***** test @@ -3572,17 +3604,21 @@ ***** fail ("dicomlookup") 3 tests, 3 passed, 0 known failure, 0 skipped -[src/dicomdict.cpp] ->>>>> /build/reproducible-path/octave-dicom-0.6.1/src/dicomdict.cpp -***** fail ("dicomdict") -***** fail ("dicomdict(1)") -***** fail ("dicomdict('set')") +[src/__dicom_decodeuid__.cpp] +>>>>> /build/reproducible-path/octave-dicom-0.6.1/src/__dicom_decodeuid__.cpp +***** fail("__dicom_decodeuid__") +***** fail("__dicom_decodeuid__(1)") ***** 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 + 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 Done running the unit tests. Summary: 49 tests, 49 passed, 0 known failures, 0 skipped @@ -3614,8 +3650,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' 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-deb: building package 'octave-dicom' in '../octave-dicom_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) @@ -3624,12 +3660,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/56076/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/56076/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/62597 and its subdirectories -I: Current time: Wed Oct 30 16:36:46 -12 2024 -I: pbuilder-time-stamp: 1730349406 +I: removing directory /srv/workspace/pbuilder/56076 and its subdirectories +I: Current time: Thu Dec 4 02:13:12 +14 2025 +I: pbuilder-time-stamp: 1764763992