Diff of the two buildlogs: -- --- b1/build.log 2023-06-09 12:37:37.160713462 +0000 +++ b2/build.log 2023-06-09 12:40:14.581826047 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Thu Jul 11 06:57:17 -12 2024 -I: pbuilder-time-stamp: 1720724237 +I: Current time: Sat Jun 10 02:37:41 +14 2023 +I: pbuilder-time-stamp: 1686314261 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/bookworm-reproducible-base.tgz] I: copying local configuration @@ -16,7 +16,7 @@ I: copying [./papyrus_3.7.1+dfsg.orig.tar.xz] I: copying [./papyrus_3.7.1+dfsg-5.debian.tar.xz] I: Extracting source -gpgv: Signature made Fri Sep 2 01:44:59 2022 -12 +gpgv: Signature made Sat Sep 3 03:44:59 2022 +14 gpgv: using RSA key 693367FFAECD8EAACD1F063B0171E1828AE09345 gpgv: issuer "malat@debian.org" gpgv: Can't check signature: No public key @@ -33,52 +33,84 @@ dpkg-source: info: applying register.patch I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/30010/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/27417/tmp/hooks/D01_modify_environment starting +debug: Running on codethink14-arm64. +I: Changing host+domainname to test build reproducibility +I: Adding a custom variable just for the fun of it... +I: Changing /bin/sh to bash +'/bin/sh' -> '/bin/bash' +lrwxrwxrwx 1 root root 9 Jun 10 02:37 /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/27417/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/27417/tmp/hooks/D02_print_environment starting I: set - BUILDDIR='/build' - BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' - BUILDUSERNAME='pbuilder1' - BUILD_ARCH='arm64' - DEBIAN_FRONTEND='noninteractive' + BASH=/bin/sh + BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:globskipdots:hostcomplete:interactive_comments:patsub_replacement:progcomp:promptvars:sourcepath + BASH_ALIASES=() + BASH_ARGC=() + BASH_ARGV=() + BASH_CMDS=() + BASH_LINENO=([0]="12" [1]="0") + BASH_LOADABLES_PATH=/usr/local/lib/bash:/usr/lib/bash:/opt/local/lib/bash:/usr/pkg/lib/bash:/opt/pkg/lib/bash:. + BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") + BASH_VERSINFO=([0]="5" [1]="2" [2]="15" [3]="1" [4]="release" [5]="aarch64-unknown-linux-gnu") + BASH_VERSION='5.2.15(1)-release' + BUILDDIR=/build + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=arm64 + DEBIAN_FRONTEND=noninteractive DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=8 ' - DISTRIBUTION='bookworm' - HOME='/var/lib/jenkins' - HOST_ARCH='arm64' + DIRSTACK=() + DISTRIBUTION=bookworm + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/var/lib/jenkins + HOSTNAME=i-capture-the-hostname + HOSTTYPE=aarch64 + HOST_ARCH=arm64 IFS=' ' - LANG='C' - LANGUAGE='en_US:en' - LC_ALL='C' - MAIL='/var/mail/root' - OPTIND='1' - PATH='/usr/sbin:/usr/bin:/sbin:/bin:/usr/games' - PBCURRENTCOMMANDLINEOPERATION='build' - PBUILDER_OPERATION='build' - PBUILDER_PKGDATADIR='/usr/share/pbuilder' - PBUILDER_PKGLIBDIR='/usr/lib/pbuilder' - PBUILDER_SYSCONFDIR='/etc' - PPID='30010' - PS1='# ' - PS2='> ' + LANG=C + LANGUAGE=nl_BE:nl + LC_ALL=C + MACHTYPE=aarch64-unknown-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=27417 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.kRzcyRqb/pbuilderrc_j6Dx --distribution bookworm --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bookworm-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.kRzcyRqb/b1 --logfile b1/build.log papyrus_3.7.1+dfsg-5.dsc' - SUDO_GID='117' - SUDO_UID='110' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - USERNAME='root' - _='/usr/bin/systemd-run' - http_proxy='http://192.168.101.16: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.kRzcyRqb/pbuilderrc_WaBn --distribution bookworm --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bookworm-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.kRzcyRqb/b2 --logfile b2/build.log --extrapackages usrmerge papyrus_3.7.1+dfsg-5.dsc' + SUDO_GID=117 + SUDO_UID=110 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + USERNAME=root + _='I: set' + http_proxy=http://192.168.101.16:3128 I: uname -a - Linux codethink15-arm64 4.15.0-212-generic #223-Ubuntu SMP Tue May 23 13:09:17 UTC 2023 aarch64 GNU/Linux + Linux i-capture-the-hostname 4.15.0-212-generic #223-Ubuntu SMP Tue May 23 13:09:17 UTC 2023 aarch64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 Jul 9 04:47 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/30010/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 Jun 8 00:24 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/27417/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -164,7 +196,7 @@ Get: 46 http://deb.debian.org/debian bookworm/main arm64 intltool-debian all 0.35.0+20060710.6 [22.9 kB] Get: 47 http://deb.debian.org/debian bookworm/main arm64 po-debconf all 1.0.21+nmu1 [248 kB] Get: 48 http://deb.debian.org/debian bookworm/main arm64 debhelper all 13.11.4 [942 kB] -Fetched 29.9 MB in 1s (34.7 MB/s) +Fetched 29.9 MB in 1s (47.6 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package libproc2-0:arm64. (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 ... 19611 files and directories currently installed.) @@ -370,8 +402,17 @@ Writing extended state information... Building tag database... -> Finished parsing the build-deps +Reading package lists... +Building dependency tree... +Reading state information... +usrmerge is already the newest version (35). +0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. I: Building the package -I: Running cd /build/papyrus-3.7.1+dfsg/ && 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 > ../papyrus_3.7.1+dfsg-5_source.changes +I: user script /srv/workspace/pbuilder/27417/tmp/hooks/A99_set_merged_usr starting +Re-configuring usrmerge... +I: user script /srv/workspace/pbuilder/27417/tmp/hooks/A99_set_merged_usr finished +hostname: Temporary failure in name resolution +I: Running cd /build/papyrus-3.7.1+dfsg/ && 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 > ../papyrus_3.7.1+dfsg-5_source.changes dpkg-buildpackage: info: source package papyrus dpkg-buildpackage: info: source version 3.7.1+dfsg-5 dpkg-buildpackage: info: source distribution unstable @@ -425,28 +466,46 @@ make -f CMakeFiles/Papyrus3.dir/build.make CMakeFiles/Papyrus3.dir/build make[3]: Entering directory '/build/papyrus-3.7.1+dfsg/obj-aarch64-linux-gnu' [ 1%] Building C object CMakeFiles/Papyrus3.dir/PapyVars3.c.o -[ 2%] Building C object CMakeFiles/Papyrus3.dir/PapyConvertFile3.c.o /usr/bin/cc -I/build/papyrus-3.7.1+dfsg/JpegDir/JpgLless -I/build/papyrus-3.7.1+dfsg/JpegDir/JpgLossy -I/build/papyrus-3.7.1+dfsg/DicomDir -I/build/papyrus-3.7.1+dfsg -g -O2 -ffile-prefix-map=/build/papyrus-3.7.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -x c -MD -MT CMakeFiles/Papyrus3.dir/PapyVars3.c.o -MF CMakeFiles/Papyrus3.dir/PapyVars3.c.o.d -o CMakeFiles/Papyrus3.dir/PapyVars3.c.o -c /build/papyrus-3.7.1+dfsg/PapyVars3.c +[ 2%] Building C object CMakeFiles/Papyrus3.dir/PapyConvertFile3.c.o /usr/bin/cc -I/build/papyrus-3.7.1+dfsg/JpegDir/JpgLless -I/build/papyrus-3.7.1+dfsg/JpegDir/JpgLossy -I/build/papyrus-3.7.1+dfsg/DicomDir -I/build/papyrus-3.7.1+dfsg -g -O2 -ffile-prefix-map=/build/papyrus-3.7.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -x c -MD -MT CMakeFiles/Papyrus3.dir/PapyConvertFile3.c.o -MF CMakeFiles/Papyrus3.dir/PapyConvertFile3.c.o.d -o CMakeFiles/Papyrus3.dir/PapyConvertFile3.c.o -c /build/papyrus-3.7.1+dfsg/PapyConvertFile3.c [ 3%] Building C object CMakeFiles/Papyrus3.dir/PapyError3.c.o +[ 4%] Building C object CMakeFiles/Papyrus3.dir/PapyFiles3.c.o /usr/bin/cc -I/build/papyrus-3.7.1+dfsg/JpegDir/JpgLless -I/build/papyrus-3.7.1+dfsg/JpegDir/JpgLossy -I/build/papyrus-3.7.1+dfsg/DicomDir -I/build/papyrus-3.7.1+dfsg -g -O2 -ffile-prefix-map=/build/papyrus-3.7.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -x c -MD -MT CMakeFiles/Papyrus3.dir/PapyError3.c.o -MF CMakeFiles/Papyrus3.dir/PapyError3.c.o.d -o CMakeFiles/Papyrus3.dir/PapyError3.c.o -c /build/papyrus-3.7.1+dfsg/PapyError3.c -[ 4%] Building C object CMakeFiles/Papyrus3.dir/PapyGetGlobalVar3.c.o -/usr/bin/cc -I/build/papyrus-3.7.1+dfsg/JpegDir/JpgLless -I/build/papyrus-3.7.1+dfsg/JpegDir/JpgLossy -I/build/papyrus-3.7.1+dfsg/DicomDir -I/build/papyrus-3.7.1+dfsg -g -O2 -ffile-prefix-map=/build/papyrus-3.7.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -x c -MD -MT CMakeFiles/Papyrus3.dir/PapyGetGlobalVar3.c.o -MF CMakeFiles/Papyrus3.dir/PapyGetGlobalVar3.c.o.d -o CMakeFiles/Papyrus3.dir/PapyGetGlobalVar3.c.o -c /build/papyrus-3.7.1+dfsg/PapyGetGlobalVar3.c -[ 5%] Building C object CMakeFiles/Papyrus3.dir/PapyFiles3.c.o /usr/bin/cc -I/build/papyrus-3.7.1+dfsg/JpegDir/JpgLless -I/build/papyrus-3.7.1+dfsg/JpegDir/JpgLossy -I/build/papyrus-3.7.1+dfsg/DicomDir -I/build/papyrus-3.7.1+dfsg -g -O2 -ffile-prefix-map=/build/papyrus-3.7.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -x c -MD -MT CMakeFiles/Papyrus3.dir/PapyFiles3.c.o -MF CMakeFiles/Papyrus3.dir/PapyFiles3.c.o.d -o CMakeFiles/Papyrus3.dir/PapyFiles3.c.o -c /build/papyrus-3.7.1+dfsg/PapyFiles3.c +[ 5%] Building C object CMakeFiles/Papyrus3.dir/PapyGetGlobalVar3.c.o +/usr/bin/cc -I/build/papyrus-3.7.1+dfsg/JpegDir/JpgLless -I/build/papyrus-3.7.1+dfsg/JpegDir/JpgLossy -I/build/papyrus-3.7.1+dfsg/DicomDir -I/build/papyrus-3.7.1+dfsg -g -O2 -ffile-prefix-map=/build/papyrus-3.7.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -x c -MD -MT CMakeFiles/Papyrus3.dir/PapyGetGlobalVar3.c.o -MF CMakeFiles/Papyrus3.dir/PapyGetGlobalVar3.c.o.d -o CMakeFiles/Papyrus3.dir/PapyGetGlobalVar3.c.o -c /build/papyrus-3.7.1+dfsg/PapyGetGlobalVar3.c [ 6%] Building C object CMakeFiles/Papyrus3.dir/PapyInit3.c.o -/usr/bin/cc -I/build/papyrus-3.7.1+dfsg/JpegDir/JpgLless -I/build/papyrus-3.7.1+dfsg/JpegDir/JpgLossy -I/build/papyrus-3.7.1+dfsg/DicomDir -I/build/papyrus-3.7.1+dfsg -g -O2 -ffile-prefix-map=/build/papyrus-3.7.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -x c -MD -MT CMakeFiles/Papyrus3.dir/PapyInit3.c.o -MF CMakeFiles/Papyrus3.dir/PapyInit3.c.o.d -o CMakeFiles/Papyrus3.dir/PapyInit3.c.o -c /build/papyrus-3.7.1+dfsg/PapyInit3.c [ 7%] Building C object CMakeFiles/Papyrus3.dir/PapyInitGroups3.c.o /usr/bin/cc -I/build/papyrus-3.7.1+dfsg/JpegDir/JpgLless -I/build/papyrus-3.7.1+dfsg/JpegDir/JpgLossy -I/build/papyrus-3.7.1+dfsg/DicomDir -I/build/papyrus-3.7.1+dfsg -g -O2 -ffile-prefix-map=/build/papyrus-3.7.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -x c -MD -MT CMakeFiles/Papyrus3.dir/PapyInitGroups3.c.o -MF CMakeFiles/Papyrus3.dir/PapyInitGroups3.c.o.d -o CMakeFiles/Papyrus3.dir/PapyInitGroups3.c.o -c /build/papyrus-3.7.1+dfsg/PapyInitGroups3.c +/usr/bin/cc -I/build/papyrus-3.7.1+dfsg/JpegDir/JpgLless -I/build/papyrus-3.7.1+dfsg/JpegDir/JpgLossy -I/build/papyrus-3.7.1+dfsg/DicomDir -I/build/papyrus-3.7.1+dfsg -g -O2 -ffile-prefix-map=/build/papyrus-3.7.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -x c -MD -MT CMakeFiles/Papyrus3.dir/PapyInit3.c.o -MF CMakeFiles/Papyrus3.dir/PapyInit3.c.o.d -o CMakeFiles/Papyrus3.dir/PapyInit3.c.o -c /build/papyrus-3.7.1+dfsg/PapyInit3.c [ 8%] Building C object CMakeFiles/Papyrus3.dir/PapyInitModules3.c.o /usr/bin/cc -I/build/papyrus-3.7.1+dfsg/JpegDir/JpgLless -I/build/papyrus-3.7.1+dfsg/JpegDir/JpgLossy -I/build/papyrus-3.7.1+dfsg/DicomDir -I/build/papyrus-3.7.1+dfsg -g -O2 -ffile-prefix-map=/build/papyrus-3.7.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -x c -MD -MT CMakeFiles/Papyrus3.dir/PapyInitModules3.c.o -MF CMakeFiles/Papyrus3.dir/PapyInitModules3.c.o.d -o CMakeFiles/Papyrus3.dir/PapyInitModules3.c.o -c /build/papyrus-3.7.1+dfsg/PapyInitModules3.c /build/papyrus-3.7.1+dfsg/PapyError3.c:88:25: warning: 'sExitWhenError' defined but not used [-Wunused-variable] 88 | static int sExitWhenError = TRUE; | ^~~~~~~~~~~~~~ +/build/papyrus-3.7.1+dfsg/PapyFiles3.c: In function 'Papy3FileCreate': +/build/papyrus-3.7.1+dfsg/PapyFiles3.c:482:18: warning: variable 'theItemP' set but not used [-Wunused-but-set-variable] + 482 | Item *theItemP; + | ^~~~~~~~ +/build/papyrus-3.7.1+dfsg/PapyFiles3.c: In function 'write_pos3': +/build/papyrus-3.7.1+dfsg/PapyFiles3.c:698:17: warning: variable 'theErr' set but not used [-Wunused-but-set-variable] + 698 | int theErr; + | ^~~~~~ +/build/papyrus-3.7.1+dfsg/PapyFiles3.c: In function 'WriteGroup3': +/build/papyrus-3.7.1+dfsg/PapyFiles3.c:1188:17: warning: variable 'theErr' set but not used [-Wunused-but-set-variable] + 1188 | int theErr; + | ^~~~~~ +/build/papyrus-3.7.1+dfsg/PapyFiles3.c: In function 'Papy3SkipNextGroup': +/build/papyrus-3.7.1+dfsg/PapyFiles3.c:1257:38: warning: variable 'theTempL' set but not used [-Wunused-but-set-variable] + 1257 | PapyULong theGrLength, theTempL; + | ^~~~~~~~ /build/papyrus-3.7.1+dfsg/PapyConvertFile3.c: In function 'ExtractSelection': /build/papyrus-3.7.1+dfsg/PapyConvertFile3.c:91:24: warning: variable 'decal' set but not used [-Wunused-but-set-variable] 91 | PapyUShort i, j, decal; | ^~~~~ +[ 9%] Building C object CMakeFiles/Papyrus3.dir/PapyRead3.c.o +/usr/bin/cc -I/build/papyrus-3.7.1+dfsg/JpegDir/JpgLless -I/build/papyrus-3.7.1+dfsg/JpegDir/JpgLossy -I/build/papyrus-3.7.1+dfsg/DicomDir -I/build/papyrus-3.7.1+dfsg -g -O2 -ffile-prefix-map=/build/papyrus-3.7.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -x c -MD -MT CMakeFiles/Papyrus3.dir/PapyRead3.c.o -MF CMakeFiles/Papyrus3.dir/PapyRead3.c.o.d -o CMakeFiles/Papyrus3.dir/PapyRead3.c.o -c /build/papyrus-3.7.1+dfsg/PapyRead3.c /build/papyrus-3.7.1+dfsg/PapyConvertFile3.c: In function 'Papyrus2Papyrus': /build/papyrus-3.7.1+dfsg/PapyConvertFile3.c:485:44: warning: left-hand operand of comma expression has no effect [-Wunused-value] 485 | for (imageNo = 1; imageNo <= nbImagesOrig, *tabIm == 1; imageNo++, tabIm++) @@ -482,6 +541,7 @@ /build/papyrus-3.7.1+dfsg/PapyConvertFile3.c:1284:44: warning: variable 'Bplane' set but not used [-Wunused-but-set-variable] 1284 | PapyUChar *Rplane, *Gplane, *Bplane; | ^~~~~~ +[ 10%] Building C object CMakeFiles/Papyrus3.dir/PapyDataSetRead3.c.o /build/papyrus-3.7.1+dfsg/PapyConvertFile3.c:1487:47: warning: pointer targets in passing argument 8 of 'TI_taille' differ in signedness [-Wpointer-sign] 1487 | imageDepth, numPlans, &bytesInImage); | ^~~~~~~~~~~~~ @@ -490,42 +550,6 @@ /build/papyrus-3.7.1+dfsg/PapyConvertFile3.c:238:57: note: expected 'long int *' but argument is of type 'PapyULong *' {aka 'long unsigned int *'} 238 | int depth, int numPlans, long *taille) | ~~~~~~^~~~~~ -/build/papyrus-3.7.1+dfsg/PapyConvertFile3.c: In function 'GetPapyFileType': -/build/papyrus-3.7.1+dfsg/PapyConvertFile3.c:227:1: warning: control reaches end of non-void function [-Wreturn-type] - 227 | } /* endof GetPapyFileType */ - | ^ -/build/papyrus-3.7.1+dfsg/PapyConvertFile3.c: In function 'Papyrus2Papyrus': -/build/papyrus-3.7.1+dfsg/PapyConvertFile3.c:681:1: warning: control reaches end of non-void function [-Wreturn-type] - 681 | } /* endof Papyrus2Papyrus */ - | ^ -/build/papyrus-3.7.1+dfsg/PapyConvertFile3.c: In function 'Papyrus2Dicom': -/build/papyrus-3.7.1+dfsg/PapyConvertFile3.c:794:1: warning: control reaches end of non-void function [-Wreturn-type] - 794 | } /* endof Papyrus2Dicom */ - | ^ -/build/papyrus-3.7.1+dfsg/PapyConvertFile3.c: In function 'ReadDicomFile': -/build/papyrus-3.7.1+dfsg/PapyConvertFile3.c:949:1: warning: control reaches end of non-void function [-Wreturn-type] - 949 | } /* endof ReadDicomFile */ - | ^ -/build/papyrus-3.7.1+dfsg/PapyConvertFile3.c: In function 'Dicom2Papyrus': -/build/papyrus-3.7.1+dfsg/PapyConvertFile3.c:1014:1: warning: control reaches end of non-void function [-Wreturn-type] - 1014 | } /* endof Dicom2Papyrus */ - | ^ -[ 9%] Building C object CMakeFiles/Papyrus3.dir/PapyRead3.c.o -/usr/bin/cc -I/build/papyrus-3.7.1+dfsg/JpegDir/JpgLless -I/build/papyrus-3.7.1+dfsg/JpegDir/JpgLossy -I/build/papyrus-3.7.1+dfsg/DicomDir -I/build/papyrus-3.7.1+dfsg -g -O2 -ffile-prefix-map=/build/papyrus-3.7.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -x c -MD -MT CMakeFiles/Papyrus3.dir/PapyRead3.c.o -MF CMakeFiles/Papyrus3.dir/PapyRead3.c.o.d -o CMakeFiles/Papyrus3.dir/PapyRead3.c.o -c /build/papyrus-3.7.1+dfsg/PapyRead3.c -/build/papyrus-3.7.1+dfsg/PapyConvertFile3.c: In function 'Papyrus2Jpeg': -/build/papyrus-3.7.1+dfsg/PapyConvertFile3.c:1519:1: warning: control reaches end of non-void function [-Wreturn-type] - 1519 | } /* endof Papyrus2Jpeg */ - | ^ -/build/papyrus-3.7.1+dfsg/PapyFiles3.c: In function 'Papy3FileCreate': -/build/papyrus-3.7.1+dfsg/PapyFiles3.c:482:18: warning: variable 'theItemP' set but not used [-Wunused-but-set-variable] - 482 | Item *theItemP; - | ^~~~~~~~ -/build/papyrus-3.7.1+dfsg/PapyFiles3.c: In function 'write_pos3': -/build/papyrus-3.7.1+dfsg/PapyFiles3.c:698:17: warning: variable 'theErr' set but not used [-Wunused-but-set-variable] - 698 | int theErr; - | ^~~~~~ -[ 10%] Building C object CMakeFiles/Papyrus3.dir/PapyDataSetRead3.c.o -/usr/bin/cc -I/build/papyrus-3.7.1+dfsg/JpegDir/JpgLless -I/build/papyrus-3.7.1+dfsg/JpegDir/JpgLossy -I/build/papyrus-3.7.1+dfsg/DicomDir -I/build/papyrus-3.7.1+dfsg -g -O2 -ffile-prefix-map=/build/papyrus-3.7.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -x c -MD -MT CMakeFiles/Papyrus3.dir/PapyDataSetRead3.c.o -MF CMakeFiles/Papyrus3.dir/PapyDataSetRead3.c.o.d -o CMakeFiles/Papyrus3.dir/PapyDataSetRead3.c.o -c /build/papyrus-3.7.1+dfsg/PapyDataSetRead3.c /build/papyrus-3.7.1+dfsg/PapyInit3.c: In function 'Papy3GroupFree': /build/papyrus-3.7.1+dfsg/PapyInit3.c:2433:13: warning: enumeration value 'AE' not handled in switch [-Wswitch] 2433 | switch (theElemP->vr) /* puts the value of the curve data element */ @@ -537,14 +561,15 @@ /build/papyrus-3.7.1+dfsg/PapyInit3.c:2433:13: warning: enumeration value 'DS' not handled in switch [-Wswitch] /build/papyrus-3.7.1+dfsg/PapyInit3.c:2433:13: warning: enumeration value 'DT' not handled in switch [-Wswitch] /build/papyrus-3.7.1+dfsg/PapyInit3.c:2433:13: warning: enumeration value 'FL' not handled in switch [-Wswitch] +/usr/bin/cc -I/build/papyrus-3.7.1+dfsg/JpegDir/JpgLless -I/build/papyrus-3.7.1+dfsg/JpegDir/JpgLossy -I/build/papyrus-3.7.1+dfsg/DicomDir -I/build/papyrus-3.7.1+dfsg -g -O2 -ffile-prefix-map=/build/papyrus-3.7.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -x c -MD -MT CMakeFiles/Papyrus3.dir/PapyDataSetRead3.c.o -MF CMakeFiles/Papyrus3.dir/PapyDataSetRead3.c.o.d -o CMakeFiles/Papyrus3.dir/PapyDataSetRead3.c.o -c /build/papyrus-3.7.1+dfsg/PapyDataSetRead3.c +/build/papyrus-3.7.1+dfsg/PapyConvertFile3.c: In function 'GetPapyFileType': +/build/papyrus-3.7.1+dfsg/PapyConvertFile3.c:227:1: warning: control reaches end of non-void function [-Wreturn-type] + 227 | } /* endof GetPapyFileType */ + | ^ /build/papyrus-3.7.1+dfsg/PapyInit3.c:2433:13: warning: enumeration value 'FD' not handled in switch [-Wswitch] /build/papyrus-3.7.1+dfsg/PapyInit3.c:2433:13: warning: enumeration value 'IS' not handled in switch [-Wswitch] /build/papyrus-3.7.1+dfsg/PapyInit3.c:2433:13: warning: enumeration value 'LO' not handled in switch [-Wswitch] /build/papyrus-3.7.1+dfsg/PapyInit3.c:2433:13: warning: enumeration value 'LT' not handled in switch [-Wswitch] -/build/papyrus-3.7.1+dfsg/PapyFiles3.c: In function 'WriteGroup3': -/build/papyrus-3.7.1+dfsg/PapyFiles3.c:1188:17: warning: variable 'theErr' set but not used [-Wunused-but-set-variable] - 1188 | int theErr; - | ^~~~~~ /build/papyrus-3.7.1+dfsg/PapyInit3.c:2433:13: warning: enumeration value 'PN' not handled in switch [-Wswitch] /build/papyrus-3.7.1+dfsg/PapyInit3.c:2433:13: warning: enumeration value 'SH' not handled in switch [-Wswitch] /build/papyrus-3.7.1+dfsg/PapyInit3.c:2433:13: warning: enumeration value 'SL' not handled in switch [-Wswitch] @@ -558,7 +583,6 @@ /build/papyrus-3.7.1+dfsg/PapyInit3.c:2433:13: warning: enumeration value 'USS' not handled in switch [-Wswitch] /build/papyrus-3.7.1+dfsg/PapyInit3.c:2433:13: warning: enumeration value 'UT' not handled in switch [-Wswitch] /build/papyrus-3.7.1+dfsg/PapyInit3.c:2433:13: warning: enumeration value 'RET' not handled in switch [-Wswitch] -/build/papyrus-3.7.1+dfsg/PapyFiles3.c: In function 'Papy3SkipNextGroup': /build/papyrus-3.7.1+dfsg/PapyInit3.c:2460:9: warning: enumeration value 'AE' not handled in switch [-Wswitch] 2460 | switch (theElemP->vr) /* puts the value of the pixel data element */ | ^~~~~~ @@ -567,9 +591,6 @@ /build/papyrus-3.7.1+dfsg/PapyInit3.c:2460:9: warning: enumeration value 'CS' not handled in switch [-Wswitch] /build/papyrus-3.7.1+dfsg/PapyInit3.c:2460:9: warning: enumeration value 'DA' not handled in switch [-Wswitch] /build/papyrus-3.7.1+dfsg/PapyInit3.c:2460:9: warning: enumeration value 'DS' not handled in switch [-Wswitch] -/build/papyrus-3.7.1+dfsg/PapyFiles3.c:1257:38: warning: variable 'theTempL' set but not used [-Wunused-but-set-variable] - 1257 | PapyULong theGrLength, theTempL; - | ^~~~~~~~ /build/papyrus-3.7.1+dfsg/PapyInit3.c:2460:9: warning: enumeration value 'DT' not handled in switch [-Wswitch] /build/papyrus-3.7.1+dfsg/PapyInit3.c:2460:9: warning: enumeration value 'FL' not handled in switch [-Wswitch] /build/papyrus-3.7.1+dfsg/PapyInit3.c:2460:9: warning: enumeration value 'FD' not handled in switch [-Wswitch] @@ -587,8 +608,24 @@ /build/papyrus-3.7.1+dfsg/PapyInit3.c:2460:9: warning: enumeration value 'UL' not handled in switch [-Wswitch] /build/papyrus-3.7.1+dfsg/PapyInit3.c:2460:9: warning: enumeration value 'UN' not handled in switch [-Wswitch] /build/papyrus-3.7.1+dfsg/PapyInit3.c:2460:9: warning: enumeration value 'USS' not handled in switch [-Wswitch] +/build/papyrus-3.7.1+dfsg/PapyConvertFile3.c: In function 'Papyrus2Papyrus': +/build/papyrus-3.7.1+dfsg/PapyConvertFile3.c:681:1: warning: control reaches end of non-void function [-Wreturn-type] + 681 | } /* endof Papyrus2Papyrus */ + | ^ +/build/papyrus-3.7.1+dfsg/PapyConvertFile3.c: In function 'Papyrus2Dicom': +/build/papyrus-3.7.1+dfsg/PapyConvertFile3.c:794:1: warning: control reaches end of non-void function [-Wreturn-type] + 794 | } /* endof Papyrus2Dicom */ + | ^ +/build/papyrus-3.7.1+dfsg/PapyConvertFile3.c: In function 'ReadDicomFile': +/build/papyrus-3.7.1+dfsg/PapyConvertFile3.c:949:1: warning: control reaches end of non-void function [-Wreturn-type] + 949 | } /* endof ReadDicomFile */ + | ^ /build/papyrus-3.7.1+dfsg/PapyInit3.c:2460:9: warning: enumeration value 'UT' not handled in switch [-Wswitch] /build/papyrus-3.7.1+dfsg/PapyInit3.c:2460:9: warning: enumeration value 'RET' not handled in switch [-Wswitch] +/build/papyrus-3.7.1+dfsg/PapyConvertFile3.c: In function 'Dicom2Papyrus': +/build/papyrus-3.7.1+dfsg/PapyConvertFile3.c:1014:1: warning: control reaches end of non-void function [-Wreturn-type] + 1014 | } /* endof Dicom2Papyrus */ + | ^ /build/papyrus-3.7.1+dfsg/PapyInit3.c: In function 'Papy3ModuleFree': /build/papyrus-3.7.1+dfsg/PapyInit3.c:2583:11: warning: enumeration value 'AE' not handled in switch [-Wswitch] 2583 | switch (theElemP->vr) /* puts the value of the pixel data element */ @@ -617,6 +654,10 @@ /build/papyrus-3.7.1+dfsg/PapyInit3.c:2583:11: warning: enumeration value 'USS' not handled in switch [-Wswitch] /build/papyrus-3.7.1+dfsg/PapyInit3.c:2583:11: warning: enumeration value 'UT' not handled in switch [-Wswitch] /build/papyrus-3.7.1+dfsg/PapyInit3.c:2583:11: warning: enumeration value 'RET' not handled in switch [-Wswitch] +/build/papyrus-3.7.1+dfsg/PapyConvertFile3.c: In function 'Papyrus2Jpeg': +/build/papyrus-3.7.1+dfsg/PapyConvertFile3.c:1519:1: warning: control reaches end of non-void function [-Wreturn-type] + 1519 | } /* endof Papyrus2Jpeg */ + | ^ /build/papyrus-3.7.1+dfsg/PapyInit3.c: In function 'SetModality': /build/papyrus-3.7.1+dfsg/PapyInit3.c:294:1: warning: control reaches end of non-void function [-Wreturn-type] 294 | } /* endof SetModality */ @@ -627,6 +668,21 @@ /build/papyrus-3.7.1+dfsg/PapyDataSetRead3.c:274:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 274 | if (gIsPapyFile [inFileNb] == DICOMDIR) | ^ +/build/papyrus-3.7.1+dfsg/PapyFiles3.c: In function 'Papy3FileCreate': +/build/papyrus-3.7.1+dfsg/PapyFiles3.c:523:17: warning: array subscript -21 is below array bounds of 'enum EFile_Type[100]' [-Warray-bounds] + 523 | gIsPapyFile [theFileNb] = DICOM10; + | ~~~~~~~~~~~~^~~~~~~~~~~ +In file included from /build/papyrus-3.7.1+dfsg/Papyrus3.h:125, + from /build/papyrus-3.7.1+dfsg/PapyFiles3.c:76: +/build/papyrus-3.7.1+dfsg/PapyGlobalVar3.h:94:25: note: while referencing 'gIsPapyFile' + 94 | WHERE3 enum EFile_Type gIsPapyFile [kMax_file_open]; + | ^~~~~~~~~~~ +/build/papyrus-3.7.1+dfsg/PapyFiles3.c:521:17: warning: array subscript -21 is below array bounds of 'enum EFile_Type[100]' [-Warray-bounds] + 521 | gIsPapyFile [theFileNb] = PAPYRUS3; + | ~~~~~~~~~~~~^~~~~~~~~~~ +/build/papyrus-3.7.1+dfsg/PapyGlobalVar3.h:94:25: note: while referencing 'gIsPapyFile' + 94 | WHERE3 enum EFile_Type gIsPapyFile [kMax_file_open]; + | ^~~~~~~~~~~ /build/papyrus-3.7.1+dfsg/PapyRead3.c: In function 'ExtractJPEGlosslessDicom': /build/papyrus-3.7.1+dfsg/PapyRead3.c:212:5: warning: "/*" within comment [-Wcomment] 212 | } /* if ...no error creating the temp file */ @@ -662,23 +718,6 @@ /build/papyrus-3.7.1+dfsg/PapyRead3.c:1486:18: warning: variable 'theSeqItemP' set but not used [-Wunused-but-set-variable] 1486 | Item *theSeqItemP, *theDSitemP; | ^~~~~~~~~~~ -/build/papyrus-3.7.1+dfsg/PapyFiles3.c: In function 'Papy3FileCreate': -/build/papyrus-3.7.1+dfsg/PapyFiles3.c:523:17: warning: array subscript -21 is below array bounds of 'enum EFile_Type[100]' [-Warray-bounds] - 523 | gIsPapyFile [theFileNb] = DICOM10; - | ~~~~~~~~~~~~^~~~~~~~~~~ -In file included from /build/papyrus-3.7.1+dfsg/Papyrus3.h:125, - from /build/papyrus-3.7.1+dfsg/PapyFiles3.c:76: -/build/papyrus-3.7.1+dfsg/PapyGlobalVar3.h:94:25: note: while referencing 'gIsPapyFile' - 94 | WHERE3 enum EFile_Type gIsPapyFile [kMax_file_open]; - | ^~~~~~~~~~~ -/build/papyrus-3.7.1+dfsg/PapyFiles3.c:521:17: warning: array subscript -21 is below array bounds of 'enum EFile_Type[100]' [-Warray-bounds] - 521 | gIsPapyFile [theFileNb] = PAPYRUS3; - | ~~~~~~~~~~~~^~~~~~~~~~~ -/build/papyrus-3.7.1+dfsg/PapyGlobalVar3.h:94:25: note: while referencing 'gIsPapyFile' - 94 | WHERE3 enum EFile_Type gIsPapyFile [kMax_file_open]; - | ^~~~~~~~~~~ -[ 13%] Building C object CMakeFiles/Papyrus3.dir/PapyWrite3.c.o -/usr/bin/cc -I/build/papyrus-3.7.1+dfsg/JpegDir/JpgLless -I/build/papyrus-3.7.1+dfsg/JpegDir/JpgLossy -I/build/papyrus-3.7.1+dfsg/DicomDir -I/build/papyrus-3.7.1+dfsg -g -O2 -ffile-prefix-map=/build/papyrus-3.7.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -x c -MD -MT CMakeFiles/Papyrus3.dir/PapyWrite3.c.o -MF CMakeFiles/Papyrus3.dir/PapyWrite3.c.o.d -o CMakeFiles/Papyrus3.dir/PapyWrite3.c.o -c /build/papyrus-3.7.1+dfsg/PapyWrite3.c /build/papyrus-3.7.1+dfsg/PapyDataSetRead3.c: In function 'ExtractDicomDataSetInformation3': /build/papyrus-3.7.1+dfsg/PapyDataSetRead3.c:523:40: warning: 'theOffsetDataSet' may be used uninitialized [-Wmaybe-uninitialized] 523 | *(gRefImagePointer [inFileNb] + i) = theOffsetDataSet; @@ -686,6 +725,8 @@ /build/papyrus-3.7.1+dfsg/PapyDataSetRead3.c:483:17: note: 'theOffsetDataSet' was declared here 483 | PapyULong theOffsetDataSet, theOffsetImage; | ^~~~~~~~~~~~~~~~ +[ 13%] Building C object CMakeFiles/Papyrus3.dir/PapyWrite3.c.o +/usr/bin/cc -I/build/papyrus-3.7.1+dfsg/JpegDir/JpgLless -I/build/papyrus-3.7.1+dfsg/JpegDir/JpgLossy -I/build/papyrus-3.7.1+dfsg/DicomDir -I/build/papyrus-3.7.1+dfsg -g -O2 -ffile-prefix-map=/build/papyrus-3.7.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -x c -MD -MT CMakeFiles/Papyrus3.dir/PapyWrite3.c.o -MF CMakeFiles/Papyrus3.dir/PapyWrite3.c.o.d -o CMakeFiles/Papyrus3.dir/PapyWrite3.c.o -c /build/papyrus-3.7.1+dfsg/PapyWrite3.c /build/papyrus-3.7.1+dfsg/PapyDataSetRead3.c: In function 'Papy3GetModule': /build/papyrus-3.7.1+dfsg/PapyDataSetRead3.c:696:27: warning: 'theElemCreator' may be used uninitialized [-Wmaybe-uninitialized] 696 | theElemTag = theElemCreator << 8; @@ -705,8 +746,6 @@ /build/papyrus-3.7.1+dfsg/PapyWrite3.c:1952:6: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 1952 | if (inFreeGr == TRUE) | ^ -[ 14%] Building C object CMakeFiles/Papyrus3.dir/PapyDataSetWrite3.c.o -/usr/bin/cc -I/build/papyrus-3.7.1+dfsg/JpegDir/JpgLless -I/build/papyrus-3.7.1+dfsg/JpegDir/JpgLossy -I/build/papyrus-3.7.1+dfsg/DicomDir -I/build/papyrus-3.7.1+dfsg -g -O2 -ffile-prefix-map=/build/papyrus-3.7.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -x c -MD -MT CMakeFiles/Papyrus3.dir/PapyDataSetWrite3.c.o -MF CMakeFiles/Papyrus3.dir/PapyDataSetWrite3.c.o.d -o CMakeFiles/Papyrus3.dir/PapyDataSetWrite3.c.o -c /build/papyrus-3.7.1+dfsg/PapyDataSetWrite3.c /build/papyrus-3.7.1+dfsg/PapyConvertFile3.c:1039:30: warning: 'imageSize' may be used uninitialized [-Wmaybe-uninitialized] 1039 | PapyULong i, j, nbVal, imageSize, bytesInImage; | ^~~~~~~~~ @@ -738,19 +777,8 @@ /build/papyrus-3.7.1+dfsg/PapyConvertFile3.c:1031:17: note: 'imageHeight' was declared here 1031 | int imageHeight, imageWidth, imageDepth, isSigned, planarConf; | ^~~~~~~~~~~ -/build/papyrus-3.7.1+dfsg/PapyWrite3.c: In function 'JPEGLossyEncodeImage': -/build/papyrus-3.7.1+dfsg/PapyWrite3.c:534:9: warning: 'theVRefNum' may be used uninitialized [-Wmaybe-uninitialized] - 534 | if (Papy3FCreate ((char *) theFilename, theVRefNum, &theFp, &theFSSpecP) != 0) - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/papyrus-3.7.1+dfsg/PapyWrite3.c:448:25: note: 'theVRefNum' was declared here - 448 | PAPY_FILE theVRefNum; - | ^~~~~~~~~~ -/build/papyrus-3.7.1+dfsg/PapyWrite3.c:584:46: warning: 'theImBuffP' may be used uninitialized [-Wmaybe-uninitialized] - 584 | theRowPointer [0] = (unsigned char *) (& theImBuffP [j * theRowStride]); - | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/papyrus-3.7.1+dfsg/PapyWrite3.c:457:26: note: 'theImBuffP' was declared here - 457 | PapyUShort *theImBuffP; - | ^~~~~~~~~~ +[ 14%] Building C object CMakeFiles/Papyrus3.dir/PapyDataSetWrite3.c.o +/usr/bin/cc -I/build/papyrus-3.7.1+dfsg/JpegDir/JpgLless -I/build/papyrus-3.7.1+dfsg/JpegDir/JpgLossy -I/build/papyrus-3.7.1+dfsg/DicomDir -I/build/papyrus-3.7.1+dfsg -g -O2 -ffile-prefix-map=/build/papyrus-3.7.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -x c -MD -MT CMakeFiles/Papyrus3.dir/PapyDataSetWrite3.c.o -MF CMakeFiles/Papyrus3.dir/PapyDataSetWrite3.c.o.d -o CMakeFiles/Papyrus3.dir/PapyDataSetWrite3.c.o -c /build/papyrus-3.7.1+dfsg/PapyDataSetWrite3.c /build/papyrus-3.7.1+dfsg/PapyDataSetWrite3.c: In function 'CreateFileMetaInformation3': /build/papyrus-3.7.1+dfsg/PapyDataSetWrite3.c:102:18: warning: variable 'theItemP' set but not used [-Wunused-but-set-variable] 102 | Item *theItemP; @@ -778,17 +806,19 @@ /build/papyrus-3.7.1+dfsg/PapyDataSetWrite3.c:1854:13: warning: enumeration value 'RET' not handled in switch [-Wswitch] [ 15%] Building C object CMakeFiles/Papyrus3.dir/PapyWild3.c.o /usr/bin/cc -I/build/papyrus-3.7.1+dfsg/JpegDir/JpgLless -I/build/papyrus-3.7.1+dfsg/JpegDir/JpgLossy -I/build/papyrus-3.7.1+dfsg/DicomDir -I/build/papyrus-3.7.1+dfsg -g -O2 -ffile-prefix-map=/build/papyrus-3.7.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -x c -MD -MT CMakeFiles/Papyrus3.dir/PapyWild3.c.o -MF CMakeFiles/Papyrus3.dir/PapyWild3.c.o.d -o CMakeFiles/Papyrus3.dir/PapyWild3.c.o -c /build/papyrus-3.7.1+dfsg/PapyWild3.c -[ 16%] Building C object CMakeFiles/Papyrus3.dir/PapyWildexit3.c.o -/usr/bin/cc -I/build/papyrus-3.7.1+dfsg/JpegDir/JpgLless -I/build/papyrus-3.7.1+dfsg/JpegDir/JpgLossy -I/build/papyrus-3.7.1+dfsg/DicomDir -I/build/papyrus-3.7.1+dfsg -g -O2 -ffile-prefix-map=/build/papyrus-3.7.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -x c -MD -MT CMakeFiles/Papyrus3.dir/PapyWildexit3.c.o -MF CMakeFiles/Papyrus3.dir/PapyWildexit3.c.o.d -o CMakeFiles/Papyrus3.dir/PapyWildexit3.c.o -c /build/papyrus-3.7.1+dfsg/PapyWildexit3.c -/build/papyrus-3.7.1+dfsg/PapyWrite3.c: In function 'PutGroupInBuffer': -/build/papyrus-3.7.1+dfsg/PapyWrite3.c:1523:58: warning: 'theRecordID' may be used uninitialized [-Wmaybe-uninitialized] - 1523 | if (*(gPosNextDirRecordOffset [inFileNb] + theRecordID) != 0L) - | ^ -/build/papyrus-3.7.1+dfsg/PapyWrite3.c:1362:17: note: 'theRecordID' was declared here - 1362 | int theRecordID; - | ^~~~~~~~~~~ -[ 17%] Building C object CMakeFiles/Papyrus3.dir/PapyUtils3.c.o -/usr/bin/cc -I/build/papyrus-3.7.1+dfsg/JpegDir/JpgLless -I/build/papyrus-3.7.1+dfsg/JpegDir/JpgLossy -I/build/papyrus-3.7.1+dfsg/DicomDir -I/build/papyrus-3.7.1+dfsg -g -O2 -ffile-prefix-map=/build/papyrus-3.7.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -x c -MD -MT CMakeFiles/Papyrus3.dir/PapyUtils3.c.o -MF CMakeFiles/Papyrus3.dir/PapyUtils3.c.o.d -o CMakeFiles/Papyrus3.dir/PapyUtils3.c.o -c /build/papyrus-3.7.1+dfsg/PapyUtils3.c +/build/papyrus-3.7.1+dfsg/PapyWrite3.c: In function 'JPEGLossyEncodeImage': +/build/papyrus-3.7.1+dfsg/PapyWrite3.c:534:9: warning: 'theVRefNum' may be used uninitialized [-Wmaybe-uninitialized] + 534 | if (Papy3FCreate ((char *) theFilename, theVRefNum, &theFp, &theFSSpecP) != 0) + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/papyrus-3.7.1+dfsg/PapyWrite3.c:448:25: note: 'theVRefNum' was declared here + 448 | PAPY_FILE theVRefNum; + | ^~~~~~~~~~ +/build/papyrus-3.7.1+dfsg/PapyWrite3.c:584:46: warning: 'theImBuffP' may be used uninitialized [-Wmaybe-uninitialized] + 584 | theRowPointer [0] = (unsigned char *) (& theImBuffP [j * theRowStride]); + | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/papyrus-3.7.1+dfsg/PapyWrite3.c:457:26: note: 'theImBuffP' was declared here + 457 | PapyUShort *theImBuffP; + | ^~~~~~~~~~ /build/papyrus-3.7.1+dfsg/PapyFiles3.c: In function 'ReadGroup3': /build/papyrus-3.7.1+dfsg/PapyFiles3.c:1085:39: warning: 'theBufPos' may be used uninitialized [-Wmaybe-uninitialized] 1085 | *outBuffP = (unsigned char *) erealloc3 (*outBuffP, (PapyULong) (theBufPos + theReadLength), @@ -798,14 +828,16 @@ /build/papyrus-3.7.1+dfsg/PapyFiles3.c:945:57: note: 'theBufPos' was declared here 945 | PapyULong theStartPos, theCurrPos, theReadLength, theBufPos; | ^~~~~~~~~ +[ 16%] Building C object CMakeFiles/Papyrus3.dir/PapyWildexit3.c.o +/usr/bin/cc -I/build/papyrus-3.7.1+dfsg/JpegDir/JpgLless -I/build/papyrus-3.7.1+dfsg/JpegDir/JpgLossy -I/build/papyrus-3.7.1+dfsg/DicomDir -I/build/papyrus-3.7.1+dfsg -g -O2 -ffile-prefix-map=/build/papyrus-3.7.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -x c -MD -MT CMakeFiles/Papyrus3.dir/PapyWildexit3.c.o -MF CMakeFiles/Papyrus3.dir/PapyWildexit3.c.o.d -o CMakeFiles/Papyrus3.dir/PapyWildexit3.c.o -c /build/papyrus-3.7.1+dfsg/PapyWildexit3.c +[ 17%] Building C object CMakeFiles/Papyrus3.dir/PapyUtils3.c.o +/usr/bin/cc -I/build/papyrus-3.7.1+dfsg/JpegDir/JpgLless -I/build/papyrus-3.7.1+dfsg/JpegDir/JpgLossy -I/build/papyrus-3.7.1+dfsg/DicomDir -I/build/papyrus-3.7.1+dfsg -g -O2 -ffile-prefix-map=/build/papyrus-3.7.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -x c -MD -MT CMakeFiles/Papyrus3.dir/PapyUtils3.c.o -MF CMakeFiles/Papyrus3.dir/PapyUtils3.c.o.d -o CMakeFiles/Papyrus3.dir/PapyUtils3.c.o -c /build/papyrus-3.7.1+dfsg/PapyUtils3.c /build/papyrus-3.7.1+dfsg/PapyUtils3.c: In function 'Papy3ToEnumGroup': /build/papyrus-3.7.1+dfsg/PapyUtils3.c:337:10: warning: variable 'theEnumPlace' set but not used [-Wunused-but-set-variable] 337 | int i, theEnumPlace; | ^~~~~~~~~~~~ -/build/papyrus-3.7.1+dfsg/PapyDataSetWrite3.c: In function 'CheckDataSetModules3': -/build/papyrus-3.7.1+dfsg/PapyDataSetWrite3.c:969:20: warning: 'theMaxLoop' may be used uninitialized [-Wmaybe-uninitialized] - 969 | PapyShort i, theMaxLoop, found; - | ^~~~~~~~~~ +[ 18%] Building C object CMakeFiles/Papyrus3.dir/PapyFileSystemUnix3.c.o +/usr/bin/cc -I/build/papyrus-3.7.1+dfsg/JpegDir/JpgLless -I/build/papyrus-3.7.1+dfsg/JpegDir/JpgLossy -I/build/papyrus-3.7.1+dfsg/DicomDir -I/build/papyrus-3.7.1+dfsg -g -O2 -ffile-prefix-map=/build/papyrus-3.7.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -x c -MD -MT CMakeFiles/Papyrus3.dir/PapyFileSystemUnix3.c.o -MF CMakeFiles/Papyrus3.dir/PapyFileSystemUnix3.c.o.d -o CMakeFiles/Papyrus3.dir/PapyFileSystemUnix3.c.o -c /build/papyrus-3.7.1+dfsg/PapyFileSystemUnix3.c /build/papyrus-3.7.1+dfsg/PapyRead3.c: In function 'Papy3GroupRead': /build/papyrus-3.7.1+dfsg/PapyRead3.c:2385:33: warning: 'thePrevSyntax' may be used uninitialized [-Wmaybe-uninitialized] 2385 | gArrTransfSyntax [inFileNb] = thePrevSyntax; @@ -813,23 +845,10 @@ /build/papyrus-3.7.1+dfsg/PapyRead3.c:2331:25: note: 'thePrevSyntax' was declared here 2331 | enum ETransf_Syntax thePrevSyntax; | ^~~~~~~~~~~~~ -/build/papyrus-3.7.1+dfsg/PapyInit3.c: In function 'InitModulesLabels3': -[ 18%] Building C object CMakeFiles/Papyrus3.dir/PapyFileSystemUnix3.c.o -/build/papyrus-3.7.1+dfsg/PapyInit3.c:4147:19: warning: array subscript 20 is above array bounds of 'char *[20]' [-Warray-bounds] - 4147 | sLabel_NM_Image [ 20 ] = "Anatomic Region Sequence"; - | ~~~~~~~~~~~~~~~~^~~~~~ -In file included from /build/papyrus-3.7.1+dfsg/Papyrus3.h:125, - from /build/papyrus-3.7.1+dfsg/PapyInit3.c:73: -/build/papyrus-3.7.1+dfsg/PapyGlobalVar3.h:485:25: note: while referencing 'sLabel_NM_Image' - 485 | WHERE3 char *sLabel_NM_Image [20]; - | ^~~~~~~~~~~~~~~ -/usr/bin/cc -I/build/papyrus-3.7.1+dfsg/JpegDir/JpgLless -I/build/papyrus-3.7.1+dfsg/JpegDir/JpgLossy -I/build/papyrus-3.7.1+dfsg/DicomDir -I/build/papyrus-3.7.1+dfsg -g -O2 -ffile-prefix-map=/build/papyrus-3.7.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -x c -MD -MT CMakeFiles/Papyrus3.dir/PapyFileSystemUnix3.c.o -MF CMakeFiles/Papyrus3.dir/PapyFileSystemUnix3.c.o.d -o CMakeFiles/Papyrus3.dir/PapyFileSystemUnix3.c.o -c /build/papyrus-3.7.1+dfsg/PapyFileSystemUnix3.c -/build/papyrus-3.7.1+dfsg/PapyInit3.c:4148:19: warning: array subscript 21 is above array bounds of 'char *[20]' [-Warray-bounds] - 4148 | sLabel_NM_Image [ 21 ] = "Primary Anatomic Structure Sequence"; - | ~~~~~~~~~~~~~~~~^~~~~~ -/build/papyrus-3.7.1+dfsg/PapyGlobalVar3.h:485:25: note: while referencing 'sLabel_NM_Image' - 485 | WHERE3 char *sLabel_NM_Image [20]; - | ^~~~~~~~~~~~~~~ +/build/papyrus-3.7.1+dfsg/PapyDataSetWrite3.c: In function 'CheckDataSetModules3': +/build/papyrus-3.7.1+dfsg/PapyDataSetWrite3.c:969:20: warning: 'theMaxLoop' may be used uninitialized [-Wmaybe-uninitialized] + 969 | PapyShort i, theMaxLoop, found; + | ^~~~~~~~~~ /build/papyrus-3.7.1+dfsg/PapyFileSystemUnix3.c: In function 'Papy3FCreate': /build/papyrus-3.7.1+dfsg/PapyFileSystemUnix3.c:100:15: warning: unused variable 'err' [-Wunused-variable] 100 | int err; @@ -838,10 +857,15 @@ /build/papyrus-3.7.1+dfsg/PapyFileSystemUnix3.c:131:16: warning: unused variable 'file' [-Wunused-variable] 131 | PAPY_FILE file; | ^~~~ +/build/papyrus-3.7.1+dfsg/PapyWrite3.c: In function 'PutGroupInBuffer': +/build/papyrus-3.7.1+dfsg/PapyWrite3.c:1523:58: warning: 'theRecordID' may be used uninitialized [-Wmaybe-uninitialized] + 1523 | if (*(gPosNextDirRecordOffset [inFileNb] + theRecordID) != 0L) + | ^ +/build/papyrus-3.7.1+dfsg/PapyWrite3.c:1362:17: note: 'theRecordID' was declared here + 1362 | int theRecordID; + | ^~~~~~~~~~~ [ 19%] Building C object CMakeFiles/Papyrus3.dir/PapyEallocUnix3.c.o /usr/bin/cc -I/build/papyrus-3.7.1+dfsg/JpegDir/JpgLless -I/build/papyrus-3.7.1+dfsg/JpegDir/JpgLossy -I/build/papyrus-3.7.1+dfsg/DicomDir -I/build/papyrus-3.7.1+dfsg -g -O2 -ffile-prefix-map=/build/papyrus-3.7.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -x c -MD -MT CMakeFiles/Papyrus3.dir/PapyEallocUnix3.c.o -MF CMakeFiles/Papyrus3.dir/PapyEallocUnix3.c.o.d -o CMakeFiles/Papyrus3.dir/PapyEallocUnix3.c.o -c /build/papyrus-3.7.1+dfsg/PapyEallocUnix3.c -[ 20%] Building C object CMakeFiles/Papyrus3.dir/DicomDir/DicomDirDataSetRead.c.o -/usr/bin/cc -I/build/papyrus-3.7.1+dfsg/JpegDir/JpgLless -I/build/papyrus-3.7.1+dfsg/JpegDir/JpgLossy -I/build/papyrus-3.7.1+dfsg/DicomDir -I/build/papyrus-3.7.1+dfsg -g -O2 -ffile-prefix-map=/build/papyrus-3.7.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -x c -MD -MT CMakeFiles/Papyrus3.dir/DicomDir/DicomDirDataSetRead.c.o -MF CMakeFiles/Papyrus3.dir/DicomDir/DicomDirDataSetRead.c.o.d -o CMakeFiles/Papyrus3.dir/DicomDir/DicomDirDataSetRead.c.o -c /build/papyrus-3.7.1+dfsg/DicomDir/DicomDirDataSetRead.c /build/papyrus-3.7.1+dfsg/PapyUtils3.c: In function 'ConvertYbrToRgb': /build/papyrus-3.7.1+dfsg/PapyUtils3.c:874:71: warning: 'r' may be used uninitialized [-Wmaybe-uninitialized] 874 | *pRGB = (PapyUChar) ((1.1685 * y) + (0.0389 * b) + (1.596 * r)); @@ -855,12 +879,16 @@ /build/papyrus-3.7.1+dfsg/PapyUtils3.c:814:28: note: 'b' was declared here 814 | int y, b, r; | ^ -[ 21%] Building C object CMakeFiles/Papyrus3.dir/DicomDir/DicomDirFiles.c.o -/usr/bin/cc -I/build/papyrus-3.7.1+dfsg/JpegDir/JpgLless -I/build/papyrus-3.7.1+dfsg/JpegDir/JpgLossy -I/build/papyrus-3.7.1+dfsg/DicomDir -I/build/papyrus-3.7.1+dfsg -g -O2 -ffile-prefix-map=/build/papyrus-3.7.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -x c -MD -MT CMakeFiles/Papyrus3.dir/DicomDir/DicomDirFiles.c.o -MF CMakeFiles/Papyrus3.dir/DicomDir/DicomDirFiles.c.o.d -o CMakeFiles/Papyrus3.dir/DicomDir/DicomDirFiles.c.o -c /build/papyrus-3.7.1+dfsg/DicomDir/DicomDirFiles.c -[ 23%] Building C object CMakeFiles/Papyrus3.dir/DicomDir/DicomDirDataSetWrite.c.o +[ 20%] Building C object CMakeFiles/Papyrus3.dir/DicomDir/DicomDirDataSetRead.c.o +/usr/bin/cc -I/build/papyrus-3.7.1+dfsg/JpegDir/JpgLless -I/build/papyrus-3.7.1+dfsg/JpegDir/JpgLossy -I/build/papyrus-3.7.1+dfsg/DicomDir -I/build/papyrus-3.7.1+dfsg -g -O2 -ffile-prefix-map=/build/papyrus-3.7.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -x c -MD -MT CMakeFiles/Papyrus3.dir/DicomDir/DicomDirDataSetRead.c.o -MF CMakeFiles/Papyrus3.dir/DicomDir/DicomDirDataSetRead.c.o.d -o CMakeFiles/Papyrus3.dir/DicomDir/DicomDirDataSetRead.c.o -c /build/papyrus-3.7.1+dfsg/DicomDir/DicomDirDataSetRead.c +[ 21%] Building C object CMakeFiles/Papyrus3.dir/DicomDir/DicomDirDataSetWrite.c.o /usr/bin/cc -I/build/papyrus-3.7.1+dfsg/JpegDir/JpgLless -I/build/papyrus-3.7.1+dfsg/JpegDir/JpgLossy -I/build/papyrus-3.7.1+dfsg/DicomDir -I/build/papyrus-3.7.1+dfsg -g -O2 -ffile-prefix-map=/build/papyrus-3.7.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -x c -MD -MT CMakeFiles/Papyrus3.dir/DicomDir/DicomDirDataSetWrite.c.o -MF CMakeFiles/Papyrus3.dir/DicomDir/DicomDirDataSetWrite.c.o.d -o CMakeFiles/Papyrus3.dir/DicomDir/DicomDirDataSetWrite.c.o -c /build/papyrus-3.7.1+dfsg/DicomDir/DicomDirDataSetWrite.c -[ 24%] Building C object CMakeFiles/Papyrus3.dir/DicomDir/DicomDirInit.c.o -/usr/bin/cc -I/build/papyrus-3.7.1+dfsg/JpegDir/JpgLless -I/build/papyrus-3.7.1+dfsg/JpegDir/JpgLossy -I/build/papyrus-3.7.1+dfsg/DicomDir -I/build/papyrus-3.7.1+dfsg -g -O2 -ffile-prefix-map=/build/papyrus-3.7.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -x c -MD -MT CMakeFiles/Papyrus3.dir/DicomDir/DicomDirInit.c.o -MF CMakeFiles/Papyrus3.dir/DicomDir/DicomDirInit.c.o.d -o CMakeFiles/Papyrus3.dir/DicomDir/DicomDirInit.c.o -c /build/papyrus-3.7.1+dfsg/DicomDir/DicomDirInit.c +[ 23%] Building C object CMakeFiles/Papyrus3.dir/DicomDir/DicomDirFiles.c.o +/usr/bin/cc -I/build/papyrus-3.7.1+dfsg/JpegDir/JpgLless -I/build/papyrus-3.7.1+dfsg/JpegDir/JpgLossy -I/build/papyrus-3.7.1+dfsg/DicomDir -I/build/papyrus-3.7.1+dfsg -g -O2 -ffile-prefix-map=/build/papyrus-3.7.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -x c -MD -MT CMakeFiles/Papyrus3.dir/DicomDir/DicomDirFiles.c.o -MF CMakeFiles/Papyrus3.dir/DicomDir/DicomDirFiles.c.o.d -o CMakeFiles/Papyrus3.dir/DicomDir/DicomDirFiles.c.o -c /build/papyrus-3.7.1+dfsg/DicomDir/DicomDirFiles.c +/build/papyrus-3.7.1+dfsg/DicomDir/DicomDirDataSetWrite.c: In function 'Papy3LinkRecordToDS': +/build/papyrus-3.7.1+dfsg/DicomDir/DicomDirDataSetWrite.c:155:18: warning: variable 'theItemP' set but not used [-Wunused-but-set-variable] + 155 | Item *theItemP; + | ^~~~~~~~ /build/papyrus-3.7.1+dfsg/DicomDir/DicomDirDataSetRead.c: In function 'Papy3GetRecord': /build/papyrus-3.7.1+dfsg/DicomDir/DicomDirDataSetRead.c:145:27: warning: 'theElemCreator' may be used uninitialized [-Wmaybe-uninitialized] 145 | theElemTag = theElemCreator << 8; @@ -868,28 +896,35 @@ /build/papyrus-3.7.1+dfsg/DicomDir/DicomDirDataSetRead.c:77:29: note: 'theElemCreator' was declared here 77 | PapyUShort theElemTag, theElemCreator, theTmpTag; | ^~~~~~~~~~~~~~ -/build/papyrus-3.7.1+dfsg/DicomDir/DicomDirDataSetWrite.c: In function 'Papy3LinkRecordToDS': -/build/papyrus-3.7.1+dfsg/DicomDir/DicomDirDataSetWrite.c:155:18: warning: variable 'theItemP' set but not used [-Wunused-but-set-variable] - 155 | Item *theItemP; - | ^~~~~~~~ +[ 24%] Building C object CMakeFiles/Papyrus3.dir/DicomDir/DicomDirInit.c.o +/usr/bin/cc -I/build/papyrus-3.7.1+dfsg/JpegDir/JpgLless -I/build/papyrus-3.7.1+dfsg/JpegDir/JpgLossy -I/build/papyrus-3.7.1+dfsg/DicomDir -I/build/papyrus-3.7.1+dfsg -g -O2 -ffile-prefix-map=/build/papyrus-3.7.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -x c -MD -MT CMakeFiles/Papyrus3.dir/DicomDir/DicomDirInit.c.o -MF CMakeFiles/Papyrus3.dir/DicomDir/DicomDirInit.c.o.d -o CMakeFiles/Papyrus3.dir/DicomDir/DicomDirInit.c.o -c /build/papyrus-3.7.1+dfsg/DicomDir/DicomDirInit.c [ 25%] Building C object CMakeFiles/Papyrus3.dir/DicomDir/DicomDirInitRecords.c.o /usr/bin/cc -I/build/papyrus-3.7.1+dfsg/JpegDir/JpgLless -I/build/papyrus-3.7.1+dfsg/JpegDir/JpgLossy -I/build/papyrus-3.7.1+dfsg/DicomDir -I/build/papyrus-3.7.1+dfsg -g -O2 -ffile-prefix-map=/build/papyrus-3.7.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -x c -MD -MT CMakeFiles/Papyrus3.dir/DicomDir/DicomDirInitRecords.c.o -MF CMakeFiles/Papyrus3.dir/DicomDir/DicomDirInitRecords.c.o.d -o CMakeFiles/Papyrus3.dir/DicomDir/DicomDirInitRecords.c.o -c /build/papyrus-3.7.1+dfsg/DicomDir/DicomDirInitRecords.c [ 26%] Building C object CMakeFiles/Papyrus3.dir/DicomDir/OGlobalDicomFunc.cpp.o /usr/bin/cc -I/build/papyrus-3.7.1+dfsg/JpegDir/JpgLless -I/build/papyrus-3.7.1+dfsg/JpegDir/JpgLossy -I/build/papyrus-3.7.1+dfsg/DicomDir -I/build/papyrus-3.7.1+dfsg -g -O2 -ffile-prefix-map=/build/papyrus-3.7.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -x c -MD -MT CMakeFiles/Papyrus3.dir/DicomDir/OGlobalDicomFunc.cpp.o -MF CMakeFiles/Papyrus3.dir/DicomDir/OGlobalDicomFunc.cpp.o.d -o CMakeFiles/Papyrus3.dir/DicomDir/OGlobalDicomFunc.cpp.o -c /build/papyrus-3.7.1+dfsg/DicomDir/OGlobalDicomFunc.cpp [ 27%] Building C object CMakeFiles/Papyrus3.dir/JpegDir/JpgLless/decompoptimise.c.o /usr/bin/cc -I/build/papyrus-3.7.1+dfsg/JpegDir/JpgLless -I/build/papyrus-3.7.1+dfsg/JpegDir/JpgLossy -I/build/papyrus-3.7.1+dfsg/DicomDir -I/build/papyrus-3.7.1+dfsg -g -O2 -ffile-prefix-map=/build/papyrus-3.7.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -x c -MD -MT CMakeFiles/Papyrus3.dir/JpegDir/JpgLless/decompoptimise.c.o -MF CMakeFiles/Papyrus3.dir/JpegDir/JpgLless/decompoptimise.c.o.d -o CMakeFiles/Papyrus3.dir/JpegDir/JpgLless/decompoptimise.c.o -c /build/papyrus-3.7.1+dfsg/JpegDir/JpgLless/decompoptimise.c +/build/papyrus-3.7.1+dfsg/PapyInit3.c: In function 'InitModulesLabels3': +/build/papyrus-3.7.1+dfsg/PapyInit3.c:4147:19: warning: array subscript 20 is above array bounds of 'char *[20]' [-Warray-bounds] + 4147 | sLabel_NM_Image [ 20 ] = "Anatomic Region Sequence"; + | ~~~~~~~~~~~~~~~~^~~~~~ +In file included from /build/papyrus-3.7.1+dfsg/Papyrus3.h:125, + from /build/papyrus-3.7.1+dfsg/PapyInit3.c:73: +/build/papyrus-3.7.1+dfsg/PapyGlobalVar3.h:485:25: note: while referencing 'sLabel_NM_Image' + 485 | WHERE3 char *sLabel_NM_Image [20]; + | ^~~~~~~~~~~~~~~ +/build/papyrus-3.7.1+dfsg/PapyInit3.c:4148:19: warning: array subscript 21 is above array bounds of 'char *[20]' [-Warray-bounds] + 4148 | sLabel_NM_Image [ 21 ] = "Primary Anatomic Structure Sequence"; + | ~~~~~~~~~~~~~~~~^~~~~~ +/build/papyrus-3.7.1+dfsg/PapyGlobalVar3.h:485:25: note: while referencing 'sLabel_NM_Image' + 485 | WHERE3 char *sLabel_NM_Image [20]; + | ^~~~~~~~~~~~~~~ [ 28%] Building C object CMakeFiles/Papyrus3.dir/JpegDir/JpgLless/huffcoptimisebug.c.o /usr/bin/cc -I/build/papyrus-3.7.1+dfsg/JpegDir/JpgLless -I/build/papyrus-3.7.1+dfsg/JpegDir/JpgLossy -I/build/papyrus-3.7.1+dfsg/DicomDir -I/build/papyrus-3.7.1+dfsg -g -O2 -ffile-prefix-map=/build/papyrus-3.7.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -x c -MD -MT CMakeFiles/Papyrus3.dir/JpegDir/JpgLless/huffcoptimisebug.c.o -MF CMakeFiles/Papyrus3.dir/JpegDir/JpgLless/huffcoptimisebug.c.o.d -o CMakeFiles/Papyrus3.dir/JpegDir/JpgLless/huffcoptimisebug.c.o -c /build/papyrus-3.7.1+dfsg/JpegDir/JpgLless/huffcoptimisebug.c [ 29%] Building C object CMakeFiles/Papyrus3.dir/JpegDir/JpgLless/huffdoptimise.c.o /usr/bin/cc -I/build/papyrus-3.7.1+dfsg/JpegDir/JpgLless -I/build/papyrus-3.7.1+dfsg/JpegDir/JpgLossy -I/build/papyrus-3.7.1+dfsg/DicomDir -I/build/papyrus-3.7.1+dfsg -g -O2 -ffile-prefix-map=/build/papyrus-3.7.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -x c -MD -MT CMakeFiles/Papyrus3.dir/JpegDir/JpgLless/huffdoptimise.c.o -MF CMakeFiles/Papyrus3.dir/JpegDir/JpgLless/huffdoptimise.c.o.d -o CMakeFiles/Papyrus3.dir/JpegDir/JpgLless/huffdoptimise.c.o -c /build/papyrus-3.7.1+dfsg/JpegDir/JpgLless/huffdoptimise.c -/build/papyrus-3.7.1+dfsg/JpegDir/JpgLless/huffcoptimisebug.c: In function 'FreqCountAllSelValue': -/build/papyrus-3.7.1+dfsg/JpegDir/JpgLless/huffcoptimisebug.c:1242:15: warning: variable 'Ss' set but not used [-Wunused-but-set-variable] - 1242 | int Pr,Pt,Ss; /*j; - | ^~ [ 30%] Building C object CMakeFiles/Papyrus3.dir/JpegDir/JpgLless/JPEGUTIL.C.o /usr/bin/cc -I/build/papyrus-3.7.1+dfsg/JpegDir/JpgLless -I/build/papyrus-3.7.1+dfsg/JpegDir/JpgLossy -I/build/papyrus-3.7.1+dfsg/DicomDir -I/build/papyrus-3.7.1+dfsg -g -O2 -ffile-prefix-map=/build/papyrus-3.7.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -x c -MD -MT CMakeFiles/Papyrus3.dir/JpegDir/JpgLless/JPEGUTIL.C.o -MF CMakeFiles/Papyrus3.dir/JpegDir/JpgLless/JPEGUTIL.C.o.d -o CMakeFiles/Papyrus3.dir/JpegDir/JpgLless/JPEGUTIL.C.o -c /build/papyrus-3.7.1+dfsg/JpegDir/JpgLless/JPEGUTIL.C -[ 31%] Building C object CMakeFiles/Papyrus3.dir/JpegDir/JpgLless/MCU.C.o -/usr/bin/cc -I/build/papyrus-3.7.1+dfsg/JpegDir/JpgLless -I/build/papyrus-3.7.1+dfsg/JpegDir/JpgLossy -I/build/papyrus-3.7.1+dfsg/DicomDir -I/build/papyrus-3.7.1+dfsg -g -O2 -ffile-prefix-map=/build/papyrus-3.7.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -x c -MD -MT CMakeFiles/Papyrus3.dir/JpegDir/JpgLless/MCU.C.o -MF CMakeFiles/Papyrus3.dir/JpegDir/JpgLless/MCU.C.o.d -o CMakeFiles/Papyrus3.dir/JpegDir/JpgLless/MCU.C.o -c /build/papyrus-3.7.1+dfsg/JpegDir/JpgLless/MCU.C /build/papyrus-3.7.1+dfsg/JpegDir/JpgLless/huffdoptimise.c: In function 'DecodeImage': /build/papyrus-3.7.1+dfsg/JpegDir/JpgLless/huffdoptimise.c:888:127: warning: suggest parentheses around '-' inside '>>' [-Wparentheses] 888 | *curUSPixelPtr = (PapyUShort) (d + *(curUSPixelPtr - 1) + ((*(curUSPixelPtr - numCOL) - (*(curUSPixelPtr - numCOL - 1))>>1))); @@ -897,16 +932,27 @@ /build/papyrus-3.7.1+dfsg/JpegDir/JpgLless/huffdoptimise.c:543:21: warning: variable 'Pt' set but not used [-Wunused-but-set-variable] 543 | int imagewidth, Pt, psv; | ^~ +/build/papyrus-3.7.1+dfsg/JpegDir/JpgLless/huffcoptimisebug.c: In function 'FreqCountAllSelValue': +/build/papyrus-3.7.1+dfsg/JpegDir/JpgLless/huffcoptimisebug.c:1242:15: warning: variable 'Ss' set but not used [-Wunused-but-set-variable] + 1242 | int Pr,Pt,Ss; /*j; + | ^~ +[ 31%] Building C object CMakeFiles/Papyrus3.dir/JpegDir/JpgLless/MCU.C.o +/usr/bin/cc -I/build/papyrus-3.7.1+dfsg/JpegDir/JpgLless -I/build/papyrus-3.7.1+dfsg/JpegDir/JpgLossy -I/build/papyrus-3.7.1+dfsg/DicomDir -I/build/papyrus-3.7.1+dfsg -g -O2 -ffile-prefix-map=/build/papyrus-3.7.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -x c -MD -MT CMakeFiles/Papyrus3.dir/JpegDir/JpgLless/MCU.C.o -MF CMakeFiles/Papyrus3.dir/JpegDir/JpgLless/MCU.C.o.d -o CMakeFiles/Papyrus3.dir/JpegDir/JpgLless/MCU.C.o -c /build/papyrus-3.7.1+dfsg/JpegDir/JpgLless/MCU.C +[ 32%] Building C object CMakeFiles/Papyrus3.dir/JpegDir/JpgLless/pmreadoptimise.c.o +/usr/bin/cc -I/build/papyrus-3.7.1+dfsg/JpegDir/JpgLless -I/build/papyrus-3.7.1+dfsg/JpegDir/JpgLossy -I/build/papyrus-3.7.1+dfsg/DicomDir -I/build/papyrus-3.7.1+dfsg -g -O2 -ffile-prefix-map=/build/papyrus-3.7.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -x c -MD -MT CMakeFiles/Papyrus3.dir/JpegDir/JpgLless/pmreadoptimise.c.o -MF CMakeFiles/Papyrus3.dir/JpegDir/JpgLless/pmreadoptimise.c.o.d -o CMakeFiles/Papyrus3.dir/JpegDir/JpgLless/pmreadoptimise.c.o -c /build/papyrus-3.7.1+dfsg/JpegDir/JpgLless/pmreadoptimise.c /build/papyrus-3.7.1+dfsg/JpegDir/JpgLless/MCU.C: In function 'PrintMCU': /build/papyrus-3.7.1+dfsg/JpegDir/JpgLless/MCU.C:137:19: warning: variable 'r' set but not used [-Wunused-but-set-variable] 137 | ComponentType r; | ^ -[ 32%] Building C object CMakeFiles/Papyrus3.dir/JpegDir/JpgLless/pmreadoptimise.c.o -/usr/bin/cc -I/build/papyrus-3.7.1+dfsg/JpegDir/JpgLless -I/build/papyrus-3.7.1+dfsg/JpegDir/JpgLossy -I/build/papyrus-3.7.1+dfsg/DicomDir -I/build/papyrus-3.7.1+dfsg -g -O2 -ffile-prefix-map=/build/papyrus-3.7.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -x c -MD -MT CMakeFiles/Papyrus3.dir/JpegDir/JpgLless/pmreadoptimise.c.o -MF CMakeFiles/Papyrus3.dir/JpegDir/JpgLless/pmreadoptimise.c.o.d -o CMakeFiles/Papyrus3.dir/JpegDir/JpgLless/pmreadoptimise.c.o -c /build/papyrus-3.7.1+dfsg/JpegDir/JpgLless/pmreadoptimise.c -[ 34%] Building C object CMakeFiles/Papyrus3.dir/JpegDir/JpgLless/PREDICT.C.o -/usr/bin/cc -I/build/papyrus-3.7.1+dfsg/JpegDir/JpgLless -I/build/papyrus-3.7.1+dfsg/JpegDir/JpgLossy -I/build/papyrus-3.7.1+dfsg/DicomDir -I/build/papyrus-3.7.1+dfsg -g -O2 -ffile-prefix-map=/build/papyrus-3.7.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -x c -MD -MT CMakeFiles/Papyrus3.dir/JpegDir/JpgLless/PREDICT.C.o -MF CMakeFiles/Papyrus3.dir/JpegDir/JpgLless/PREDICT.C.o.d -o CMakeFiles/Papyrus3.dir/JpegDir/JpgLless/PREDICT.C.o -c /build/papyrus-3.7.1+dfsg/JpegDir/JpgLless/PREDICT.C -[ 35%] Building C object CMakeFiles/Papyrus3.dir/JpegDir/JpgLless/pnmtoljpoptimisebug.c.o +[ 34%] Building C object CMakeFiles/Papyrus3.dir/JpegDir/JpgLless/pnmtoljpoptimisebug.c.o /usr/bin/cc -I/build/papyrus-3.7.1+dfsg/JpegDir/JpgLless -I/build/papyrus-3.7.1+dfsg/JpegDir/JpgLossy -I/build/papyrus-3.7.1+dfsg/DicomDir -I/build/papyrus-3.7.1+dfsg -g -O2 -ffile-prefix-map=/build/papyrus-3.7.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -x c -MD -MT CMakeFiles/Papyrus3.dir/JpegDir/JpgLless/pnmtoljpoptimisebug.c.o -MF CMakeFiles/Papyrus3.dir/JpegDir/JpgLless/pnmtoljpoptimisebug.c.o.d -o CMakeFiles/Papyrus3.dir/JpegDir/JpgLless/pnmtoljpoptimisebug.c.o -c /build/papyrus-3.7.1+dfsg/JpegDir/JpgLless/pnmtoljpoptimisebug.c +/build/papyrus-3.7.1+dfsg/JpegDir/JpgLless/pnmtoljpoptimisebug.c:95:21: warning: 'OutFile' defined but not used [-Wunused-variable] + 95 | static PAPY_FILE OutFile; /* Output file pointer */ + | ^~~~~~~ +[ 35%] Building C object CMakeFiles/Papyrus3.dir/JpegDir/JpgLless/PREDICT.C.o +/usr/bin/cc -I/build/papyrus-3.7.1+dfsg/JpegDir/JpgLless -I/build/papyrus-3.7.1+dfsg/JpegDir/JpgLossy -I/build/papyrus-3.7.1+dfsg/DicomDir -I/build/papyrus-3.7.1+dfsg -g -O2 -ffile-prefix-map=/build/papyrus-3.7.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -x c -MD -MT CMakeFiles/Papyrus3.dir/JpegDir/JpgLless/PREDICT.C.o -MF CMakeFiles/Papyrus3.dir/JpegDir/JpgLless/PREDICT.C.o.d -o CMakeFiles/Papyrus3.dir/JpegDir/JpgLless/PREDICT.C.o -c /build/papyrus-3.7.1+dfsg/JpegDir/JpgLless/PREDICT.C +[ 36%] Building C object CMakeFiles/Papyrus3.dir/JpegDir/JpgLless/READ.C.o +/usr/bin/cc -I/build/papyrus-3.7.1+dfsg/JpegDir/JpgLless -I/build/papyrus-3.7.1+dfsg/JpegDir/JpgLossy -I/build/papyrus-3.7.1+dfsg/DicomDir -I/build/papyrus-3.7.1+dfsg -g -O2 -ffile-prefix-map=/build/papyrus-3.7.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -x c -MD -MT CMakeFiles/Papyrus3.dir/JpegDir/JpgLless/READ.C.o -MF CMakeFiles/Papyrus3.dir/JpegDir/JpgLless/READ.C.o.d -o CMakeFiles/Papyrus3.dir/JpegDir/JpgLless/READ.C.o -c /build/papyrus-3.7.1+dfsg/JpegDir/JpgLless/READ.C /build/papyrus-3.7.1+dfsg/JpegDir/JpgLless/PREDICT.C:53:33: warning: "/*" within comment [-Wcomment] 53 | /*int row,col; /* position of the pixel to be predicted */ | @@ -943,11 +989,6 @@ /build/papyrus-3.7.1+dfsg/JpegDir/JpgLless/PREDICT.C:148:33: warning: "/*" within comment [-Wcomment] 148 | /*int *predictor; /* preditor value (output) */ | -[ 36%] Building C object CMakeFiles/Papyrus3.dir/JpegDir/JpgLless/READ.C.o -/usr/bin/cc -I/build/papyrus-3.7.1+dfsg/JpegDir/JpgLless -I/build/papyrus-3.7.1+dfsg/JpegDir/JpgLossy -I/build/papyrus-3.7.1+dfsg/DicomDir -I/build/papyrus-3.7.1+dfsg -g -O2 -ffile-prefix-map=/build/papyrus-3.7.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -x c -MD -MT CMakeFiles/Papyrus3.dir/JpegDir/JpgLless/READ.C.o -MF CMakeFiles/Papyrus3.dir/JpegDir/JpgLless/READ.C.o.d -o CMakeFiles/Papyrus3.dir/JpegDir/JpgLless/READ.C.o -c /build/papyrus-3.7.1+dfsg/JpegDir/JpgLless/READ.C -/build/papyrus-3.7.1+dfsg/JpegDir/JpgLless/pnmtoljpoptimisebug.c:95:21: warning: 'OutFile' defined but not used [-Wunused-variable] - 95 | static PAPY_FILE OutFile; /* Output file pointer */ - | ^~~~~~~ In file included from /build/papyrus-3.7.1+dfsg/JpegDir/JpgLless/READ.C:41: /build/papyrus-3.7.1+dfsg/JpegDir/JpgLless/READ.C: In function 'SkipVariable': /build/papyrus-3.7.1+dfsg/JpegDir/JpgLless/IO.H:120:46: warning: value computed is not used [-Wunused-value] @@ -988,8 +1029,8 @@ [ 46%] Building C object CMakeFiles/Papyrus3.dir/JpegDir/JpgLossy/JCMAINCT.C.o /usr/bin/cc -I/build/papyrus-3.7.1+dfsg/JpegDir/JpgLless -I/build/papyrus-3.7.1+dfsg/JpegDir/JpgLossy -I/build/papyrus-3.7.1+dfsg/DicomDir -I/build/papyrus-3.7.1+dfsg -g -O2 -ffile-prefix-map=/build/papyrus-3.7.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -x c -MD -MT CMakeFiles/Papyrus3.dir/JpegDir/JpgLossy/JCMAINCT.C.o -MF CMakeFiles/Papyrus3.dir/JpegDir/JpgLossy/JCMAINCT.C.o.d -o CMakeFiles/Papyrus3.dir/JpegDir/JpgLossy/JCMAINCT.C.o -c /build/papyrus-3.7.1+dfsg/JpegDir/JpgLossy/JCMAINCT.C [ 47%] Building C object CMakeFiles/Papyrus3.dir/JpegDir/JpgLossy/JCMARKER.C.o -/usr/bin/cc -I/build/papyrus-3.7.1+dfsg/JpegDir/JpgLless -I/build/papyrus-3.7.1+dfsg/JpegDir/JpgLossy -I/build/papyrus-3.7.1+dfsg/DicomDir -I/build/papyrus-3.7.1+dfsg -g -O2 -ffile-prefix-map=/build/papyrus-3.7.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -x c -MD -MT CMakeFiles/Papyrus3.dir/JpegDir/JpgLossy/JCMARKER.C.o -MF CMakeFiles/Papyrus3.dir/JpegDir/JpgLossy/JCMARKER.C.o.d -o CMakeFiles/Papyrus3.dir/JpegDir/JpgLossy/JCMARKER.C.o -c /build/papyrus-3.7.1+dfsg/JpegDir/JpgLossy/JCMARKER.C [ 48%] Building C object CMakeFiles/Papyrus3.dir/JpegDir/JpgLossy/JCMASTER.C.o +/usr/bin/cc -I/build/papyrus-3.7.1+dfsg/JpegDir/JpgLless -I/build/papyrus-3.7.1+dfsg/JpegDir/JpgLossy -I/build/papyrus-3.7.1+dfsg/DicomDir -I/build/papyrus-3.7.1+dfsg -g -O2 -ffile-prefix-map=/build/papyrus-3.7.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -x c -MD -MT CMakeFiles/Papyrus3.dir/JpegDir/JpgLossy/JCMARKER.C.o -MF CMakeFiles/Papyrus3.dir/JpegDir/JpgLossy/JCMARKER.C.o.d -o CMakeFiles/Papyrus3.dir/JpegDir/JpgLossy/JCMARKER.C.o -c /build/papyrus-3.7.1+dfsg/JpegDir/JpgLossy/JCMARKER.C /usr/bin/cc -I/build/papyrus-3.7.1+dfsg/JpegDir/JpgLless -I/build/papyrus-3.7.1+dfsg/JpegDir/JpgLossy -I/build/papyrus-3.7.1+dfsg/DicomDir -I/build/papyrus-3.7.1+dfsg -g -O2 -ffile-prefix-map=/build/papyrus-3.7.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -x c -MD -MT CMakeFiles/Papyrus3.dir/JpegDir/JpgLossy/JCMASTER.C.o -MF CMakeFiles/Papyrus3.dir/JpegDir/JpgLossy/JCMASTER.C.o.d -o CMakeFiles/Papyrus3.dir/JpegDir/JpgLossy/JCMASTER.C.o -c /build/papyrus-3.7.1+dfsg/JpegDir/JpgLossy/JCMASTER.C [ 49%] Building C object CMakeFiles/Papyrus3.dir/JpegDir/JpgLossy/JCOMAPI.C.o /usr/bin/cc -I/build/papyrus-3.7.1+dfsg/JpegDir/JpgLless -I/build/papyrus-3.7.1+dfsg/JpegDir/JpgLossy -I/build/papyrus-3.7.1+dfsg/DicomDir -I/build/papyrus-3.7.1+dfsg -g -O2 -ffile-prefix-map=/build/papyrus-3.7.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -x c -MD -MT CMakeFiles/Papyrus3.dir/JpegDir/JpgLossy/JCOMAPI.C.o -MF CMakeFiles/Papyrus3.dir/JpegDir/JpgLossy/JCOMAPI.C.o.d -o CMakeFiles/Papyrus3.dir/JpegDir/JpgLossy/JCOMAPI.C.o -c /build/papyrus-3.7.1+dfsg/JpegDir/JpgLossy/JCOMAPI.C @@ -1003,6 +1044,24 @@ /usr/bin/cc -I/build/papyrus-3.7.1+dfsg/JpegDir/JpgLless -I/build/papyrus-3.7.1+dfsg/JpegDir/JpgLossy -I/build/papyrus-3.7.1+dfsg/DicomDir -I/build/papyrus-3.7.1+dfsg -g -O2 -ffile-prefix-map=/build/papyrus-3.7.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -x c -MD -MT CMakeFiles/Papyrus3.dir/JpegDir/JpgLossy/JCSAMPLE.C.o -MF CMakeFiles/Papyrus3.dir/JpegDir/JpgLossy/JCSAMPLE.C.o.d -o CMakeFiles/Papyrus3.dir/JpegDir/JpgLossy/JCSAMPLE.C.o -c /build/papyrus-3.7.1+dfsg/JpegDir/JpgLossy/JCSAMPLE.C [ 54%] Building C object CMakeFiles/Papyrus3.dir/JpegDir/JpgLossy/JCTRANS.C.o /usr/bin/cc -I/build/papyrus-3.7.1+dfsg/JpegDir/JpgLless -I/build/papyrus-3.7.1+dfsg/JpegDir/JpgLossy -I/build/papyrus-3.7.1+dfsg/DicomDir -I/build/papyrus-3.7.1+dfsg -g -O2 -ffile-prefix-map=/build/papyrus-3.7.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -x c -MD -MT CMakeFiles/Papyrus3.dir/JpegDir/JpgLossy/JCTRANS.C.o -MF CMakeFiles/Papyrus3.dir/JpegDir/JpgLossy/JCTRANS.C.o.d -o CMakeFiles/Papyrus3.dir/JpegDir/JpgLossy/JCTRANS.C.o -c /build/papyrus-3.7.1+dfsg/JpegDir/JpgLossy/JCTRANS.C +In function 'PmPutRow8', + inlined from 'DecodeImage' at /build/papyrus-3.7.1+dfsg/JpegDir/JpgLless/huffdoptimise.c:1001:26: +/build/papyrus-3.7.1+dfsg/JpegDir/JpgLless/huffdoptimise.c:218:13: warning: 'image8tmp' may be used uninitialized [-Wmaybe-uninitialized] + 218 | (*image)++; + | ~~~~~~~~^~ +/build/papyrus-3.7.1+dfsg/JpegDir/JpgLless/huffdoptimise.c: In function 'DecodeImage': +/build/papyrus-3.7.1+dfsg/JpegDir/JpgLless/huffdoptimise.c:545:16: note: 'image8tmp' was declared here + 545 | PapyUChar *image8tmp; + | ^~~~~~~~~ +In function 'PmPutRow16', + inlined from 'DecodeImage' at /build/papyrus-3.7.1+dfsg/JpegDir/JpgLless/huffdoptimise.c:1002:26: +/build/papyrus-3.7.1+dfsg/JpegDir/JpgLless/huffdoptimise.c:206:17: warning: 'image16tmp' may be used uninitialized [-Wmaybe-uninitialized] + 206 | (*image)++; + | ~~~~~~~~^~ +/build/papyrus-3.7.1+dfsg/JpegDir/JpgLless/huffdoptimise.c: In function 'DecodeImage': +/build/papyrus-3.7.1+dfsg/JpegDir/JpgLless/huffdoptimise.c:544:17: note: 'image16tmp' was declared here + 544 | PapyUShort *image16tmp; + | ^~~~~~~~~~ [ 56%] Building C object CMakeFiles/Papyrus3.dir/JpegDir/JpgLossy/JDAPIMIN.C.o /usr/bin/cc -I/build/papyrus-3.7.1+dfsg/JpegDir/JpgLless -I/build/papyrus-3.7.1+dfsg/JpegDir/JpgLossy -I/build/papyrus-3.7.1+dfsg/DicomDir -I/build/papyrus-3.7.1+dfsg -g -O2 -ffile-prefix-map=/build/papyrus-3.7.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -x c -MD -MT CMakeFiles/Papyrus3.dir/JpegDir/JpgLossy/JDAPIMIN.C.o -MF CMakeFiles/Papyrus3.dir/JpegDir/JpgLossy/JDAPIMIN.C.o.d -o CMakeFiles/Papyrus3.dir/JpegDir/JpgLossy/JDAPIMIN.C.o -c /build/papyrus-3.7.1+dfsg/JpegDir/JpgLossy/JDAPIMIN.C [ 57%] Building C object CMakeFiles/Papyrus3.dir/JpegDir/JpgLossy/JDAPISTD.C.o @@ -1024,24 +1083,6 @@ /usr/bin/cc -I/build/papyrus-3.7.1+dfsg/JpegDir/JpgLless -I/build/papyrus-3.7.1+dfsg/JpegDir/JpgLossy -I/build/papyrus-3.7.1+dfsg/DicomDir -I/build/papyrus-3.7.1+dfsg -g -O2 -ffile-prefix-map=/build/papyrus-3.7.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -x c -MD -MT CMakeFiles/Papyrus3.dir/JpegDir/JpgLossy/JDCOEFCT.C.o -MF CMakeFiles/Papyrus3.dir/JpegDir/JpgLossy/JDCOEFCT.C.o.d -o CMakeFiles/Papyrus3.dir/JpegDir/JpgLossy/JDCOEFCT.C.o -c /build/papyrus-3.7.1+dfsg/JpegDir/JpgLossy/JDCOEFCT.C [ 61%] Building C object CMakeFiles/Papyrus3.dir/JpegDir/JpgLossy/JDCOLOR.C.o /usr/bin/cc -I/build/papyrus-3.7.1+dfsg/JpegDir/JpgLless -I/build/papyrus-3.7.1+dfsg/JpegDir/JpgLossy -I/build/papyrus-3.7.1+dfsg/DicomDir -I/build/papyrus-3.7.1+dfsg -g -O2 -ffile-prefix-map=/build/papyrus-3.7.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -x c -MD -MT CMakeFiles/Papyrus3.dir/JpegDir/JpgLossy/JDCOLOR.C.o -MF CMakeFiles/Papyrus3.dir/JpegDir/JpgLossy/JDCOLOR.C.o.d -o CMakeFiles/Papyrus3.dir/JpegDir/JpgLossy/JDCOLOR.C.o -c /build/papyrus-3.7.1+dfsg/JpegDir/JpgLossy/JDCOLOR.C -In function 'PmPutRow8', - inlined from 'DecodeImage' at /build/papyrus-3.7.1+dfsg/JpegDir/JpgLless/huffdoptimise.c:1001:26: -/build/papyrus-3.7.1+dfsg/JpegDir/JpgLless/huffdoptimise.c:218:13: warning: 'image8tmp' may be used uninitialized [-Wmaybe-uninitialized] - 218 | (*image)++; - | ~~~~~~~~^~ -/build/papyrus-3.7.1+dfsg/JpegDir/JpgLless/huffdoptimise.c: In function 'DecodeImage': -/build/papyrus-3.7.1+dfsg/JpegDir/JpgLless/huffdoptimise.c:545:16: note: 'image8tmp' was declared here - 545 | PapyUChar *image8tmp; - | ^~~~~~~~~ -In function 'PmPutRow16', - inlined from 'DecodeImage' at /build/papyrus-3.7.1+dfsg/JpegDir/JpgLless/huffdoptimise.c:1002:26: -/build/papyrus-3.7.1+dfsg/JpegDir/JpgLless/huffdoptimise.c:206:17: warning: 'image16tmp' may be used uninitialized [-Wmaybe-uninitialized] - 206 | (*image)++; - | ~~~~~~~~^~ -/build/papyrus-3.7.1+dfsg/JpegDir/JpgLless/huffdoptimise.c: In function 'DecodeImage': -/build/papyrus-3.7.1+dfsg/JpegDir/JpgLless/huffdoptimise.c:544:17: note: 'image16tmp' was declared here - 544 | PapyUShort *image16tmp; - | ^~~~~~~~~~ [ 62%] Building C object CMakeFiles/Papyrus3.dir/JpegDir/JpgLossy/JDDCTMGR.C.o /usr/bin/cc -I/build/papyrus-3.7.1+dfsg/JpegDir/JpgLless -I/build/papyrus-3.7.1+dfsg/JpegDir/JpgLossy -I/build/papyrus-3.7.1+dfsg/DicomDir -I/build/papyrus-3.7.1+dfsg -g -O2 -ffile-prefix-map=/build/papyrus-3.7.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -x c -MD -MT CMakeFiles/Papyrus3.dir/JpegDir/JpgLossy/JDDCTMGR.C.o -MF CMakeFiles/Papyrus3.dir/JpegDir/JpgLossy/JDDCTMGR.C.o.d -o CMakeFiles/Papyrus3.dir/JpegDir/JpgLossy/JDDCTMGR.C.o -c /build/papyrus-3.7.1+dfsg/JpegDir/JpgLossy/JDDCTMGR.C [ 63%] Building C object CMakeFiles/Papyrus3.dir/JpegDir/JpgLossy/JDHUFF.C.o @@ -1113,12 +1154,12 @@ /usr/bin/cc -I/build/papyrus-3.7.1+dfsg/JpegDir/JpgLless -I/build/papyrus-3.7.1+dfsg/JpegDir/JpgLossy -I/build/papyrus-3.7.1+dfsg/DicomDir -I/build/papyrus-3.7.1+dfsg -g -O2 -ffile-prefix-map=/build/papyrus-3.7.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -x c -MD -MT CMakeFiles/Papyrus3.dir/JpegDir/JpgLossy/RDRLE.C.o -MF CMakeFiles/Papyrus3.dir/JpegDir/JpgLossy/RDRLE.C.o.d -o CMakeFiles/Papyrus3.dir/JpegDir/JpgLossy/RDRLE.C.o -c /build/papyrus-3.7.1+dfsg/JpegDir/JpgLossy/RDRLE.C [ 94%] Building C object CMakeFiles/Papyrus3.dir/JpegDir/JpgLossy/RDSWITCH.C.o /usr/bin/cc -I/build/papyrus-3.7.1+dfsg/JpegDir/JpgLless -I/build/papyrus-3.7.1+dfsg/JpegDir/JpgLossy -I/build/papyrus-3.7.1+dfsg/DicomDir -I/build/papyrus-3.7.1+dfsg -g -O2 -ffile-prefix-map=/build/papyrus-3.7.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -x c -MD -MT CMakeFiles/Papyrus3.dir/JpegDir/JpgLossy/RDSWITCH.C.o -MF CMakeFiles/Papyrus3.dir/JpegDir/JpgLossy/RDSWITCH.C.o.d -o CMakeFiles/Papyrus3.dir/JpegDir/JpgLossy/RDSWITCH.C.o -c /build/papyrus-3.7.1+dfsg/JpegDir/JpgLossy/RDSWITCH.C -[ 95%] Building C object CMakeFiles/Papyrus3.dir/JpegDir/JpgLossy/RDTARGA.C.o -/usr/bin/cc -I/build/papyrus-3.7.1+dfsg/JpegDir/JpgLless -I/build/papyrus-3.7.1+dfsg/JpegDir/JpgLossy -I/build/papyrus-3.7.1+dfsg/DicomDir -I/build/papyrus-3.7.1+dfsg -g -O2 -ffile-prefix-map=/build/papyrus-3.7.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -x c -MD -MT CMakeFiles/Papyrus3.dir/JpegDir/JpgLossy/RDTARGA.C.o -MF CMakeFiles/Papyrus3.dir/JpegDir/JpgLossy/RDTARGA.C.o.d -o CMakeFiles/Papyrus3.dir/JpegDir/JpgLossy/RDTARGA.C.o -c /build/papyrus-3.7.1+dfsg/JpegDir/JpgLossy/RDTARGA.C /build/papyrus-3.7.1+dfsg/JpegDir/JpgLossy/RDPPM.C: In function 'start_input_ppm': /build/papyrus-3.7.1+dfsg/JpegDir/JpgLossy/RDPPM.C:330:39: warning: "/*" within comment [-Wcomment] 330 | /*c = getc(source->pub.input_file); /* subformat discriminator character */ | +[ 95%] Building C object CMakeFiles/Papyrus3.dir/JpegDir/JpgLossy/RDTARGA.C.o +/usr/bin/cc -I/build/papyrus-3.7.1+dfsg/JpegDir/JpgLless -I/build/papyrus-3.7.1+dfsg/JpegDir/JpgLossy -I/build/papyrus-3.7.1+dfsg/DicomDir -I/build/papyrus-3.7.1+dfsg -g -O2 -ffile-prefix-map=/build/papyrus-3.7.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -x c -MD -MT CMakeFiles/Papyrus3.dir/JpegDir/JpgLossy/RDTARGA.C.o -MF CMakeFiles/Papyrus3.dir/JpegDir/JpgLossy/RDTARGA.C.o.d -o CMakeFiles/Papyrus3.dir/JpegDir/JpgLossy/RDTARGA.C.o -c /build/papyrus-3.7.1+dfsg/JpegDir/JpgLossy/RDTARGA.C [ 96%] Building C object CMakeFiles/Papyrus3.dir/JpegDir/JpgLossy/WRRLE.C.o /usr/bin/cc -I/build/papyrus-3.7.1+dfsg/JpegDir/JpgLless -I/build/papyrus-3.7.1+dfsg/JpegDir/JpgLossy -I/build/papyrus-3.7.1+dfsg/DicomDir -I/build/papyrus-3.7.1+dfsg -g -O2 -ffile-prefix-map=/build/papyrus-3.7.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -x c -MD -MT CMakeFiles/Papyrus3.dir/JpegDir/JpgLossy/WRRLE.C.o -MF CMakeFiles/Papyrus3.dir/JpegDir/JpgLossy/WRRLE.C.o.d -o CMakeFiles/Papyrus3.dir/JpegDir/JpgLossy/WRRLE.C.o -c /build/papyrus-3.7.1+dfsg/JpegDir/JpgLossy/WRRLE.C [ 97%] Linking C static library libPapyrus3.a @@ -1218,12 +1259,14 @@ dpkg-buildpackage: info: binary-only upload (no source included) dpkg-genchanges: info: not including original source code in upload I: copying local configuration +I: user script /srv/workspace/pbuilder/27417/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/27417/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/30010 and its subdirectories -I: Current time: Thu Jul 11 07:00:29 -12 2024 -I: pbuilder-time-stamp: 1720724429 +I: removing directory /srv/workspace/pbuilder/27417 and its subdirectories +I: Current time: Sat Jun 10 02:40:13 +14 2023 +I: pbuilder-time-stamp: 1686314413