Diff of the two buildlogs: -- --- b1/build.log 2020-07-28 03:55:54.801170064 +0000 +++ b2/build.log 2020-07-28 03:56:32.763991978 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Mon Jul 27 15:51:37 -12 2020 -I: pbuilder-time-stamp: 1595908297 +I: Current time: Tue Aug 31 00:18:55 +14 2021 +I: pbuilder-time-stamp: 1630318735 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/buster-reproducible-base.tgz] I: copying local configuration @@ -18,7 +18,7 @@ I: Extracting source gpgv: unknown type of key resource 'trustedkeys.kbx' gpgv: keyblock resource '/root/.gnupg/trustedkeys.kbx': General error -gpgv: Signature made Wed Jun 6 09:13:31 2012 -12 +gpgv: Signature made Thu Jun 7 11:13:31 2012 +14 gpgv: using DSA key 9B46F1FB088F6B8C gpgv: Can't check signature: No public key dpkg-source: warning: failed to verify signature on ./drawxtl_5.5-3.dsc @@ -30,138 +30,172 @@ dpkg-source: info: applying povray_default_location.patch I: using fakeroot in build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/32270/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/33034/tmp/hooks/D01_modify_environment starting +debug: Running on profitbricks-build6-i386. +I: Changing host+domainname to test build reproducibility +I: Adding a custom variable just for the fun of it... +I: Changing /bin/sh to bash +Removing 'diversion of /bin/sh to /bin/sh.distrib by dash' +Adding 'diversion of /bin/sh to /bin/sh.distrib by bash' +Removing 'diversion of /usr/share/man/man1/sh.1.gz to /usr/share/man/man1/sh.distrib.1.gz by dash' +Adding 'diversion of /usr/share/man/man1/sh.1.gz to /usr/share/man/man1/sh.distrib.1.gz by 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/33034/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/33034/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='i386' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=10' - DISTRIBUTION='' - HOME='/root' - HOST_ARCH='i386' + BASH=/bin/sh + BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:hostcomplete:interactive_comments:progcomp:promptvars:sourcepath + BASH_ALIASES=() + BASH_ARGC=() + BASH_ARGV=() + BASH_CMDS=() + BASH_LINENO=([0]="12" [1]="0") + BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") + BASH_VERSINFO=([0]="5" [1]="0" [2]="3" [3]="1" [4]="release" [5]="i686-pc-linux-gnu") + BASH_VERSION='5.0.3(1)-release' + BUILDDIR=/build + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=i386 + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=18' + DIRSTACK=() + DISTRIBUTION= + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=i686 + HOST_ARCH=i386 IFS=' ' - INVOCATION_ID='54d140619fdd4f71adf9be0cf986f411' - LANG='C' - LANGUAGE='en_US:en' - LC_ALL='C' - LD_LIBRARY_PATH='/usr/lib/libeatmydata' - LD_PRELOAD='libeatmydata.so' - MAIL='/var/mail/root' - OPTIND='1' - PATH='/usr/sbin:/usr/bin:/sbin:/bin:/usr/games' - PBCURRENTCOMMANDLINEOPERATION='build' - PBUILDER_OPERATION='build' - PBUILDER_PKGDATADIR='/usr/share/pbuilder' - PBUILDER_PKGLIBDIR='/usr/lib/pbuilder' - PBUILDER_SYSCONFDIR='/etc' - PPID='32270' - PS1='# ' - PS2='> ' + INVOCATION_ID=9383dcd383144515a426fa634938f4ca + LANG=C + LANGUAGE=de_CH:de + LC_ALL=C + LD_LIBRARY_PATH=/usr/lib/libeatmydata + LD_PRELOAD=libeatmydata.so + MACHTYPE=i686-pc-linux-gnu + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnu + PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path + PBCURRENTCOMMANDLINEOPERATION=build + PBUILDER_OPERATION=build + PBUILDER_PKGDATADIR=/usr/share/pbuilder + PBUILDER_PKGLIBDIR=/usr/lib/pbuilder + PBUILDER_SYSCONFDIR=/etc + PIPESTATUS=([0]="0") + POSIXLY_CORRECT=y + PPID=33034 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/tmp.6hUY0jSl54/pbuilderrc_YJFK --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/buster-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/tmp.6hUY0jSl54/b1 --logfile b1/build.log drawxtl_5.5-3.dsc' - SUDO_GID='112' - SUDO_UID='107' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://78.137.99.97: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/tmp.6hUY0jSl54/pbuilderrc_T2jK --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/buster-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/tmp.6hUY0jSl54/b2 --logfile b2/build.log drawxtl_5.5-3.dsc' + SUDO_GID=112 + SUDO_UID=107 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://85.184.249.68:3128 I: uname -a - Linux profitbricks-build12-i386 4.19.0-9-686-pae #1 SMP Debian 4.19.118-2+deb10u1 (2020-06-07) i686 GNU/Linux + Linux i-capture-the-hostname 4.19.0-9-amd64 #1 SMP Debian 4.19.118-2+deb10u1 (2020-06-07) x86_64 GNU/Linux I: ls -l /bin - total 5480 - -rwxr-xr-x 1 root root 1302248 Apr 17 2019 bash - -rwxr-xr-x 3 root root 38280 Jul 10 2019 bunzip2 - -rwxr-xr-x 3 root root 38280 Jul 10 2019 bzcat - lrwxrwxrwx 1 root root 6 Jul 10 2019 bzcmp -> bzdiff - -rwxr-xr-x 1 root root 2227 Jul 10 2019 bzdiff - lrwxrwxrwx 1 root root 6 Jul 10 2019 bzegrep -> bzgrep - -rwxr-xr-x 1 root root 4877 Jun 24 2019 bzexe - lrwxrwxrwx 1 root root 6 Jul 10 2019 bzfgrep -> bzgrep - -rwxr-xr-x 1 root root 3641 Jul 10 2019 bzgrep - -rwxr-xr-x 3 root root 38280 Jul 10 2019 bzip2 - -rwxr-xr-x 1 root root 17768 Jul 10 2019 bzip2recover - lrwxrwxrwx 1 root root 6 Jul 10 2019 bzless -> bzmore - -rwxr-xr-x 1 root root 1297 Jul 10 2019 bzmore - -rwxr-xr-x 1 root root 38692 Feb 28 2019 cat - -rwxr-xr-x 1 root root 75588 Feb 28 2019 chgrp - -rwxr-xr-x 1 root root 63268 Feb 28 2019 chmod - -rwxr-xr-x 1 root root 75588 Feb 28 2019 chown - -rwxr-xr-x 1 root root 153732 Feb 28 2019 cp - -rwxr-xr-x 1 root root 132820 Jan 17 2019 dash - -rwxr-xr-x 1 root root 120676 Feb 28 2019 date - -rwxr-xr-x 1 root root 92040 Feb 28 2019 dd - -rwxr-xr-x 1 root root 100620 Feb 28 2019 df - -rwxr-xr-x 1 root root 149736 Feb 28 2019 dir - -rwxr-xr-x 1 root root 79412 Jan 9 2019 dmesg - lrwxrwxrwx 1 root root 8 Sep 26 2018 dnsdomainname -> hostname - lrwxrwxrwx 1 root root 8 Sep 26 2018 domainname -> hostname - -rwxr-xr-x 1 root root 34532 Feb 28 2019 echo - -rwxr-xr-x 1 root root 28 Jan 7 2019 egrep - -rwxr-xr-x 1 root root 34532 Feb 28 2019 false - -rwxr-xr-x 1 root root 28 Jan 7 2019 fgrep - -rwxr-xr-x 1 root root 67700 Jan 9 2019 findmnt - -rwsr-xr-x 1 root root 30112 Apr 22 07:38 fusermount - -rwxr-xr-x 1 root root 206392 Jan 7 2019 grep - -rwxr-xr-x 2 root root 2345 Jan 5 2019 gunzip - -rwxr-xr-x 1 root root 6375 Jan 5 2019 gzexe - -rwxr-xr-x 1 root root 100952 Jan 5 2019 gzip - -rwxr-xr-x 1 root root 21916 Sep 26 2018 hostname - -rwxr-xr-x 1 root root 79752 Feb 28 2019 ln - -rwxr-xr-x 1 root root 55400 Jul 26 2018 login - -rwxr-xr-x 1 root root 149736 Feb 28 2019 ls - -rwxr-xr-x 1 root root 112032 Jan 9 2019 lsblk - -rwxr-xr-x 1 root root 87972 Feb 28 2019 mkdir - -rwxr-xr-x 1 root root 79748 Feb 28 2019 mknod - -rwxr-xr-x 1 root root 46916 Feb 28 2019 mktemp - -rwxr-xr-x 1 root root 42348 Jan 9 2019 more - -rwsr-xr-x 1 root root 50592 Jan 9 2019 mount - -rwxr-xr-x 1 root root 13724 Jan 9 2019 mountpoint - -rwxr-xr-x 1 root root 157832 Feb 28 2019 mv - lrwxrwxrwx 1 root root 8 Sep 26 2018 nisdomainname -> hostname - lrwxrwxrwx 1 root root 14 Feb 14 2019 pidof -> /sbin/killall5 - -rwxr-xr-x 1 root root 38660 Feb 28 2019 pwd - lrwxrwxrwx 1 root root 4 Apr 17 2019 rbash -> bash - -rwxr-xr-x 1 root root 46852 Feb 28 2019 readlink - -rwxr-xr-x 1 root root 75588 Feb 28 2019 rm - -rwxr-xr-x 1 root root 42756 Feb 28 2019 rmdir - -rwxr-xr-x 1 root root 22276 Jan 21 2019 run-parts - -rwxr-xr-x 1 root root 125036 Dec 22 2018 sed - lrwxrwxrwx 1 root root 4 Jul 26 20:28 sh -> dash - -rwxr-xr-x 1 root root 34532 Feb 28 2019 sleep - -rwxr-xr-x 1 root root 79652 Feb 28 2019 stty - -rwsr-xr-x 1 root root 71072 Jan 9 2019 su - -rwxr-xr-x 1 root root 34564 Feb 28 2019 sync - -rwxr-xr-x 1 root root 504024 Apr 23 2019 tar - -rwxr-xr-x 1 root root 13860 Jan 21 2019 tempfile - -rwxr-xr-x 1 root root 104292 Feb 28 2019 touch - -rwxr-xr-x 1 root root 34532 Feb 28 2019 true - -rwxr-xr-x 1 root root 17768 Apr 22 07:38 ulockmgr_server - -rwsr-xr-x 1 root root 30108 Jan 9 2019 umount - -rwxr-xr-x 1 root root 34532 Feb 28 2019 uname - -rwxr-xr-x 2 root root 2345 Jan 5 2019 uncompress - -rwxr-xr-x 1 root root 149736 Feb 28 2019 vdir - -rwxr-xr-x 1 root root 34208 Jan 9 2019 wdctl - -rwxr-xr-x 1 root root 946 Jan 21 2019 which - lrwxrwxrwx 1 root root 8 Sep 26 2018 ypdomainname -> hostname - -rwxr-xr-x 1 root root 1983 Jan 5 2019 zcat - -rwxr-xr-x 1 root root 1677 Jan 5 2019 zcmp - -rwxr-xr-x 1 root root 5879 Jan 5 2019 zdiff - -rwxr-xr-x 1 root root 29 Jan 5 2019 zegrep - -rwxr-xr-x 1 root root 29 Jan 5 2019 zfgrep - -rwxr-xr-x 1 root root 2080 Jan 5 2019 zforce - -rwxr-xr-x 1 root root 7584 Jan 5 2019 zgrep - -rwxr-xr-x 1 root root 2205 Jan 5 2019 zless - -rwxr-xr-x 1 root root 1841 Jan 5 2019 zmore - -rwxr-xr-x 1 root root 4552 Jan 5 2019 znew -I: user script /srv/workspace/pbuilder/32270/tmp/hooks/D02_print_environment finished + total 5476 + -rwxr-xr-x 1 root root 1302248 Apr 18 2019 bash + -rwxr-xr-x 3 root root 38280 Jul 11 2019 bunzip2 + -rwxr-xr-x 3 root root 38280 Jul 11 2019 bzcat + lrwxrwxrwx 1 root root 6 Jul 11 2019 bzcmp -> bzdiff + -rwxr-xr-x 1 root root 2227 Jul 11 2019 bzdiff + lrwxrwxrwx 1 root root 6 Jul 11 2019 bzegrep -> bzgrep + -rwxr-xr-x 1 root root 4877 Jun 25 2019 bzexe + lrwxrwxrwx 1 root root 6 Jul 11 2019 bzfgrep -> bzgrep + -rwxr-xr-x 1 root root 3641 Jul 11 2019 bzgrep + -rwxr-xr-x 3 root root 38280 Jul 11 2019 bzip2 + -rwxr-xr-x 1 root root 17768 Jul 11 2019 bzip2recover + lrwxrwxrwx 1 root root 6 Jul 11 2019 bzless -> bzmore + -rwxr-xr-x 1 root root 1297 Jul 11 2019 bzmore + -rwxr-xr-x 1 root root 38692 Mar 1 2019 cat + -rwxr-xr-x 1 root root 75588 Mar 1 2019 chgrp + -rwxr-xr-x 1 root root 63268 Mar 1 2019 chmod + -rwxr-xr-x 1 root root 75588 Mar 1 2019 chown + -rwxr-xr-x 1 root root 153732 Mar 1 2019 cp + -rwxr-xr-x 1 root root 132820 Jan 18 2019 dash + -rwxr-xr-x 1 root root 120676 Mar 1 2019 date + -rwxr-xr-x 1 root root 92040 Mar 1 2019 dd + -rwxr-xr-x 1 root root 100620 Mar 1 2019 df + -rwxr-xr-x 1 root root 149736 Mar 1 2019 dir + -rwxr-xr-x 1 root root 79412 Jan 10 2019 dmesg + lrwxrwxrwx 1 root root 8 Sep 27 2018 dnsdomainname -> hostname + lrwxrwxrwx 1 root root 8 Sep 27 2018 domainname -> hostname + -rwxr-xr-x 1 root root 34532 Mar 1 2019 echo + -rwxr-xr-x 1 root root 28 Jan 8 2019 egrep + -rwxr-xr-x 1 root root 34532 Mar 1 2019 false + -rwxr-xr-x 1 root root 28 Jan 8 2019 fgrep + -rwxr-xr-x 1 root root 67700 Jan 10 2019 findmnt + -rwsr-xr-x 1 root root 30112 Apr 23 2020 fusermount + -rwxr-xr-x 1 root root 206392 Jan 8 2019 grep + -rwxr-xr-x 2 root root 2345 Jan 6 2019 gunzip + -rwxr-xr-x 1 root root 6375 Jan 6 2019 gzexe + -rwxr-xr-x 1 root root 100952 Jan 6 2019 gzip + -rwxr-xr-x 1 root root 21916 Sep 27 2018 hostname + -rwxr-xr-x 1 root root 79752 Mar 1 2019 ln + -rwxr-xr-x 1 root root 55400 Jul 27 2018 login + -rwxr-xr-x 1 root root 149736 Mar 1 2019 ls + -rwxr-xr-x 1 root root 112032 Jan 10 2019 lsblk + -rwxr-xr-x 1 root root 87972 Mar 1 2019 mkdir + -rwxr-xr-x 1 root root 79748 Mar 1 2019 mknod + -rwxr-xr-x 1 root root 46916 Mar 1 2019 mktemp + -rwxr-xr-x 1 root root 42348 Jan 10 2019 more + -rwsr-xr-x 1 root root 50592 Jan 10 2019 mount + -rwxr-xr-x 1 root root 13724 Jan 10 2019 mountpoint + -rwxr-xr-x 1 root root 157832 Mar 1 2019 mv + lrwxrwxrwx 1 root root 8 Sep 27 2018 nisdomainname -> hostname + lrwxrwxrwx 1 root root 14 Feb 15 2019 pidof -> /sbin/killall5 + -rwxr-xr-x 1 root root 38660 Mar 1 2019 pwd + lrwxrwxrwx 1 root root 4 Apr 18 2019 rbash -> bash + -rwxr-xr-x 1 root root 46852 Mar 1 2019 readlink + -rwxr-xr-x 1 root root 75588 Mar 1 2019 rm + -rwxr-xr-x 1 root root 42756 Mar 1 2019 rmdir + -rwxr-xr-x 1 root root 22276 Jan 22 2019 run-parts + -rwxr-xr-x 1 root root 125036 Dec 23 2018 sed + lrwxrwxrwx 1 root root 4 Aug 31 00:19 sh -> bash + lrwxrwxrwx 1 root root 4 Aug 29 04:46 sh.distrib -> dash + -rwxr-xr-x 1 root root 34532 Mar 1 2019 sleep + -rwxr-xr-x 1 root root 79652 Mar 1 2019 stty + -rwsr-xr-x 1 root root 71072 Jan 10 2019 su + -rwxr-xr-x 1 root root 34564 Mar 1 2019 sync + -rwxr-xr-x 1 root root 504024 Apr 24 2019 tar + -rwxr-xr-x 1 root root 13860 Jan 22 2019 tempfile + -rwxr-xr-x 1 root root 104292 Mar 1 2019 touch + -rwxr-xr-x 1 root root 34532 Mar 1 2019 true + -rwxr-xr-x 1 root root 17768 Apr 23 2020 ulockmgr_server + -rwsr-xr-x 1 root root 30108 Jan 10 2019 umount + -rwxr-xr-x 1 root root 34532 Mar 1 2019 uname + -rwxr-xr-x 2 root root 2345 Jan 6 2019 uncompress + -rwxr-xr-x 1 root root 149736 Mar 1 2019 vdir + -rwxr-xr-x 1 root root 34208 Jan 10 2019 wdctl + -rwxr-xr-x 1 root root 946 Jan 22 2019 which + lrwxrwxrwx 1 root root 8 Sep 27 2018 ypdomainname -> hostname + -rwxr-xr-x 1 root root 1983 Jan 6 2019 zcat + -rwxr-xr-x 1 root root 1677 Jan 6 2019 zcmp + -rwxr-xr-x 1 root root 5879 Jan 6 2019 zdiff + -rwxr-xr-x 1 root root 29 Jan 6 2019 zegrep + -rwxr-xr-x 1 root root 29 Jan 6 2019 zfgrep + -rwxr-xr-x 1 root root 2080 Jan 6 2019 zforce + -rwxr-xr-x 1 root root 7584 Jan 6 2019 zgrep + -rwxr-xr-x 1 root root 2205 Jan 6 2019 zless + -rwxr-xr-x 1 root root 1841 Jan 6 2019 zmore + -rwxr-xr-x 1 root root 4552 Jan 6 2019 znew +I: user script /srv/workspace/pbuilder/33034/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -374,7 +408,7 @@ Get: 152 http://deb.debian.org/debian buster/main i386 libxpm4 i386 1:3.5.12-1 [50.9 kB] Get: 153 http://deb.debian.org/debian buster/main i386 libxpm-dev i386 1:3.5.12-1 [107 kB] Get: 154 http://deb.debian.org/debian buster/main i386 sharutils i386 1:4.15.2-4 [265 kB] -Fetched 55.6 MB in 6s (8810 kB/s) +Fetched 55.6 MB in 1s (69.5 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package libbsd0:i386. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 19234 files and directories currently installed.) @@ -1017,7 +1051,7 @@ fakeroot is already the newest version (1.23-1). 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. I: Building the package -I: Running cd /build/drawxtl-5.5/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-buildpackage -us -uc -b +I: Running cd /build/drawxtl-5.5/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-buildpackage -us -uc -b dpkg-buildpackage: info: source package drawxtl dpkg-buildpackage: info: source version 5.5-3 dpkg-buildpackage: info: source distribution unstable @@ -1032,7 +1066,7 @@ make[1]: Entering directory '/build/drawxtl-5.5' dh_auto_clean -- -C source/DRAWxtl55/ dh_auto_clean: Compatibility levels before 9 are deprecated (level 7 in use) - make -j10 clean -C source/DRAWxtl55/ + make -j18 clean -C source/DRAWxtl55/ make[2]: Entering directory '/build/drawxtl-5.5/source/DRAWxtl55' make[2]: Leaving directory '/build/drawxtl-5.5/source/DRAWxtl55' make[1]: Leaving directory '/build/drawxtl-5.5' @@ -1054,12 +1088,12 @@ LINKFLTKGL="-lfltk_gl -lfltk -lgl2ps -Wl,-z,relro -Wl,-z,defs -Wl,--as-needed" \ OPTIM="-Wdate-time -D_FORTIFY_SOURCE=2 -g -Wall -O2 -Wunused -fno-exceptions" dh_auto_build: Compatibility levels before 9 are deprecated (level 7 in use) - make -j10 -C source/DRAWxtl55/ OS=Linux prefix=/usr includedir=/usr/include libdir=/usr/lib/ "LINKFLTKGL=-lfltk_gl -lfltk -lgl2ps -Wl,-z,relro -Wl,-z,defs -Wl,--as-needed" "OPTIM=-Wdate-time -D_FORTIFY_SOURCE=2 -g -Wall -O2 -Wunused -fno-exceptions" + make -j18 -C source/DRAWxtl55/ OS=Linux prefix=/usr includedir=/usr/include libdir=/usr/lib/ "LINKFLTKGL=-lfltk_gl -lfltk -lgl2ps -Wl,-z,relro -Wl,-z,defs -Wl,--as-needed" "OPTIM=-Wdate-time -D_FORTIFY_SOURCE=2 -g -Wall -O2 -Wunused -fno-exceptions" make[2]: Entering directory '/build/drawxtl-5.5/source/DRAWxtl55' Building dependencies... Compiling CrystalView.cxx ... -Compiling drawmap.cxx ... Compiling cursor.cxx ... +Compiling drawmap.cxx ... Compiling DRAWxtl1.cxx ... Compiling DRAWxtl2.cxx ... Compiling DRAWxtl3.cxx ... @@ -1067,6 +1101,17 @@ Compiling EditView.cxx ... Compiling Edit1.cxx ... Compiling Edit2.cxx ... +Compiling Ellipsoids.cxx ... +Compiling Flu_Combo_Box.cxx ... +Compiling Flu_Combo_List.cxx ... +Compiling Flu_Spinner.cxx ... +Compiling Fourier.cxx ... +Compiling Generate_Drawing.cxx ... +Compiling gl2gif.cxx ... +Compiling Help.cxx ... +Compiling Import.cxx ... +Compiling MC.cxx ... +Compiling mpVector.cxx ... DRAWxtl3.cxx: In function 'void build_poly_list(int, int, int, int, float*)': DRAWxtl3.cxx:138:20: warning: argument to 'sizeof' in 'void* memset(void*, int, size_t)' call is the same expression as the destination; did you mean to dereference it? [-Wsizeof-pointer-memaccess] memset (no, 0, sizeof (no)); @@ -1074,10 +1119,6 @@ DRAWxtl3.cxx:139:20: warning: argument to 'sizeof' in 'void* memset(void*, int, size_t)' call is the same expression as the destination; did you mean to dereference it? [-Wsizeof-pointer-memaccess] memset (ns, 0, sizeof (ns)); ^~~~~~~~~~~ -Edit1.cxx: In function 'void Edit_Bond_cb()': -Edit1.cxx:1399:9: warning: variable 'newBonds' set but not used [-Wunused-but-set-variable] - int newBonds = 0; - ^~~~~~~~ CrystalView.cxx: In member function 'virtual void CrystalView::draw()': CrystalView.cxx:643:25: warning: enum constant in boolean context [-Wint-in-bool-context] drvui->destroy &= !LIST2; @@ -1100,278 +1141,18 @@ CrystalView.cxx:518:21: warning: variable 'cpz' set but not used [-Wunused-but-set-variable] float cpx, cpy, cpz; ^~~ +Fourier.cxx: In function 'void read_m81(char*, int)': +Fourier.cxx:718:15: warning: variable 'nmap' set but not used [-Wunused-but-set-variable] + int nrec, nmap, maptype; + ^~~~ CrystalView.cxx: In function 'int pick_box(int, int, int, int)': CrystalView.cxx:1639:34: warning: 'memset' used with length equal to number of elements without multiplication by element size [-Wmemset-elt-size] memset (selectBuf, 0, BUFSIZE); ^ -DRAWxtl3.cxx: In function 'void calc_simplevoids()': -DRAWxtl3.cxx:2419:11: warning: variable 'saved_boxlim' set but not used [-Wunused-but-set-variable] - float saved_boxlim[3]; - ^~~~~~~~~~~~ -CrystalView.cxx: In function 'void start_picking(int, int, int, int)': -CrystalView.cxx:2354:34: warning: 'memset' used with length equal to number of elements without multiplication by element size [-Wmemset-elt-size] - memset (selectBuf, 0, BUFSIZE); - ^ -CrystalView.cxx:2346:21: warning: variable 'cpz' set but not used [-Wunused-but-set-variable] - float cpx, cpy, cpz; - ^~~ -Edit2.cxx: In function 'void Edit_Surfaces_Save_cb(Fl_Button*, int*)': -Edit2.cxx:3339:6: warning: this 'if' clause does not guard... [-Wmisleading-indentation] - if (!strlen (color)) - ^~ -Edit2.cxx:3341:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' - if (strncmp (type, "mesh", 4) == 0) - ^~ -Edit2.cxx:3319:9: warning: variable 'Frame_No' set but not used [-Wunused-but-set-variable] - int Frame_No = 1; +Edit1.cxx: In function 'void Edit_Bond_cb()': +Edit1.cxx:1399:9: warning: variable 'newBonds' set but not used [-Wunused-but-set-variable] + int newBonds = 0; ^~~~~~~~ -DRAWxtl3.cxx: In function 'void calculate_sas()': -DRAWxtl3.cxx:3304:11: warning: variable 'saved_boxlim' set but not used [-Wunused-but-set-variable] - float saved_boxlim[3]; - ^~~~~~~~~~~~ -DRAWxtl3.cxx:3306:11: warning: variable 'saved_crystlim' set but not used [-Wunused-but-set-variable] - float saved_crystlim[6]; - ^~~~~~~~~~~~~~ -Edit1.cxx: In function 'void Maps_Frame_Combo_cb(Fl_Widget*, void*)': -Edit1.cxx:3568:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] - if (drvui->max_frame > 1) - ^~ -Edit1.cxx:3571:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' - sprintf (string, "%.3f", drvui->frames[Frame_No].map_lim[0]); - ^~~~~~~ -Edit2.cxx: In function 'void Edit_STR_Save_cb(Fl_Button*, int*)': -Edit2.cxx:800:12: warning: ignoring return value of 'int chdir(const char*)', declared with attribute warn_unused_result [-Wunused-result] - chdir (drvui->Cur_Dir); // switch to new directory - ~~~~~~^~~~~~~~~~~~~~~~ -CrystalView.cxx: In function 'int pick_label(int, int, int, int)': -CrystalView.cxx:3560:34: warning: 'memset' used with length equal to number of elements without multiplication by element size [-Wmemset-elt-size] - memset (selectBuf, 0, BUFSIZE); - ^ -CrystalView.cxx: In function 'int main(int, char**)': -CrystalView.cxx:187:10: warning: ignoring return value of 'char* getcwd(char*, size_t)', declared with attribute warn_unused_result [-Wunused-result] - getcwd (drvui->Cur_Dir, 1023); - ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ -CrystalView.cxx:196:9: warning: ignoring return value of 'int chdir(const char*)', declared with attribute warn_unused_result [-Wunused-result] - chdir (drvui->Cur_Dir); - ~~~~~~^~~~~~~~~~~~~~~~ -CrystalView.cxx:197:10: warning: ignoring return value of 'char* getcwd(char*, size_t)', declared with attribute warn_unused_result [-Wunused-result] - getcwd (drvui->Cur_Dir, 1023); - ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ -CrystalView.cxx: In function 'int Get_Unique_Atoms(char (*)[5], int)': -CrystalView.cxx:921:8: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result] - fgets (string, 100, aout); - ~~~~~~^~~~~~~~~~~~~~~~~~~ -CrystalView.cxx: In function 'void ImportDataFile_cb(Fl_Widget*, void*)': -CrystalView.cxx:1062:8: warning: ignoring return value of 'int chdir(const char*)', declared with attribute warn_unused_result [-Wunused-result] - chdir (tmp_dir); // switch to that directory - ~~~~~~^~~~~~~~~ -CrystalView.cxx:1070:9: warning: ignoring return value of 'int chdir(const char*)', declared with attribute warn_unused_result [-Wunused-result] - chdir (drvui->Cur_Dir); // restore the original directory - ~~~~~~^~~~~~~~~~~~~~~~ -CrystalView.cxx:1169:13: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result] - fgets (string, 133, inp); - ~~~~~~^~~~~~~~~~~~~~~~~~ -CrystalView.cxx:1196:13: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result] - fgets (string, 133, inp); - ~~~~~~^~~~~~~~~~~~~~~~~~ -CrystalView.cxx: In function 'void LoadConfig(bool)': -CrystalView.cxx:1407:9: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result] - fgets (temp, 256, fname); - ~~~~~~^~~~~~~~~~~~~~~~~~ -CrystalView.cxx:1442:8: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result] - fgets (drvui->DRAWxtl_Path, 256, fname); - ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -CrystalView.cxx:1444:8: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result] - fgets (drvui->POV_Path, 256, fname); - ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -CrystalView.cxx:1446:8: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result] - fgets (drvui->VRML_Path, 256, fname); - ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -CrystalView.cxx:1448:8: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result] - fgets (drvui->EditName, 256, fname); - ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -CrystalView.cxx:1450:8: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result] - fgets (drvui->FileViewName, 256, fname); - ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -CrystalView.cxx:1452:8: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result] - fgets (drvui->POV_Options, 256, fname); - ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -CrystalView.cxx:1454:8: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result] - fgets (drvui->Cur_File, 256, fname); - ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -CrystalView.cxx:1456:8: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result] - fgets (drvui->Cur_Dir, 256, fname); - ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -CrystalView.cxx:1458:8: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result] - fgets (drvui->POV_Include, 256, fname); - ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -CrystalView.cxx:1460:8: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result] - fgets (drvui->LoadOnStartup, 10, fname); - ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -CrystalView.cxx:1462:8: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result] - fgets (drvui->DefaultFinish, 256, fname); - ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -CrystalView.cxx:1464:8: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result] - fgets (temp, 256, fname); // skip over executable path - ~~~~~~^~~~~~~~~~~~~~~~~~ -CrystalView.cxx:1465:8: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result] - fgets (autolabel, 256, fname); - ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ -CrystalView.cxx:1466:8: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result] - fgets (stereo, 256, fname); - ~~~~~~^~~~~~~~~~~~~~~~~~~~ -CrystalView.cxx:1468:8: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result] - fgets (temp, 256, fname); // skip over window dimensions - ~~~~~~^~~~~~~~~~~~~~~~~~ -CrystalView.cxx:1470:8: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result] - fgets (temp, 256, fname); - ~~~~~~^~~~~~~~~~~~~~~~~~ -CrystalView.cxx:1473:8: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result] - fgets (drvui->MSMS_Path, 256, fname); - ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -CrystalView.cxx:1476:8: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result] - fgets (drvui->Mencoder_Path, 256, fname); - ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -CrystalView.cxx:1479:8: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result] - fgets (drvui->FFmpeg_Path, 256, fname); - ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -CrystalView.cxx: In function 'void Process_Inp(int)': -CrystalView.cxx:1769:12: warning: ignoring return value of 'int chdir(const char*)', declared with attribute warn_unused_result [-Wunused-result] - _chdir (drvui->Cur_Dir); - ^ -CrystalView.cxx: In function 'void SelectDataFile_cb()': -CrystalView.cxx:2220:8: warning: ignoring return value of 'int chdir(const char*)', declared with attribute warn_unused_result [-Wunused-result] - chdir (drvui->Cur_Dir); // switch to that directory - ~~~~~~^~~~~~~~~~~~~~~~ -CrystalView.cxx: In function 'void Update_Str(int)': -CrystalView.cxx:2771:8: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result] - fgets (string, 256, inp); - ~~~~~~^~~~~~~~~~~~~~~~~~ -DRAWxtl3.cxx: In function 'void calculate_msms()': -DRAWxtl3.cxx:3840:9: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result] - fgets (cmd, 200, tdf); - ~~~~~~^~~~~~~~~~~~~~~ -DRAWxtl3.cxx:3841:9: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result] - fgets (cmd, 200, tdf); - ~~~~~~^~~~~~~~~~~~~~~ -DRAWxtl3.cxx: In function 'void generate_msms()': -DRAWxtl3.cxx:3910:18: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result] - (void) fgets (line, 100, msmsfile); - ~~~~~~^~~~~~~~~~~~~~~~~~~~~ -DRAWxtl3.cxx:3911:18: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result] - (void) fgets (line, 100, msmsfile); - ~~~~~~^~~~~~~~~~~~~~~~~~~~~ -DRAWxtl3.cxx:3912:18: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result] - (void) fgets (line, 100, msmsfile); - ~~~~~~^~~~~~~~~~~~~~~~~~~~~ -DRAWxtl3.cxx:3964:18: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result] - (void) fgets (line, 100, msmsfile); - ~~~~~~^~~~~~~~~~~~~~~~~~~~~ -DRAWxtl3.cxx:3965:18: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result] - (void) fgets (line, 100, msmsfile); - ~~~~~~^~~~~~~~~~~~~~~~~~~~~ -DRAWxtl3.cxx:3966:18: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result] - (void) fgets (line, 100, msmsfile); - ~~~~~~^~~~~~~~~~~~~~~~~~~~~ -DRAWxtl3.cxx:3973:12: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result] - fgets (line, 100, msmsfile); - ~~~~~~^~~~~~~~~~~~~~~~~~~~~ -DRAWxtl3.cxx:4046:12: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result] - fgets (line, 100, msmsfile); - ~~~~~~^~~~~~~~~~~~~~~~~~~~~ -Compiling Ellipsoids.cxx ... -Compiling Flu_Combo_Box.cxx ... -Compiling Flu_Combo_List.cxx ... -Edit1.cxx: In function 'void Automation_Go_cb()': -Edit1.cxx:378:21: warning: 'd.png' directive writing 5 bytes into a region of size between 2 and 12 [-Wformat-overflow=] - sprintf(format," +O%%s%%.%dd.png",num); - ^~~~~~~~~~~~~~~~~~ -In file included from /usr/include/stdio.h:873, - from /usr/include/FL/Fl_File_Chooser.H:34, - from CrystalView.h:26, - from DRAWxtlViewUI.h:25, - from Edit1.cxx:64: -/usr/include/i386-linux-gnu/bits/stdio2.h:36:34: note: '__builtin___sprintf_chk' output between 14 and 24 bytes into a destination of size 20 - return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, - ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - __bos (__s), __fmt, __va_arg_pack ()); - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -Edit1.cxx:376:21: warning: 'd.tga' directive writing 5 bytes into a region of size between 2 and 12 [-Wformat-overflow=] - sprintf(format," +O%%s%%.%dd.tga",num); - ^~~~~~~~~~~~~~~~~~ -In file included from /usr/include/stdio.h:873, - from /usr/include/FL/Fl_File_Chooser.H:34, - from CrystalView.h:26, - from DRAWxtlViewUI.h:25, - from Edit1.cxx:64: -/usr/include/i386-linux-gnu/bits/stdio2.h:36:34: note: '__builtin___sprintf_chk' output between 14 and 24 bytes into a destination of size 20 - return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, - ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - __bos (__s), __fmt, __va_arg_pack ()); - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -Edit1.cxx:418:14: warning: '%s' directive writing up to 1023 bytes into a region of size 512 [-Wformat-overflow=] - sprintf(cmd,"%s -f image2 -pix_fmt rgb24 -r 1 -i %s%%%dd.png -s %dx%d -f gif %s.gif", drvui->FFmpeg_Path, POV_filename, num, width,height,POV_filename); - ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -Edit1.cxx:418:14: note: directive argument in the range [-2147483647, 2147483647] -In file included from /usr/include/stdio.h:873, - from /usr/include/FL/Fl_File_Chooser.H:34, - from CrystalView.h:26, - from DRAWxtlViewUI.h:25, - from Edit1.cxx:64: -/usr/include/i386-linux-gnu/bits/stdio2.h:36:34: note: '__builtin___sprintf_chk' output between 61 and 1512 bytes into a destination of size 512 - return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, - ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - __bos (__s), __fmt, __va_arg_pack ()); - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -Edit1.cxx:416:14: warning: '%s' directive writing up to 1023 bytes into a region of size 512 [-Wformat-overflow=] - sprintf(cmd,"%s -r %d -f image2 -i %s%%%dd.png -s %dx%d %s.mpg", drvui->FFmpeg_Path, fps, POV_filename, num, width,height,POV_filename); - ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -Edit1.cxx:416:14: note: directive argument in the range [-2147483647, 2147483647] -In file included from /usr/include/stdio.h:873, - from /usr/include/FL/Fl_File_Chooser.H:34, - from CrystalView.h:26, - from DRAWxtlViewUI.h:25, - from Edit1.cxx:64: -/usr/include/i386-linux-gnu/bits/stdio2.h:36:34: note: '__builtin___sprintf_chk' output between 39 and 1500 bytes into a destination of size 512 - return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, - ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - __bos (__s), __fmt, __va_arg_pack ()); - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -Edit1.cxx:413:14: warning: '%s' directive writing up to 1023 bytes into a region of size 512 [-Wformat-overflow=] - sprintf(cmd,"%s mf://%s*.tga -mf w=%d:h=%d:fps=%d:type=tga -ovc lavc -lavcopts vcodec=mpeg4 -o %s.mpg", drvui->Mencoder_Path, POV_filename,width,height,fps,POV_filename); - ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from /usr/include/stdio.h:873, - from /usr/include/FL/Fl_File_Chooser.H:34, - from CrystalView.h:26, - from DRAWxtlViewUI.h:25, - from Edit1.cxx:64: -/usr/include/i386-linux-gnu/bits/stdio2.h:36:34: note: '__builtin___sprintf_chk' output between 80 and 1531 bytes into a destination of size 512 - return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, - ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - __bos (__s), __fmt, __va_arg_pack ()); - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -Edit2.cxx: In function 'void Modify_Spheres_cb(Fl_Widget*, void*)': -Edit2.cxx:1585:22: warning: '%2d' directive writing between 2 and 10 bytes into a region of size 8 [-Wformat-overflow=] - sprintf (value, "%2d", n); - ^~~~~ -Edit2.cxx:1585:22: note: directive argument in the range [0, 2147483647] -In file included from /usr/include/stdio.h:873, - from /usr/include/FL/Fl_File_Chooser.H:34, - from CrystalView.h:26, - from DRAWxtlViewUI.h:25, - from Edit2.cxx:53: -/usr/include/i386-linux-gnu/bits/stdio2.h:36:34: note: '__builtin___sprintf_chk' output between 3 and 11 bytes into a destination of size 8 - return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, - ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - __bos (__s), __fmt, __va_arg_pack ()); - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -Compiling Flu_Spinner.cxx ... -Compiling Fourier.cxx ... -Compiling Generate_Drawing.cxx ... -Fourier.cxx: In function 'void read_m81(char*, int)': -Fourier.cxx:718:15: warning: variable 'nmap' set but not used [-Wunused-but-set-variable] - int nrec, nmap, maptype; - ^~~~ Fourier.cxx: In function 'void read_stf(char*, int)': Fourier.cxx:2805:7: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (FourierPt[ijk] < rhomin) @@ -1382,10 +1163,22 @@ Fourier.cxx:2682:9: warning: variable 'fullcell' set but not used [-Wunused-but-set-variable] int fullcell = 1; ^~~~~~~~ +CrystalView.cxx: In function 'void start_picking(int, int, int, int)': +CrystalView.cxx:2354:34: warning: 'memset' used with length equal to number of elements without multiplication by element size [-Wmemset-elt-size] + memset (selectBuf, 0, BUFSIZE); + ^ +CrystalView.cxx:2346:21: warning: variable 'cpz' set but not used [-Wunused-but-set-variable] + float cpx, cpy, cpz; + ^~~ +Compiling Read_Input.cxx ... Fourier.cxx: In function 'void read_w2k(char*, int)': Fourier.cxx:3035:11: warning: variable 'reslt' set but not used [-Wunused-but-set-variable] char *reslt; ^~~~~ +DRAWxtl3.cxx: In function 'void calc_simplevoids()': +DRAWxtl3.cxx:2419:11: warning: variable 'saved_boxlim' set but not used [-Wunused-but-set-variable] + float saved_boxlim[3]; + ^~~~~~~~~~~~ Fourier.cxx: In function 'void read_exc(char*, int)': Fourier.cxx:3254:11: warning: variable 'reslt' set but not used [-Wunused-but-set-variable] char *reslt; @@ -1398,6 +1191,17 @@ Fourier.cxx:3467:11: warning: variable 'reslt' set but not used [-Wunused-but-set-variable] char *reslt = NULL; ^~~~~ +Edit2.cxx: In function 'void Edit_Surfaces_Save_cb(Fl_Button*, int*)': +Edit2.cxx:3339:6: warning: this 'if' clause does not guard... [-Wmisleading-indentation] + if (!strlen (color)) + ^~ +Edit2.cxx:3341:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' + if (strncmp (type, "mesh", 4) == 0) + ^~ +CrystalView.cxx: In function 'int pick_label(int, int, int, int)': +CrystalView.cxx:3560:34: warning: 'memset' used with length equal to number of elements without multiplication by element size [-Wmemset-elt-size] + memset (selectBuf, 0, BUFSIZE); + ^ Fourier.cxx: In function 'void read_fcf(char*, int)': Fourier.cxx:338:8: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fgets (string, 80, mapin); @@ -1411,6 +1215,26 @@ Fourier.cxx:547:8: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fgets (string, 80, mapin); ~~~~~~^~~~~~~~~~~~~~~~~~~ +Edit2.cxx:3319:9: warning: variable 'Frame_No' set but not used [-Wunused-but-set-variable] + int Frame_No = 1; + ^~~~~~~~ +CrystalView.cxx: In function 'int main(int, char**)': +CrystalView.cxx:187:10: warning: ignoring return value of 'char* getcwd(char*, size_t)', declared with attribute warn_unused_result [-Wunused-result] + getcwd (drvui->Cur_Dir, 1023); + ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ +CrystalView.cxx:196:9: warning: ignoring return value of 'int chdir(const char*)', declared with attribute warn_unused_result [-Wunused-result] + chdir (drvui->Cur_Dir); + ~~~~~~^~~~~~~~~~~~~~~~ +CrystalView.cxx:197:10: warning: ignoring return value of 'char* getcwd(char*, size_t)', declared with attribute warn_unused_result [-Wunused-result] + getcwd (drvui->Cur_Dir, 1023); + ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ +DRAWxtl3.cxx: In function 'void calculate_sas()': +DRAWxtl3.cxx:3304:11: warning: variable 'saved_boxlim' set but not used [-Wunused-but-set-variable] + float saved_boxlim[3]; + ^~~~~~~~~~~~ +DRAWxtl3.cxx:3306:11: warning: variable 'saved_crystlim' set but not used [-Wunused-but-set-variable] + float saved_crystlim[6]; + ^~~~~~~~~~~~~~ Fourier.cxx: In function 'void read_m81(char*, int)': Fourier.cxx:1515:13: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fread (ftmp, 4, 1, mapin); @@ -1485,6 +1309,10 @@ Fourier.cxx:2115:8: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fgets (string, 199, mapin); ~~~~~~^~~~~~~~~~~~~~~~~~~~ +CrystalView.cxx: In function 'int Get_Unique_Atoms(char (*)[5], int)': +CrystalView.cxx:921:8: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result] + fgets (string, 100, aout); + ~~~~~~^~~~~~~~~~~~~~~~~~~ Fourier.cxx: In function 'void read_flp(char*, int)': Fourier.cxx:2360:11: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fread (titulo, sizeof (char), icount, mapin); // read title @@ -1573,6 +1401,26 @@ Fourier.cxx:2495:12: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fread (&icount, sizeof (int), 1, mapin); // skip trailer ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +Edit1.cxx: In function 'void Maps_Frame_Combo_cb(Fl_Widget*, void*)': +Edit1.cxx:3568:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] + if (drvui->max_frame > 1) + ^~ +Edit1.cxx:3571:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' + sprintf (string, "%.3f", drvui->frames[Frame_No].map_lim[0]); + ^~~~~~~ +CrystalView.cxx: In function 'void ImportDataFile_cb(Fl_Widget*, void*)': +CrystalView.cxx:1062:8: warning: ignoring return value of 'int chdir(const char*)', declared with attribute warn_unused_result [-Wunused-result] + chdir (tmp_dir); // switch to that directory + ~~~~~~^~~~~~~~~ +CrystalView.cxx:1070:9: warning: ignoring return value of 'int chdir(const char*)', declared with attribute warn_unused_result [-Wunused-result] + chdir (drvui->Cur_Dir); // restore the original directory + ~~~~~~^~~~~~~~~~~~~~~~ +CrystalView.cxx:1169:13: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result] + fgets (string, 133, inp); + ~~~~~~^~~~~~~~~~~~~~~~~~ +CrystalView.cxx:1196:13: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result] + fgets (string, 133, inp); + ~~~~~~^~~~~~~~~~~~~~~~~~ Fourier.cxx: In function 'void read_stf(char*, int)': Fourier.cxx:2810:10: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] fscanf (mapin, "%*f"); @@ -1580,19 +1428,84 @@ Fourier.cxx:2813:10: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] fscanf (mapin, "%*f"); ~~~~~~~^~~~~~~~~~~~~~ +Edit2.cxx: In function 'void Edit_STR_Save_cb(Fl_Button*, int*)': +Edit2.cxx:800:12: warning: ignoring return value of 'int chdir(const char*)', declared with attribute warn_unused_result [-Wunused-result] + chdir (drvui->Cur_Dir); // switch to new directory + ~~~~~~^~~~~~~~~~~~~~~~ +CrystalView.cxx: In function 'void LoadConfig(bool)': +CrystalView.cxx:1407:9: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result] + fgets (temp, 256, fname); + ~~~~~~^~~~~~~~~~~~~~~~~~ +CrystalView.cxx:1442:8: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result] + fgets (drvui->DRAWxtl_Path, 256, fname); + ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +CrystalView.cxx:1444:8: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result] + fgets (drvui->POV_Path, 256, fname); + ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +CrystalView.cxx:1446:8: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result] + fgets (drvui->VRML_Path, 256, fname); + ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +CrystalView.cxx:1448:8: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result] + fgets (drvui->EditName, 256, fname); + ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +CrystalView.cxx:1450:8: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result] + fgets (drvui->FileViewName, 256, fname); + ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +CrystalView.cxx:1452:8: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result] + fgets (drvui->POV_Options, 256, fname); + ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +CrystalView.cxx:1454:8: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result] + fgets (drvui->Cur_File, 256, fname); + ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +CrystalView.cxx:1456:8: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result] + fgets (drvui->Cur_Dir, 256, fname); + ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ +CrystalView.cxx:1458:8: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result] + fgets (drvui->POV_Include, 256, fname); + ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +CrystalView.cxx:1460:8: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result] + fgets (drvui->LoadOnStartup, 10, fname); + ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +CrystalView.cxx:1462:8: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result] + fgets (drvui->DefaultFinish, 256, fname); + ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +CrystalView.cxx:1464:8: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result] + fgets (temp, 256, fname); // skip over executable path + ~~~~~~^~~~~~~~~~~~~~~~~~ +CrystalView.cxx:1465:8: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result] + fgets (autolabel, 256, fname); + ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ +CrystalView.cxx:1466:8: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result] + fgets (stereo, 256, fname); + ~~~~~~^~~~~~~~~~~~~~~~~~~~ +CrystalView.cxx:1468:8: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result] + fgets (temp, 256, fname); // skip over window dimensions + ~~~~~~^~~~~~~~~~~~~~~~~~ Fourier.cxx: In function 'void read_vasp(char*, int)': Fourier.cxx:2888:11: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fgets (line, sizeof (line), mapin); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ +CrystalView.cxx:1470:8: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result] + fgets (temp, 256, fname); + ~~~~~~^~~~~~~~~~~~~~~~~~ Fourier.cxx:2891:11: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fgets (line, sizeof (line), mapin); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ +CrystalView.cxx:1473:8: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result] + fgets (drvui->MSMS_Path, 256, fname); + ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Fourier.cxx:2905:11: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fgets (line, sizeof (line), mapin); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ +CrystalView.cxx:1476:8: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result] + fgets (drvui->Mencoder_Path, 256, fname); + ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Fourier.cxx:2926:11: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fgets (line, sizeof (line), mapin); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ +CrystalView.cxx:1479:8: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result] + fgets (drvui->FFmpeg_Path, 256, fname); + ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Fourier.cxx: In function 'void read_w2k(char*, int)': Fourier.cxx:3162:14: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] fscanf (mapin, "%*f"); @@ -1606,120 +1519,52 @@ Fourier.cxx:3217:14: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] fscanf (mapin, "%*f"); ~~~~~~~^~~~~~~~~~~~~~ -Edit1.cxx: In function 'void Modify_Occ_cb(Fl_Widget*, void*)': -Edit1.cxx:3471:22: warning: '%2d' directive writing between 2 and 10 bytes into a region of size 8 [-Wformat-overflow=] - sprintf (value, "%2d", n); - ^~~~~ -Edit1.cxx:3471:22: note: directive argument in the range [0, 2147483647] -In file included from /usr/include/stdio.h:873, - from /usr/include/FL/Fl_File_Chooser.H:34, - from CrystalView.h:26, - from DRAWxtlViewUI.h:25, - from Edit1.cxx:64: -/usr/include/i386-linux-gnu/bits/stdio2.h:36:34: note: '__builtin___sprintf_chk' output between 3 and 11 bytes into a destination of size 8 - return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, - ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - __bos (__s), __fmt, __va_arg_pack ()); - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -Compiling gl2gif.cxx ... -Compiling Help.cxx ... -Edit2.cxx: In function 'void New_Arrow_Add_cb(Fl_Widget*, int*)': -Edit2.cxx:1628:19: warning: '%s' directive writing up to 39 bytes into a region of size between 0 and 34 [-Wformat-overflow=] - sprintf (string, "%6.3f %6.3f %6.3f %10.3f %6.3f %6.3f %10.3f %6.3f %s\n", - ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -Edit2.cxx:1633:4: - color); - ~~~~~ -In file included from /usr/include/stdio.h:873, - from /usr/include/FL/Fl_File_Chooser.H:34, - from CrystalView.h:26, - from DRAWxtlViewUI.h:25, - from Edit2.cxx:53: -/usr/include/i386-linux-gnu/bits/stdio2.h:36:34: note: '__builtin___sprintf_chk' output between 68 and 2563 bytes into a destination of size 100 - return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, - ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - __bos (__s), __fmt, __va_arg_pack ()); - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -Edit2.cxx: In function 'void New_Ellipsoid_Add_cb(Fl_Widget*, int*)': -Edit2.cxx:1781:23: warning: '%s' directive writing up to 39 bytes into a region of size between 21 and 29 [-Wformat-overflow=] - sprintf (string, "%4s %3d %s\n", atom, no, color); - ^~~~~~~~~~~~~~~~ ~~~~~ -In file included from /usr/include/stdio.h:873, - from /usr/include/FL/Fl_File_Chooser.H:34, - from CrystalView.h:26, - from DRAWxtlViewUI.h:25, - from Edit2.cxx:53: -/usr/include/i386-linux-gnu/bits/stdio2.h:36:34: note: '__builtin___sprintf_chk' output between 13 and 60 bytes into a destination of size 40 - return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, - ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - __bos (__s), __fmt, __va_arg_pack ()); - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -Edit2.cxx:1778:23: warning: '%s' directive writing up to 39 bytes into a region of size 29 [-Wformat-overflow=] - sprintf (string, "%4s * %s\n", atom, color); - ^~~~~~~~~~~~~~~~ ~~~~~ -In file included from /usr/include/stdio.h:873, - from /usr/include/FL/Fl_File_Chooser.H:34, - from CrystalView.h:26, - from DRAWxtlViewUI.h:25, - from Edit2.cxx:53: -/usr/include/i386-linux-gnu/bits/stdio2.h:36:34: note: '__builtin___sprintf_chk' output between 13 and 52 bytes into a destination of size 40 - return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, - ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - __bos (__s), __fmt, __va_arg_pack ()); - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -CrystalView.cxx: In function 'int main(int, char**)': -CrystalView.cxx:220:24: warning: '%s' directive writing up to 255 bytes into a region of size 232 [-Wformat-overflow=] - sprintf (string, "The file you selected ('%s') cannot be read\n" - ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - "Do you wish to continue?", newfile); - ~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~ -In file included from /usr/include/stdio.h:873, - from CrystalView.cxx:44: -/usr/include/i386-linux-gnu/bits/stdio2.h:36:34: note: '__builtin___sprintf_chk' output between 67 and 322 bytes into a destination of size 256 - return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, - ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - __bos (__s), __fmt, __va_arg_pack ()); - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -Compiling Import.cxx ... -Edit2.cxx: In function 'void Modify_Ellipsoids_cb(Fl_Widget*, void*)': -Edit2.cxx:1248:23: warning: '%2d' directive writing between 2 and 11 bytes into a region of size between 1 and 6 [-Wformat-overflow=] - sprintf (string, "%4s%2d", atom, no); - ^~~~~~~~ -In file included from /usr/include/stdio.h:873, - from /usr/include/FL/Fl_File_Chooser.H:34, - from CrystalView.h:26, - from DRAWxtlViewUI.h:25, - from Edit2.cxx:53: -/usr/include/i386-linux-gnu/bits/stdio2.h:36:34: note: '__builtin___sprintf_chk' output between 7 and 21 bytes into a destination of size 10 - return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, - ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - __bos (__s), __fmt, __va_arg_pack ()); - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -Edit2.cxx:1245:23: warning: ' *' directive writing 2 bytes into a region of size between 1 and 6 [-Wformat-overflow=] - sprintf (string, "%4s *", atom); - ^~~~~~~ -In file included from /usr/include/stdio.h:873, - from /usr/include/FL/Fl_File_Chooser.H:34, - from CrystalView.h:26, - from DRAWxtlViewUI.h:25, - from Edit2.cxx:53: -/usr/include/i386-linux-gnu/bits/stdio2.h:36:34: note: '__builtin___sprintf_chk' output between 7 and 12 bytes into a destination of size 10 - return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, - ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - __bos (__s), __fmt, __va_arg_pack ()); - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -CrystalView.cxx: In function 'void ImportDataFile_cb(Fl_Widget*, void*)': -CrystalView.cxx:1108:6: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 230 [-Wformat-truncation=] - "The implied output file ('%s') could not be created.", - ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from /usr/include/stdio.h:873, - from CrystalView.cxx:44: -/usr/include/i386-linux-gnu/bits/stdio2.h:67:35: note: '__builtin___snprintf_chk' output between 51 and 1074 bytes into a destination of size 256 - return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, - ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - __bos (__s), __fmt, __va_arg_pack ()); - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -Compiling MC.cxx ... +CrystalView.cxx: In function 'void Process_Inp(int)': +CrystalView.cxx:1769:12: warning: ignoring return value of 'int chdir(const char*)', declared with attribute warn_unused_result [-Wunused-result] + _chdir (drvui->Cur_Dir); + ^ +CrystalView.cxx: In function 'void SelectDataFile_cb()': +CrystalView.cxx:2220:8: warning: ignoring return value of 'int chdir(const char*)', declared with attribute warn_unused_result [-Wunused-result] + chdir (drvui->Cur_Dir); // switch to that directory + ~~~~~~^~~~~~~~~~~~~~~~ +CrystalView.cxx: In function 'void Update_Str(int)': +CrystalView.cxx:2771:8: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result] + fgets (string, 256, inp); + ~~~~~~^~~~~~~~~~~~~~~~~~ +Compiling symmtry.cxx ... +DRAWxtl3.cxx: In function 'void calculate_msms()': +DRAWxtl3.cxx:3840:9: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result] + fgets (cmd, 200, tdf); + ~~~~~~^~~~~~~~~~~~~~~ +DRAWxtl3.cxx:3841:9: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result] + fgets (cmd, 200, tdf); + ~~~~~~^~~~~~~~~~~~~~~ +DRAWxtl3.cxx: In function 'void generate_msms()': +DRAWxtl3.cxx:3910:18: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result] + (void) fgets (line, 100, msmsfile); + ~~~~~~^~~~~~~~~~~~~~~~~~~~~ +DRAWxtl3.cxx:3911:18: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result] + (void) fgets (line, 100, msmsfile); + ~~~~~~^~~~~~~~~~~~~~~~~~~~~ +DRAWxtl3.cxx:3912:18: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result] + (void) fgets (line, 100, msmsfile); + ~~~~~~^~~~~~~~~~~~~~~~~~~~~ +DRAWxtl3.cxx:3964:18: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result] + (void) fgets (line, 100, msmsfile); + ~~~~~~^~~~~~~~~~~~~~~~~~~~~ +DRAWxtl3.cxx:3965:18: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result] + (void) fgets (line, 100, msmsfile); + ~~~~~~^~~~~~~~~~~~~~~~~~~~~ +DRAWxtl3.cxx:3966:18: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result] + (void) fgets (line, 100, msmsfile); + ~~~~~~^~~~~~~~~~~~~~~~~~~~~ +DRAWxtl3.cxx:3973:12: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result] + fgets (line, 100, msmsfile); + ~~~~~~^~~~~~~~~~~~~~~~~~~~~ +DRAWxtl3.cxx:4046:12: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result] + fgets (line, 100, msmsfile); + ~~~~~~^~~~~~~~~~~~~~~~~~~~~ +Compiling Tb_Window.cxx ... Import.cxx: In function 'void import_shelx(char*, int, int, int)': Import.cxx:2221:9: warning: variable 'read_start' set but not used [-Wunused-but-set-variable] int read_start; /* flag for start of atom list */ @@ -1727,6 +1572,14 @@ Import.cxx:2223:9: warning: variable 'read_uij' set but not used [-Wunused-but-set-variable] int read_uij; /* flag for uij card */ ^~~~~~~~ +MC.cxx: In function 'TRIANGLE* MC(int, int, int, float, float, float, float, mp4Vector*, int&)': +MC.cxx:458:74: warning: 'void* realloc(void*, size_t)' moving an object of non-trivially copyable type 'struct TRIANGLE'; use 'new' and 'delete' instead [-Wclass-memaccess] + t = (TRIANGLE *) realloc (triangles, numTriangles * sizeof (TRIANGLE)); + ^ +In file included from MC.cxx:34: +MC.h:41:1: note: 'struct TRIANGLE' declared here + { + ^ Import.cxx: In function 'void import_cif(char*, int, int, int*, int)': Import.cxx:235:8: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fgets (string, 255, impin); @@ -1800,31 +1653,6 @@ Import.cxx:3527:13: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fgets (line, 85, impin); ~~~~~~^~~~~~~~~~~~~~~~~ -CrystalView.cxx: In function 'void SelectDataFile_cb()': -CrystalView.cxx:2227:23: warning: '%s' directive writing up to 1023 bytes into a region of size 232 [-Wformat-overflow=] - sprintf (string, "The file you selected ('%s') cannot be read\n" - ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - "Do you wish to continue?", drvui->Cur_File); - ~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from /usr/include/stdio.h:873, - from CrystalView.cxx:44: -/usr/include/i386-linux-gnu/bits/stdio2.h:36:34: note: '__builtin___sprintf_chk' output between 67 and 1090 bytes into a destination of size 256 - return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, - ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - __bos (__s), __fmt, __va_arg_pack ()); - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -MC.cxx: In function 'TRIANGLE* MC(int, int, int, float, float, float, float, mp4Vector*, int&)': -MC.cxx:458:74: warning: 'void* realloc(void*, size_t)' moving an object of non-trivially copyable type 'struct TRIANGLE'; use 'new' and 'delete' instead [-Wclass-memaccess] - t = (TRIANGLE *) realloc (triangles, numTriangles * sizeof (TRIANGLE)); - ^ -In file included from MC.cxx:34: -MC.h:41:1: note: 'struct TRIANGLE' declared here - { - ^ -Compiling mpVector.cxx ... -Compiling Read_Input.cxx ... -Compiling symmtry.cxx ... -Compiling Tb_Window.cxx ... Read_Input.cxx: In function 'void Init_DRAWxtl()': Read_Input.cxx:746:33: warning: 'memset' used with length equal to number of elements without multiplication by element size [-Wmemset-elt-size] memset (Omit->omit1, 0, 1000); @@ -1832,6 +1660,89 @@ Read_Input.cxx:747:33: warning: 'memset' used with length equal to number of elements without multiplication by element size [-Wmemset-elt-size] memset (Omit->omit2, 0, 1000); ^ +Edit1.cxx: In function 'void Automation_Go_cb()': +Edit1.cxx:378:21: warning: 'd.png' directive writing 5 bytes into a region of size between 2 and 12 [-Wformat-overflow=] + sprintf(format," +O%%s%%.%dd.png",num); + ^~~~~~~~~~~~~~~~~~ +In file included from /usr/include/stdio.h:873, + from /usr/include/FL/Fl_File_Chooser.H:34, + from CrystalView.h:26, + from DRAWxtlViewUI.h:25, + from Edit1.cxx:64: +/usr/include/i386-linux-gnu/bits/stdio2.h:36:34: note: '__builtin___sprintf_chk' output between 14 and 24 bytes into a destination of size 20 + return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, + ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + __bos (__s), __fmt, __va_arg_pack ()); + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +Edit1.cxx:376:21: warning: 'd.tga' directive writing 5 bytes into a region of size between 2 and 12 [-Wformat-overflow=] + sprintf(format," +O%%s%%.%dd.tga",num); + ^~~~~~~~~~~~~~~~~~ +In file included from /usr/include/stdio.h:873, + from /usr/include/FL/Fl_File_Chooser.H:34, + from CrystalView.h:26, + from DRAWxtlViewUI.h:25, + from Edit1.cxx:64: +/usr/include/i386-linux-gnu/bits/stdio2.h:36:34: note: '__builtin___sprintf_chk' output between 14 and 24 bytes into a destination of size 20 + return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, + ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + __bos (__s), __fmt, __va_arg_pack ()); + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +Edit1.cxx:418:14: warning: '%s' directive writing up to 1023 bytes into a region of size 512 [-Wformat-overflow=] + sprintf(cmd,"%s -f image2 -pix_fmt rgb24 -r 1 -i %s%%%dd.png -s %dx%d -f gif %s.gif", drvui->FFmpeg_Path, POV_filename, num, width,height,POV_filename); + ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +Edit1.cxx:418:14: note: directive argument in the range [-2147483647, 2147483647] +In file included from /usr/include/stdio.h:873, + from /usr/include/FL/Fl_File_Chooser.H:34, + from CrystalView.h:26, + from DRAWxtlViewUI.h:25, + from Edit1.cxx:64: +/usr/include/i386-linux-gnu/bits/stdio2.h:36:34: note: '__builtin___sprintf_chk' output between 61 and 1512 bytes into a destination of size 512 + return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, + ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + __bos (__s), __fmt, __va_arg_pack ()); + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +Edit1.cxx:416:14: warning: '%s' directive writing up to 1023 bytes into a region of size 512 [-Wformat-overflow=] + sprintf(cmd,"%s -r %d -f image2 -i %s%%%dd.png -s %dx%d %s.mpg", drvui->FFmpeg_Path, fps, POV_filename, num, width,height,POV_filename); + ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +Edit1.cxx:416:14: note: directive argument in the range [-2147483647, 2147483647] +In file included from /usr/include/stdio.h:873, + from /usr/include/FL/Fl_File_Chooser.H:34, + from CrystalView.h:26, + from DRAWxtlViewUI.h:25, + from Edit1.cxx:64: +/usr/include/i386-linux-gnu/bits/stdio2.h:36:34: note: '__builtin___sprintf_chk' output between 39 and 1500 bytes into a destination of size 512 + return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, + ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + __bos (__s), __fmt, __va_arg_pack ()); + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +Edit1.cxx:413:14: warning: '%s' directive writing up to 1023 bytes into a region of size 512 [-Wformat-overflow=] + sprintf(cmd,"%s mf://%s*.tga -mf w=%d:h=%d:fps=%d:type=tga -ovc lavc -lavcopts vcodec=mpeg4 -o %s.mpg", drvui->Mencoder_Path, POV_filename,width,height,fps,POV_filename); + ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from /usr/include/stdio.h:873, + from /usr/include/FL/Fl_File_Chooser.H:34, + from CrystalView.h:26, + from DRAWxtlViewUI.h:25, + from Edit1.cxx:64: +/usr/include/i386-linux-gnu/bits/stdio2.h:36:34: note: '__builtin___sprintf_chk' output between 80 and 1531 bytes into a destination of size 512 + return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, + ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + __bos (__s), __fmt, __va_arg_pack ()); + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +Edit2.cxx: In function 'void Modify_Spheres_cb(Fl_Widget*, void*)': +Edit2.cxx:1585:22: warning: '%2d' directive writing between 2 and 10 bytes into a region of size 8 [-Wformat-overflow=] + sprintf (value, "%2d", n); + ^~~~~ +Edit2.cxx:1585:22: note: directive argument in the range [0, 2147483647] +In file included from /usr/include/stdio.h:873, + from /usr/include/FL/Fl_File_Chooser.H:34, + from CrystalView.h:26, + from DRAWxtlViewUI.h:25, + from Edit2.cxx:53: +/usr/include/i386-linux-gnu/bits/stdio2.h:36:34: note: '__builtin___sprintf_chk' output between 3 and 11 bytes into a destination of size 8 + return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, + ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + __bos (__s), __fmt, __va_arg_pack ()); + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Import.cxx: In function 'void import_pcr(char*, int, int, int)': Import.cxx:3228:20: warning: '%3d' directive writing between 3 and 10 bytes into a region of size 7 [-Wformat-overflow=] sprintf (temp, "for PHASE number: %3d", phase_no); /* make search object */ @@ -1844,6 +1755,92 @@ ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +Edit1.cxx: In function 'void Modify_Occ_cb(Fl_Widget*, void*)': +Edit1.cxx:3471:22: warning: '%2d' directive writing between 2 and 10 bytes into a region of size 8 [-Wformat-overflow=] + sprintf (value, "%2d", n); + ^~~~~ +Edit1.cxx:3471:22: note: directive argument in the range [0, 2147483647] +In file included from /usr/include/stdio.h:873, + from /usr/include/FL/Fl_File_Chooser.H:34, + from CrystalView.h:26, + from DRAWxtlViewUI.h:25, + from Edit1.cxx:64: +/usr/include/i386-linux-gnu/bits/stdio2.h:36:34: note: '__builtin___sprintf_chk' output between 3 and 11 bytes into a destination of size 8 + return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, + ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + __bos (__s), __fmt, __va_arg_pack ()); + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +Edit2.cxx: In function 'void New_Arrow_Add_cb(Fl_Widget*, int*)': +Edit2.cxx:1628:19: warning: '%s' directive writing up to 39 bytes into a region of size between 0 and 34 [-Wformat-overflow=] + sprintf (string, "%6.3f %6.3f %6.3f %10.3f %6.3f %6.3f %10.3f %6.3f %s\n", + ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +Edit2.cxx:1633:4: + color); + ~~~~~ +In file included from /usr/include/stdio.h:873, + from /usr/include/FL/Fl_File_Chooser.H:34, + from CrystalView.h:26, + from DRAWxtlViewUI.h:25, + from Edit2.cxx:53: +/usr/include/i386-linux-gnu/bits/stdio2.h:36:34: note: '__builtin___sprintf_chk' output between 68 and 2563 bytes into a destination of size 100 + return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, + ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + __bos (__s), __fmt, __va_arg_pack ()); + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +Edit2.cxx: In function 'void New_Ellipsoid_Add_cb(Fl_Widget*, int*)': +Edit2.cxx:1781:23: warning: '%s' directive writing up to 39 bytes into a region of size between 21 and 29 [-Wformat-overflow=] + sprintf (string, "%4s %3d %s\n", atom, no, color); + ^~~~~~~~~~~~~~~~ ~~~~~ +In file included from /usr/include/stdio.h:873, + from /usr/include/FL/Fl_File_Chooser.H:34, + from CrystalView.h:26, + from DRAWxtlViewUI.h:25, + from Edit2.cxx:53: +/usr/include/i386-linux-gnu/bits/stdio2.h:36:34: note: '__builtin___sprintf_chk' output between 13 and 60 bytes into a destination of size 40 + return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, + ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + __bos (__s), __fmt, __va_arg_pack ()); + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +Edit2.cxx:1778:23: warning: '%s' directive writing up to 39 bytes into a region of size 29 [-Wformat-overflow=] + sprintf (string, "%4s * %s\n", atom, color); + ^~~~~~~~~~~~~~~~ ~~~~~ +In file included from /usr/include/stdio.h:873, + from /usr/include/FL/Fl_File_Chooser.H:34, + from CrystalView.h:26, + from DRAWxtlViewUI.h:25, + from Edit2.cxx:53: +/usr/include/i386-linux-gnu/bits/stdio2.h:36:34: note: '__builtin___sprintf_chk' output between 13 and 52 bytes into a destination of size 40 + return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, + ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + __bos (__s), __fmt, __va_arg_pack ()); + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +Edit2.cxx: In function 'void Modify_Ellipsoids_cb(Fl_Widget*, void*)': +Edit2.cxx:1248:23: warning: '%2d' directive writing between 2 and 11 bytes into a region of size between 1 and 6 [-Wformat-overflow=] + sprintf (string, "%4s%2d", atom, no); + ^~~~~~~~ +In file included from /usr/include/stdio.h:873, + from /usr/include/FL/Fl_File_Chooser.H:34, + from CrystalView.h:26, + from DRAWxtlViewUI.h:25, + from Edit2.cxx:53: +/usr/include/i386-linux-gnu/bits/stdio2.h:36:34: note: '__builtin___sprintf_chk' output between 7 and 21 bytes into a destination of size 10 + return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, + ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + __bos (__s), __fmt, __va_arg_pack ()); + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +Edit2.cxx:1245:23: warning: ' *' directive writing 2 bytes into a region of size between 1 and 6 [-Wformat-overflow=] + sprintf (string, "%4s *", atom); + ^~~~~~~ +In file included from /usr/include/stdio.h:873, + from /usr/include/FL/Fl_File_Chooser.H:34, + from CrystalView.h:26, + from DRAWxtlViewUI.h:25, + from Edit2.cxx:53: +/usr/include/i386-linux-gnu/bits/stdio2.h:36:34: note: '__builtin___sprintf_chk' output between 7 and 12 bytes into a destination of size 10 + return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, + ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + __bos (__s), __fmt, __va_arg_pack ()); + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Import.cxx: In function 'void import_cif(char*, int, int, int*, int)': Import.cxx:124:18: warning: '%d' directive writing between 1 and 11 bytes into a region of size 9 [-Wformat-overflow=] sprintf (tmp2, " %d. ", ++numblocks); @@ -1868,6 +1865,30 @@ ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +CrystalView.cxx: In function 'int main(int, char**)': +CrystalView.cxx:220:24: warning: '%s' directive writing up to 255 bytes into a region of size 232 [-Wformat-overflow=] + sprintf (string, "The file you selected ('%s') cannot be read\n" + ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + "Do you wish to continue?", newfile); + ~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~ +In file included from /usr/include/stdio.h:873, + from CrystalView.cxx:44: +/usr/include/i386-linux-gnu/bits/stdio2.h:36:34: note: '__builtin___sprintf_chk' output between 67 and 322 bytes into a destination of size 256 + return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, + ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + __bos (__s), __fmt, __va_arg_pack ()); + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +CrystalView.cxx: In function 'void ImportDataFile_cb(Fl_Widget*, void*)': +CrystalView.cxx:1108:6: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 230 [-Wformat-truncation=] + "The implied output file ('%s') could not be created.", + ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from /usr/include/stdio.h:873, + from CrystalView.cxx:44: +/usr/include/i386-linux-gnu/bits/stdio2.h:67:35: note: '__builtin___snprintf_chk' output between 51 and 1074 bytes into a destination of size 256 + return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, + ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + __bos (__s), __fmt, __va_arg_pack ()); + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Read_Input.cxx: In function 'void read_inp(int)': Read_Input.cxx:1806:20: warning: '%s' directive writing up to 255 bytes into a region of size 229 [-Wformat-overflow=] sprintf (string, "Import/inline source type '%s' not recognized.", input); @@ -1879,6 +1900,19 @@ ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +CrystalView.cxx: In function 'void SelectDataFile_cb()': +CrystalView.cxx:2227:23: warning: '%s' directive writing up to 1023 bytes into a region of size 232 [-Wformat-overflow=] + sprintf (string, "The file you selected ('%s') cannot be read\n" + ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + "Do you wish to continue?", drvui->Cur_File); + ~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from /usr/include/stdio.h:873, + from CrystalView.cxx:44: +/usr/include/i386-linux-gnu/bits/stdio2.h:36:34: note: '__builtin___sprintf_chk' output between 67 and 1090 bytes into a destination of size 256 + return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, + ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + __bos (__s), __fmt, __va_arg_pack ()); + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Linking ../../exe/DRAWxtl55... make[2]: Leaving directory '/build/drawxtl-5.5/source/DRAWxtl55' make[1]: Leaving directory '/build/drawxtl-5.5' @@ -1941,8 +1975,8 @@ dpkg-gencontrol: warning: unknown information field 'Dm-Upload-Allowed' in input data in general section of control info file dh_md5sums -O--buildsystem=makefile -O--parallel dh_builddeb -O--buildsystem=makefile -O--parallel -dpkg-deb: building package 'drawxtl-dbgsym' in '../drawxtl-dbgsym_5.5-3_i386.deb'. dpkg-deb: building package 'drawxtl' in '../drawxtl_5.5-3_i386.deb'. +dpkg-deb: building package 'drawxtl-dbgsym' in '../drawxtl-dbgsym_5.5-3_i386.deb'. dpkg-genbuildinfo --build=binary dpkg-genchanges --build=binary >../drawxtl_5.5-3_i386.changes dpkg-genchanges: warning: unknown information field 'Dm-Upload-Allowed' in input data in general section of control info file @@ -1951,12 +1985,14 @@ dpkg-source: warning: unknown information field 'Dm-Upload-Allowed' in input data in general section of control info file dpkg-buildpackage: info: binary-only upload (no source included) I: copying local configuration +I: user script /srv/workspace/pbuilder/33034/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/33034/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/32270 and its subdirectories -I: Current time: Mon Jul 27 15:55:54 -12 2020 -I: pbuilder-time-stamp: 1595908554 +I: removing directory /srv/workspace/pbuilder/33034 and its subdirectories +I: Current time: Tue Aug 31 00:19:31 +14 2021 +I: pbuilder-time-stamp: 1630318771