Diff of the two buildlogs: -- --- b1/build.log 2021-08-09 09:46:28.755843050 +0000 +++ b2/build.log 2021-08-09 09:48:53.610460524 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Sun Aug 8 21:41:06 -12 2021 -I: pbuilder-time-stamp: 1628502066 +I: Current time: Mon Aug 9 23:46:46 +14 2021 +I: pbuilder-time-stamp: 1628502406 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/bullseye-reproducible-base.tgz] I: copying local configuration @@ -16,8 +16,8 @@ I: copying [./x11iraf_2.0+2020.06.15+dfsg-1.debian.tar.xz] I: Extracting source gpgv: unknown type of key resource 'trustedkeys.kbx' -gpgv: keyblock resource '/tmp/dpkg-verify-sig.eaIVfQzy/trustedkeys.kbx': General error -gpgv: Signature made Sun Jul 12 18:16:55 2020 -12 +gpgv: keyblock resource '/tmp/dpkg-verify-sig.hB9LhRZZ/trustedkeys.kbx': General error +gpgv: Signature made Mon Jul 13 20:16:55 2020 +14 gpgv: using RSA key BAFC6C85F7CB143FEEB6FB157115AFD07710DCF7 gpgv: Can't check signature: No public key dpkg-source: warning: failed to verify signature on ./x11iraf_2.0+2020.06.15+dfsg-1.dsc @@ -30,135 +30,169 @@ dpkg-source: info: applying Remove-errornous-declaration-of-time.patch I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/25550/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/9978/tmp/hooks/D01_modify_environment starting +debug: Running on virt64b. +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/9978/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/9978/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='armhf' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all,-fixfilepath parallel=3' - DISTRIBUTION='' - HOME='/root' - HOST_ARCH='armhf' + 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]="1" [2]="4" [3]="1" [4]="release" [5]="arm-unknown-linux-gnueabihf") + BASH_VERSION='5.1.4(1)-release' + BUILDDIR=/build + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=armhf + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all,-fixfilepath parallel=4' + DIRSTACK=() + DISTRIBUTION= + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=arm + HOST_ARCH=armhf IFS=' ' - INVOCATION_ID='9af4188618c64267bf6db2d54246fa64' - 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='25550' - PS1='# ' - PS2='> ' + INVOCATION_ID=1c49f398eb0e4eb08ce5397115ea78f1 + LANG=C + LANGUAGE=it_CH:it + LC_ALL=C + MACHTYPE=arm-unknown-linux-gnueabihf + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnueabihf + 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=9978 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.LarieYDBcA/pbuilderrc_l6J2 --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bullseye-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/tmp.LarieYDBcA/b1 --logfile b1/build.log x11iraf_2.0+2020.06.15+dfsg-1.dsc' - SUDO_GID='113' - SUDO_UID='107' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://10.0.0.15:8000/' + 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.LarieYDBcA/pbuilderrc_IMdJ --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bullseye-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/tmp.LarieYDBcA/b2 --logfile b2/build.log --extrapackages usrmerge x11iraf_2.0+2020.06.15+dfsg-1.dsc' + SUDO_GID=113 + SUDO_UID=107 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://10.0.0.15:8000/ I: uname -a - Linux wbq0 5.10.0-8-armmp #1 SMP Debian 5.10.46-4 (2021-08-03) armv7l GNU/Linux + Linux i-capture-the-hostname 5.10.0-8-arm64 #1 SMP Debian 5.10.46-4 (2021-08-03) aarch64 GNU/Linux I: ls -l /bin total 3580 - -rwxr-xr-x 1 root root 816764 Aug 4 08:25 bash - -rwxr-xr-x 3 root root 26052 Jul 20 2020 bunzip2 - -rwxr-xr-x 3 root root 26052 Jul 20 2020 bzcat - lrwxrwxrwx 1 root root 6 Jul 20 2020 bzcmp -> bzdiff - -rwxr-xr-x 1 root root 2225 Jul 20 2020 bzdiff - lrwxrwxrwx 1 root root 6 Jul 20 2020 bzegrep -> bzgrep - -rwxr-xr-x 1 root root 4877 Sep 4 2019 bzexe - lrwxrwxrwx 1 root root 6 Jul 20 2020 bzfgrep -> bzgrep - -rwxr-xr-x 1 root root 3775 Jul 20 2020 bzgrep - -rwxr-xr-x 3 root root 26052 Jul 20 2020 bzip2 - -rwxr-xr-x 1 root root 9636 Jul 20 2020 bzip2recover - lrwxrwxrwx 1 root root 6 Jul 20 2020 bzless -> bzmore - -rwxr-xr-x 1 root root 1297 Jul 20 2020 bzmore - -rwxr-xr-x 1 root root 26668 Sep 22 2020 cat - -rwxr-xr-x 1 root root 43104 Sep 22 2020 chgrp - -rwxr-xr-x 1 root root 38984 Sep 22 2020 chmod - -rwxr-xr-x 1 root root 43112 Sep 22 2020 chown - -rwxr-xr-x 1 root root 92616 Sep 22 2020 cp - -rwxr-xr-x 1 root root 75524 Dec 10 2020 dash - -rwxr-xr-x 1 root root 75880 Sep 22 2020 date - -rwxr-xr-x 1 root root 55436 Sep 22 2020 dd - -rwxr-xr-x 1 root root 59912 Sep 22 2020 df - -rwxr-xr-x 1 root root 96764 Sep 22 2020 dir - -rwxr-xr-x 1 root root 55012 Jul 28 07:09 dmesg - lrwxrwxrwx 1 root root 8 Nov 6 2019 dnsdomainname -> hostname - lrwxrwxrwx 1 root root 8 Nov 6 2019 domainname -> hostname - -rwxr-xr-x 1 root root 22508 Sep 22 2020 echo - -rwxr-xr-x 1 root root 28 Nov 9 2020 egrep - -rwxr-xr-x 1 root root 22496 Sep 22 2020 false - -rwxr-xr-x 1 root root 28 Nov 9 2020 fgrep - -rwxr-xr-x 1 root root 47492 Jul 28 07:09 findmnt - -rwsr-xr-x 1 root root 26076 Feb 26 04:12 fusermount - -rwxr-xr-x 1 root root 124508 Nov 9 2020 grep - -rwxr-xr-x 2 root root 2346 Mar 2 11:30 gunzip - -rwxr-xr-x 1 root root 6376 Mar 2 11:30 gzexe - -rwxr-xr-x 1 root root 64212 Mar 2 11:30 gzip - -rwxr-xr-x 1 root root 13784 Nov 6 2019 hostname - -rwxr-xr-x 1 root root 43180 Sep 22 2020 ln - -rwxr-xr-x 1 root root 35068 Feb 7 2020 login - -rwxr-xr-x 1 root root 96764 Sep 22 2020 ls - -rwxr-xr-x 1 root root 99940 Jul 28 07:09 lsblk - -rwxr-xr-x 1 root root 51408 Sep 22 2020 mkdir - -rwxr-xr-x 1 root root 43184 Sep 22 2020 mknod - -rwxr-xr-x 1 root root 30780 Sep 22 2020 mktemp - -rwxr-xr-x 1 root root 34408 Jul 28 07:09 more - -rwsr-xr-x 1 root root 34400 Jul 28 07:09 mount - -rwxr-xr-x 1 root root 9824 Jul 28 07:09 mountpoint - -rwxr-xr-x 1 root root 88524 Sep 22 2020 mv - lrwxrwxrwx 1 root root 8 Nov 6 2019 nisdomainname -> hostname - lrwxrwxrwx 1 root root 14 Apr 18 03:38 pidof -> /sbin/killall5 - -rwxr-xr-x 1 root root 26652 Sep 22 2020 pwd - lrwxrwxrwx 1 root root 4 Aug 4 08:25 rbash -> bash - -rwxr-xr-x 1 root root 30740 Sep 22 2020 readlink - -rwxr-xr-x 1 root root 43104 Sep 22 2020 rm - -rwxr-xr-x 1 root root 30732 Sep 22 2020 rmdir - -rwxr-xr-x 1 root root 14144 Sep 27 2020 run-parts - -rwxr-xr-x 1 root root 76012 Dec 22 2018 sed - lrwxrwxrwx 1 root root 4 Aug 8 21:29 sh -> dash - -rwxr-xr-x 1 root root 22532 Sep 22 2020 sleep - -rwxr-xr-x 1 root root 55360 Sep 22 2020 stty - -rwsr-xr-x 1 root root 46704 Jul 28 07:09 su - -rwxr-xr-x 1 root root 22532 Sep 22 2020 sync - -rwxr-xr-x 1 root root 340872 Feb 16 21:55 tar - -rwxr-xr-x 1 root root 9808 Sep 27 2020 tempfile - -rwxr-xr-x 1 root root 67696 Sep 22 2020 touch - -rwxr-xr-x 1 root root 22496 Sep 22 2020 true - -rwxr-xr-x 1 root root 9636 Feb 26 04:12 ulockmgr_server - -rwsr-xr-x 1 root root 22108 Jul 28 07:09 umount - -rwxr-xr-x 1 root root 22520 Sep 22 2020 uname - -rwxr-xr-x 2 root root 2346 Mar 2 11:30 uncompress - -rwxr-xr-x 1 root root 96764 Sep 22 2020 vdir - -rwxr-xr-x 1 root root 38512 Jul 28 07:09 wdctl - lrwxrwxrwx 1 root root 8 Nov 6 2019 ypdomainname -> hostname - -rwxr-xr-x 1 root root 1984 Mar 2 11:30 zcat - -rwxr-xr-x 1 root root 1678 Mar 2 11:30 zcmp - -rwxr-xr-x 1 root root 5880 Mar 2 11:30 zdiff - -rwxr-xr-x 1 root root 29 Mar 2 11:30 zegrep - -rwxr-xr-x 1 root root 29 Mar 2 11:30 zfgrep - -rwxr-xr-x 1 root root 2081 Mar 2 11:30 zforce - -rwxr-xr-x 1 root root 7585 Mar 2 11:30 zgrep - -rwxr-xr-x 1 root root 2206 Mar 2 11:30 zless - -rwxr-xr-x 1 root root 1842 Mar 2 11:30 zmore - -rwxr-xr-x 1 root root 4553 Mar 2 11:30 znew -I: user script /srv/workspace/pbuilder/25550/tmp/hooks/D02_print_environment finished + -rwxr-xr-x 1 root root 816764 Aug 5 10:25 bash + -rwxr-xr-x 3 root root 26052 Jul 21 2020 bunzip2 + -rwxr-xr-x 3 root root 26052 Jul 21 2020 bzcat + lrwxrwxrwx 1 root root 6 Jul 21 2020 bzcmp -> bzdiff + -rwxr-xr-x 1 root root 2225 Jul 21 2020 bzdiff + lrwxrwxrwx 1 root root 6 Jul 21 2020 bzegrep -> bzgrep + -rwxr-xr-x 1 root root 4877 Sep 5 2019 bzexe + lrwxrwxrwx 1 root root 6 Jul 21 2020 bzfgrep -> bzgrep + -rwxr-xr-x 1 root root 3775 Jul 21 2020 bzgrep + -rwxr-xr-x 3 root root 26052 Jul 21 2020 bzip2 + -rwxr-xr-x 1 root root 9636 Jul 21 2020 bzip2recover + lrwxrwxrwx 1 root root 6 Jul 21 2020 bzless -> bzmore + -rwxr-xr-x 1 root root 1297 Jul 21 2020 bzmore + -rwxr-xr-x 1 root root 26668 Sep 23 2020 cat + -rwxr-xr-x 1 root root 43104 Sep 23 2020 chgrp + -rwxr-xr-x 1 root root 38984 Sep 23 2020 chmod + -rwxr-xr-x 1 root root 43112 Sep 23 2020 chown + -rwxr-xr-x 1 root root 92616 Sep 23 2020 cp + -rwxr-xr-x 1 root root 75524 Dec 11 2020 dash + -rwxr-xr-x 1 root root 75880 Sep 23 2020 date + -rwxr-xr-x 1 root root 55436 Sep 23 2020 dd + -rwxr-xr-x 1 root root 59912 Sep 23 2020 df + -rwxr-xr-x 1 root root 96764 Sep 23 2020 dir + -rwxr-xr-x 1 root root 55012 Jul 29 09:09 dmesg + lrwxrwxrwx 1 root root 8 Nov 8 2019 dnsdomainname -> hostname + lrwxrwxrwx 1 root root 8 Nov 8 2019 domainname -> hostname + -rwxr-xr-x 1 root root 22508 Sep 23 2020 echo + -rwxr-xr-x 1 root root 28 Nov 10 2020 egrep + -rwxr-xr-x 1 root root 22496 Sep 23 2020 false + -rwxr-xr-x 1 root root 28 Nov 10 2020 fgrep + -rwxr-xr-x 1 root root 47492 Jul 29 09:09 findmnt + -rwsr-xr-x 1 root root 26076 Feb 27 06:12 fusermount + -rwxr-xr-x 1 root root 124508 Nov 10 2020 grep + -rwxr-xr-x 2 root root 2346 Mar 3 13:30 gunzip + -rwxr-xr-x 1 root root 6376 Mar 3 13:30 gzexe + -rwxr-xr-x 1 root root 64212 Mar 3 13:30 gzip + -rwxr-xr-x 1 root root 13784 Nov 8 2019 hostname + -rwxr-xr-x 1 root root 43180 Sep 23 2020 ln + -rwxr-xr-x 1 root root 35068 Feb 8 2020 login + -rwxr-xr-x 1 root root 96764 Sep 23 2020 ls + -rwxr-xr-x 1 root root 99940 Jul 29 09:09 lsblk + -rwxr-xr-x 1 root root 51408 Sep 23 2020 mkdir + -rwxr-xr-x 1 root root 43184 Sep 23 2020 mknod + -rwxr-xr-x 1 root root 30780 Sep 23 2020 mktemp + -rwxr-xr-x 1 root root 34408 Jul 29 09:09 more + -rwsr-xr-x 1 root root 34400 Jul 29 09:09 mount + -rwxr-xr-x 1 root root 9824 Jul 29 09:09 mountpoint + -rwxr-xr-x 1 root root 88524 Sep 23 2020 mv + lrwxrwxrwx 1 root root 8 Nov 8 2019 nisdomainname -> hostname + lrwxrwxrwx 1 root root 14 Apr 19 05:38 pidof -> /sbin/killall5 + -rwxr-xr-x 1 root root 26652 Sep 23 2020 pwd + lrwxrwxrwx 1 root root 4 Aug 5 10:25 rbash -> bash + -rwxr-xr-x 1 root root 30740 Sep 23 2020 readlink + -rwxr-xr-x 1 root root 43104 Sep 23 2020 rm + -rwxr-xr-x 1 root root 30732 Sep 23 2020 rmdir + -rwxr-xr-x 1 root root 14144 Sep 28 2020 run-parts + -rwxr-xr-x 1 root root 76012 Dec 23 2018 sed + lrwxrwxrwx 1 root root 4 Aug 9 23:47 sh -> bash + lrwxrwxrwx 1 root root 4 Aug 9 23:24 sh.distrib -> dash + -rwxr-xr-x 1 root root 22532 Sep 23 2020 sleep + -rwxr-xr-x 1 root root 55360 Sep 23 2020 stty + -rwsr-xr-x 1 root root 46704 Jul 29 09:09 su + -rwxr-xr-x 1 root root 22532 Sep 23 2020 sync + -rwxr-xr-x 1 root root 340872 Feb 17 23:55 tar + -rwxr-xr-x 1 root root 9808 Sep 28 2020 tempfile + -rwxr-xr-x 1 root root 67696 Sep 23 2020 touch + -rwxr-xr-x 1 root root 22496 Sep 23 2020 true + -rwxr-xr-x 1 root root 9636 Feb 27 06:12 ulockmgr_server + -rwsr-xr-x 1 root root 22108 Jul 29 09:09 umount + -rwxr-xr-x 1 root root 22520 Sep 23 2020 uname + -rwxr-xr-x 2 root root 2346 Mar 3 13:30 uncompress + -rwxr-xr-x 1 root root 96764 Sep 23 2020 vdir + -rwxr-xr-x 1 root root 38512 Jul 29 09:09 wdctl + lrwxrwxrwx 1 root root 8 Nov 8 2019 ypdomainname -> hostname + -rwxr-xr-x 1 root root 1984 Mar 3 13:30 zcat + -rwxr-xr-x 1 root root 1678 Mar 3 13:30 zcmp + -rwxr-xr-x 1 root root 5880 Mar 3 13:30 zdiff + -rwxr-xr-x 1 root root 29 Mar 3 13:30 zegrep + -rwxr-xr-x 1 root root 29 Mar 3 13:30 zfgrep + -rwxr-xr-x 1 root root 2081 Mar 3 13:30 zforce + -rwxr-xr-x 1 root root 7585 Mar 3 13:30 zgrep + -rwxr-xr-x 1 root root 2206 Mar 3 13:30 zless + -rwxr-xr-x 1 root root 1842 Mar 3 13:30 zmore + -rwxr-xr-x 1 root root 4553 Mar 3 13:30 znew +I: user script /srv/workspace/pbuilder/9978/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -307,7 +341,7 @@ Get: 93 http://deb.debian.org/debian bullseye/main armhf xaw3dg armhf 1.5+F-1 [124 kB] Get: 94 http://deb.debian.org/debian bullseye/main armhf xutils-dev armhf 1:7.7+5+b1 [239 kB] Get: 95 http://deb.debian.org/debian bullseye/main armhf xaw3dg-dev armhf 1.5+F-1 [168 kB] -Fetched 40.6 MB in 6s (7109 kB/s) +Fetched 40.6 MB in 6s (7336 kB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package bsdextrautils. (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 ... 19398 files and directories currently installed.) @@ -705,8 +739,45 @@ Writing extended state information... Building tag database... -> Finished parsing the build-deps +Reading package lists... +Building dependency tree... +Reading state information... +The following additional packages will be installed: + libfile-find-rule-perl libnumber-compare-perl libtext-glob-perl +The following NEW packages will be installed: + libfile-find-rule-perl libnumber-compare-perl libtext-glob-perl usrmerge +0 upgraded, 4 newly installed, 0 to remove and 0 not upgraded. +Need to get 59.5 kB of archives. +After this operation, 157 kB of additional disk space will be used. +Get:1 http://deb.debian.org/debian bullseye/main armhf libnumber-compare-perl all 0.03-1.1 [6956 B] +Get:2 http://deb.debian.org/debian bullseye/main armhf libtext-glob-perl all 0.11-1 [8888 B] +Get:3 http://deb.debian.org/debian bullseye/main armhf libfile-find-rule-perl all 0.34-1 [30.6 kB] +Get:4 http://deb.debian.org/debian bullseye/main armhf usrmerge all 25 [13.0 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 59.5 kB in 0s (857 kB/s) +Selecting previously unselected package libnumber-compare-perl. +(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 ... 25607 files and directories currently installed.) +Preparing to unpack .../libnumber-compare-perl_0.03-1.1_all.deb ... +Unpacking libnumber-compare-perl (0.03-1.1) ... +Selecting previously unselected package libtext-glob-perl. +Preparing to unpack .../libtext-glob-perl_0.11-1_all.deb ... +Unpacking libtext-glob-perl (0.11-1) ... +Selecting previously unselected package libfile-find-rule-perl. +Preparing to unpack .../libfile-find-rule-perl_0.34-1_all.deb ... +Unpacking libfile-find-rule-perl (0.34-1) ... +Selecting previously unselected package usrmerge. +Preparing to unpack .../archives/usrmerge_25_all.deb ... +Unpacking usrmerge (25) ... +Setting up libtext-glob-perl (0.11-1) ... +Setting up libnumber-compare-perl (0.03-1.1) ... +Setting up libfile-find-rule-perl (0.34-1) ... +Setting up usrmerge (25) ... +The system has been successfully converted. +Processing triggers for man-db (2.9.4-2) ... +Not building database; man-db/auto-update is not 'true'. I: Building the package -I: Running cd /build/x11iraf-2.0+2020.06.15+dfsg/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-genchanges -S > ../x11iraf_2.0+2020.06.15+dfsg-1_source.changes +hostname: Name or service not known +I: Running cd /build/x11iraf-2.0+2020.06.15+dfsg/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-genchanges -S > ../x11iraf_2.0+2020.06.15+dfsg-1_source.changes dpkg-buildpackage: info: source package x11iraf dpkg-buildpackage: info: source version 2.0+2020.06.15+dfsg-1 dpkg-buildpackage: info: source distribution unstable @@ -716,7 +787,7 @@ debian/rules clean dh clean dh_auto_clean - make -j3 clean + make -j4 clean make[1]: Entering directory '/build/x11iraf-2.0+2020.06.15+dfsg' make -C xtapemon clean make[2]: Entering directory '/build/x11iraf-2.0+2020.06.15+dfsg/xtapemon' @@ -762,13 +833,14 @@ dh_autoreconf dh_auto_configure dh_auto_build - make -j3 "INSTALL=install --strip-program=true" + make -j4 "INSTALL=install --strip-program=true" make[1]: Entering directory '/build/x11iraf-2.0+2020.06.15+dfsg' make -C obm make[2]: Entering directory '/build/x11iraf-2.0+2020.06.15+dfsg/obm' cc -g -O2 -fdebug-prefix-map=/build/x11iraf-2.0+2020.06.15+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DOSI_COMPLIANT -Wdate-time -D_FORTIFY_SOURCE=2 -c -o Obm.o Obm.c cc -g -O2 -fdebug-prefix-map=/build/x11iraf-2.0+2020.06.15+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DOSI_COMPLIANT -Wdate-time -D_FORTIFY_SOURCE=2 -c -o client.o client.c cc -g -O2 -fdebug-prefix-map=/build/x11iraf-2.0+2020.06.15+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DOSI_COMPLIANT -Wdate-time -D_FORTIFY_SOURCE=2 -c -o param.o param.c +cc -g -O2 -fdebug-prefix-map=/build/x11iraf-2.0+2020.06.15+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DOSI_COMPLIANT -Wdate-time -D_FORTIFY_SOURCE=2 -c -o server.o server.c client.c: In function 'ClientEvaluate': client.c:137:53: warning: passing argument 4 of 'Tcl_SplitList' from incompatible pointer type [-Wincompatible-pointer-types] 137 | literal: if (Tcl_SplitList (tcl, command, &argc, &argvp) == TCL_OK) { @@ -805,31 +877,6 @@ /usr/include/tcl/tclDecls.h:274:58: note: expected 'const char * const*' but argument is of type 'char **' 274 | EXTERN char * Tcl_Concat(int argc, CONST84 char *const *argv); | ^ -param.c: In function 'ParameterClassInit': -param.c:99:19: warning: assignment to 'ObmCreateFunc' {aka 'struct obmObject * (*)()'} from incompatible pointer type 'int (*)()' [-Wincompatible-pointer-types] - 99 | classrec->Create = (ObmFunc) ParameterCreate; - | ^ -param.c: In function 'ParameterEvaluate': -param.c:213:32: warning: passing argument 2 of 'Tcl_SetResult' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 213 | Tcl_SetResult (obm->tcl, Tcl_GetStringResult (msg->tcl), TCL_VOLATILE); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from /usr/include/tcl/tcl.h:2441, - from ObmP.h:76, - from param.c:4: -/usr/include/tcl/tclDecls.h:693:54: note: expected 'char *' but argument is of type 'const char *' - 693 | EXTERN void Tcl_SetResult(Tcl_Interp *interp, char *result, - | ~~~~~~^~~~~~ -param.c:221:28: warning: passing argument 2 of 'Tcl_SetResult' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 221 | Tcl_SetResult (obm->tcl, Tcl_GetStringResult (msg->tcl), TCL_VOLATILE); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from /usr/include/tcl/tcl.h:2441, - from ObmP.h:76, - from param.c:4: -/usr/include/tcl/tclDecls.h:693:54: note: expected 'char *' but argument is of type 'const char *' - 693 | EXTERN void Tcl_SetResult(Tcl_Interp *interp, char *result, - | ~~~~~~^~~~~~ -cc -g -O2 -fdebug-prefix-map=/build/x11iraf-2.0+2020.06.15+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DOSI_COMPLIANT -Wdate-time -D_FORTIFY_SOURCE=2 -c -o server.o server.c -cc -g -O2 -fdebug-prefix-map=/build/x11iraf-2.0+2020.06.15+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DOSI_COMPLIANT -Wdate-time -D_FORTIFY_SOURCE=2 -c -o widget.o widget.c server.c: In function 'serverSend': server.c:831:41: warning: passing argument 2 of 'Tcl_Merge' from incompatible pointer type [-Wincompatible-pointer-types] 831 | char *message = Tcl_Merge (argc-2, &argv[2]); @@ -854,21 +901,6 @@ /usr/include/tcl/tclDecls.h:274:58: note: expected 'const char * const*' but argument is of type 'char **' 274 | EXTERN char * Tcl_Concat(int argc, CONST84 char *const *argv); | ^ -Obm.c: In function 'ObmActivate': -Obm.c:311:57: warning: '%s' directive writing 29 bytes into a region of size between 13 and 394 [-Wformat-overflow=] - 311 | sprintf (defaultUI, "%s %s %s {%s.objects: %s%s%s%s%s}; %s; %s\n", - | ^~ -...... - 317 | "*gterm.deiconifyWindow: True\n", - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from /usr/include/stdio.h:867, - from ObmP.h:8, - from Obm.c:5: -/usr/include/arm-linux-gnueabihf/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 187 and 568 bytes into a destination of size 512 - 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 37 | __bos (__s), __fmt, __va_arg_pack ()); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ server.c: In function 'serverGetResources': server.c:999:50: warning: passing argument 4 of 'Tcl_SplitList' from incompatible pointer type [-Wincompatible-pointer-types] 999 | if (Tcl_SplitList (tcl, resource_list, &nitems, &items) != TCL_OK) { @@ -932,6 +964,31 @@ server.c:2175:17: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2175 | ip->label = cp; | ^ +param.c: In function 'ParameterClassInit': +param.c:99:19: warning: assignment to 'ObmCreateFunc' {aka 'struct obmObject * (*)()'} from incompatible pointer type 'int (*)()' [-Wincompatible-pointer-types] + 99 | classrec->Create = (ObmFunc) ParameterCreate; + | ^ +cc -g -O2 -fdebug-prefix-map=/build/x11iraf-2.0+2020.06.15+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DOSI_COMPLIANT -Wdate-time -D_FORTIFY_SOURCE=2 -c -o widget.o widget.c +param.c: In function 'ParameterEvaluate': +param.c:213:32: warning: passing argument 2 of 'Tcl_SetResult' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + 213 | Tcl_SetResult (obm->tcl, Tcl_GetStringResult (msg->tcl), TCL_VOLATILE); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from /usr/include/tcl/tcl.h:2441, + from ObmP.h:76, + from param.c:4: +/usr/include/tcl/tclDecls.h:693:54: note: expected 'char *' but argument is of type 'const char *' + 693 | EXTERN void Tcl_SetResult(Tcl_Interp *interp, char *result, + | ~~~~~~^~~~~~ +param.c:221:28: warning: passing argument 2 of 'Tcl_SetResult' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + 221 | Tcl_SetResult (obm->tcl, Tcl_GetStringResult (msg->tcl), TCL_VOLATILE); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from /usr/include/tcl/tcl.h:2441, + from ObmP.h:76, + from param.c:4: +/usr/include/tcl/tclDecls.h:693:54: note: expected 'char *' but argument is of type 'const char *' + 693 | EXTERN void Tcl_SetResult(Tcl_Interp *interp, char *result, + | ~~~~~~^~~~~~ +cc -g -O2 -fdebug-prefix-map=/build/x11iraf-2.0+2020.06.15+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DOSI_COMPLIANT -Wdate-time -D_FORTIFY_SOURCE=2 -c -o gterm.o gterm.c widget.c: In function 'WidgetClassInit': widget.c:263:19: warning: assignment to 'ObmCreateFunc' {aka 'struct obmObject * (*)()'} from incompatible pointer type 'int (*)()' [-Wincompatible-pointer-types] 263 | classrec->Create = (ObmFunc) WidgetCreate; @@ -1056,7 +1113,6 @@ | | | | int long unsigned int | %ld -cc -g -O2 -fdebug-prefix-map=/build/x11iraf-2.0+2020.06.15+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DOSI_COMPLIANT -Wdate-time -D_FORTIFY_SOURCE=2 -c -o gterm.o gterm.c gterm.c: In function 'GtermClassInit': gterm.c:246:19: warning: assignment to 'ObmCreateFunc' {aka 'struct obmObject * (*)()'} from incompatible pointer type 'int (*)()' [-Wincompatible-pointer-types] 246 | classrec->Create = (ObmFunc) GtermCreate; @@ -1073,6 +1129,21 @@ /usr/include/tcl/tclDecls.h:274:58: note: expected 'const char * const*' but argument is of type 'char **' 274 | EXTERN char * Tcl_Concat(int argc, CONST84 char *const *argv); | ^ +Obm.c: In function 'ObmActivate': +Obm.c:311:57: warning: '%s' directive writing 29 bytes into a region of size between 13 and 394 [-Wformat-overflow=] + 311 | sprintf (defaultUI, "%s %s %s {%s.objects: %s%s%s%s%s}; %s; %s\n", + | ^~ +...... + 317 | "*gterm.deiconifyWindow: True\n", + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from /usr/include/stdio.h:867, + from ObmP.h:8, + from Obm.c:5: +/usr/include/arm-linux-gnueabihf/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 187 and 568 bytes into a destination of size 512 + 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 37 | __bos (__s), __fmt, __va_arg_pack ()); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gterm.c: In function 'gtermExtractPixmap': gterm.c:2971:6: warning: implicit declaration of function 'createPixmap'; did you mean 'XCreatePixmap'? [-Wimplicit-function-declaration] 2971 | createPixmap (obm, s_pixmap, nx, ny, 8, pixmap, NULL, 0, 0); @@ -1090,6 +1161,7 @@ /usr/include/tcl/tclDecls.h:722:21: note: expected 'const char ***' but argument is of type 'char ***' 722 | CONST84 char ***argvPtr); | ^ +cc -g -O2 -fdebug-prefix-map=/build/x11iraf-2.0+2020.06.15+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DOSI_COMPLIANT -Wdate-time -D_FORTIFY_SOURCE=2 -c -o marker.o marker.c server.c: In function 'menu_highlight': server.c:3034:24: warning: '__builtin___sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=] 3034 | sprintf (target, "*%s", mw->child); @@ -1102,7 +1174,6 @@ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -cc -g -O2 -fdebug-prefix-map=/build/x11iraf-2.0+2020.06.15+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DOSI_COMPLIANT -Wdate-time -D_FORTIFY_SOURCE=2 -c -o marker.o marker.c marker.c: In function 'MarkerClassInit': marker.c:158:19: warning: assignment to 'ObmCreateFunc' {aka 'struct obmObject * (*)()'} from incompatible pointer type 'int (*)()' [-Wincompatible-pointer-types] 158 | classrec->Create = (ObmFunc) MarkerCreate; @@ -1164,6 +1235,7 @@ cc -g -O2 -fdebug-prefix-map=/build/x11iraf-2.0+2020.06.15+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DOSI_COMPLIANT -DOSI_COMPLIANT -Wdate-time -D_FORTIFY_SOURCE=2 -c -o Group.o Group.c cc -g -O2 -fdebug-prefix-map=/build/x11iraf-2.0+2020.06.15+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DOSI_COMPLIANT -DOSI_COMPLIANT -Wdate-time -D_FORTIFY_SOURCE=2 -c -o Gterm.o Gterm.c cc -g -O2 -fdebug-prefix-map=/build/x11iraf-2.0+2020.06.15+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DOSI_COMPLIANT -DOSI_COMPLIANT -Wdate-time -D_FORTIFY_SOURCE=2 -c -o Icon.o Icon.c +cc -g -O2 -fdebug-prefix-map=/build/x11iraf-2.0+2020.06.15+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DOSI_COMPLIANT -DOSI_COMPLIANT -Wdate-time -D_FORTIFY_SOURCE=2 -c -o iconutil.o iconutil.c Gterm.c: In function 'Initialize': Gterm.c:756:44: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'Colormap' {aka 'long unsigned int'} [-Wformat=] 756 | "Gterm.intialize(Pseudo8): colormap = 0x%x base=%d\n", @@ -1215,7 +1287,6 @@ | ~~~~~~~~~~~~~~~~ | | | Colormap {aka long unsigned int} -cc -g -O2 -fdebug-prefix-map=/build/x11iraf-2.0+2020.06.15+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DOSI_COMPLIANT -DOSI_COMPLIANT -Wdate-time -D_FORTIFY_SOURCE=2 -c -o iconutil.o iconutil.c Gterm.c:991:69: warning: format '%x' expects argument of type 'unsigned int', but argument 5 has type 'Colormap' {aka 'long unsigned int'} [-Wformat=] 991 | "Gterm.intialize: ncolors=%d useDefaultCM=%d core.colormap=0x%x\n", | ~^ @@ -1749,30 +1820,9 @@ make[2]: Entering directory '/build/x11iraf-2.0+2020.06.15+dfsg/xgterm' make[2]: Entering directory '/build/x11iraf-2.0+2020.06.15+dfsg/ximtool' cc -g -O2 -fdebug-prefix-map=/build/x11iraf-2.0+2020.06.15+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -I../obm -DALLOWLOGGING -Wdate-time -D_FORTIFY_SOURCE=2 -c -o button.o button.c -cc -g -O2 -fdebug-prefix-map=/build/x11iraf-2.0+2020.06.15+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -I../obm -DALLOWLOGGING -Wdate-time -D_FORTIFY_SOURCE=2 -c -o charproc.o charproc.c cc -g -O2 -fdebug-prefix-map=/build/x11iraf-2.0+2020.06.15+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -I../obm -DOSI_COMPLIANT -Wdate-time -D_FORTIFY_SOURCE=2 -c -o eps.o eps.c -button.c: In function 'DiredButton': -button.c:194:9: warning: implicit declaration of function 'v_write'; did you mean 'fwrite'? [-Wimplicit-function-declaration] - 194 | v_write(pty, Line, 5 ); - | ^~~~~~~ - | fwrite -button.c: In function 'StartSelect': -button.c:519:6: warning: implicit declaration of function 'HideCursor'; did you mean 'BadCursor'? [-Wimplicit-function-declaration] - 519 | HideCursor (); - | ^~~~~~~~~~ - | BadCursor -button.c: In function 'ReHiliteText': -button.c:1080:7: warning: implicit declaration of function 'ScrnRefresh' [-Wimplicit-function-declaration] - 1080 | ScrnRefresh(screen, frow, fcol, 1, i, True); - | ^~~~~~~~~~~ -button.c: In function 'SaltTextAway': -button.c:1130:3: warning: implicit declaration of function 'SysError' [-Wimplicit-function-declaration] - 1130 | SysError(ERROR_BMALLOC2); - | ^~~~~~~~ -button.c: In function 'SaveText': -button.c:1409:6: warning: implicit declaration of function 'ScrnGetAttributes' [-Wimplicit-function-declaration] - 1409 | if(ScrnGetAttributes(screen, row + screen->topline, 0, &attr, 1) == 1) { - | ^~~~~~~~~~~~~~~~~ +cc -g -O2 -fdebug-prefix-map=/build/x11iraf-2.0+2020.06.15+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -I../obm -DALLOWLOGGING -Wdate-time -D_FORTIFY_SOURCE=2 -c -o charproc.o charproc.c +cc -g -O2 -fdebug-prefix-map=/build/x11iraf-2.0+2020.06.15+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -I../obm -DOSI_COMPLIANT -Wdate-time -D_FORTIFY_SOURCE=2 -c -o fitsio.o fitsio.c charproc.c: In function 'VTparse': charproc.c:743:4: warning: implicit declaration of function 'Bell'; did you mean 'XBell'? [-Wimplicit-function-declaration] 743 | Bell(); @@ -1808,19 +1858,45 @@ charproc.c:869:4: warning: implicit declaration of function 'CursorForward' [-Wimplicit-function-declaration] 869 | CursorForward(screen, row); | ^~~~~~~~~~~~~ +button.c: In function 'DiredButton': +button.c:194:9: warning: implicit declaration of function 'v_write'; did you mean 'fwrite'? [-Wimplicit-function-declaration] + 194 | v_write(pty, Line, 5 ); + | ^~~~~~~ + | fwrite charproc.c:887:4: warning: implicit declaration of function 'CursorSet'; did you mean 'CursorX'? [-Wimplicit-function-declaration] 887 | CursorSet(screen, row-1, col-1, term->flags); | ^~~~~~~~~ | CursorX +button.c: In function 'StartSelect': +button.c:519:6: warning: implicit declaration of function 'HideCursor'; did you mean 'BadCursor'? [-Wimplicit-function-declaration] + 519 | HideCursor (); + | ^~~~~~~~~~ + | BadCursor charproc.c:905:5: warning: implicit declaration of function 'ClearBelow' [-Wimplicit-function-declaration] 905 | ClearBelow(screen); | ^~~~~~~~~~ +fitsio.c: In function 'isFITS': +fitsio.c:208:6: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] + 208 | fscanf (fp, "%6s = %c", keyw, &val); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +button.c: In function 'ReHiliteText': +button.c:1080:7: warning: implicit declaration of function 'ScrnRefresh' [-Wimplicit-function-declaration] + 1080 | ScrnRefresh(screen, frow, fcol, 1, i, True); + | ^~~~~~~~~~~ +button.c: In function 'SaltTextAway': +button.c:1130:3: warning: implicit declaration of function 'SysError' [-Wimplicit-function-declaration] + 1130 | SysError(ERROR_BMALLOC2); + | ^~~~~~~~ charproc.c:909:5: warning: implicit declaration of function 'ClearAbove' [-Wimplicit-function-declaration] 909 | ClearAbove(screen); | ^~~~~~~~~~ +button.c: In function 'SaveText': charproc.c:913:5: warning: implicit declaration of function 'ClearScreen' [-Wimplicit-function-declaration] 913 | ClearScreen(screen); | ^~~~~~~~~~~ +button.c:1409:6: warning: implicit declaration of function 'ScrnGetAttributes' [-Wimplicit-function-declaration] + 1409 | if(ScrnGetAttributes(screen, row + screen->topline, 0, &attr, 1) == 1) { + | ^~~~~~~~~~~~~~~~~ charproc.c:925:5: warning: implicit declaration of function 'ClearRight' [-Wimplicit-function-declaration] 925 | ClearRight(screen); | ^~~~~~~~~~ @@ -1959,6 +2035,20 @@ charproc.c:2292:1: warning: return type defaults to 'int' [-Wimplicit-int] 2292 | unparseseq(ap, fd) | ^~~~~~~~~~ +fitsio.c: In function 'ftopen2d': +fitsio.c:425:26: warning: '%d' directive writing between 1 and 10 bytes into a region of size 4 [-Wformat-overflow=] + 425 | sprintf(name, "NAXIS%d", j + 1); + | ^~ +fitsio.c:425:20: note: directive argument in the range [1, 2147483647] + 425 | sprintf(name, "NAXIS%d", j + 1); + | ^~~~~~~~~ +In file included from /usr/include/stdio.h:867, + from fitsio.c:23: +/usr/include/arm-linux-gnueabihf/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 7 and 16 bytes into a destination of size 9 + 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 37 | __bos (__s), __fmt, __va_arg_pack ()); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ charproc.c: In function 'unparseseq': charproc.c:2302:3: warning: implicit declaration of function 'unparseputc' [-Wimplicit-function-declaration] 2302 | unparseputc(ESC, fd); @@ -2091,6 +2181,36 @@ charproc.c:1649:2: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 1649 | write (screen->logfd, buffer, bcnt); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +fitsio.c: In function 'getFITSHdr': +fitsio.c:240:47: warning: '%s' directive writing up to 79 bytes into a region of size between 24 and 44 [-Wformat-overflow=] + 240 | sprintf (line, "%-16.16s %3d %5dx%-5d %s", + | ^~ + 241 | fname, bitpix, w,h, fs.title); + | ~~~~~~~~ +In file included from /usr/include/stdio.h:867, + from fitsio.c:23: +/usr/include/arm-linux-gnueabihf/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 37 and 136 bytes into a destination of size 80 + 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 37 | __bos (__s), __fmt, __va_arg_pack ()); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +fitsio.c:237:51: warning: '%s' directive writing up to 79 bytes into a region of size between 27 and 44 [-Wformat-overflow=] + 237 | sprintf (line, "%-16.16s %3d (%2d extns) %s", + | ^~ + 238 | fname, bitpix, fs.nextend, fs.title); + | ~~~~~~~~ +In file included from /usr/include/stdio.h:867, + from fitsio.c:23: +/usr/include/arm-linux-gnueabihf/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 37 and 133 bytes into a destination of size 80 + 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 37 | __bos (__s), __fmt, __va_arg_pack ()); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +cc -g -O2 -fdebug-prefix-map=/build/x11iraf-2.0+2020.06.15+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -I../obm -DOSI_COMPLIANT -Wdate-time -D_FORTIFY_SOURCE=2 -c -o gifio.o gifio.c +gifio.c: In function 'isGIF': +gifio.c:217:13: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] + 217 | fread (tag, sizeof(char), 4, fp); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -g -O2 -fdebug-prefix-map=/build/x11iraf-2.0+2020.06.15+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -I../obm -DALLOWLOGGING -Wdate-time -D_FORTIFY_SOURCE=2 -c -o cursor.o cursor.c cursor.c: In function '_CheckSelection': cursor.c:41:2: warning: implicit declaration of function 'DisownSelection'; did you mean 'XtDisownSelection'? [-Wimplicit-function-declaration] @@ -2132,7 +2252,22 @@ 233 | CursorRestore(term, sc) | ^~~~~~~~~~~~~ cc -g -O2 -fdebug-prefix-map=/build/x11iraf-2.0+2020.06.15+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -I../obm -DALLOWLOGGING -Wdate-time -D_FORTIFY_SOURCE=2 -c -o data.o data.c +cc -g -O2 -fdebug-prefix-map=/build/x11iraf-2.0+2020.06.15+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -I../obm -DOSI_COMPLIANT -Wdate-time -D_FORTIFY_SOURCE=2 -c -o iis.o iis.c cc -g -O2 -fdebug-prefix-map=/build/x11iraf-2.0+2020.06.15+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -I../obm -DALLOWLOGGING -Wdate-time -D_FORTIFY_SOURCE=2 -c -o gtermio.o gtermio.c +cc -g -O2 -fdebug-prefix-map=/build/x11iraf-2.0+2020.06.15+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -I../obm -DOSI_COMPLIANT -Wdate-time -D_FORTIFY_SOURCE=2 -c -o irafio.o irafio.c +iis.c: In function 'xim_iisio': +iis.c:760:35: warning: too many arguments for format [-Wformat-extra-args] + 760 | fprintf (stderr, "write %d bytes at x=%d, y=%d\n", + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +iis.c:846:25: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] + 846 | write (2, text, strlen (text)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +iis.c:865:25: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] + 865 | write (2, text, strlen(text)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +iis.c:896:21: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] + 896 | write (2, buf, ndatabytes); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~ gtermio.c: In function 'gio_hardreset': gtermio.c:549:6: warning: implicit declaration of function 'v_write'; did you mean 'pwrite'? [-Wimplicit-function-declaration] 549 | v_write (pty_fd, s_reset, strlen(s_reset)); @@ -2142,55 +2277,72 @@ gtermio.c:1407:43: warning: embedded '\0' in format [-Wformat-contains-nul] 1407 | sprintf (txtbuf, "setValue {%s}\0", tx_buf); | ^~ -cc -g -O2 -fdebug-prefix-map=/build/x11iraf-2.0+2020.06.15+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -I../obm -DOSI_COMPLIANT -Wdate-time -D_FORTIFY_SOURCE=2 -c -o fitsio.o fitsio.c -fitsio.c: In function 'isFITS': -fitsio.c:208:6: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] - 208 | fscanf (fp, "%6s = %c", keyw, &val); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -fitsio.c: In function 'ftopen2d': -fitsio.c:425:26: warning: '%d' directive writing between 1 and 10 bytes into a region of size 4 [-Wformat-overflow=] - 425 | sprintf(name, "NAXIS%d", j + 1); - | ^~ -fitsio.c:425:20: note: directive argument in the range [1, 2147483647] - 425 | sprintf(name, "NAXIS%d", j + 1); - | ^~~~~~~~~ -In file included from /usr/include/stdio.h:867, - from fitsio.c:23: -/usr/include/arm-linux-gnueabihf/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 7 and 16 bytes into a destination of size 9 - 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 37 | __bos (__s), __fmt, __va_arg_pack ()); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -fitsio.c: In function 'getFITSHdr': -fitsio.c:240:47: warning: '%s' directive writing up to 79 bytes into a region of size between 24 and 44 [-Wformat-overflow=] - 240 | sprintf (line, "%-16.16s %3d %5dx%-5d %s", - | ^~ - 241 | fname, bitpix, w,h, fs.title); - | ~~~~~~~~ -In file included from /usr/include/stdio.h:867, - from fitsio.c:23: -/usr/include/arm-linux-gnueabihf/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 37 and 136 bytes into a destination of size 80 - 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 37 | __bos (__s), __fmt, __va_arg_pack ()); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -fitsio.c:237:51: warning: '%s' directive writing up to 79 bytes into a region of size between 27 and 44 [-Wformat-overflow=] - 237 | sprintf (line, "%-16.16s %3d (%2d extns) %s", - | ^~ - 238 | fname, bitpix, fs.nextend, fs.title); - | ~~~~~~~~ -In file included from /usr/include/stdio.h:867, - from fitsio.c:23: -/usr/include/arm-linux-gnueabihf/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 37 and 133 bytes into a destination of size 80 - 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 37 | __bos (__s), __fmt, __va_arg_pack ()); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -cc -g -O2 -fdebug-prefix-map=/build/x11iraf-2.0+2020.06.15+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -I../obm -DOSI_COMPLIANT -Wdate-time -D_FORTIFY_SOURCE=2 -c -o gifio.o gifio.c -gifio.c: In function 'isGIF': -gifio.c:217:13: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] - 217 | fread (tag, sizeof(char), 4, fp); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +irafio.c: In function 'loadIRAF': +irafio.c:128:13: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] + 128 | fread ((char *)header_v1, sizeof (char), SZ_V1HDR, hdr); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +irafio.c:156:13: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] + 156 | fread ((char *)header_v2, sizeof (char), SZ_V2HDR, hdr); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +irafio.c: In function 'irafReadPixels': +irafio.c:428:17: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] + 428 | fread ((char *)usline, sizeof (unsigned short), px, fd); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +irafio.c:457:17: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] + 457 | fread ((char *)sline, sizeof (short), px, fd); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +irafio.c:487:17: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] + 487 | fread ((char *)iline, sizeof (int), px, fd); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +irafio.c:516:17: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] + 516 | fread ((char *)fline, sizeof (float), px, fd); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +irafio.c:546:17: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] + 546 | fread ((char *)dline, sizeof (double), px, fd); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +irafio.c: In function 'isIRAF': +irafio.c:224:13: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] + 224 | fread ((char *)magic, sizeof (char), 12, fp); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +irafio.c: In function 'getIRAFHdr': +irafio.c:266:13: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] + 266 | fread ((char *)header_v1, sizeof (char), SZ_V1HDR, hdr); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +irafio.c:285:13: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] + 285 | fread ((char *)header_v2, sizeof (char), SZ_V2HDR, hdr); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +cc -g -O2 -fdebug-prefix-map=/build/x11iraf-2.0+2020.06.15+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -I../obm -DOSI_COMPLIANT -Wdate-time -D_FORTIFY_SOURCE=2 -c -o ism.o ism.c +ism.c: In function 'ism_io': +ism.c:305:27: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long int' [-Wformat=] + 305 | printf("\nism_io: nread=%d pkt=%d count=%d n=%d\n",nread,pkt++,count,n); + | ~^ ~~~~~ + | | | + | int long int + | %ld +ism.c:305:34: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long int' [-Wformat=] + 305 | printf("\nism_io: nread=%d pkt=%d count=%d n=%d\n",nread,pkt++,count,n); + | ~^ ~~~~~ + | | | + | int long int + | %ld +In file included from ism.c:18: +ximtool.h:64:28: warning: format '%d' expects argument of type 'int', but argument 4 has type 'XtInputId' {aka 'long unsigned int'} [-Wformat=] + 64 | #define DEF_ISM_TEMPLATE "/tmp/.ISM%d_%d" /* ISM client socket template */ + | ^~~~~~~~~~~~~~~~ +ism.c:339:32: note: in expansion of macro 'DEF_ISM_TEMPLATE' + 339 | sprintf (path, DEF_ISM_TEMPLATE, getuid(), new_chan->id); + | ^~~~~~~~~~~~~~~~ +ximtool.h:64:42: note: format string is defined here + 64 | #define DEF_ISM_TEMPLATE "/tmp/.ISM%d_%d" /* ISM client socket template */ + | ~^ + | | + | int + | %ld +ism.c: In function 'ism_evaluate': +ism.c:552:20: warning: embedded '\0' in format [-Wformat-contains-nul] + 552 | sprintf (buf, "%s\0", command); + | ^~ +cc -g -O2 -fdebug-prefix-map=/build/x11iraf-2.0+2020.06.15+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -I../obm -DOSI_COMPLIANT -Wdate-time -D_FORTIFY_SOURCE=2 -c -o ism_wcspix.o ism_wcspix.c cc -g -O2 -fdebug-prefix-map=/build/x11iraf-2.0+2020.06.15+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -I../obm -DALLOWLOGGING -Wdate-time -D_FORTIFY_SOURCE=2 -c -o input.o input.c input.c: In function 'AdjustAfterInput': input.c:68:3: warning: implicit declaration of function 'WindowScroll' [-Wimplicit-function-declaration] @@ -2211,21 +2363,60 @@ input.c:189:1: warning: return type defaults to 'int' [-Wimplicit-int] 189 | StringInput (screen, string, nbytes) | ^~~~~~~~~~~ -cc -g -O2 -fdebug-prefix-map=/build/x11iraf-2.0+2020.06.15+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -I../obm -DOSI_COMPLIANT -Wdate-time -D_FORTIFY_SOURCE=2 -c -o iis.o iis.c -iis.c: In function 'xim_iisio': -iis.c:760:35: warning: too many arguments for format [-Wformat-extra-args] - 760 | fprintf (stderr, "write %d bytes at x=%d, y=%d\n", - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +cc -g -O2 -fdebug-prefix-map=/build/x11iraf-2.0+2020.06.15+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -I../obm -DOSI_COMPLIANT -Wdate-time -D_FORTIFY_SOURCE=2 -c -o load.o load.c +load.c: In function 'xim_initLoad': +load.c:72:33: warning: embedded '\0' in format [-Wformat-contains-nul] + 72 | sprintf (buf, "curdir %s\0", flp->curdir); + | ^~ +load.c:74:34: warning: embedded '\0' in format [-Wformat-contains-nul] + 74 | sprintf (buf, "pattern %s\0", flp->pattern); + | ^~ +load.c:76:31: warning: embedded '\0' in format [-Wformat-contains-nul] + 76 | sprintf (buf, "gray %d\0", flp->gray); + | ^~ +load.c:78:33: warning: embedded '\0' in format [-Wformat-contains-nul] + 78 | sprintf (buf, "zscale %d\0", flp->zscale); + | ^~ +load.c:80:33: warning: embedded '\0' in format [-Wformat-contains-nul] + 80 | sprintf (buf, "zrange %d\0", flp->zrange); + | ^~ +load.c:82:29: warning: embedded '\0' in format [-Wformat-contains-nul] + 82 | sprintf (buf, "z1 %g\0", flp->z1); + | ^~ +load.c:84:29: warning: embedded '\0' in format [-Wformat-contains-nul] + 84 | sprintf (buf, "z2 %g\0", flp->z2); + | ^~ +load.c:86:34: warning: embedded '\0' in format [-Wformat-contains-nul] + 86 | sprintf (buf, "nsample %d\0", flp->nsample); + | ^~ +load.c: In function 'xim_loadFile': +load.c:139:31: warning: embedded '\0' in format [-Wformat-contains-nul] + 139 | sprintf (buf, "warning %s\0", "Error: File not found."); + | ^~ +load.c:201:31: warning: embedded '\0' in format [-Wformat-contains-nul] + 201 | sprintf (buf, "warning %s\0", "Error: Unknown raster file type."); + | ^~ +load.c:208:15: warning: format '%d' expects argument of type 'int', but argument 3 has type 'unsigned char *' [-Wformat=] + 208 | "Load: pix=%d w=%d h=%d xnc=%d nc=%d pcm=%d z1=%g z2=%g\n", + | ~^ + | | + | int + | %hhn + 209 | pix, w, h, xim->ncolors, ncolors, has_private_cmap, z1, z2); + | ~~~ + | | + | unsigned char * +load.c:297:36: warning: embedded '\0' in format [-Wformat-contains-nul] + 297 | sprintf (buf, "%d %d %d\0", cf->width, cf->height, 8); + | ^~ +load.c: In function 'listFiles': +load.c:570:9: warning: ignoring return value of 'getcwd' declared with attribute 'warn_unused_result' [-Wunused-result] + 570 | (void) getcwd (directory, SZ_FNAME); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ +load.c:600:9: warning: ignoring return value of 'chdir' declared with attribute 'warn_unused_result' [-Wunused-result] + 600 | (void) chdir (directory); + | ^~~~~~~~~~~~~~~~~ cc -g -O2 -fdebug-prefix-map=/build/x11iraf-2.0+2020.06.15+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -I../obm -DALLOWLOGGING -Wdate-time -D_FORTIFY_SOURCE=2 -c -o main.o main.c -iis.c:846:25: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] - 846 | write (2, text, strlen (text)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -iis.c:865:25: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] - 865 | write (2, text, strlen(text)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -iis.c:896:21: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] - 896 | write (2, buf, ndatabytes); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~ main.c: In function 'get_termcap': main.c:882:13: warning: implicit declaration of function 'tgetent'; did you mean 'getenv'? [-Wimplicit-function-declaration] 882 | if (tgetent(buffer, name) == 1) { @@ -2343,6 +2534,81 @@ main.c:5063:3: warning: ignoring return value of 'chown' declared with attribute 'warn_unused_result' [-Wunused-result] 5063 | chown (ptydev, 0, 0); | ^~~~~~~~~~~~~~~~~~~~ +cc -g -O2 -fdebug-prefix-map=/build/x11iraf-2.0+2020.06.15+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -I../obm -DOSI_COMPLIANT -Wdate-time -D_FORTIFY_SOURCE=2 -c -o logo.o logo.c +cc -g -O2 -fdebug-prefix-map=/build/x11iraf-2.0+2020.06.15+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -I../obm -DOSI_COMPLIANT -Wdate-time -D_FORTIFY_SOURCE=2 -c -o print.o print.c +print.c: In function 'ximp_rename': +print.c:205:29: warning: format '%d' expects argument of type 'int', but argument 3 has type '__off_t' {aka 'long int'} [-Wformat=] + 205 | sprintf (text, "Wrote %d bytes to %s", fs.st_size, new); + | ~^ ~~~~~~~~~~ + | | | + | int __off_t {aka long int} + | %ld +print.c: In function 'xim_print': +print.c:174:6: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] + 174 | system (text); /* dispose to printer */ + | ^~~~~~~~~~~~~ +print.c:173:31: warning: '%s' directive writing up to 256 bytes into a region of size 249 [-Wformat-overflow=] + 173 | sprintf (text, "cat %s | %s", tmpfile, pcp->printCmd); + | ^~ +In file included from /usr/include/stdio.h:867, + from print.c:1: +/usr/include/arm-linux-gnueabihf/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output 8 or more bytes (assuming 264) into a destination of size 256 + 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 37 | __bos (__s), __fmt, __va_arg_pack ()); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +print.c:381:26: warning: '%s' directive writing up to 255 bytes into a region of size 248 [-Wformat-overflow=] + 106 | printstat (xim, text); + | ~~~~ +...... + 381 | sprintf (text, "status {%s}", message); + | ^~ +In file included from /usr/include/stdio.h:867, + from print.c:1: +/usr/include/arm-linux-gnueabihf/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 10 and 265 bytes into a destination of size 256 + 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 37 | __bos (__s), __fmt, __va_arg_pack ()); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +print.c: In function 'ximp_rename': +print.c:381:26: warning: '%s' directive writing up to 255 bytes into a region of size 248 [-Wformat-overflow=] + 206 | printstat (xim, text); + | ~~~~ +...... + 381 | sprintf (text, "status {%s}", message); + | ^~ +In file included from /usr/include/stdio.h:867, + from print.c:1: +/usr/include/arm-linux-gnueabihf/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 10 and 265 bytes into a destination of size 256 + 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 37 | __bos (__s), __fmt, __va_arg_pack ()); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +print.c:381:26: warning: '%s' directive writing up to 255 bytes into a region of size 248 [-Wformat-overflow=] + 203 | printstat (xim, text); + | ~~~~ +...... + 381 | sprintf (text, "status {%s}", message); + | ^~ +In file included from /usr/include/stdio.h:867, + from print.c:1: +/usr/include/arm-linux-gnueabihf/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 10 and 265 bytes into a destination of size 256 + 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 37 | __bos (__s), __fmt, __va_arg_pack ()); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +print.c: In function 'xim_initPrinterOps': +print.c:256:36: warning: '%s' directive writing up to 256 bytes into a region of size 244 [-Wformat-overflow=] + 256 | sprintf (buf, "printerName %s", printer_list[0].printerName); + | ^~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from /usr/include/stdio.h:867, + from print.c:1: +/usr/include/arm-linux-gnueabihf/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 13 and 269 bytes into a destination of size 256 + 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 37 | __bos (__s), __fmt, __va_arg_pack ()); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +cc -g -O2 -fdebug-prefix-map=/build/x11iraf-2.0+2020.06.15+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -I../obm -DOSI_COMPLIANT -Wdate-time -D_FORTIFY_SOURCE=2 -c -o quant.o quant.c cc -g -O2 -fdebug-prefix-map=/build/x11iraf-2.0+2020.06.15+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -I../obm -DALLOWLOGGING -Wdate-time -D_FORTIFY_SOURCE=2 -c -o menu.o menu.c In file included from menu.c:31: menu.c: In function 'domenu': @@ -2406,11 +2672,11 @@ menu.c:749:5: warning: implicit declaration of function 'ScrollBarDrawThumb' [-Wimplicit-function-declaration] 749 | ScrollBarDrawThumb(screen->scrollWidget); | ^~~~~~~~~~~~~~~~~~ +cc -g -O2 -fdebug-prefix-map=/build/x11iraf-2.0+2020.06.15+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -I../obm -DOSI_COMPLIANT -Wdate-time -D_FORTIFY_SOURCE=2 -c -o rasio.o rasio.c menu.c: In function 'do_tekmode': menu.c:767:5: warning: implicit declaration of function 'switch_modes' [-Wimplicit-function-declaration] 767 | switch_modes (gt_tekmode(2)); /* switch to tek mode */ | ^~~~~~~~~~~~ -cc -g -O2 -fdebug-prefix-map=/build/x11iraf-2.0+2020.06.15+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -I../obm -DOSI_COMPLIANT -Wdate-time -D_FORTIFY_SOURCE=2 -c -o irafio.o irafio.c menu.c: In function 'handle_tekshow': menu.c:777:9: warning: implicit declaration of function 'set_tek_visibility' [-Wimplicit-function-declaration] 777 | set_tek_visibility (TRUE); @@ -2440,42 +2706,111 @@ 877 | end_vt_mode (); | ^~~~~~~~~~~ | do_vtmode -irafio.c: In function 'loadIRAF': -irafio.c:128:13: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] - 128 | fread ((char *)header_v1, sizeof (char), SZ_V1HDR, hdr); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -irafio.c:156:13: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] - 156 | fread ((char *)header_v2, sizeof (char), SZ_V2HDR, hdr); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -irafio.c: In function 'irafReadPixels': -irafio.c:428:17: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] - 428 | fread ((char *)usline, sizeof (unsigned short), px, fd); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -irafio.c:457:17: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] - 457 | fread ((char *)sline, sizeof (short), px, fd); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -irafio.c:487:17: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] - 487 | fread ((char *)iline, sizeof (int), px, fd); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -irafio.c:516:17: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] - 516 | fread ((char *)fline, sizeof (float), px, fd); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -irafio.c:546:17: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] - 546 | fread ((char *)dline, sizeof (double), px, fd); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -irafio.c: In function 'isIRAF': -irafio.c:224:13: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] - 224 | fread ((char *)magic, sizeof (char), 12, fp); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -irafio.c: In function 'getIRAFHdr': -irafio.c:266:13: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] - 266 | fread ((char *)header_v1, sizeof (char), SZ_V1HDR, hdr); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -irafio.c:285:13: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] - 285 | fread ((char *)header_v2, sizeof (char), SZ_V2HDR, hdr); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +rasio.c: In function 'loadSunRas': +rasio.c:130:56: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long int' [-Wformat=] + 130 | fprintf (stderr, "Sun rasterfile image has depth %d\n", + | ~^ + | | + | int + | %ld + 131 | sunhdr.ras_depth); + | ~~~~~~~~~~~~~~~~ + | | + | long int +rasio.c:142:60: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long int' [-Wformat=] + 142 | fprintf (stderr, "Sun rasterfile of unsupported type %d\n", + | ~^ + | | + | int + | %ld + 143 | sunhdr.ras_type); + | ~~~~~~~~~~~~~~~ + | | + | long int +rasio.c:152:69: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long int' [-Wformat=] + 152 | fprintf (stderr, "Sun rasterfile colormap of unsupported type %d\n", + | ~^ + | | + | int + | %ld + 153 | sunhdr.ras_maptype); + | ~~~~~~~~~~~~~~~~~~ + | | + | long int +rasio.c:178:13: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long int' [-Wformat=] + 178 | "type %d, maptype %d, isize %d, csize %d, lsize %d, linesize %d\n", + | ~^ + | | + | int + | %ld + 179 | sunhdr.ras_type, sunhdr.ras_maptype, + | ~~~~~~~~~~~~~~~ + | | + | long int +rasio.c:178:25: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long int' [-Wformat=] + 178 | "type %d, maptype %d, isize %d, csize %d, lsize %d, linesize %d\n", + | ~^ + | | + | int + | %ld + 179 | sunhdr.ras_type, sunhdr.ras_maptype, + | ~~~~~~~~~~~~~~~~~~ + | | + | long int +rasio.c:181:42: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long int' [-Wformat=] + 181 | fprintf (stderr, "colorstyle=%d nc=%d\n", colorstyle, + | ~^ + | | + | int + | %ld + 182 | sunhdr.ras_maplength/3); + | ~~~~~~~~~~~~~~~~~~~~~~ + | | + | long int +rasio.c: In function 'getSunRasHdr': +rasio.c:477:37: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long int' [-Wformat=] + 477 | sprintf (line, "%-16.16s %3d %5dx%-5d %s %s", + | ~~^ + | | + | int + | %3ld + 478 | fname, hdr.ras_depth, hdr.ras_width, hdr.ras_height, + | ~~~~~~~~~~~~~ + | | + | long int +rasio.c:477:42: warning: format '%d' expects argument of type 'int', but argument 5 has type 'long int' [-Wformat=] + 477 | sprintf (line, "%-16.16s %3d %5dx%-5d %s %s", + | ~~^ + | | + | int + | %5ld + 478 | fname, hdr.ras_depth, hdr.ras_width, hdr.ras_height, + | ~~~~~~~~~~~~~ + | | + | long int +rasio.c:477:47: warning: format '%d' expects argument of type 'int', but argument 6 has type 'long int' [-Wformat=] + 477 | sprintf (line, "%-16.16s %3d %5dx%-5d %s %s", + | ~~~^ + | | + | int + | %-5ld + 478 | fname, hdr.ras_depth, hdr.ras_width, hdr.ras_height, + | ~~~~~~~~~~~~~~ + | | + | long int +rasio.c: In function 'loadSunRas': +rasio.c:189:6: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] + 189 | fread (r, 1, nc, fp); + | ^~~~~~~~~~~~~~~~~~~~ +rasio.c:190:6: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] + 190 | fread (g, 1, nc, fp); + | ^~~~~~~~~~~~~~~~~~~~ +rasio.c:191:6: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] + 191 | fread (b, 1, nc, fp); + | ^~~~~~~~~~~~~~~~~~~~ +cc -g -O2 -fdebug-prefix-map=/build/x11iraf-2.0+2020.06.15+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -I../obm -DOSI_COMPLIANT -Wdate-time -D_FORTIFY_SOURCE=2 -c -o raster.o raster.c cc -g -O2 -fdebug-prefix-map=/build/x11iraf-2.0+2020.06.15+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -I../obm -DALLOWLOGGING -Wdate-time -D_FORTIFY_SOURCE=2 -c -o misc.o misc.c -cc -g -O2 -fdebug-prefix-map=/build/x11iraf-2.0+2020.06.15+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -I../obm -DOSI_COMPLIANT -Wdate-time -D_FORTIFY_SOURCE=2 -c -o ism.o ism.c +cc -g -O2 -fdebug-prefix-map=/build/x11iraf-2.0+2020.06.15+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -I../obm -DOSI_COMPLIANT -Wdate-time -D_FORTIFY_SOURCE=2 -c -o save.o save.c misc.c: In function 'xevents': misc.c:77:17: warning: implicit declaration of function 'FlushScroll' [-Wimplicit-function-declaration] 77 | FlushScroll(screen); @@ -2489,6 +2824,13 @@ misc.c:146:2: warning: implicit declaration of function 'Input' [-Wimplicit-function-declaration] 146 | Input (&term->keyboard, screen, &event->xkey, False); | ^~~~~ +raster.c: In function 'xim_initialize': +raster.c:188:26: warning: iteration 15 invokes undefined behavior [-Waggressive-loop-optimizations] + 188 | xim->frames[i].frameno = 0; + | ~~~~~~~~~~~~~~~~~~~~~~~^~~ +raster.c:187:6: note: within this loop + 187 | for (i=1; i <= MAX_FRAMES; i++) + | ^~~ misc.c: In function 'HandleStringEvent': misc.c:192:6: warning: implicit declaration of function 'StringInput' [-Wimplicit-function-declaration] 192 | StringInput (screen, hexval, 1); @@ -2518,6 +2860,20 @@ misc.c:686:3: warning: implicit declaration of function 'Changetitle' [-Wimplicit-function-declaration] 686 | Changetitle(buf); | ^~~~~~~~~~~ +raster.c: In function 'xim_colortables': +raster.c:2222:30: warning: '%s' directive writing up to 10239 bytes into a region of size 8182 [-Wformat-overflow=] + 2222 | sprintf (msgbuf, "setValue {%s}", message); + | ^~ +...... + 2311 | xim_message (xim, "colortables", buf); + | ~~~ +In file included from /usr/include/stdio.h:867, + from raster.c:1: +/usr/include/arm-linux-gnueabihf/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 12 and 10251 bytes into a destination of size 8192 + 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 37 | __bos (__s), __fmt, __va_arg_pack ()); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ misc.c:728:3: warning: implicit declaration of function 'SetVTFont'; did you mean 'XSetFont'? [-Wimplicit-function-declaration] 728 | SetVTFont (fontMenu_fontescape, True, buf, NULL); | ^~~~~~~~~ @@ -2598,36 +2954,6 @@ misc.c:532:3: warning: ignoring return value of 'mkstemp' declared with attribute 'warn_unused_result' [-Wunused-result] 532 | mkstemp(log_default); | ^~~~~~~~~~~~~~~~~~~~ -ism.c: In function 'ism_io': -ism.c:305:27: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long int' [-Wformat=] - 305 | printf("\nism_io: nread=%d pkt=%d count=%d n=%d\n",nread,pkt++,count,n); - | ~^ ~~~~~ - | | | - | int long int - | %ld -ism.c:305:34: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long int' [-Wformat=] - 305 | printf("\nism_io: nread=%d pkt=%d count=%d n=%d\n",nread,pkt++,count,n); - | ~^ ~~~~~ - | | | - | int long int - | %ld -In file included from ism.c:18: -ximtool.h:64:28: warning: format '%d' expects argument of type 'int', but argument 4 has type 'XtInputId' {aka 'long unsigned int'} [-Wformat=] - 64 | #define DEF_ISM_TEMPLATE "/tmp/.ISM%d_%d" /* ISM client socket template */ - | ^~~~~~~~~~~~~~~~ -ism.c:339:32: note: in expansion of macro 'DEF_ISM_TEMPLATE' - 339 | sprintf (path, DEF_ISM_TEMPLATE, getuid(), new_chan->id); - | ^~~~~~~~~~~~~~~~ -ximtool.h:64:42: note: format string is defined here - 64 | #define DEF_ISM_TEMPLATE "/tmp/.ISM%d_%d" /* ISM client socket template */ - | ~^ - | | - | int - | %ld -ism.c: In function 'ism_evaluate': -ism.c:552:20: warning: embedded '\0' in format [-Wformat-contains-nul] - 552 | sprintf (buf, "%s\0", command); - | ^~ cc -g -O2 -fdebug-prefix-map=/build/x11iraf-2.0+2020.06.15+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -I../obm -DALLOWLOGGING -Wdate-time -D_FORTIFY_SOURCE=2 -c -o screen.o screen.c screen.c: In function 'Allocate': screen.c:72:3: warning: implicit declaration of function 'SysError' [-Wimplicit-function-declaration] @@ -2674,68 +3000,99 @@ screen.c:632:7: warning: implicit declaration of function 'ScrollSelection' [-Wimplicit-function-declaration] 632 | ScrollSelection(screen, move_down_by); | ^~~~~~~~~~~~~~~ +save.c: In function 'xim_saveFile': +save.c:170:26: warning: '%s' directive writing up to 255 bytes into a region of size 221 [-Wformat-overflow=] + 170 | sprintf (text, "%s\n%s\n%s", + | ^~ + 171 | "The following file already exists:", fname, + | ~~~~~ +In file included from /usr/include/stdio.h:867, + from save.c:1: +/usr/include/arm-linux-gnueabihf/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 72 and 327 bytes into a destination of size 256 + 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 37 | __bos (__s), __fmt, __va_arg_pack ()); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +save.c:174:42: warning: '%s' directive writing up to 255 bytes into a region of size 243 [-Wformat-overflow=] + 174 | sprintf (ok_action, "save rename %s %s", tmpfile, fname); + | ^~ ~~~~~ +In file included from /usr/include/stdio.h:867, + from save.c:1: +/usr/include/arm-linux-gnueabihf/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output 14 or more bytes (assuming 269) into a destination of size 256 + 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 37 | __bos (__s), __fmt, __va_arg_pack ()); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +save.c:138:46: warning: '%s' directive writing up to 255 bytes into a region of size between 221 and 231 [-Wformat-overflow=] + 138 | sprintf (text, "Error %d\nCannot open file %s", errno, fname); + | ^~ ~~~~~ +In file included from /usr/include/stdio.h:867, + from save.c:1: +/usr/include/arm-linux-gnueabihf/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 26 and 291 bytes into a destination of size 256 + 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 37 | __bos (__s), __fmt, __va_arg_pack ()); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +save.c:134:37: warning: '%s' directive writing up to 255 bytes into a region of size between 229 and 239 [-Wformat-overflow=] + 134 | sprintf (text, "Wrote %d bytes to %s", (int)fs.st_size, fname); + | ^~ ~~~~~ +In file included from /usr/include/stdio.h:867, + from save.c:1: +/usr/include/arm-linux-gnueabihf/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 18 and 283 bytes into a destination of size 256 + 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 37 | __bos (__s), __fmt, __va_arg_pack ()); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +save.c:324:26: warning: '%s' directive writing up to 255 bytes into a region of size 248 [-Wformat-overflow=] + 135 | savestat (xim, text); + | ~~~~ +...... + 324 | sprintf (text, "status {%s}", message); + | ^~ +In file included from /usr/include/stdio.h:867, + from save.c:1: +/usr/include/arm-linux-gnueabihf/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 10 and 265 bytes into a destination of size 256 + 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 37 | __bos (__s), __fmt, __va_arg_pack ()); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ screen.c:656:3: warning: implicit declaration of function 'ResizeScrollBar' [-Wimplicit-function-declaration] 656 | ResizeScrollBar(screen->scrollWidget, width - | ^~~~~~~~~~~~~~~ screen.c:666:2: warning: implicit declaration of function 'ResizeSelection' [-Wimplicit-function-declaration] 666 | ResizeSelection (screen, rows, cols); | ^~~~~~~~~~~~~~~ -cc -g -O2 -fdebug-prefix-map=/build/x11iraf-2.0+2020.06.15+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -I../obm -DOSI_COMPLIANT -Wdate-time -D_FORTIFY_SOURCE=2 -c -o ism_wcspix.o ism_wcspix.c -cc -g -O2 -fdebug-prefix-map=/build/x11iraf-2.0+2020.06.15+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -I../obm -DOSI_COMPLIANT -Wdate-time -D_FORTIFY_SOURCE=2 -c -o load.o load.c -load.c: In function 'xim_initLoad': -load.c:72:33: warning: embedded '\0' in format [-Wformat-contains-nul] - 72 | sprintf (buf, "curdir %s\0", flp->curdir); - | ^~ -load.c:74:34: warning: embedded '\0' in format [-Wformat-contains-nul] - 74 | sprintf (buf, "pattern %s\0", flp->pattern); - | ^~ -load.c:76:31: warning: embedded '\0' in format [-Wformat-contains-nul] - 76 | sprintf (buf, "gray %d\0", flp->gray); - | ^~ -load.c:78:33: warning: embedded '\0' in format [-Wformat-contains-nul] - 78 | sprintf (buf, "zscale %d\0", flp->zscale); - | ^~ -load.c:80:33: warning: embedded '\0' in format [-Wformat-contains-nul] - 80 | sprintf (buf, "zrange %d\0", flp->zrange); - | ^~ -load.c:82:29: warning: embedded '\0' in format [-Wformat-contains-nul] - 82 | sprintf (buf, "z1 %g\0", flp->z1); - | ^~ -load.c:84:29: warning: embedded '\0' in format [-Wformat-contains-nul] - 84 | sprintf (buf, "z2 %g\0", flp->z2); - | ^~ -load.c:86:34: warning: embedded '\0' in format [-Wformat-contains-nul] - 86 | sprintf (buf, "nsample %d\0", flp->nsample); - | ^~ -load.c: In function 'xim_loadFile': -load.c:139:31: warning: embedded '\0' in format [-Wformat-contains-nul] - 139 | sprintf (buf, "warning %s\0", "Error: File not found."); - | ^~ -load.c:201:31: warning: embedded '\0' in format [-Wformat-contains-nul] - 201 | sprintf (buf, "warning %s\0", "Error: Unknown raster file type."); - | ^~ -load.c:208:15: warning: format '%d' expects argument of type 'int', but argument 3 has type 'unsigned char *' [-Wformat=] - 208 | "Load: pix=%d w=%d h=%d xnc=%d nc=%d pcm=%d z1=%g z2=%g\n", - | ~^ - | | - | int - | %hhn - 209 | pix, w, h, xim->ncolors, ncolors, has_private_cmap, z1, z2); - | ~~~ - | | - | unsigned char * -load.c:297:36: warning: embedded '\0' in format [-Wformat-contains-nul] - 297 | sprintf (buf, "%d %d %d\0", cf->width, cf->height, 8); - | ^~ -load.c: In function 'listFiles': -load.c:570:9: warning: ignoring return value of 'getcwd' declared with attribute 'warn_unused_result' [-Wunused-result] - 570 | (void) getcwd (directory, SZ_FNAME); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -load.c:600:9: warning: ignoring return value of 'chdir' declared with attribute 'warn_unused_result' [-Wunused-result] - 600 | (void) chdir (directory); - | ^~~~~~~~~~~~~~~~~ +save.c: In function 'xims_rename': +save.c:324:26: warning: '%s' directive writing up to 255 bytes into a region of size 248 [-Wformat-overflow=] + 302 | savestat (xim, text); + | ~~~~ +...... + 324 | sprintf (text, "status {%s}", message); + | ^~ +In file included from /usr/include/stdio.h:867, + from save.c:1: +/usr/include/arm-linux-gnueabihf/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 10 and 265 bytes into a destination of size 256 + 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 37 | __bos (__s), __fmt, __va_arg_pack ()); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +save.c:324:26: warning: '%s' directive writing up to 255 bytes into a region of size 248 [-Wformat-overflow=] + 296 | savestat (xim, text); + | ~~~~ +...... + 324 | sprintf (text, "status {%s}", message); + | ^~ +In file included from /usr/include/stdio.h:867, + from save.c:1: +/usr/include/arm-linux-gnueabihf/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 10 and 265 bytes into a destination of size 256 + 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 37 | __bos (__s), __fmt, __va_arg_pack ()); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +cc -g -O2 -fdebug-prefix-map=/build/x11iraf-2.0+2020.06.15+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -I../obm -DOSI_COMPLIANT -Wdate-time -D_FORTIFY_SOURCE=2 -c -o tiffio.o tiffio.c +cc -g -O2 -fdebug-prefix-map=/build/x11iraf-2.0+2020.06.15+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -I../obm -DOSI_COMPLIANT -Wdate-time -D_FORTIFY_SOURCE=2 -c -o util.o util.c +cc -g -O2 -fdebug-prefix-map=/build/x11iraf-2.0+2020.06.15+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -I../obm -DOSI_COMPLIANT -Wdate-time -D_FORTIFY_SOURCE=2 -c -o ximclient.o ximclient.c cc -g -O2 -fdebug-prefix-map=/build/x11iraf-2.0+2020.06.15+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -I../obm -DALLOWLOGGING -Wdate-time -D_FORTIFY_SOURCE=2 -c -o scrollbar.o scrollbar.c -cc -g -O2 -fdebug-prefix-map=/build/x11iraf-2.0+2020.06.15+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -I../obm -DALLOWLOGGING -Wdate-time -D_FORTIFY_SOURCE=2 -c -o tabs.o tabs.c scrollbar.c:207:1: warning: return type defaults to 'int' [-Wimplicit-int] 207 | ScrollBarReverseVideo(scrollWidget) | ^~~~~~~~~~~~~~~~~~~~~ @@ -2764,6 +3121,10 @@ 329 | Bell(); | ^~~~ | XBell +ximclient.c: In function 'ism_start': +ximclient.c:2495:13: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] + 2495 | system (ism->command); + | ^~~~~~~~~~~~~~~~~~~~~ scrollbar.c:350:8: warning: implicit declaration of function 'Error'; did you mean 'perror'? [-Wimplicit-function-declaration] 350 | Error (ERROR_SBRALLOC); | ^~~~~ @@ -2775,6 +3136,7 @@ scrollbar.c:481:14: warning: type defaults to 'int' in declaration of 'mult' [-Wimplicit-int] 481 | register mult = 1; | ^~~~ +cc -g -O2 -fdebug-prefix-map=/build/x11iraf-2.0+2020.06.15+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -I../obm -DALLOWLOGGING -Wdate-time -D_FORTIFY_SOURCE=2 -c -o tabs.o tabs.c tabs.c:40:1: warning: return type defaults to 'int' [-Wimplicit-int] 40 | TabReset(tabs) | ^~~~~~~~ @@ -2803,6 +3165,18 @@ 99 | TabZonk (tabs) | ^~~~~~~ cc -g -O2 -fdebug-prefix-map=/build/x11iraf-2.0+2020.06.15+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -I../obm -DALLOWLOGGING -Wdate-time -D_FORTIFY_SOURCE=2 -c -o util.o util.c +cc -g -O2 -fdebug-prefix-map=/build/x11iraf-2.0+2020.06.15+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -I../obm -DALLOWLOGGING -Wdate-time -D_FORTIFY_SOURCE=2 -c -o VTPrsTbl.o VTPrsTbl.c +ximclient.c: In function 'load': +ximclient.c:2013:39: warning: '%s' directive writing up to 256 bytes into a region of size 249 [-Wformat-overflow=] + 2013 | sprintf (buf, "curdir %s", flp->curdir); + | ^~ +In file included from /usr/include/stdio.h:867, + from ximclient.c:1: +/usr/include/arm-linux-gnueabihf/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 8 and 264 bytes into a destination of size 256 + 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 37 | __bos (__s), __fmt, __va_arg_pack ()); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ util.c: In function 'FlushScroll': util.c:82:5: warning: implicit declaration of function 'ScrollBarDrawThumb' [-Wimplicit-function-declaration] 82 | ScrollBarDrawThumb(screen->scrollWidget); @@ -2818,6 +3192,7 @@ 256 | ScrnDeleteLine(screen->allbuf, screen->bot_marg + | ^~~~~~~~~~~~~~ | DeleteLine +sed -f gui2c.sed ximtool.gui > ximtool.gui.h util.c: In function 'RevScroll': util.c:335:2: warning: implicit declaration of function 'ScrnInsertLine'; did you mean 'InsertLine'? [-Wimplicit-function-declaration] 335 | ScrnInsertLine (screen->buf, screen->bot_marg, screen->top_marg, @@ -2836,337 +3211,7 @@ 569 | ScrnDeleteChar (screen->buf, screen->cur_row, screen->cur_col, n, | ^~~~~~~~~~~~~~ | DeleteChar -util.c: In function 'ClearAbove': -util.c:601:2: warning: implicit declaration of function 'ClearBufRows' [-Wimplicit-function-declaration] - 601 | ClearBufRows(screen, 0, screen->cur_row - 1); - | ^~~~~~~~~~~~ -util.c: In function 'CopyWait': -util.c:770:4: warning: implicit declaration of function 'HandleExposure' [-Wimplicit-function-declaration] - 770 | HandleExposure (screen, &reply); - | ^~~~~~~~~~~~~~ -util.c: In function 'HandleExposure': -util.c:898:9: warning: implicit declaration of function 'handle_translated_exposure' [-Wimplicit-function-declaration] - 898 | return handle_translated_exposure (screen, reply->x, reply->y, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~ -util.c: In function 'ReverseVideo': -util.c:1026:3: warning: implicit declaration of function 'ScrollBarReverseVideo' [-Wimplicit-function-declaration] - 1026 | ScrollBarReverseVideo(screen->scrollWidget); - | ^~~~~~~~~~~~~~~~~~~~~ -util.c: In function 'ChangeColors': -util.c:1132:9: warning: implicit declaration of function 'set_cursor_gcs' [-Wimplicit-function-declaration] - 1132 | set_cursor_gcs(screen); - | ^~~~~~~~~~~~~~ -cc -g -O2 -fdebug-prefix-map=/build/x11iraf-2.0+2020.06.15+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -I../obm -DALLOWLOGGING -Wdate-time -D_FORTIFY_SOURCE=2 -c -o VTPrsTbl.o VTPrsTbl.c -cc -g -O2 -fdebug-prefix-map=/build/x11iraf-2.0+2020.06.15+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -I../obm -DOSI_COMPLIANT -Wdate-time -D_FORTIFY_SOURCE=2 -c -o logo.o logo.c -cc -g -O2 -fdebug-prefix-map=/build/x11iraf-2.0+2020.06.15+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -I../obm -DOSI_COMPLIANT -Wdate-time -D_FORTIFY_SOURCE=2 -c -o print.o print.c -print.c: In function 'ximp_rename': -print.c:205:29: warning: format '%d' expects argument of type 'int', but argument 3 has type '__off_t' {aka 'long int'} [-Wformat=] - 205 | sprintf (text, "Wrote %d bytes to %s", fs.st_size, new); - | ~^ ~~~~~~~~~~ - | | | - | int __off_t {aka long int} - | %ld -print.c: In function 'xim_print': -print.c:174:6: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] - 174 | system (text); /* dispose to printer */ - | ^~~~~~~~~~~~~ -print.c:173:31: warning: '%s' directive writing up to 256 bytes into a region of size 249 [-Wformat-overflow=] - 173 | sprintf (text, "cat %s | %s", tmpfile, pcp->printCmd); - | ^~ -In file included from /usr/include/stdio.h:867, - from print.c:1: -/usr/include/arm-linux-gnueabihf/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output 8 or more bytes (assuming 264) into a destination of size 256 - 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 37 | __bos (__s), __fmt, __va_arg_pack ()); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -print.c:381:26: warning: '%s' directive writing up to 255 bytes into a region of size 248 [-Wformat-overflow=] - 106 | printstat (xim, text); - | ~~~~ -...... - 381 | sprintf (text, "status {%s}", message); - | ^~ -In file included from /usr/include/stdio.h:867, - from print.c:1: -/usr/include/arm-linux-gnueabihf/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 10 and 265 bytes into a destination of size 256 - 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 37 | __bos (__s), __fmt, __va_arg_pack ()); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -print.c: In function 'ximp_rename': -print.c:381:26: warning: '%s' directive writing up to 255 bytes into a region of size 248 [-Wformat-overflow=] - 206 | printstat (xim, text); - | ~~~~ -...... - 381 | sprintf (text, "status {%s}", message); - | ^~ -In file included from /usr/include/stdio.h:867, - from print.c:1: -/usr/include/arm-linux-gnueabihf/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 10 and 265 bytes into a destination of size 256 - 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 37 | __bos (__s), __fmt, __va_arg_pack ()); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -print.c:381:26: warning: '%s' directive writing up to 255 bytes into a region of size 248 [-Wformat-overflow=] - 203 | printstat (xim, text); - | ~~~~ -...... - 381 | sprintf (text, "status {%s}", message); - | ^~ -In file included from /usr/include/stdio.h:867, - from print.c:1: -/usr/include/arm-linux-gnueabihf/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 10 and 265 bytes into a destination of size 256 - 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 37 | __bos (__s), __fmt, __va_arg_pack ()); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -print.c: In function 'xim_initPrinterOps': -print.c:256:36: warning: '%s' directive writing up to 256 bytes into a region of size 244 [-Wformat-overflow=] - 256 | sprintf (buf, "printerName %s", printer_list[0].printerName); - | ^~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from /usr/include/stdio.h:867, - from print.c:1: -/usr/include/arm-linux-gnueabihf/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 13 and 269 bytes into a destination of size 256 - 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 37 | __bos (__s), __fmt, __va_arg_pack ()); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -cc -Wl,-z,relro -o xgterm button.o charproc.o cursor.o data.o gtermio.o input.o main.o menu.o misc.o screen.o scrollbar.o tabs.o util.o VTPrsTbl.o \ - -L../obm -lobm \ - -lXpm -ltcl -lXaw3d -lXmu -lXt -lXext -lX11 -lncurses -lm -cc -g -O2 -fdebug-prefix-map=/build/x11iraf-2.0+2020.06.15+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -I../obm -DOSI_COMPLIANT -Wdate-time -D_FORTIFY_SOURCE=2 -c -o quant.o quant.c -/usr/bin/ld: gtermio.o: in function `gio_connect_cb': -./xgterm/gtermio.c:465: warning: the use of `mktemp' is dangerous, better use `mkstemp' or `mkdtemp' -make[2]: Leaving directory '/build/x11iraf-2.0+2020.06.15+dfsg/xgterm' -cc -g -O2 -fdebug-prefix-map=/build/x11iraf-2.0+2020.06.15+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -I../obm -DOSI_COMPLIANT -Wdate-time -D_FORTIFY_SOURCE=2 -c -o rasio.o rasio.c -rasio.c: In function 'loadSunRas': -rasio.c:130:56: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long int' [-Wformat=] - 130 | fprintf (stderr, "Sun rasterfile image has depth %d\n", - | ~^ - | | - | int - | %ld - 131 | sunhdr.ras_depth); - | ~~~~~~~~~~~~~~~~ - | | - | long int -rasio.c:142:60: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long int' [-Wformat=] - 142 | fprintf (stderr, "Sun rasterfile of unsupported type %d\n", - | ~^ - | | - | int - | %ld - 143 | sunhdr.ras_type); - | ~~~~~~~~~~~~~~~ - | | - | long int -rasio.c:152:69: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long int' [-Wformat=] - 152 | fprintf (stderr, "Sun rasterfile colormap of unsupported type %d\n", - | ~^ - | | - | int - | %ld - 153 | sunhdr.ras_maptype); - | ~~~~~~~~~~~~~~~~~~ - | | - | long int -rasio.c:178:13: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long int' [-Wformat=] - 178 | "type %d, maptype %d, isize %d, csize %d, lsize %d, linesize %d\n", - | ~^ - | | - | int - | %ld - 179 | sunhdr.ras_type, sunhdr.ras_maptype, - | ~~~~~~~~~~~~~~~ - | | - | long int -rasio.c:178:25: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long int' [-Wformat=] - 178 | "type %d, maptype %d, isize %d, csize %d, lsize %d, linesize %d\n", - | ~^ - | | - | int - | %ld - 179 | sunhdr.ras_type, sunhdr.ras_maptype, - | ~~~~~~~~~~~~~~~~~~ - | | - | long int -rasio.c:181:42: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long int' [-Wformat=] - 181 | fprintf (stderr, "colorstyle=%d nc=%d\n", colorstyle, - | ~^ - | | - | int - | %ld - 182 | sunhdr.ras_maplength/3); - | ~~~~~~~~~~~~~~~~~~~~~~ - | | - | long int -rasio.c: In function 'getSunRasHdr': -rasio.c:477:37: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long int' [-Wformat=] - 477 | sprintf (line, "%-16.16s %3d %5dx%-5d %s %s", - | ~~^ - | | - | int - | %3ld - 478 | fname, hdr.ras_depth, hdr.ras_width, hdr.ras_height, - | ~~~~~~~~~~~~~ - | | - | long int -rasio.c:477:42: warning: format '%d' expects argument of type 'int', but argument 5 has type 'long int' [-Wformat=] - 477 | sprintf (line, "%-16.16s %3d %5dx%-5d %s %s", - | ~~^ - | | - | int - | %5ld - 478 | fname, hdr.ras_depth, hdr.ras_width, hdr.ras_height, - | ~~~~~~~~~~~~~ - | | - | long int -rasio.c:477:47: warning: format '%d' expects argument of type 'int', but argument 6 has type 'long int' [-Wformat=] - 477 | sprintf (line, "%-16.16s %3d %5dx%-5d %s %s", - | ~~~^ - | | - | int - | %-5ld - 478 | fname, hdr.ras_depth, hdr.ras_width, hdr.ras_height, - | ~~~~~~~~~~~~~~ - | | - | long int -rasio.c: In function 'loadSunRas': -rasio.c:189:6: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] - 189 | fread (r, 1, nc, fp); - | ^~~~~~~~~~~~~~~~~~~~ -rasio.c:190:6: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] - 190 | fread (g, 1, nc, fp); - | ^~~~~~~~~~~~~~~~~~~~ -rasio.c:191:6: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] - 191 | fread (b, 1, nc, fp); - | ^~~~~~~~~~~~~~~~~~~~ -cc -g -O2 -fdebug-prefix-map=/build/x11iraf-2.0+2020.06.15+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -I../obm -DOSI_COMPLIANT -Wdate-time -D_FORTIFY_SOURCE=2 -c -o raster.o raster.c -cc -g -O2 -fdebug-prefix-map=/build/x11iraf-2.0+2020.06.15+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -I../obm -DOSI_COMPLIANT -Wdate-time -D_FORTIFY_SOURCE=2 -c -o save.o save.c -cc -g -O2 -fdebug-prefix-map=/build/x11iraf-2.0+2020.06.15+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -I../obm -DOSI_COMPLIANT -Wdate-time -D_FORTIFY_SOURCE=2 -c -o tiffio.o tiffio.c -save.c: In function 'xim_saveFile': -save.c:170:26: warning: '%s' directive writing up to 255 bytes into a region of size 221 [-Wformat-overflow=] - 170 | sprintf (text, "%s\n%s\n%s", - | ^~ - 171 | "The following file already exists:", fname, - | ~~~~~ -In file included from /usr/include/stdio.h:867, - from save.c:1: -/usr/include/arm-linux-gnueabihf/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 72 and 327 bytes into a destination of size 256 - 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 37 | __bos (__s), __fmt, __va_arg_pack ()); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -save.c:174:42: warning: '%s' directive writing up to 255 bytes into a region of size 243 [-Wformat-overflow=] - 174 | sprintf (ok_action, "save rename %s %s", tmpfile, fname); - | ^~ ~~~~~ -In file included from /usr/include/stdio.h:867, - from save.c:1: -/usr/include/arm-linux-gnueabihf/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output 14 or more bytes (assuming 269) into a destination of size 256 - 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 37 | __bos (__s), __fmt, __va_arg_pack ()); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -save.c:138:46: warning: '%s' directive writing up to 255 bytes into a region of size between 221 and 231 [-Wformat-overflow=] - 138 | sprintf (text, "Error %d\nCannot open file %s", errno, fname); - | ^~ ~~~~~ -In file included from /usr/include/stdio.h:867, - from save.c:1: -/usr/include/arm-linux-gnueabihf/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 26 and 291 bytes into a destination of size 256 - 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 37 | __bos (__s), __fmt, __va_arg_pack ()); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -save.c:134:37: warning: '%s' directive writing up to 255 bytes into a region of size between 229 and 239 [-Wformat-overflow=] - 134 | sprintf (text, "Wrote %d bytes to %s", (int)fs.st_size, fname); - | ^~ ~~~~~ -In file included from /usr/include/stdio.h:867, - from save.c:1: -/usr/include/arm-linux-gnueabihf/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 18 and 283 bytes into a destination of size 256 - 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 37 | __bos (__s), __fmt, __va_arg_pack ()); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -save.c:324:26: warning: '%s' directive writing up to 255 bytes into a region of size 248 [-Wformat-overflow=] - 135 | savestat (xim, text); - | ~~~~ -...... - 324 | sprintf (text, "status {%s}", message); - | ^~ -In file included from /usr/include/stdio.h:867, - from save.c:1: -/usr/include/arm-linux-gnueabihf/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 10 and 265 bytes into a destination of size 256 - 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 37 | __bos (__s), __fmt, __va_arg_pack ()); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -save.c: In function 'xims_rename': -save.c:324:26: warning: '%s' directive writing up to 255 bytes into a region of size 248 [-Wformat-overflow=] - 302 | savestat (xim, text); - | ~~~~ -...... - 324 | sprintf (text, "status {%s}", message); - | ^~ -In file included from /usr/include/stdio.h:867, - from save.c:1: -/usr/include/arm-linux-gnueabihf/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 10 and 265 bytes into a destination of size 256 - 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 37 | __bos (__s), __fmt, __va_arg_pack ()); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -save.c:324:26: warning: '%s' directive writing up to 255 bytes into a region of size 248 [-Wformat-overflow=] - 296 | savestat (xim, text); - | ~~~~ -...... - 324 | sprintf (text, "status {%s}", message); - | ^~ -In file included from /usr/include/stdio.h:867, - from save.c:1: -/usr/include/arm-linux-gnueabihf/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 10 and 265 bytes into a destination of size 256 - 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 37 | __bos (__s), __fmt, __va_arg_pack ()); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -cc -g -O2 -fdebug-prefix-map=/build/x11iraf-2.0+2020.06.15+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -I../obm -DOSI_COMPLIANT -Wdate-time -D_FORTIFY_SOURCE=2 -c -o util.o util.c -raster.c: In function 'xim_initialize': -raster.c:188:26: warning: iteration 15 invokes undefined behavior [-Waggressive-loop-optimizations] - 188 | xim->frames[i].frameno = 0; - | ~~~~~~~~~~~~~~~~~~~~~~~^~~ -raster.c:187:6: note: within this loop - 187 | for (i=1; i <= MAX_FRAMES; i++) - | ^~~ -cc -g -O2 -fdebug-prefix-map=/build/x11iraf-2.0+2020.06.15+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -I../obm -DOSI_COMPLIANT -Wdate-time -D_FORTIFY_SOURCE=2 -c -o ximclient.o ximclient.c -raster.c: In function 'xim_colortables': -raster.c:2222:30: warning: '%s' directive writing up to 10239 bytes into a region of size 8182 [-Wformat-overflow=] - 2222 | sprintf (msgbuf, "setValue {%s}", message); - | ^~ -...... - 2311 | xim_message (xim, "colortables", buf); - | ~~~ -In file included from /usr/include/stdio.h:867, - from raster.c:1: -/usr/include/arm-linux-gnueabihf/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 12 and 10251 bytes into a destination of size 8192 - 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 37 | __bos (__s), __fmt, __va_arg_pack ()); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -sed -f gui2c.sed ximtool.gui > ximtool.gui.h -ximclient.c: In function 'ism_start': -ximclient.c:2495:13: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] - 2495 | system (ism->command); - | ^~~~~~~~~~~~~~~~~~~~~ cc -g -O2 -fdebug-prefix-map=/build/x11iraf-2.0+2020.06.15+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -I../obm -DOSI_COMPLIANT -Wdate-time -D_FORTIFY_SOURCE=2 -c -o zscale.o zscale.c -ximclient.c: In function 'load': -ximclient.c:2013:39: warning: '%s' directive writing up to 256 bytes into a region of size 249 [-Wformat-overflow=] - 2013 | sprintf (buf, "curdir %s", flp->curdir); - | ^~ -In file included from /usr/include/stdio.h:867, - from ximclient.c:1: -/usr/include/arm-linux-gnueabihf/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 8 and 264 bytes into a destination of size 256 - 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 37 | __bos (__s), __fmt, __va_arg_pack ()); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ximclient.c: In function 'info_server': ximclient.c:2165:25: warning: '%s' directive writing up to 256 bytes into a region of size 233 [-Wformat-overflow=] 2165 | sprintf (line, "%20s: %s\n", "Printer File", xim->pcp->printFile); @@ -3181,6 +3226,10 @@ ximclient.c:2167:25: warning: '%s' directive writing up to 256 bytes into a region of size 233 [-Wformat-overflow=] 2167 | sprintf (line, "%20s: %s\n", "Printer Cmd", xim->pcp->printCmd); | ^~ +util.c: In function 'ClearAbove': +util.c:601:2: warning: implicit declaration of function 'ClearBufRows' [-Wimplicit-function-declaration] + 601 | ClearBufRows(screen, 0, screen->cur_row - 1); + | ^~~~~~~~~~~~ In file included from /usr/include/stdio.h:867, from ximclient.c:1: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 25 and 281 bytes into a destination of size 256 @@ -3188,37 +3237,29 @@ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +util.c: In function 'CopyWait': +util.c:770:4: warning: implicit declaration of function 'HandleExposure' [-Wimplicit-function-declaration] + 770 | HandleExposure (screen, &reply); + | ^~~~~~~~~~~~~~ +util.c: In function 'HandleExposure': +util.c:898:9: warning: implicit declaration of function 'handle_translated_exposure' [-Wimplicit-function-declaration] + 898 | return handle_translated_exposure (screen, reply->x, reply->y, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~ +util.c: In function 'ReverseVideo': +util.c:1026:3: warning: implicit declaration of function 'ScrollBarReverseVideo' [-Wimplicit-function-declaration] + 1026 | ScrollBarReverseVideo(screen->scrollWidget); + | ^~~~~~~~~~~~~~~~~~~~~ +util.c: In function 'ChangeColors': +util.c:1132:9: warning: implicit declaration of function 'set_cursor_gcs' [-Wimplicit-function-declaration] + 1132 | set_cursor_gcs(screen); + | ^~~~~~~~~~~~~~ cd clients && mkpkg || true Warning, hlib$mkpkg.inc line 5: macro `IRAFARCH' not found warning: library `libpkg.a' not found xc -c -x idxstr.x ism.x wcsgfterm.x -ar r /build/x11iraf-2.0+2020.06.15+dfsg/ximtool/clients/libpkg.a idxstr.o ism.o wcsgfterm.o -ar: creating /build/x11iraf-2.0+2020.06.15+dfsg/ximtool/clients/libpkg.a -xc -c -x t_wcspix.x wcimage.x wcmef.x wcmspec.x wcunknown.x -ximclient.c: In function 'setPrintOption': -ximclient.c:1619:35: warning: '%s' directive writing up to 256 bytes into a region of size 246 [-Wformat-overflow=] - 1619 | sprintf (buf, "printFile %s", pcp->printFile); - | ^~ -In file included from /usr/include/stdio.h:867, - from ximclient.c:1: -/usr/include/arm-linux-gnueabihf/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 11 and 267 bytes into a destination of size 256 - 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 37 | __bos (__s), __fmt, __va_arg_pack ()); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -ximclient.c:1610:34: warning: '%s' directive writing up to 256 bytes into a region of size 247 [-Wformat-overflow=] - 1610 | sprintf (buf, "printCmd %s", pcp->printCmd); - | ^~ -In file included from /usr/include/stdio.h:867, - from ximclient.c:1: -/usr/include/arm-linux-gnueabihf/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 10 and 266 bytes into a destination of size 256 - 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 37 | __bos (__s), __fmt, __va_arg_pack ()); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -Warning on line 304 of t_wcspix.x: inconsistent calling sequences for zcall4, - arg 4: here real variable, previously integer variable. - arg 5: here real variable, previously integer*2 variable. +cc -Wl,-z,relro -o xgterm button.o charproc.o cursor.o data.o gtermio.o input.o main.o menu.o misc.o screen.o scrollbar.o tabs.o util.o VTPrsTbl.o \ + -L../obm -lobm \ + -lXpm -ltcl -lXaw3d -lXmu -lXt -lXext -lX11 -lncurses -lm In file included from /usr/include/string.h:495, from /usr/include/X11/Intrinsic.h:61, from raster.c:9: @@ -3245,6 +3286,36 @@ raster.c:2398:3: note: length computed here 2398 | strncpy (xim->imtoolrc, fb_paths[i],strlen(fb_paths[i])); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/bin/ld: gtermio.o: in function `gio_connect_cb': +./xgterm/gtermio.c:465: warning: the use of `mktemp' is dangerous, better use `mkstemp' or `mkdtemp' +make[2]: Leaving directory '/build/x11iraf-2.0+2020.06.15+dfsg/xgterm' +ximclient.c: In function 'setPrintOption': +ximclient.c:1619:35: warning: '%s' directive writing up to 256 bytes into a region of size 246 [-Wformat-overflow=] + 1619 | sprintf (buf, "printFile %s", pcp->printFile); + | ^~ +In file included from /usr/include/stdio.h:867, + from ximclient.c:1: +/usr/include/arm-linux-gnueabihf/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 11 and 267 bytes into a destination of size 256 + 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 37 | __bos (__s), __fmt, __va_arg_pack ()); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +ximclient.c:1610:34: warning: '%s' directive writing up to 256 bytes into a region of size 247 [-Wformat-overflow=] + 1610 | sprintf (buf, "printCmd %s", pcp->printCmd); + | ^~ +In file included from /usr/include/stdio.h:867, + from ximclient.c:1: +/usr/include/arm-linux-gnueabihf/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 10 and 266 bytes into a destination of size 256 + 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 37 | __bos (__s), __fmt, __va_arg_pack ()); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +ar r /build/x11iraf-2.0+2020.06.15+dfsg/ximtool/clients/libpkg.a idxstr.o ism.o wcsgfterm.o +ar: creating /build/x11iraf-2.0+2020.06.15+dfsg/ximtool/clients/libpkg.a +xc -c -x t_wcspix.x wcimage.x wcmef.x wcmspec.x wcunknown.x +Warning on line 304 of t_wcspix.x: inconsistent calling sequences for zcall4, + arg 4: here real variable, previously integer variable. + arg 5: here real variable, previously integer*2 variable. cc -g -O2 -fdebug-prefix-map=/build/x11iraf-2.0+2020.06.15+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -I../obm -DOSI_COMPLIANT -Wdate-time -D_FORTIFY_SOURCE=2 -c -o ximtool.o ximtool.c ximtool.c: In function 'main': ximtool.c:104:41: warning: embedded '\0' in format [-Wformat-contains-nul] @@ -3295,9 +3366,9 @@ dh_md5sums dh_builddeb dpkg-deb: building package 'ximtool' in '../ximtool_2.0+2020.06.15+dfsg-1_armhf.deb'. +dpkg-deb: building package 'ximtool-dbgsym' in '../ximtool-dbgsym_2.0+2020.06.15+dfsg-1_armhf.deb'. dpkg-deb: building package 'xgterm' in '../xgterm_2.0+2020.06.15+dfsg-1_armhf.deb'. dpkg-deb: building package 'xgterm-dbgsym' in '../xgterm-dbgsym_2.0+2020.06.15+dfsg-1_armhf.deb'. -dpkg-deb: building package 'ximtool-dbgsym' in '../ximtool-dbgsym_2.0+2020.06.15+dfsg-1_armhf.deb'. dpkg-genbuildinfo --build=binary dpkg-genchanges --build=binary >../x11iraf_2.0+2020.06.15+dfsg-1_armhf.changes dpkg-genchanges: info: binary-only upload (no source code included) @@ -3305,12 +3376,14 @@ dpkg-buildpackage: info: binary-only upload (no source included) dpkg-genchanges: info: including full source code in upload I: copying local configuration +I: user script /srv/workspace/pbuilder/9978/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/9978/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/25550 and its subdirectories -I: Current time: Sun Aug 8 21:46:24 -12 2021 -I: pbuilder-time-stamp: 1628502384 +I: removing directory /srv/workspace/pbuilder/9978 and its subdirectories +I: Current time: Mon Aug 9 23:48:49 +14 2021 +I: pbuilder-time-stamp: 1628502529