Diff of the two buildlogs: -- --- b1/build.log 2024-04-26 15:41:28.396871653 +0000 +++ b2/build.log 2024-04-26 15:50:16.658349644 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Thu May 29 10:01:34 -12 2025 -I: pbuilder-time-stamp: 1748556094 +I: Current time: Sat Apr 27 05:41:32 +14 2024 +I: pbuilder-time-stamp: 1714146092 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/trixie-reproducible-base.tgz] I: copying local configuration @@ -43,52 +43,84 @@ dpkg-source: info: applying 15_fix_gcc11.patch I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/1323714/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/2883948/tmp/hooks/D01_modify_environment starting +debug: Running on ionos1-amd64. +I: Changing host+domainname to test build reproducibility +I: Adding a custom variable just for the fun of it... +I: Changing /bin/sh to bash +'/bin/sh' -> '/bin/bash' +lrwxrwxrwx 1 root root 9 Apr 26 15:42 /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/2883948/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/2883948/tmp/hooks/D02_print_environment starting I: set - BUILDDIR='/build/reproducible-path' - BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' - BUILDUSERNAME='pbuilder1' - BUILD_ARCH='amd64' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=42 ' - DISTRIBUTION='trixie' - HOME='/root' - HOST_ARCH='amd64' + 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]="21" [3]="1" [4]="release" [5]="x86_64-pc-linux-gnu") + BASH_VERSION='5.2.21(1)-release' + BUILDDIR=/build/reproducible-path + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=amd64 + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=20 ' + DIRSTACK=() + DISTRIBUTION=trixie + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=x86_64 + HOST_ARCH=amd64 IFS=' ' - INVOCATION_ID='912aa1c4b9bb4a6193d619174468baf1' - 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='1323714' - PS1='# ' - PS2='> ' + INVOCATION_ID=c8eeb4633cfa4146b6c8de450f13cdf0 + LANG=C + LANGUAGE=et_EE:et + LC_ALL=C + MACHTYPE=x86_64-pc-linux-gnu + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnu + PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path + PBCURRENTCOMMANDLINEOPERATION=build + PBUILDER_OPERATION=build + PBUILDER_PKGDATADIR=/usr/share/pbuilder + PBUILDER_PKGLIBDIR=/usr/lib/pbuilder + PBUILDER_SYSCONFDIR=/etc + PIPESTATUS=([0]="0") + POSIXLY_CORRECT=y + PPID=2883948 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.Ua5hSUui/pbuilderrc_RQDk --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.Ua5hSUui/b1 --logfile b1/build.log imview_1.1.9h-4.dsc' - SUDO_GID='110' - SUDO_UID='105' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://213.165.73.152: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.Ua5hSUui/pbuilderrc_BY8r --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.Ua5hSUui/b2 --logfile b2/build.log imview_1.1.9h-4.dsc' + SUDO_GID=110 + SUDO_UID=105 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://46.16.76.132:3128 I: uname -a - Linux ionos5-amd64 6.6.13+bpo-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.6.13-1~bpo12+1 (2024-02-15) x86_64 GNU/Linux + Linux i-capture-the-hostname 6.1.0-20-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.85-1 (2024-04-11) x86_64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 May 25 19:07 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/1323714/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 Apr 22 13:10 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/2883948/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -389,7 +421,7 @@ Get: 248 http://deb.debian.org/debian trixie/main amd64 libxinerama-dev amd64 2:1.1.4-3 [20.1 kB] Get: 249 http://deb.debian.org/debian trixie/main amd64 libxpm4 amd64 1:3.5.17-1+b1 [56.1 kB] Get: 250 http://deb.debian.org/debian trixie/main amd64 libxpm-dev amd64 1:3.5.17-1+b1 [130 kB] -Fetched 147 MB in 2s (92.5 MB/s) +Fetched 147 MB in 7s (20.8 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package imagemagick-6-common. (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 ... 19898 files and directories currently installed.) @@ -1198,8 +1230,8 @@ Setting up tzdata (2024a-3) ... Current default time zone: 'Etc/UTC' -Local time is now: Thu May 29 22:02:54 UTC 2025. -Universal Time is now: Thu May 29 22:02:54 UTC 2025. +Local time is now: Fri Apr 26 15:45:50 UTC 2024. +Universal Time is now: Fri Apr 26 15:45:50 UTC 2024. Run 'dpkg-reconfigure tzdata' if you wish to change it. Setting up xtrans-dev (1.4.0-1) ... @@ -1423,7 +1455,11 @@ Building tag database... -> Finished parsing the build-deps I: Building the package -I: Running cd /build/reproducible-path/imview-1.1.9h/ && 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 > ../imview_1.1.9h-4_source.changes +I: user script /srv/workspace/pbuilder/2883948/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for trixie +I: user script /srv/workspace/pbuilder/2883948/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/reproducible-path/imview-1.1.9h/ && 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 > ../imview_1.1.9h-4_source.changes dpkg-buildpackage: info: source package imview dpkg-buildpackage: info: source version 1.1.9h-4 dpkg-buildpackage: info: source distribution unstable @@ -1920,7 +1956,7 @@ make[1]: Leaving directory '/build/reproducible-path/imview-1.1.9h' dh_auto_build - make -j42 + make -j20 make[1]: Entering directory '/build/reproducible-path/imview-1.1.9h' touch makedepend make depend @@ -2013,23 +2049,14 @@ g++ -D_REENTRANT -DLinux -Wdate-time -D_FORTIFY_SOURCE=2 -DUSE_X11 -I. -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -DFLTK_API_MINOR_VERSION=3 -I/usr/include -I/build/reproducible-path/imview-1.1.9h/extensions/Fl_Native_File_Chooser -O2 -Wall -Wno-return-type -Wno-unknown-pragmas -g -O2 -ffile-prefix-map=/build/reproducible-path/imview-1.1.9h=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wno-deprecated -I/build/reproducible-path/imview-1.1.9h/extensions/Fl_Native_File_Chooser -I.. -I.. -c readps.cxx g++ -D_REENTRANT -DLinux -Wdate-time -D_FORTIFY_SOURCE=2 -DUSE_X11 -I. -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -DFLTK_API_MINOR_VERSION=3 -I/usr/include -I/build/reproducible-path/imview-1.1.9h/extensions/Fl_Native_File_Chooser -O2 -Wall -Wno-return-type -Wno-unknown-pragmas -g -O2 -ffile-prefix-map=/build/reproducible-path/imview-1.1.9h=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wno-deprecated -I/build/reproducible-path/imview-1.1.9h/extensions/Fl_Native_File_Chooser -I.. -I.. -c readpng.cxx g++ -D_REENTRANT -DLinux -Wdate-time -D_FORTIFY_SOURCE=2 -DUSE_X11 -I. -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -DFLTK_API_MINOR_VERSION=3 -I/usr/include -I/build/reproducible-path/imview-1.1.9h/extensions/Fl_Native_File_Chooser -O2 -Wall -Wno-return-type -Wno-unknown-pragmas -g -O2 -ffile-prefix-map=/build/reproducible-path/imview-1.1.9h=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wno-deprecated -I/build/reproducible-path/imview-1.1.9h/extensions/Fl_Native_File_Chooser -I.. -I.. -c readmeta.cxx -readgif.cxx: In function 'int gifnbsubfiles(const char*)': -readgif.cxx:148:11: warning: variable 'transparent_pixel' set but not used [-Wunused-but-set-variable] - 148 | uchar transparent_pixel = 0; - | ^~~~~~~~~~~~~~~~~ -readgif.cxx:149:10: warning: variable 'has_transparent' set but not used [-Wunused-but-set-variable] - 149 | char has_transparent = 0; - | ^~~~~~~~~~~~~~~ -readgif.cxx:158:9: warning: variable 'CodeSize' set but not used [-Wunused-but-set-variable] - 158 | int CodeSize; /* Code size, init from GIF header, increases... */ - | ^~~~~~~~ -readgif.cxx:159:10: warning: variable 'Interlace' set but not used [-Wunused-but-set-variable] - 159 | char Interlace; - | ^~~~~~~~~ -readpnm.cxx: In function 'int load_MC_long_ppm_raw(FILE*, int*, int*, pixtype*, imgtype*, void**)': -readpnm.cxx:737:45: warning: variable 'maxgrey' set but not used [-Wunused-but-set-variable] - 737 | int ncol, nrow, nslice, maxgrey; - | ^~~~~~~ +gplot2.cxx: In function 'plot_t* openPlot(char*)': +gplot2.cxx:205:19: warning: ignoring return value of 'char* tmpnam(char*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 205 | tmpnam(plot->fname); + | ~~~~~~^~~~~~~~~~~~~ +gplot2.cxx: In function 'void dataMPlot(plot_t*, char* (*)(...), int, void**, const char**, int*, bool)': +gplot2.cxx:169:12: warning: '*names' may be used uninitialized [-Wmaybe-uninitialized] + 169 | sprintf(buff,"plot '%s' title '%s'",names[0], labels[0]); + | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from readtiff.cxx:215: loadtiff-code.h: In function 'int load_tiff(const char*, int, int*, int*, int*, int*, int*, int*, short unsigned int**, long int*, void**)': loadtiff-code.h:155:18: warning: 'uint8' is deprecated [-Wdeprecated-declarations] @@ -2208,9 +2235,16 @@ /usr/include/x86_64-linux-gnu/tiff.h:83:38: note: declared here 83 | typedef TIFF_MSC_DEPRECATED uint16_t uint16 TIFF_GCC_DEPRECATED; | ^~~~~~ +readZimage.cxx: In function 'int zimagenbsubfiles(const char*)': +readZimage.cxx:138:29: warning: variable 'firstcomp' set but not used [-Wunused-but-set-variable] + 138 | int nbread, Zversion, firstcomp; + | ^~~~~~~~~ loadtiff-code.h:345:29: warning: 'uint16' is deprecated [-Wdeprecated-declarations] 345 | uint16 msb, lsb, val; | ^~~ +readZimage.cxx:141:12: warning: variable 'filesize' set but not used [-Wunused-but-set-variable] + 141 | long filesize; + | ^~~~~~~~ /usr/include/x86_64-linux-gnu/tiff.h:83:38: note: declared here 83 | typedef TIFF_MSC_DEPRECATED uint16_t uint16 TIFF_GCC_DEPRECATED; | ^~~~~~ @@ -2337,6 +2371,10 @@ loadtiff-code.h:469:34: warning: 'uint32' is deprecated [-Wdeprecated-declarations] 469 | lpi = (uint32*)bufIn; | ^ +readZimage.cxx: In function 'int load_zimage(const char*, int, int*, int*, int*, int*, int*, int*, void**)': +readZimage.cxx:322:11: warning: variable 'filesize' set but not used [-Wunused-but-set-variable] + 322 | long filesize; + | ^~~~~~~~ /usr/include/x86_64-linux-gnu/tiff.h:86:38: note: declared here 86 | typedef TIFF_MSC_DEPRECATED uint32_t uint32 TIFF_GCC_DEPRECATED; | ^~~~~~ @@ -2418,10 +2456,10 @@ /usr/include/x86_64-linux-gnu/tiff.h:80:37: note: declared here 80 | typedef TIFF_MSC_DEPRECATED uint8_t uint8 TIFF_GCC_DEPRECATED; | ^~~~~ -readpnm.cxx: In function 'int readPNMImage(const char*)': -readpnm.cxx:144:12: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] - 144 | fscanf (fp,"%2s",magic_num); - | ~~~~~~~^~~~~~~~~~~~~~~~~~~~ +readZimage.cxx: In function 'int needswapdouble(double*, long int)': +readZimage.cxx:775:20: warning: variable 'vp' set but not used [-Wunused-but-set-variable] + 775 | volatile void *vp; + | ^~ savetiff.cxx: In function 'int save_tiff(void**, int, int*, int*, int, int, int, int, short int*, long int, const char*, int)': savetiff.cxx:165:18: warning: 'uint32' is deprecated [-Wdeprecated-declarations] 165 | uint32 rowsperstrip; @@ -2593,6 +2631,27 @@ /usr/include/x86_64-linux-gnu/tiff.h:86:38: note: declared here 86 | typedef TIFF_MSC_DEPRECATED uint32_t uint32 TIFF_GCC_DEPRECATED; | ^~~~~~ +readpnm.cxx: In function 'int load_MC_long_ppm_raw(FILE*, int*, int*, pixtype*, imgtype*, void**)': +readpnm.cxx:737:45: warning: variable 'maxgrey' set but not used [-Wunused-but-set-variable] + 737 | int ncol, nrow, nslice, maxgrey; + | ^~~~~~~ +readgif.cxx: In function 'int gifnbsubfiles(const char*)': +readgif.cxx:148:11: warning: variable 'transparent_pixel' set but not used [-Wunused-but-set-variable] + 148 | uchar transparent_pixel = 0; + | ^~~~~~~~~~~~~~~~~ +readgif.cxx:149:10: warning: variable 'has_transparent' set but not used [-Wunused-but-set-variable] + 149 | char has_transparent = 0; + | ^~~~~~~~~~~~~~~ +readgif.cxx:158:9: warning: variable 'CodeSize' set but not used [-Wunused-but-set-variable] + 158 | int CodeSize; /* Code size, init from GIF header, increases... */ + | ^~~~~~~~ +readgif.cxx:159:10: warning: variable 'Interlace' set but not used [-Wunused-but-set-variable] + 159 | char Interlace; + | ^~~~~~~~~ +readpnm.cxx: In function 'int readPNMImage(const char*)': +readpnm.cxx:144:12: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] + 144 | fscanf (fp,"%2s",magic_num); + | ~~~~~~~^~~~~~~~~~~~~~~~~~~~ cpostscript.cxx: In function 'void eps_save(HIMAGE, double, FILE*)': cpostscript.cxx:505:27: warning: variable 'bufferLength' set but not used [-Wunused-but-set-variable] 505 | long imW, imH, bufferLength; @@ -2601,10 +2660,6 @@ cpostscript.cxx:632:27: warning: variable 'bufferLength' set but not used [-Wunused-but-set-variable] 632 | long imW, imH, bufferLength; | ^~~~~~~~~~~~ -gplot2.cxx: In function 'plot_t* openPlot(char*)': -gplot2.cxx:205:19: warning: ignoring return value of 'char* tmpnam(char*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 205 | tmpnam(plot->fname); - | ~~~~~~^~~~~~~~~~~~~ readraw.cxx: In instantiation of 'int readrawbuf(int, const RAWFILE_HEADER&, int, T**&) [with T = unsigned char; RAWFILE_HEADER = rawfile_header]': readraw.cxx:166:32: required from here readraw.cxx:243:36: warning: variable 'nt' set but not used [-Wunused-but-set-variable] @@ -2628,17 +2683,6 @@ readraw.cxx: In instantiation of 'int readrawbuf(int, const RAWFILE_HEADER&, int, T**&) [with T = double; RAWFILE_HEADER = rawfile_header]': readraw.cxx:220:32: required from here readraw.cxx:243:36: warning: variable 'nt' set but not used [-Wunused-but-set-variable] -gplot2.cxx: In function 'void dataMPlot(plot_t*, char* (*)(...), int, void**, const char**, int*, bool)': -gplot2.cxx:169:12: warning: '*names' may be used uninitialized [-Wmaybe-uninitialized] - 169 | sprintf(buff,"plot '%s' title '%s'",names[0], labels[0]); - | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -readZimage.cxx: In function 'int zimagenbsubfiles(const char*)': -readZimage.cxx:138:29: warning: variable 'firstcomp' set but not used [-Wunused-but-set-variable] - 138 | int nbread, Zversion, firstcomp; - | ^~~~~~~~~ -readZimage.cxx:141:12: warning: variable 'filesize' set but not used [-Wunused-but-set-variable] - 141 | long filesize; - | ^~~~~~~~ readics.cxx: In function 'void swap_short(char*, char*, int)': readics.cxx:166:22: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 166 | register int i; @@ -2660,10 +2704,6 @@ readics.cxx:499:13: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' 499 | icsheader->valid_sign = TRUE; | ^~~~~~~~~ -readZimage.cxx: In function 'int load_zimage(const char*, int, int*, int*, int*, int*, int*, int*, void**)': -readZimage.cxx:322:11: warning: variable 'filesize' set but not used [-Wunused-but-set-variable] - 322 | long filesize; - | ^~~~~~~~ In function 'void ps_arrange_images(HIMAGE*, int, double, float, float, float, float, int, int, byte, FILE*)', inlined from 'int compose_PostScript_code(HIMAGE*, int, double, byte, byte, byte, int, int, int, const char*, const char*, byte, byte, FILE*)' at cpostscript.cxx:175:19: cpostscript.cxx:385:19: warning: 'boundOy' may be used uninitialized [-Wmaybe-uninitialized] @@ -2693,10 +2733,6 @@ cpostscript.cxx:165:37: note: 'boundH' was declared here 165 | float boundOx, boundOy, boundW, boundH; | ^~~~~~ -readZimage.cxx: In function 'int needswapdouble(double*, long int)': -readZimage.cxx:775:20: warning: variable 'vp' set but not used [-Wunused-but-set-variable] - 775 | volatile void *vp; - | ^~ ar cr imview_io.a readjpeg.o readgif.o readtiff.o readZimage.o readics.o readpnm.o cpostscript.o savetiff.o saveZimage.o imSystem.o gplot2.o newprefio.o readsocket.o readraw.o readmat5.o readMagick.o writeMagick.o readps.o readpng.o readmeta.o ranlib imview_io.a make[2]: Leaving directory '/build/reproducible-path/imview-1.1.9h/io' @@ -2710,14 +2746,14 @@ g++ -D_REENTRANT -DLinux -Wdate-time -D_FORTIFY_SOURCE=2 -DUSE_X11 -I. -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -DFLTK_API_MINOR_VERSION=3 -I/usr/include -I/build/reproducible-path/imview-1.1.9h/extensions/Fl_Native_File_Chooser -O2 -Wall -Wno-return-type -Wno-unknown-pragmas -g -O2 -ffile-prefix-map=/build/reproducible-path/imview-1.1.9h=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wno-deprecated -I/build/reproducible-path/imview-1.1.9h/extensions/Fl_Native_File_Chooser -I.. -I.. -c interpreter.cxx g++ -D_REENTRANT -DLinux -Wdate-time -D_FORTIFY_SOURCE=2 -DUSE_X11 -I. -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -DFLTK_API_MINOR_VERSION=3 -I/usr/include -I/build/reproducible-path/imview-1.1.9h/extensions/Fl_Native_File_Chooser -O2 -Wall -Wno-return-type -Wno-unknown-pragmas -g -O2 -ffile-prefix-map=/build/reproducible-path/imview-1.1.9h=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wno-deprecated -I/build/reproducible-path/imview-1.1.9h/extensions/Fl_Native_File_Chooser -I.. -I.. -c imshared.cxx g++ -D_REENTRANT -DLinux -Wdate-time -D_FORTIFY_SOURCE=2 -DUSE_X11 -I. -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -DFLTK_API_MINOR_VERSION=3 -I/usr/include -I/build/reproducible-path/imview-1.1.9h/extensions/Fl_Native_File_Chooser -O2 -Wall -Wno-return-type -Wno-unknown-pragmas -g -O2 -ffile-prefix-map=/build/reproducible-path/imview-1.1.9h=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wno-deprecated -I/build/reproducible-path/imview-1.1.9h/extensions/Fl_Native_File_Chooser -I.. -I.. -c socketstream.cxx -imserver.cxx: In function 'void* init_server(int*)': -imserver.cxx:658:22: warning: ignoring return value of 'ssize_t write(int, const void*, size_t)' declared with attribute 'warn_unused_result' [-Wunused-result] - 658 | write(2, &port, sizeof(int)); - | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~ interpreter.cxx: In member function 'int linkmanager::getresponse(TCPClientStream*)': interpreter.cxx:1345:16: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 1345 | while (run = getline(*stream, message).good()) { | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +imserver.cxx: In function 'void* init_server(int*)': +imserver.cxx:658:22: warning: ignoring return value of 'ssize_t write(int, const void*, size_t)' declared with attribute 'warn_unused_result' [-Wunused-result] + 658 | write(2, &port, sizeof(int)); + | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~ interpreter.cxx: In member function 'virtual int set_appname::perform(std::vector >&, std::string&)': interpreter.cxx:851:36: warning: '%s' directive writing up to 99 bytes into a region of size 97 [-Wformat-overflow=] 851 | sprintf(tmp, "[%s] %s", l[0].c_str(), realAppName); @@ -2771,26 +2807,6 @@ g++ -D_REENTRANT -DLinux -Wdate-time -D_FORTIFY_SOURCE=2 -DUSE_X11 -I. -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -DFLTK_API_MINOR_VERSION=3 -I/usr/include -I/build/reproducible-path/imview-1.1.9h/extensions/Fl_Native_File_Chooser -O2 -Wall -Wno-return-type -Wno-unknown-pragmas -g -O2 -ffile-prefix-map=/build/reproducible-path/imview-1.1.9h=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wno-deprecated -I/build/reproducible-path/imview-1.1.9h/extensions/Fl_Native_File_Chooser -I. -I. -I../include -c transferHistoBox.cxx g++ -D_REENTRANT -DLinux -Wdate-time -D_FORTIFY_SOURCE=2 -DUSE_X11 -I. -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -DFLTK_API_MINOR_VERSION=3 -I/usr/include -I/build/reproducible-path/imview-1.1.9h/extensions/Fl_Native_File_Chooser -O2 -Wall -Wno-return-type -Wno-unknown-pragmas -g -O2 -ffile-prefix-map=/build/reproducible-path/imview-1.1.9h=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wno-deprecated -I/build/reproducible-path/imview-1.1.9h/extensions/Fl_Native_File_Chooser -I. -I. -I../include -c transferFunctionBox.cxx g++ -D_REENTRANT -DLinux -Wdate-time -D_FORTIFY_SOURCE=2 -DUSE_X11 -I. -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -DFLTK_API_MINOR_VERSION=3 -I/usr/include -I/build/reproducible-path/imview-1.1.9h/extensions/Fl_Native_File_Chooser -O2 -Wall -Wno-return-type -Wno-unknown-pragmas -g -O2 -ffile-prefix-map=/build/reproducible-path/imview-1.1.9h=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wno-deprecated -I/build/reproducible-path/imview-1.1.9h/extensions/Fl_Native_File_Chooser -I. -I. -I../include -c spectraBox.cxx -g++ -D_REENTRANT -DLinux -Wdate-time -D_FORTIFY_SOURCE=2 -DUSE_X11 -I. -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -DFLTK_API_MINOR_VERSION=3 -I/usr/include -I/build/reproducible-path/imview-1.1.9h/extensions/Fl_Native_File_Chooser -O2 -Wall -Wno-return-type -Wno-unknown-pragmas -g -O2 -ffile-prefix-map=/build/reproducible-path/imview-1.1.9h=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wno-deprecated -I/build/reproducible-path/imview-1.1.9h/extensions/Fl_Native_File_Chooser -I. -I. -I../include -c axisBox.cxx -g++ -D_REENTRANT -DLinux -Wdate-time -D_FORTIFY_SOURCE=2 -DUSE_X11 -I. -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -DFLTK_API_MINOR_VERSION=3 -I/usr/include -I/build/reproducible-path/imview-1.1.9h/extensions/Fl_Native_File_Chooser -O2 -Wall -Wno-return-type -Wno-unknown-pragmas -g -O2 -ffile-prefix-map=/build/reproducible-path/imview-1.1.9h=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wno-deprecated -I/build/reproducible-path/imview-1.1.9h/extensions/Fl_Native_File_Chooser -I. -I. -I../include -c saveSpect.cxx -g++ -D_REENTRANT -DLinux -Wdate-time -D_FORTIFY_SOURCE=2 -DUSE_X11 -I. -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -DFLTK_API_MINOR_VERSION=3 -I/usr/include -I/build/reproducible-path/imview-1.1.9h/extensions/Fl_Native_File_Chooser -O2 -Wall -Wno-return-type -Wno-unknown-pragmas -g -O2 -ffile-prefix-map=/build/reproducible-path/imview-1.1.9h=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wno-deprecated -I/build/reproducible-path/imview-1.1.9h/extensions/Fl_Native_File_Chooser -I. -I. -I../include -c printSpect.cxx -g++ -D_REENTRANT -DLinux -Wdate-time -D_FORTIFY_SOURCE=2 -DUSE_X11 -I. -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -DFLTK_API_MINOR_VERSION=3 -I/usr/include -I/build/reproducible-path/imview-1.1.9h/extensions/Fl_Native_File_Chooser -O2 -Wall -Wno-return-type -Wno-unknown-pragmas -g -O2 -ffile-prefix-map=/build/reproducible-path/imview-1.1.9h=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wno-deprecated -I/build/reproducible-path/imview-1.1.9h/extensions/Fl_Native_File_Chooser -I. -I. -I../include -c profileBox.cxx -g++ -D_REENTRANT -DLinux -Wdate-time -D_FORTIFY_SOURCE=2 -DUSE_X11 -I. -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -DFLTK_API_MINOR_VERSION=3 -I/usr/include -I/build/reproducible-path/imview-1.1.9h/extensions/Fl_Native_File_Chooser -O2 -Wall -Wno-return-type -Wno-unknown-pragmas -g -O2 -ffile-prefix-map=/build/reproducible-path/imview-1.1.9h=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wno-deprecated -I/build/reproducible-path/imview-1.1.9h/extensions/Fl_Native_File_Chooser -I. -I. -I../include -c userPrefs.cxx -g++ -D_REENTRANT -DLinux -Wdate-time -D_FORTIFY_SOURCE=2 -DUSE_X11 -I. -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -DFLTK_API_MINOR_VERSION=3 -I/usr/include -I/build/reproducible-path/imview-1.1.9h/extensions/Fl_Native_File_Chooser -O2 -Wall -Wno-return-type -Wno-unknown-pragmas -g -O2 -ffile-prefix-map=/build/reproducible-path/imview-1.1.9h=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wno-deprecated -I/build/reproducible-path/imview-1.1.9h/extensions/Fl_Native_File_Chooser -I. -I. -I../include -c bivHist.cxx -g++ -D_REENTRANT -DLinux -Wdate-time -D_FORTIFY_SOURCE=2 -DUSE_X11 -I. -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -DFLTK_API_MINOR_VERSION=3 -I/usr/include -I/build/reproducible-path/imview-1.1.9h/extensions/Fl_Native_File_Chooser -O2 -Wall -Wno-return-type -Wno-unknown-pragmas -g -O2 -ffile-prefix-map=/build/reproducible-path/imview-1.1.9h=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wno-deprecated -I/build/reproducible-path/imview-1.1.9h/extensions/Fl_Native_File_Chooser -I. -I. -I../include -c machine.cxx -g++ -D_REENTRANT -DLinux -Wdate-time -D_FORTIFY_SOURCE=2 -DUSE_X11 -I. -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -DFLTK_API_MINOR_VERSION=3 -I/usr/include -I/build/reproducible-path/imview-1.1.9h/extensions/Fl_Native_File_Chooser -O2 -Wall -Wno-return-type -Wno-unknown-pragmas -g -O2 -ffile-prefix-map=/build/reproducible-path/imview-1.1.9h=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wno-deprecated -I/build/reproducible-path/imview-1.1.9h/extensions/Fl_Native_File_Chooser -I. -I. -I../include -c progressInfo.cxx -g++ -D_REENTRANT -DLinux -Wdate-time -D_FORTIFY_SOURCE=2 -DUSE_X11 -I. -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -DFLTK_API_MINOR_VERSION=3 -I/usr/include -I/build/reproducible-path/imview-1.1.9h/extensions/Fl_Native_File_Chooser -O2 -Wall -Wno-return-type -Wno-unknown-pragmas -g -O2 -ffile-prefix-map=/build/reproducible-path/imview-1.1.9h=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wno-deprecated -I/build/reproducible-path/imview-1.1.9h/extensions/Fl_Native_File_Chooser -I. -I. -I../include -c rawImage.cxx -g++ -D_REENTRANT -DLinux -Wdate-time -D_FORTIFY_SOURCE=2 -DUSE_X11 -I. -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -DFLTK_API_MINOR_VERSION=3 -I/usr/include -I/build/reproducible-path/imview-1.1.9h/extensions/Fl_Native_File_Chooser -O2 -Wall -Wno-return-type -Wno-unknown-pragmas -g -O2 -ffile-prefix-map=/build/reproducible-path/imview-1.1.9h=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wno-deprecated -I/build/reproducible-path/imview-1.1.9h/extensions/Fl_Native_File_Chooser -I. -I. -I../include -c StatusBox.cxx -g++ -D_REENTRANT -DLinux -Wdate-time -D_FORTIFY_SOURCE=2 -DUSE_X11 -I. -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -DFLTK_API_MINOR_VERSION=3 -I/usr/include -I/build/reproducible-path/imview-1.1.9h/extensions/Fl_Native_File_Chooser -O2 -Wall -Wno-return-type -Wno-unknown-pragmas -g -O2 -ffile-prefix-map=/build/reproducible-path/imview-1.1.9h=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wno-deprecated -I/build/reproducible-path/imview-1.1.9h/extensions/Fl_Native_File_Chooser -I. -I. -I../include -c annotatePoints.cxx -g++ -D_REENTRANT -DLinux -Wdate-time -D_FORTIFY_SOURCE=2 -DUSE_X11 -I. -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -DFLTK_API_MINOR_VERSION=3 -I/usr/include -I/build/reproducible-path/imview-1.1.9h/extensions/Fl_Native_File_Chooser -O2 -Wall -Wno-return-type -Wno-unknown-pragmas -g -O2 -ffile-prefix-map=/build/reproducible-path/imview-1.1.9h=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wno-deprecated -I/build/reproducible-path/imview-1.1.9h/extensions/Fl_Native_File_Chooser -I. -I. -I../include -c toolbar.cxx -g++ -D_REENTRANT -DLinux -Wdate-time -D_FORTIFY_SOURCE=2 -DUSE_X11 -I. -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -DFLTK_API_MINOR_VERSION=3 -I/usr/include -I/build/reproducible-path/imview-1.1.9h/extensions/Fl_Native_File_Chooser -O2 -Wall -Wno-return-type -Wno-unknown-pragmas -g -O2 -ffile-prefix-map=/build/reproducible-path/imview-1.1.9h=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wno-deprecated -I/build/reproducible-path/imview-1.1.9h/extensions/Fl_Native_File_Chooser -I. -I. -I../include -c transferRGBFunction.cxx -g++ -D_REENTRANT -DLinux -Wdate-time -D_FORTIFY_SOURCE=2 -DUSE_X11 -I. -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -DFLTK_API_MINOR_VERSION=3 -I/usr/include -I/build/reproducible-path/imview-1.1.9h/extensions/Fl_Native_File_Chooser -O2 -Wall -Wno-return-type -Wno-unknown-pragmas -g -O2 -ffile-prefix-map=/build/reproducible-path/imview-1.1.9h=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wno-deprecated -I/build/reproducible-path/imview-1.1.9h/extensions/Fl_Native_File_Chooser -I. -I. -I../include -c transferRGBFunctionBox.cxx -g++ -D_REENTRANT -DLinux -Wdate-time -D_FORTIFY_SOURCE=2 -DUSE_X11 -I. -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -DFLTK_API_MINOR_VERSION=3 -I/usr/include -I/build/reproducible-path/imview-1.1.9h/extensions/Fl_Native_File_Chooser -O2 -Wall -Wno-return-type -Wno-unknown-pragmas -g -O2 -ffile-prefix-map=/build/reproducible-path/imview-1.1.9h=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wno-deprecated -I/build/reproducible-path/imview-1.1.9h/extensions/Fl_Native_File_Chooser -I. -I. -I../include -c transferRGBHistoBox.cxx -g++ -D_REENTRANT -DLinux -Wdate-time -D_FORTIFY_SOURCE=2 -DUSE_X11 -I. -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -DFLTK_API_MINOR_VERSION=3 -I/usr/include -I/build/reproducible-path/imview-1.1.9h/extensions/Fl_Native_File_Chooser -O2 -Wall -Wno-return-type -Wno-unknown-pragmas -g -O2 -ffile-prefix-map=/build/reproducible-path/imview-1.1.9h=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wno-deprecated -I/build/reproducible-path/imview-1.1.9h/extensions/Fl_Native_File_Chooser -I. -I. -I../include -c transferRGBBox.cxx -g++ -D_REENTRANT -DLinux -Wdate-time -D_FORTIFY_SOURCE=2 -DUSE_X11 -I. -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -DFLTK_API_MINOR_VERSION=3 -I/usr/include -I/build/reproducible-path/imview-1.1.9h/extensions/Fl_Native_File_Chooser -O2 -Wall -Wno-return-type -Wno-unknown-pragmas -g -O2 -ffile-prefix-map=/build/reproducible-path/imview-1.1.9h=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wno-deprecated -I/build/reproducible-path/imview-1.1.9h/extensions/Fl_Native_File_Chooser -I. -I. -I../include -c sliceSlider.cxx -g++ -D_REENTRANT -DLinux -Wdate-time -D_FORTIFY_SOURCE=2 -DUSE_X11 -I. -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -DFLTK_API_MINOR_VERSION=3 -I/usr/include -I/build/reproducible-path/imview-1.1.9h/extensions/Fl_Native_File_Chooser -O2 -Wall -Wno-return-type -Wno-unknown-pragmas -g -O2 -ffile-prefix-map=/build/reproducible-path/imview-1.1.9h=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wno-deprecated -I/build/reproducible-path/imview-1.1.9h/extensions/Fl_Native_File_Chooser -I. -I. -I../include -c view3d.cxx -g++ -D_REENTRANT -DLinux -Wdate-time -D_FORTIFY_SOURCE=2 -DUSE_X11 -I. -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -DFLTK_API_MINOR_VERSION=3 -I/usr/include -I/build/reproducible-path/imview-1.1.9h/extensions/Fl_Native_File_Chooser -O2 -Wall -Wno-return-type -Wno-unknown-pragmas -g -O2 -ffile-prefix-map=/build/reproducible-path/imview-1.1.9h=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wno-deprecated -I/build/reproducible-path/imview-1.1.9h/extensions/Fl_Native_File_Chooser -I. -I. -I../include -c simpleViewer.cxx -g++ -D_REENTRANT -DLinux -Wdate-time -D_FORTIFY_SOURCE=2 -DUSE_X11 -I. -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -DFLTK_API_MINOR_VERSION=3 -I/usr/include -I/build/reproducible-path/imview-1.1.9h/extensions/Fl_Native_File_Chooser -O2 -Wall -Wno-return-type -Wno-unknown-pragmas -g -O2 -ffile-prefix-map=/build/reproducible-path/imview-1.1.9h=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wno-deprecated -I/build/reproducible-path/imview-1.1.9h/extensions/Fl_Native_File_Chooser -I. -I. -I../include -c registerSequence.cxx my_Image.cxx: In function 'void zoominw_only(uchar*, const uchar*, int, int, int, int, int, int, int, int)': my_Image.cxx:440:12: warning: variable 'ey' set but not used [-Wunused-but-set-variable] 440 | int ey, inc2y; @@ -2798,14 +2814,6 @@ my_Image.cxx:440:16: warning: variable 'inc2y' set but not used [-Wunused-but-set-variable] 440 | int ey, inc2y; | ^~~~~ -machine.cxx: In function 'const char* myDirName(const char*)': -machine.cxx:173:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 173 | char *retval = "."; // default return value - | ^~~ -machine.cxx: In function 'void imtempnam(char*)': -machine.cxx:120:15: warning: ignoring return value of 'char* tmpnam(char*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 120 | tmpnam(filename); - | ~~~~~~^~~~~~~~~~ printPrefs.cxx: In member function 'int printprefs::doThePrinting(bool)': printPrefs.cxx:347:32: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 347 | if ((pipeCommand != 0) && (pipeCommand[0] == '\0') @@ -2816,30 +2824,59 @@ printPrefs.cxx:248:20: warning: variable 'vp' set but not used [-Wunused-but-set-variable] 248 | volatile void *vp; | ^~ -printSpect.cxx: In member function 'int printspect::doThePrinting()': -printSpect.cxx:236:36: warning: suggest parentheses around '&&' within '||' [-Wparentheses] - 236 | if ((pipeCommand != 0) && (pipeCommand[0] == '\0') - | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ -printSpect.cxx:250:33: warning: suggest parentheses around '&&' within '||' [-Wparentheses] - 250 | if ((filename != 0) && (filename[0] == '\0') - | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ -printSpect.cxx:191:13: warning: variable 'papertype' set but not used [-Wunused-but-set-variable] - 191 | char papertype; - | ^~~~~~~~~ -printSpect.cxx:194:13: warning: variable 'nbcopies' set but not used [-Wunused-but-set-variable] - 194 | int nbcopies; - | ^~~~~~~~ -saveSpect.cxx: In member function 'void savespect::toggleExtension(int)': -saveSpect.cxx:112:22: warning: the address of 'inputContent' will never be NULL [-Waddress] - 112 | if (inputContent != 0) { - | ~~~~~~~~~~~~~^~~~ -saveSpect.cxx:106:17: note: 'inputContent' declared here - 106 | static char inputContent[1024]; - | ^~~~~~~~~~~~ -profileBox.cxx: In member function 'virtual int myProfileBox::handle(int)': -profileBox.cxx:144:9: warning: variable 'button' set but not used [-Wunused-but-set-variable] - 144 | int button; - | ^~~~~~ +imview.cxx: In function 'void checkArgs(int, char**, char***, char***, double*, double*)': +imview.cxx:757:12: warning: variable 'checkMinus' set but not used [-Wunused-but-set-variable] + 757 | bool checkMinus = true; // check that arguments start with -, when false, even those will be considered images + | ^~~~~~~~~~ +imview.cxx: In function 'void darwin_jobbg(int, char**)': +imview.cxx:1751:17: warning: 'memset' used with length equal to number of elements without multiplication by element size [-Wmemset-elt-size] + 1751 | memset(cleanedCmd, 0, DFLTSTRLEN); // all NULL pointers + | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ +imview.cxx:1747:19: warning: variable 'cmdlen' set but not used [-Wunused-but-set-variable] + 1747 | int i, cmdlen, l; + | ^~~~~~ +g++ -D_REENTRANT -DLinux -Wdate-time -D_FORTIFY_SOURCE=2 -DUSE_X11 -I. -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -DFLTK_API_MINOR_VERSION=3 -I/usr/include -I/build/reproducible-path/imview-1.1.9h/extensions/Fl_Native_File_Chooser -O2 -Wall -Wno-return-type -Wno-unknown-pragmas -g -O2 -ffile-prefix-map=/build/reproducible-path/imview-1.1.9h=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wno-deprecated -I/build/reproducible-path/imview-1.1.9h/extensions/Fl_Native_File_Chooser -I. -I. -I../include -c axisBox.cxx +printPrefs.cxx:429:19: warning: ignoring return value of 'int system(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 429 | system(previewCommand); + | ~~~~~~^~~~~~~~~~~~~~~~ +imtranslate.cxx: In member function 'double* imageIO::get3DRawDataVector(int, int, int*)': +imtranslate.cxx:731:24: warning: variable 'xp' set but not used [-Wunused-but-set-variable] + 731 | uchar *xp; + | ^~ +g++ -D_REENTRANT -DLinux -Wdate-time -D_FORTIFY_SOURCE=2 -DUSE_X11 -I. -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -DFLTK_API_MINOR_VERSION=3 -I/usr/include -I/build/reproducible-path/imview-1.1.9h/extensions/Fl_Native_File_Chooser -O2 -Wall -Wno-return-type -Wno-unknown-pragmas -g -O2 -ffile-prefix-map=/build/reproducible-path/imview-1.1.9h=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wno-deprecated -I/build/reproducible-path/imview-1.1.9h/extensions/Fl_Native_File_Chooser -I. -I. -I../include -c saveSpect.cxx +g++ -D_REENTRANT -DLinux -Wdate-time -D_FORTIFY_SOURCE=2 -DUSE_X11 -I. -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -DFLTK_API_MINOR_VERSION=3 -I/usr/include -I/build/reproducible-path/imview-1.1.9h/extensions/Fl_Native_File_Chooser -O2 -Wall -Wno-return-type -Wno-unknown-pragmas -g -O2 -ffile-prefix-map=/build/reproducible-path/imview-1.1.9h=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wno-deprecated -I/build/reproducible-path/imview-1.1.9h/extensions/Fl_Native_File_Chooser -I. -I. -I../include -c printSpect.cxx +g++ -D_REENTRANT -DLinux -Wdate-time -D_FORTIFY_SOURCE=2 -DUSE_X11 -I. -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -DFLTK_API_MINOR_VERSION=3 -I/usr/include -I/build/reproducible-path/imview-1.1.9h/extensions/Fl_Native_File_Chooser -O2 -Wall -Wno-return-type -Wno-unknown-pragmas -g -O2 -ffile-prefix-map=/build/reproducible-path/imview-1.1.9h=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wno-deprecated -I/build/reproducible-path/imview-1.1.9h/extensions/Fl_Native_File_Chooser -I. -I. -I../include -c profileBox.cxx +g++ -D_REENTRANT -DLinux -Wdate-time -D_FORTIFY_SOURCE=2 -DUSE_X11 -I. -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -DFLTK_API_MINOR_VERSION=3 -I/usr/include -I/build/reproducible-path/imview-1.1.9h/extensions/Fl_Native_File_Chooser -O2 -Wall -Wno-return-type -Wno-unknown-pragmas -g -O2 -ffile-prefix-map=/build/reproducible-path/imview-1.1.9h=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wno-deprecated -I/build/reproducible-path/imview-1.1.9h/extensions/Fl_Native_File_Chooser -I. -I. -I../include -c userPrefs.cxx +pointfile.cxx: In member function 'virtual void mypoint::draw()': +pointfile.cxx:278:17: warning: variable 'ws' set but not used [-Wunused-but-set-variable] + 278 | int ws, wss, wmax, hs, hss, xs, ys; + | ^~ +pointfile.cxx:278:32: warning: variable 'hs' set but not used [-Wunused-but-set-variable] + 278 | int ws, wss, wmax, hs, hss, xs, ys; + | ^~ +pointfile.cxx: In member function 'void mypoint::rotate90p()': +pointfile.cxx:388:9: warning: variable 'imw' set but not used [-Wunused-but-set-variable] + 388 | int imw, imh; + | ^~~ +pointfile.cxx: In member function 'void mypoint::rotate3dup()': +pointfile.cxx:422:9: warning: variable 'imw' set but not used [-Wunused-but-set-variable] + 422 | int imw, imh, imt; + | ^~~ +pointfile.cxx:422:19: warning: variable 'imt' set but not used [-Wunused-but-set-variable] + 422 | int imw, imh, imt; + | ^~~ +pointfile.cxx: In member function 'void mypoint::rotate3ddown()': +pointfile.cxx:445:9: warning: variable 'imw' set but not used [-Wunused-but-set-variable] + 445 | int imw, imh, imt; + | ^~~ +pointfile.cxx:445:14: warning: variable 'imh' set but not used [-Wunused-but-set-variable] + 445 | int imw, imh, imt; + | ^~~ +g++ -D_REENTRANT -DLinux -Wdate-time -D_FORTIFY_SOURCE=2 -DUSE_X11 -I. -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -DFLTK_API_MINOR_VERSION=3 -I/usr/include -I/build/reproducible-path/imview-1.1.9h/extensions/Fl_Native_File_Chooser -O2 -Wall -Wno-return-type -Wno-unknown-pragmas -g -O2 -ffile-prefix-map=/build/reproducible-path/imview-1.1.9h=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wno-deprecated -I/build/reproducible-path/imview-1.1.9h/extensions/Fl_Native_File_Chooser -I. -I. -I../include -c bivHist.cxx +imview.cxx: In function 'void printCredits(char*)': +imview.cxx:651:11: warning: ignoring return value of 'char* getcwd(char*, size_t)' declared with attribute 'warn_unused_result' [-Wunused-result] + 651 | getcwd(currentpath, DFLTSTRLEN); + | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ savePrefs.cxx: In member function 'void saveprefs::toggleExtension(int)': savePrefs.cxx:158:22: warning: the address of 'inputContent' will never be NULL [-Waddress] 158 | if (inputContent != 0) { @@ -2847,45 +2884,52 @@ savePrefs.cxx:152:17: note: 'inputContent' declared here 152 | static char inputContent[DFLTSTRLEN]; | ^~~~~~~~~~~~ -StatusBox.cxx: In member function 'void StatusBox::warning(const char*, ...)': -StatusBox.cxx:134:41: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 1014 [-Wformat-truncation=] - 134 | snprintf(s1, LINELENGTH, "@B%d@C%d@.%s", FL_BLACK, FL_YELLOW, s2); - | ^~ ~~ +g++ -D_REENTRANT -DLinux -Wdate-time -D_FORTIFY_SOURCE=2 -DUSE_X11 -I. -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -DFLTK_API_MINOR_VERSION=3 -I/usr/include -I/build/reproducible-path/imview-1.1.9h/extensions/Fl_Native_File_Chooser -O2 -Wall -Wno-return-type -Wno-unknown-pragmas -g -O2 -ffile-prefix-map=/build/reproducible-path/imview-1.1.9h=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wno-deprecated -I/build/reproducible-path/imview-1.1.9h/extensions/Fl_Native_File_Chooser -I. -I. -I../include -c machine.cxx +g++ -D_REENTRANT -DLinux -Wdate-time -D_FORTIFY_SOURCE=2 -DUSE_X11 -I. -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -DFLTK_API_MINOR_VERSION=3 -I/usr/include -I/build/reproducible-path/imview-1.1.9h/extensions/Fl_Native_File_Chooser -O2 -Wall -Wno-return-type -Wno-unknown-pragmas -g -O2 -ffile-prefix-map=/build/reproducible-path/imview-1.1.9h=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wno-deprecated -I/build/reproducible-path/imview-1.1.9h/extensions/Fl_Native_File_Chooser -I. -I. -I../include -c progressInfo.cxx +g++ -D_REENTRANT -DLinux -Wdate-time -D_FORTIFY_SOURCE=2 -DUSE_X11 -I. -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -DFLTK_API_MINOR_VERSION=3 -I/usr/include -I/build/reproducible-path/imview-1.1.9h/extensions/Fl_Native_File_Chooser -O2 -Wall -Wno-return-type -Wno-unknown-pragmas -g -O2 -ffile-prefix-map=/build/reproducible-path/imview-1.1.9h=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wno-deprecated -I/build/reproducible-path/imview-1.1.9h/extensions/Fl_Native_File_Chooser -I. -I. -I../include -c rawImage.cxx +spectraBox.cxx: In member function 'virtual int mySpectraBox::handle(int)': +spectraBox.cxx:100:9: warning: variable 'button' set but not used [-Wunused-but-set-variable] + 100 | int button; + | ^~~~~~ +imageViewer.cxx: In member function 'void imageViewer::displayCurrentImage()': +imageViewer.cxx:191:12: warning: variable 'oldZoomFactor' set but not used [-Wunused-but-set-variable] + 191 | double oldZoomFactor, df; + | ^~~~~~~~~~~~~ +imview.cxx: In function 'void showSimpleBanner()': +imview.cxx:470:57: warning: '%s' directive output may be truncated writing 17 bytes into a region of size between 0 and 1023 [-Wformat-truncation=] + 470 | snprintf(pathToSplash, DFLTSTRLEN, "%s%c%s", tmppath, SLASH, splashImg); + | ^~ ~~~~~~~~~ In file included from /usr/include/stdio.h:906, - from StatusBox.cxx:52: + from /usr/include/FL/fl_utf8.h:34, + from /usr/include/FL/Fl.H:32, + from imview.cxx:50: In function 'int snprintf(char*, size_t, const char*, ...)', - inlined from 'void StatusBox::warning(const char*, ...)' at StatusBox.cxx:134:13: -/usr/include/x86_64-linux-gnu/bits/stdio2.h:54:35: note: '__builtin___snprintf_chk' output between 11 and 1034 bytes into a destination of size 1024 + inlined from 'void showSimpleBanner()' at imview.cxx:470:25: +/usr/include/x86_64-linux-gnu/bits/stdio2.h:54:35: note: '__builtin___snprintf_chk' output between 19 and 1042 bytes into a destination of size 1024 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ -spectraBox.cxx: In member function 'virtual int mySpectraBox::handle(int)': -spectraBox.cxx:100:9: warning: variable 'button' set but not used [-Wunused-but-set-variable] - 100 | int button; - | ^~~~~~ -StatusBox.cxx: In member function 'void StatusBox::error(const char*, ...)': -StatusBox.cxx:149:43: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 1012 [-Wformat-truncation=] - 149 | snprintf(s1, LINELENGTH, "@m@B%d@C%d@.%s", FL_BLACK, FL_RED, s2); - | ^~ ~~ +menucb.cxx: In function 'void openoverlay_cb(Fl_Widget*, void*)': +menucb.cxx:761:43: warning: unused variable 'p' [-Wunused-variable] + 761 | static const char *currentfile = 0, *p = 0; + | ^ +imview.cxx: In function 'void readUserPrefs()': +imview.cxx:1266:48: warning: '%s' directive output may be truncated writing 18 bytes into a region of size between 0 and 1023 [-Wformat-truncation=] + 1266 | snprintf(installpath, DFLTSTRLEN, "%s%c%s", prefpath, PATHSEP, PrefPath); + | ^~ In function 'int snprintf(char*, size_t, const char*, ...)', - inlined from 'void StatusBox::error(const char*, ...)' at StatusBox.cxx:149:13: -/usr/include/x86_64-linux-gnu/bits/stdio2.h:54:35: note: '__builtin___snprintf_chk' output between 13 and 1036 bytes into a destination of size 1024 + inlined from 'void readUserPrefs()' at imview.cxx:1266:17: +/usr/include/x86_64-linux-gnu/bits/stdio2.h:54:35: note: '__builtin___snprintf_chk' output between 20 and 1043 bytes into a destination of size 1024 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ -printPrefs.cxx:429:19: warning: ignoring return value of 'int system(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 429 | system(previewCommand); - | ~~~~~~^~~~~~~~~~~~~~~~ -imtranslate.cxx: In member function 'double* imageIO::get3DRawDataVector(int, int, int*)': -imtranslate.cxx:731:24: warning: variable 'xp' set but not used [-Wunused-but-set-variable] - 731 | uchar *xp; - | ^~ +g++ -D_REENTRANT -DLinux -Wdate-time -D_FORTIFY_SOURCE=2 -DUSE_X11 -I. -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -DFLTK_API_MINOR_VERSION=3 -I/usr/include -I/build/reproducible-path/imview-1.1.9h/extensions/Fl_Native_File_Chooser -O2 -Wall -Wno-return-type -Wno-unknown-pragmas -g -O2 -ffile-prefix-map=/build/reproducible-path/imview-1.1.9h=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wno-deprecated -I/build/reproducible-path/imview-1.1.9h/extensions/Fl_Native_File_Chooser -I. -I. -I../include -c StatusBox.cxx In file included from spectraBox.cxx:46: spectraBox.hxx: In member function 'void mySpectraBox::handleButtonDragged()': spectraBox.hxx:117:23: warning: '__builtin___sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=] @@ -2908,96 +2952,56 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ -menucb.cxx: In function 'void openoverlay_cb(Fl_Widget*, void*)': -menucb.cxx:761:43: warning: unused variable 'p' [-Wunused-variable] - 761 | static const char *currentfile = 0, *p = 0; - | ^ -profileBox.cxx: In member function 'void myProfileBox::handleButtonDragged()': -profileBox.cxx:374:17: warning: '%g' directive writing between 1 and 13 bytes into a region of size 10 [-Wformat-overflow=] - 374 | sprintf(a, "%g", Rv); - | ^~ -In member function 'void profile::setRValue(double)', - inlined from 'void myProfileBox::handleButtonDragged()' at profileBox.cxx:198:23: -profileBox.cxx:374:16: note: assuming directive output of 12 bytes - 374 | sprintf(a, "%g", Rv); - | ^~~~ -In file included from /usr/include/stdio.h:906, - from /usr/include/c++/13/cstdio:42, - from /usr/include/c++/13/ext/string_conversions.h:45, - from /usr/include/c++/13/bits/basic_string.h:4109, - from /usr/include/c++/13/string:54, - from imview.hxx:53, - from profileBox.cxx:45: +menucb.cxx: In function 'void whodunit_cb(Fl_Widget*, void*)': +menucb.cxx:967:11: warning: ignoring return value of 'char* getcwd(char*, size_t)' declared with attribute 'warn_unused_result' [-Wunused-result] + 967 | getcwd(currentpath, DFLTSTRLEN); + | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ +g++ -D_REENTRANT -DLinux -Wdate-time -D_FORTIFY_SOURCE=2 -DUSE_X11 -I. -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -DFLTK_API_MINOR_VERSION=3 -I/usr/include -I/build/reproducible-path/imview-1.1.9h/extensions/Fl_Native_File_Chooser -O2 -Wall -Wno-return-type -Wno-unknown-pragmas -g -O2 -ffile-prefix-map=/build/reproducible-path/imview-1.1.9h=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wno-deprecated -I/build/reproducible-path/imview-1.1.9h/extensions/Fl_Native_File_Chooser -I. -I. -I../include -c annotatePoints.cxx +g++ -D_REENTRANT -DLinux -Wdate-time -D_FORTIFY_SOURCE=2 -DUSE_X11 -I. -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -DFLTK_API_MINOR_VERSION=3 -I/usr/include -I/build/reproducible-path/imview-1.1.9h/extensions/Fl_Native_File_Chooser -O2 -Wall -Wno-return-type -Wno-unknown-pragmas -g -O2 -ffile-prefix-map=/build/reproducible-path/imview-1.1.9h=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wno-deprecated -I/build/reproducible-path/imview-1.1.9h/extensions/Fl_Native_File_Chooser -I. -I. -I../include -c toolbar.cxx +g++ -D_REENTRANT -DLinux -Wdate-time -D_FORTIFY_SOURCE=2 -DUSE_X11 -I. -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -DFLTK_API_MINOR_VERSION=3 -I/usr/include -I/build/reproducible-path/imview-1.1.9h/extensions/Fl_Native_File_Chooser -O2 -Wall -Wno-return-type -Wno-unknown-pragmas -g -O2 -ffile-prefix-map=/build/reproducible-path/imview-1.1.9h=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wno-deprecated -I/build/reproducible-path/imview-1.1.9h/extensions/Fl_Native_File_Chooser -I. -I. -I../include -c transferRGBFunction.cxx +machine.cxx: In function 'const char* myDirName(const char*)': +machine.cxx:173:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 173 | char *retval = "."; // default return value + | ^~~ +imview.cxx: In function 'void run()': +imview.cxx:1456:37: warning: '%s' directive writing up to 1023 bytes into a region of size between 86 and 96 [-Wformat-overflow=] + 1456 | sprintf(tmptitle, "[%d] %s", serverPortNumber, appName); + | ^~ ~~~~~~~ In function 'int sprintf(char*, const char*, ...)', - inlined from 'void profile::setRValue(double)' at profileBox.cxx:374:12, - inlined from 'void myProfileBox::handleButtonDragged()' at profileBox.cxx:198:23: -/usr/include/x86_64-linux-gnu/bits/stdio2.h:30:34: note: '__builtin___sprintf_chk' output between 2 and 14 bytes into a destination of size 10 + inlined from 'void run()' at imview.cxx:1456:13: +/usr/include/x86_64-linux-gnu/bits/stdio2.h:30:34: note: '__builtin___sprintf_chk' output between 5 and 1038 bytes into a destination of size 100 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ -profileBox.cxx: In member function 'void profile::setRValue(double)': -profileBox.cxx:374:17: warning: '%g' directive writing between 1 and 13 bytes into a region of size 10 [-Wformat-overflow=] - 374 | sprintf(a, "%g", Rv); - | ^~ -profileBox.cxx:374:16: note: assuming directive output of 12 bytes - 374 | sprintf(a, "%g", Rv); - | ^~~~ +imview.cxx: In function 'void run()': +imview.cxx:1451:37: warning: '%s' directive writing up to 1023 bytes into a region of size between 86 and 96 [-Wformat-overflow=] + 1451 | sprintf(tmptitle, "[%d] %s", serverPortNumber, appName); + | ^~ ~~~~~~~ In function 'int sprintf(char*, const char*, ...)', - inlined from 'void profile::setRValue(double)' at profileBox.cxx:374:12: -/usr/include/x86_64-linux-gnu/bits/stdio2.h:30:34: note: '__builtin___sprintf_chk' output between 2 and 14 bytes into a destination of size 10 + inlined from 'void run()' at imview.cxx:1451:13: +/usr/include/x86_64-linux-gnu/bits/stdio2.h:30:34: note: '__builtin___sprintf_chk' output between 5 and 1038 bytes into a destination of size 100 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ -pointfile.cxx: In member function 'virtual void mypoint::draw()': -pointfile.cxx:278:17: warning: variable 'ws' set but not used [-Wunused-but-set-variable] - 278 | int ws, wss, wmax, hs, hss, xs, ys; - | ^~ -pointfile.cxx:278:32: warning: variable 'hs' set but not used [-Wunused-but-set-variable] - 278 | int ws, wss, wmax, hs, hss, xs, ys; - | ^~ -pointfile.cxx: In member function 'void mypoint::rotate90p()': -pointfile.cxx:388:9: warning: variable 'imw' set but not used [-Wunused-but-set-variable] - 388 | int imw, imh; - | ^~~ -pointfile.cxx: In member function 'void mypoint::rotate3dup()': -pointfile.cxx:422:9: warning: variable 'imw' set but not used [-Wunused-but-set-variable] - 422 | int imw, imh, imt; - | ^~~ -pointfile.cxx:422:19: warning: variable 'imt' set but not used [-Wunused-but-set-variable] - 422 | int imw, imh, imt; - | ^~~ -pointfile.cxx: In member function 'void mypoint::rotate3ddown()': -pointfile.cxx:445:9: warning: variable 'imw' set but not used [-Wunused-but-set-variable] - 445 | int imw, imh, imt; - | ^~~ -pointfile.cxx:445:14: warning: variable 'imh' set but not used [-Wunused-but-set-variable] - 445 | int imw, imh, imt; - | ^~~ -imageViewer.cxx: In member function 'void imageViewer::displayCurrentImage()': -imageViewer.cxx:191:12: warning: variable 'oldZoomFactor' set but not used [-Wunused-but-set-variable] - 191 | double oldZoomFactor, df; - | ^~~~~~~~~~~~~ -menucb.cxx: In function 'void whodunit_cb(Fl_Widget*, void*)': -menucb.cxx:967:11: warning: ignoring return value of 'char* getcwd(char*, size_t)' declared with attribute 'warn_unused_result' [-Wunused-result] - 967 | getcwd(currentpath, DFLTSTRLEN); - | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ -imview.cxx: In function 'void checkArgs(int, char**, char***, char***, double*, double*)': -imview.cxx:757:12: warning: variable 'checkMinus' set but not used [-Wunused-but-set-variable] - 757 | bool checkMinus = true; // check that arguments start with -, when false, even those will be considered images - | ^~~~~~~~~~ -imview.cxx: In function 'void darwin_jobbg(int, char**)': -imview.cxx:1751:17: warning: 'memset' used with length equal to number of elements without multiplication by element size [-Wmemset-elt-size] - 1751 | memset(cleanedCmd, 0, DFLTSTRLEN); // all NULL pointers - | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ -imview.cxx:1747:19: warning: variable 'cmdlen' set but not used [-Wunused-but-set-variable] - 1747 | int i, cmdlen, l; - | ^~~~~~ +machine.cxx: In function 'void imtempnam(char*)': +machine.cxx:120:15: warning: ignoring return value of 'char* tmpnam(char*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 120 | tmpnam(filename); + | ~~~~~~^~~~~~~~~~ +saveSpect.cxx: In member function 'void savespect::toggleExtension(int)': +saveSpect.cxx:112:22: warning: the address of 'inputContent' will never be NULL [-Waddress] + 112 | if (inputContent != 0) { + | ~~~~~~~~~~~~~^~~~ +saveSpect.cxx:106:17: note: 'inputContent' declared here + 106 | static char inputContent[1024]; + | ^~~~~~~~~~~~ +g++ -D_REENTRANT -DLinux -Wdate-time -D_FORTIFY_SOURCE=2 -DUSE_X11 -I. -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -DFLTK_API_MINOR_VERSION=3 -I/usr/include -I/build/reproducible-path/imview-1.1.9h/extensions/Fl_Native_File_Chooser -O2 -Wall -Wno-return-type -Wno-unknown-pragmas -g -O2 -ffile-prefix-map=/build/reproducible-path/imview-1.1.9h=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wno-deprecated -I/build/reproducible-path/imview-1.1.9h/extensions/Fl_Native_File_Chooser -I. -I. -I../include -c transferRGBFunctionBox.cxx +g++ -D_REENTRANT -DLinux -Wdate-time -D_FORTIFY_SOURCE=2 -DUSE_X11 -I. -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -DFLTK_API_MINOR_VERSION=3 -I/usr/include -I/build/reproducible-path/imview-1.1.9h/extensions/Fl_Native_File_Chooser -O2 -Wall -Wno-return-type -Wno-unknown-pragmas -g -O2 -ffile-prefix-map=/build/reproducible-path/imview-1.1.9h=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wno-deprecated -I/build/reproducible-path/imview-1.1.9h/extensions/Fl_Native_File_Chooser -I. -I. -I../include -c transferRGBHistoBox.cxx menucb.cxx: In function 'int starthelp(char*, const char*)': menucb.cxx:1063:16: warning: 'char* __builtin___strncat_chk(char*, const char*, long unsigned int, long unsigned int)' specified bound 1024 equals destination size [-Wstringop-truncation] 1063 | strncat(tmppath, fileToShow, DFLTSTRLEN); @@ -3013,6 +3017,7 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 139 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ +g++ -D_REENTRANT -DLinux -Wdate-time -D_FORTIFY_SOURCE=2 -DUSE_X11 -I. -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -DFLTK_API_MINOR_VERSION=3 -I/usr/include -I/build/reproducible-path/imview-1.1.9h/extensions/Fl_Native_File_Chooser -O2 -Wall -Wno-return-type -Wno-unknown-pragmas -g -O2 -ffile-prefix-map=/build/reproducible-path/imview-1.1.9h=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wno-deprecated -I/build/reproducible-path/imview-1.1.9h/extensions/Fl_Native_File_Chooser -I. -I. -I../include -c transferRGBBox.cxx In function 'char* strncat(char*, const char*, size_t)', inlined from 'int starthelp(char*, const char*)' at menucb.cxx:1014:9: /usr/include/x86_64-linux-gnu/bits/string_fortified.h:138:34: warning: 'char* __builtin___strncat_chk(char*, const char*, long unsigned int, long unsigned int)' specified bound 1024 equals destination size [-Wstringop-overflow=] @@ -3027,10 +3032,59 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 139 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ -imview.cxx: In function 'void printCredits(char*)': -imview.cxx:651:11: warning: ignoring return value of 'char* getcwd(char*, size_t)' declared with attribute 'warn_unused_result' [-Wunused-result] - 651 | getcwd(currentpath, DFLTSTRLEN); - | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ +printSpect.cxx: In member function 'int printspect::doThePrinting()': +printSpect.cxx:236:36: warning: suggest parentheses around '&&' within '||' [-Wparentheses] + 236 | if ((pipeCommand != 0) && (pipeCommand[0] == '\0') + | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ +printSpect.cxx:250:33: warning: suggest parentheses around '&&' within '||' [-Wparentheses] + 250 | if ((filename != 0) && (filename[0] == '\0') + | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ +printSpect.cxx:191:13: warning: variable 'papertype' set but not used [-Wunused-but-set-variable] + 191 | char papertype; + | ^~~~~~~~~ +printSpect.cxx:194:13: warning: variable 'nbcopies' set but not used [-Wunused-but-set-variable] + 194 | int nbcopies; + | ^~~~~~~~ +imview.cxx: In function 'int main(int, char**)': +imview.cxx:1941:16: warning: 'char* __builtin_strncpy(char*, const char*, long unsigned int)' specified bound 1024 equals destination size [-Wstringop-truncation] + 1941 | strncpy(runningpath, p, DFLTSTRLEN); + | ^ +g++ -D_REENTRANT -DLinux -Wdate-time -D_FORTIFY_SOURCE=2 -DUSE_X11 -I. -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -DFLTK_API_MINOR_VERSION=3 -I/usr/include -I/build/reproducible-path/imview-1.1.9h/extensions/Fl_Native_File_Chooser -O2 -Wall -Wno-return-type -Wno-unknown-pragmas -g -O2 -ffile-prefix-map=/build/reproducible-path/imview-1.1.9h=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wno-deprecated -I/build/reproducible-path/imview-1.1.9h/extensions/Fl_Native_File_Chooser -I. -I. -I../include -c sliceSlider.cxx +g++ -D_REENTRANT -DLinux -Wdate-time -D_FORTIFY_SOURCE=2 -DUSE_X11 -I. -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -DFLTK_API_MINOR_VERSION=3 -I/usr/include -I/build/reproducible-path/imview-1.1.9h/extensions/Fl_Native_File_Chooser -O2 -Wall -Wno-return-type -Wno-unknown-pragmas -g -O2 -ffile-prefix-map=/build/reproducible-path/imview-1.1.9h=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wno-deprecated -I/build/reproducible-path/imview-1.1.9h/extensions/Fl_Native_File_Chooser -I. -I. -I../include -c view3d.cxx +StatusBox.cxx: In member function 'void StatusBox::warning(const char*, ...)': +StatusBox.cxx:134:41: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 1014 [-Wformat-truncation=] + 134 | snprintf(s1, LINELENGTH, "@B%d@C%d@.%s", FL_BLACK, FL_YELLOW, s2); + | ^~ ~~ +In file included from /usr/include/stdio.h:906, + from StatusBox.cxx:52: +In function 'int snprintf(char*, size_t, const char*, ...)', + inlined from 'void StatusBox::warning(const char*, ...)' at StatusBox.cxx:134:13: +/usr/include/x86_64-linux-gnu/bits/stdio2.h:54:35: note: '__builtin___snprintf_chk' output between 11 and 1034 bytes into a destination of size 1024 + 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, + | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 55 | __glibc_objsize (__s), __fmt, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 56 | __va_arg_pack ()); + | ~~~~~~~~~~~~~~~~~ +StatusBox.cxx: In member function 'void StatusBox::error(const char*, ...)': +StatusBox.cxx:149:43: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 1012 [-Wformat-truncation=] + 149 | snprintf(s1, LINELENGTH, "@m@B%d@C%d@.%s", FL_BLACK, FL_RED, s2); + | ^~ ~~ +In function 'int snprintf(char*, size_t, const char*, ...)', + inlined from 'void StatusBox::error(const char*, ...)' at StatusBox.cxx:149:13: +/usr/include/x86_64-linux-gnu/bits/stdio2.h:54:35: note: '__builtin___snprintf_chk' output between 13 and 1036 bytes into a destination of size 1024 + 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, + | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 55 | __glibc_objsize (__s), __fmt, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 56 | __va_arg_pack ()); + | ~~~~~~~~~~~~~~~~~ +g++ -D_REENTRANT -DLinux -Wdate-time -D_FORTIFY_SOURCE=2 -DUSE_X11 -I. -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -DFLTK_API_MINOR_VERSION=3 -I/usr/include -I/build/reproducible-path/imview-1.1.9h/extensions/Fl_Native_File_Chooser -O2 -Wall -Wno-return-type -Wno-unknown-pragmas -g -O2 -ffile-prefix-map=/build/reproducible-path/imview-1.1.9h=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wno-deprecated -I/build/reproducible-path/imview-1.1.9h/extensions/Fl_Native_File_Chooser -I. -I. -I../include -c simpleViewer.cxx +profileBox.cxx: In member function 'virtual int myProfileBox::handle(int)': +profileBox.cxx:144:9: warning: variable 'button' set but not used [-Wunused-but-set-variable] + 144 | int button; + | ^~~~~~ +g++ -D_REENTRANT -DLinux -Wdate-time -D_FORTIFY_SOURCE=2 -DUSE_X11 -I. -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -DFLTK_API_MINOR_VERSION=3 -I/usr/include -I/build/reproducible-path/imview-1.1.9h/extensions/Fl_Native_File_Chooser -O2 -Wall -Wno-return-type -Wno-unknown-pragmas -g -O2 -ffile-prefix-map=/build/reproducible-path/imview-1.1.9h=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wno-deprecated -I/build/reproducible-path/imview-1.1.9h/extensions/Fl_Native_File_Chooser -I. -I. -I../include -c registerSequence.cxx menucb.cxx: In function 'void whodunit_cb(Fl_Widget*, void*)': menucb.cxx:973:26: warning: '%s' directive writing up to 1023 bytes into a region of size 203 [-Wformat-overflow=] 973 | "Currentpath=%s\n" @@ -3049,66 +3103,56 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ -imview.cxx: In function 'void showSimpleBanner()': -imview.cxx:470:57: warning: '%s' directive output may be truncated writing 17 bytes into a region of size between 0 and 1023 [-Wformat-truncation=] - 470 | snprintf(pathToSplash, DFLTSTRLEN, "%s%c%s", tmppath, SLASH, splashImg); - | ^~ ~~~~~~~~~ +pointfile.cxx: In member function 'virtual void mypoint::draw()': +pointfile.cxx:284:20: warning: 'char* __builtin_strncpy(char*, const char*, long unsigned int)' specified bound 1024 equals destination size [-Wstringop-truncation] + 284 | strncpy(multitext, text, DFLTSTRLEN); + | ^ +profileBox.cxx: In member function 'void myProfileBox::handleButtonDragged()': +profileBox.cxx:374:17: warning: '%g' directive writing between 1 and 13 bytes into a region of size 10 [-Wformat-overflow=] + 374 | sprintf(a, "%g", Rv); + | ^~ +In member function 'void profile::setRValue(double)', + inlined from 'void myProfileBox::handleButtonDragged()' at profileBox.cxx:198:23: +profileBox.cxx:374:16: note: assuming directive output of 12 bytes + 374 | sprintf(a, "%g", Rv); + | ^~~~ In file included from /usr/include/stdio.h:906, - from /usr/include/FL/fl_utf8.h:34, - from /usr/include/FL/Fl.H:32, - from imview.cxx:50: -In function 'int snprintf(char*, size_t, const char*, ...)', - inlined from 'void showSimpleBanner()' at imview.cxx:470:25: -/usr/include/x86_64-linux-gnu/bits/stdio2.h:54:35: note: '__builtin___snprintf_chk' output between 19 and 1042 bytes into a destination of size 1024 - 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, - | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 55 | __glibc_objsize (__s), __fmt, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 56 | __va_arg_pack ()); - | ~~~~~~~~~~~~~~~~~ -imview.cxx: In function 'void readUserPrefs()': -imview.cxx:1266:48: warning: '%s' directive output may be truncated writing 18 bytes into a region of size between 0 and 1023 [-Wformat-truncation=] - 1266 | snprintf(installpath, DFLTSTRLEN, "%s%c%s", prefpath, PATHSEP, PrefPath); - | ^~ -In function 'int snprintf(char*, size_t, const char*, ...)', - inlined from 'void readUserPrefs()' at imview.cxx:1266:17: -/usr/include/x86_64-linux-gnu/bits/stdio2.h:54:35: note: '__builtin___snprintf_chk' output between 20 and 1043 bytes into a destination of size 1024 - 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, - | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 55 | __glibc_objsize (__s), __fmt, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 56 | __va_arg_pack ()); - | ~~~~~~~~~~~~~~~~~ -imview.cxx: In function 'void run()': -imview.cxx:1456:37: warning: '%s' directive writing up to 1023 bytes into a region of size between 86 and 96 [-Wformat-overflow=] - 1456 | sprintf(tmptitle, "[%d] %s", serverPortNumber, appName); - | ^~ ~~~~~~~ + from /usr/include/c++/13/cstdio:42, + from /usr/include/c++/13/ext/string_conversions.h:45, + from /usr/include/c++/13/bits/basic_string.h:4109, + from /usr/include/c++/13/string:54, + from imview.hxx:53, + from profileBox.cxx:45: In function 'int sprintf(char*, const char*, ...)', - inlined from 'void run()' at imview.cxx:1456:13: -/usr/include/x86_64-linux-gnu/bits/stdio2.h:30:34: note: '__builtin___sprintf_chk' output between 5 and 1038 bytes into a destination of size 100 + inlined from 'void profile::setRValue(double)' at profileBox.cxx:374:12, + inlined from 'void myProfileBox::handleButtonDragged()' at profileBox.cxx:198:23: +/usr/include/x86_64-linux-gnu/bits/stdio2.h:30:34: note: '__builtin___sprintf_chk' output between 2 and 14 bytes into a destination of size 10 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ -imview.cxx: In function 'void run()': -imview.cxx:1451:37: warning: '%s' directive writing up to 1023 bytes into a region of size between 86 and 96 [-Wformat-overflow=] - 1451 | sprintf(tmptitle, "[%d] %s", serverPortNumber, appName); - | ^~ ~~~~~~~ +profileBox.cxx: In member function 'void profile::setRValue(double)': +profileBox.cxx:374:17: warning: '%g' directive writing between 1 and 13 bytes into a region of size 10 [-Wformat-overflow=] + 374 | sprintf(a, "%g", Rv); + | ^~ +profileBox.cxx:374:16: note: assuming directive output of 12 bytes + 374 | sprintf(a, "%g", Rv); + | ^~~~ In function 'int sprintf(char*, const char*, ...)', - inlined from 'void run()' at imview.cxx:1451:13: -/usr/include/x86_64-linux-gnu/bits/stdio2.h:30:34: note: '__builtin___sprintf_chk' output between 5 and 1038 bytes into a destination of size 100 + inlined from 'void profile::setRValue(double)' at profileBox.cxx:374:12: +/usr/include/x86_64-linux-gnu/bits/stdio2.h:30:34: note: '__builtin___sprintf_chk' output between 2 and 14 bytes into a destination of size 10 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ -imview.cxx: In function 'int main(int, char**)': -imview.cxx:1941:16: warning: 'char* __builtin_strncpy(char*, const char*, long unsigned int)' specified bound 1024 equals destination size [-Wstringop-truncation] - 1941 | strncpy(runningpath, p, DFLTSTRLEN); - | ^ +pointfile.cxx: In member function 'void pointfile::readlist()': +pointfile.cxx:1623:36: warning: 'char* __builtin_strncpy(char*, const char*, long unsigned int)' specified bound 1024 equals destination size [-Wstringop-truncation] + 1623 | strncpy(text, pchline+nb, DFLTSTRLEN); + | ^ imageIO.cxx: In member function 'int imageIO::renderPSFile(const char*, int)': imageIO.cxx:1163:89: warning: '%s' directive writing up to 1023 bytes into a region of size between 899 and 901 [-Wformat-overflow=] 1163 | "-dTextAlphaBits=%u -dGraphicsAlphaBits=%u -g%dx%d -r%d -sOutputFile=%s %s -c quit 2> %s", @@ -3124,14 +3168,6 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ -pointfile.cxx: In member function 'virtual void mypoint::draw()': -pointfile.cxx:284:20: warning: 'char* __builtin_strncpy(char*, const char*, long unsigned int)' specified bound 1024 equals destination size [-Wstringop-truncation] - 284 | strncpy(multitext, text, DFLTSTRLEN); - | ^ -pointfile.cxx: In member function 'void pointfile::readlist()': -pointfile.cxx:1623:36: warning: 'char* __builtin_strncpy(char*, const char*, long unsigned int)' specified bound 1024 equals destination size [-Wstringop-truncation] - 1623 | strncpy(text, pchline+nb, DFLTSTRLEN); - | ^ imageViewer.cxx: In member function 'virtual int imageViewer::handle(int)': imageViewer.cxx:1656:16: warning: 'char* __builtin_strncpy(char*, const char*, long unsigned int)' specified bound 1024 equals destination size [-Wstringop-truncation] 1656 | strncpy(textEvent, Fl::event_text(), DFLTSTRLEN); @@ -3146,7 +3182,7 @@ make[2]: Leaving directory '/build/reproducible-path/imview-1.1.9h' make[1]: Leaving directory '/build/reproducible-path/imview-1.1.9h' dh_auto_test - make -j42 test "TESTSUITEFLAGS=-j42 --verbose" VERBOSE=1 + make -j20 test "TESTSUITEFLAGS=-j20 --verbose" VERBOSE=1 make[1]: Entering directory '/build/reproducible-path/imview-1.1.9h' TOP= . TARGET= imview @@ -3162,24 +3198,18 @@ create-stamp debian/debhelper-build-stamp dh_prep dh_auto_install --destdir=debian/imview/ - make -j42 install DESTDIR=/build/reproducible-path/imview-1.1.9h/debian/imview AM_UPDATE_INFO_DIR=no + make -j20 install DESTDIR=/build/reproducible-path/imview-1.1.9h/debian/imview AM_UPDATE_INFO_DIR=no make[1]: Entering directory '/build/reproducible-path/imview-1.1.9h' (cd fluid ; make ) This command does nothing, use for rebuilding the documentation mkdir /build/reproducible-path/imview-1.1.9h/debian/imview/usr mkdir /build/reproducible-path/imview-1.1.9h/debian/imview/usr -mkdir /build/reproducible-path/imview-1.1.9h/debian/imview/usr -mkdir: mkdir /build/reproducible-path/imview-1.1.9h/debian/imview/usr/bin +mkdir: mkdir /build/reproducible-path/imview-1.1.9h/debian/imview/usr/share cannot create directory '/build/reproducible-path/imview-1.1.9h/debian/imview/usr': File exists -mkdir /build/reproducible-path/imview-1.1.9h/debian/imview/usr/share -mkdir: cannot create directory '/build/reproducible-path/imview-1.1.9h/debian/imview/usr': File exists -mkdir /build/reproducible-path/imview-1.1.9h/debian/imview/usr/share -mkdir /build/reproducible-path/imview-1.1.9h/debian/imview/usr/share/imview -mkdir: cannot create directory '/build/reproducible-path/imview-1.1.9h/debian/imview/usr/share': File exists +mkdir /build/reproducible-path/imview-1.1.9h/debian/imview/usr/bin mkdir /build/reproducible-path/imview-1.1.9h/debian/imview/usr/share/imview -Installing as imview -mkdir: cannot create directory '/build/reproducible-path/imview-1.1.9h/debian/imview/usr/share/imview': File exists mkdir /build/reproducible-path/imview-1.1.9h/debian/imview/usr/share/imview/doc +Installing as imview make[2]: Entering directory '/build/reproducible-path/imview-1.1.9h/fluid' make[2]: 'imview_ui.a' is up to date. make[2]: Leaving directory '/build/reproducible-path/imview-1.1.9h/fluid' @@ -3225,8 +3255,8 @@ dh_gencontrol dh_md5sums dh_builddeb -dpkg-deb: building package 'imview' in '../imview_1.1.9h-4_amd64.deb'. dpkg-deb: building package 'imview-dbgsym' in '../imview-dbgsym_1.1.9h-4_amd64.deb'. +dpkg-deb: building package 'imview' in '../imview_1.1.9h-4_amd64.deb'. dpkg-genbuildinfo --build=binary -O../imview_1.1.9h-4_amd64.buildinfo dpkg-genchanges --build=binary -O../imview_1.1.9h-4_amd64.changes dpkg-genchanges: info: binary-only upload (no source code included) @@ -3234,12 +3264,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/2883948/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/2883948/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/1323714 and its subdirectories -I: Current time: Thu May 29 10:04:26 -12 2025 -I: pbuilder-time-stamp: 1748556266 +I: removing directory /srv/workspace/pbuilder/2883948 and its subdirectories +I: Current time: Sat Apr 27 05:50:15 +14 2024 +I: pbuilder-time-stamp: 1714146615