Diff of the two buildlogs: -- --- b1/build.log 2021-11-21 06:05:20.137140056 +0000 +++ b2/build.log 2021-11-21 06:16:30.290175649 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Sat Dec 24 00:27:45 -12 2022 -I: pbuilder-time-stamp: 1671884865 +I: Current time: Sun Nov 21 20:05:31 +14 2021 +I: pbuilder-time-stamp: 1637474731 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.kM4W2QvI/trustedkeys.kbx': General error -gpgv: Signature made Sun Jul 12 18:16:55 2020 -12 +gpgv: keyblock resource '/tmp/dpkg-verify-sig.DNifJOO4/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/2799298/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/1382686/tmp/hooks/D01_modify_environment starting +debug: Running on ionos11-amd64. +I: Changing host+domainname to test build reproducibility +I: Adding a custom variable just for the fun of it... +I: Changing /bin/sh to bash +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/1382686/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/1382686/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='amd64' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all,-fixfilepath parallel=16' - DISTRIBUTION='' - HOME='/root' - HOST_ARCH='amd64' + 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]="x86_64-pc-linux-gnu") + 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=amd64 + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all,-fixfilepath parallel=15' + DIRSTACK=() + DISTRIBUTION= + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=x86_64 + HOST_ARCH=amd64 IFS=' ' - INVOCATION_ID='98d323f94d49458a8cdc7951275f0553' - 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='2799298' - PS1='# ' - PS2='> ' + INVOCATION_ID=95497dce96734f55966e9559cab31790 + LANG=C + LANGUAGE=et_EE:et + LC_ALL=C + MACHTYPE=x86_64-pc-linux-gnu + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnu + PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path + PBCURRENTCOMMANDLINEOPERATION=build + PBUILDER_OPERATION=build + PBUILDER_PKGDATADIR=/usr/share/pbuilder + PBUILDER_PKGLIBDIR=/usr/lib/pbuilder + PBUILDER_SYSCONFDIR=/etc + PIPESTATUS=([0]="0") + POSIXLY_CORRECT=y + PPID=1382686 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.LbNexiPY2J/pbuilderrc_4Jcp --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bullseye-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/tmp.LbNexiPY2J/b1 --logfile b1/build.log x11iraf_2.0+2020.06.15+dfsg-1.dsc' - SUDO_GID='110' - SUDO_UID='105' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://85.184.249.68:3128' + PWD=/ + SHELL=/bin/bash + SHELLOPTS=braceexpand:errexit:hashall:interactive-comments:posix + SHLVL=3 + SUDO_COMMAND='/usr/bin/timeout -k 24.1h 24h /usr/bin/ionice -c 3 /usr/bin/nice -n 11 /usr/bin/unshare --uts -- /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/tmp.LbNexiPY2J/pbuilderrc_tFuF --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bullseye-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/tmp.LbNexiPY2J/b2 --logfile b2/build.log x11iraf_2.0+2020.06.15+dfsg-1.dsc' + SUDO_GID=111 + SUDO_UID=106 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://78.137.99.97:3128 I: uname -a - Linux ionos5-amd64 5.14.0-0.bpo.2-amd64 #1 SMP Debian 5.14.9-2~bpo11+1 (2021-10-10) x86_64 GNU/Linux + Linux i-capture-the-hostname 5.10.0-9-amd64 #1 SMP Debian 5.10.70-1 (2021-09-30) x86_64 GNU/Linux I: ls -l /bin total 5476 - -rwxr-xr-x 1 root root 1234376 Aug 4 2021 bash - -rwxr-xr-x 3 root root 38984 Jul 20 2020 bunzip2 - -rwxr-xr-x 3 root root 38984 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 38984 Jul 20 2020 bzip2 - -rwxr-xr-x 1 root root 18424 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 43936 Sep 23 2020 cat - -rwxr-xr-x 1 root root 72672 Sep 23 2020 chgrp - -rwxr-xr-x 1 root root 64448 Sep 23 2020 chmod - -rwxr-xr-x 1 root root 72672 Sep 23 2020 chown - -rwxr-xr-x 1 root root 151168 Sep 23 2020 cp - -rwxr-xr-x 1 root root 125560 Dec 10 2020 dash - -rwxr-xr-x 1 root root 113664 Sep 23 2020 date - -rwxr-xr-x 1 root root 80968 Sep 23 2020 dd - -rwxr-xr-x 1 root root 93936 Sep 23 2020 df - -rwxr-xr-x 1 root root 147176 Sep 23 2020 dir - -rwxr-xr-x 1 root root 84440 Jul 28 2021 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 39712 Sep 23 2020 echo - -rwxr-xr-x 1 root root 28 Nov 9 2020 egrep - -rwxr-xr-x 1 root root 39680 Sep 23 2020 false - -rwxr-xr-x 1 root root 28 Nov 9 2020 fgrep - -rwxr-xr-x 1 root root 69032 Jul 28 2021 findmnt - -rwsr-xr-x 1 root root 34896 Feb 26 2021 fusermount - -rwxr-xr-x 1 root root 203072 Nov 9 2020 grep - -rwxr-xr-x 2 root root 2346 Mar 2 2021 gunzip - -rwxr-xr-x 1 root root 6376 Mar 2 2021 gzexe - -rwxr-xr-x 1 root root 98048 Mar 2 2021 gzip - -rwxr-xr-x 1 root root 22600 Nov 6 2019 hostname - -rwxr-xr-x 1 root root 72840 Sep 23 2020 ln - -rwxr-xr-x 1 root root 56952 Feb 7 2020 login - -rwxr-xr-x 1 root root 147176 Sep 23 2020 ls - -rwxr-xr-x 1 root root 149736 Jul 28 2021 lsblk - -rwxr-xr-x 1 root root 85184 Sep 23 2020 mkdir - -rwxr-xr-x 1 root root 76896 Sep 23 2020 mknod - -rwxr-xr-x 1 root root 48064 Sep 23 2020 mktemp - -rwxr-xr-x 1 root root 59632 Jul 28 2021 more - -rwsr-xr-x 1 root root 55528 Jul 28 2021 mount - -rwxr-xr-x 1 root root 18664 Jul 28 2021 mountpoint - -rwxr-xr-x 1 root root 147080 Sep 23 2020 mv - lrwxrwxrwx 1 root root 8 Nov 6 2019 nisdomainname -> hostname - lrwxrwxrwx 1 root root 14 Apr 18 2021 pidof -> /sbin/killall5 - -rwxr-xr-x 1 root root 43872 Sep 23 2020 pwd - lrwxrwxrwx 1 root root 4 Aug 4 2021 rbash -> bash - -rwxr-xr-x 1 root root 52032 Sep 23 2020 readlink - -rwxr-xr-x 1 root root 72704 Sep 23 2020 rm - -rwxr-xr-x 1 root root 52032 Sep 23 2020 rmdir - -rwxr-xr-x 1 root root 27472 Sep 27 2020 run-parts - -rwxr-xr-x 1 root root 122224 Dec 22 2018 sed - lrwxrwxrwx 1 root root 4 Nov 23 06:04 sh -> dash - -rwxr-xr-x 1 root root 43808 Sep 23 2020 sleep - -rwxr-xr-x 1 root root 84928 Sep 23 2020 stty - -rwsr-xr-x 1 root root 71912 Jul 28 2021 su - -rwxr-xr-x 1 root root 39744 Sep 23 2020 sync - -rwxr-xr-x 1 root root 531928 Feb 16 2021 tar - -rwxr-xr-x 1 root root 14456 Sep 27 2020 tempfile - -rwxr-xr-x 1 root root 101408 Sep 23 2020 touch - -rwxr-xr-x 1 root root 39680 Sep 23 2020 true - -rwxr-xr-x 1 root root 14328 Feb 26 2021 ulockmgr_server - -rwsr-xr-x 1 root root 35040 Jul 28 2021 umount - -rwxr-xr-x 1 root root 39744 Sep 23 2020 uname - -rwxr-xr-x 2 root root 2346 Mar 2 2021 uncompress - -rwxr-xr-x 1 root root 147176 Sep 23 2020 vdir - -rwxr-xr-x 1 root root 63744 Jul 28 2021 wdctl - lrwxrwxrwx 1 root root 8 Nov 6 2019 ypdomainname -> hostname - -rwxr-xr-x 1 root root 1984 Mar 2 2021 zcat - -rwxr-xr-x 1 root root 1678 Mar 2 2021 zcmp - -rwxr-xr-x 1 root root 5880 Mar 2 2021 zdiff - -rwxr-xr-x 1 root root 29 Mar 2 2021 zegrep - -rwxr-xr-x 1 root root 29 Mar 2 2021 zfgrep - -rwxr-xr-x 1 root root 2081 Mar 2 2021 zforce - -rwxr-xr-x 1 root root 7585 Mar 2 2021 zgrep - -rwxr-xr-x 1 root root 2206 Mar 2 2021 zless - -rwxr-xr-x 1 root root 1842 Mar 2 2021 zmore - -rwxr-xr-x 1 root root 4553 Mar 2 2021 znew -I: user script /srv/workspace/pbuilder/2799298/tmp/hooks/D02_print_environment finished + -rwxr-xr-x 1 root root 1234376 Aug 5 10:25 bash + -rwxr-xr-x 3 root root 38984 Jul 21 2020 bunzip2 + -rwxr-xr-x 3 root root 38984 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 38984 Jul 21 2020 bzip2 + -rwxr-xr-x 1 root root 18424 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 43936 Sep 24 2020 cat + -rwxr-xr-x 1 root root 72672 Sep 24 2020 chgrp + -rwxr-xr-x 1 root root 64448 Sep 24 2020 chmod + -rwxr-xr-x 1 root root 72672 Sep 24 2020 chown + -rwxr-xr-x 1 root root 151168 Sep 24 2020 cp + -rwxr-xr-x 1 root root 125560 Dec 11 2020 dash + -rwxr-xr-x 1 root root 113664 Sep 24 2020 date + -rwxr-xr-x 1 root root 80968 Sep 24 2020 dd + -rwxr-xr-x 1 root root 93936 Sep 24 2020 df + -rwxr-xr-x 1 root root 147176 Sep 24 2020 dir + -rwxr-xr-x 1 root root 84440 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 39712 Sep 24 2020 echo + -rwxr-xr-x 1 root root 28 Nov 10 2020 egrep + -rwxr-xr-x 1 root root 39680 Sep 24 2020 false + -rwxr-xr-x 1 root root 28 Nov 10 2020 fgrep + -rwxr-xr-x 1 root root 69032 Jul 29 09:09 findmnt + -rwsr-xr-x 1 root root 34896 Feb 27 2021 fusermount + -rwxr-xr-x 1 root root 203072 Nov 10 2020 grep + -rwxr-xr-x 2 root root 2346 Mar 3 2021 gunzip + -rwxr-xr-x 1 root root 6376 Mar 3 2021 gzexe + -rwxr-xr-x 1 root root 98048 Mar 3 2021 gzip + -rwxr-xr-x 1 root root 22600 Nov 8 2019 hostname + -rwxr-xr-x 1 root root 72840 Sep 24 2020 ln + -rwxr-xr-x 1 root root 56952 Feb 8 2020 login + -rwxr-xr-x 1 root root 147176 Sep 24 2020 ls + -rwxr-xr-x 1 root root 149736 Jul 29 09:09 lsblk + -rwxr-xr-x 1 root root 85184 Sep 24 2020 mkdir + -rwxr-xr-x 1 root root 76896 Sep 24 2020 mknod + -rwxr-xr-x 1 root root 48064 Sep 24 2020 mktemp + -rwxr-xr-x 1 root root 59632 Jul 29 09:09 more + -rwsr-xr-x 1 root root 55528 Jul 29 09:09 mount + -rwxr-xr-x 1 root root 18664 Jul 29 09:09 mountpoint + -rwxr-xr-x 1 root root 147080 Sep 24 2020 mv + lrwxrwxrwx 1 root root 8 Nov 8 2019 nisdomainname -> hostname + lrwxrwxrwx 1 root root 14 Apr 19 2021 pidof -> /sbin/killall5 + -rwxr-xr-x 1 root root 43872 Sep 24 2020 pwd + lrwxrwxrwx 1 root root 4 Aug 5 10:25 rbash -> bash + -rwxr-xr-x 1 root root 52032 Sep 24 2020 readlink + -rwxr-xr-x 1 root root 72704 Sep 24 2020 rm + -rwxr-xr-x 1 root root 52032 Sep 24 2020 rmdir + -rwxr-xr-x 1 root root 27472 Sep 28 2020 run-parts + -rwxr-xr-x 1 root root 122224 Dec 23 2018 sed + lrwxrwxrwx 1 root root 4 Nov 21 20:06 sh -> bash + lrwxrwxrwx 1 root root 4 Oct 22 01:41 sh.distrib -> dash + -rwxr-xr-x 1 root root 43808 Sep 24 2020 sleep + -rwxr-xr-x 1 root root 84928 Sep 24 2020 stty + -rwsr-xr-x 1 root root 71912 Jul 29 09:09 su + -rwxr-xr-x 1 root root 39744 Sep 24 2020 sync + -rwxr-xr-x 1 root root 531928 Feb 17 2021 tar + -rwxr-xr-x 1 root root 14456 Sep 28 2020 tempfile + -rwxr-xr-x 1 root root 101408 Sep 24 2020 touch + -rwxr-xr-x 1 root root 39680 Sep 24 2020 true + -rwxr-xr-x 1 root root 14328 Feb 27 2021 ulockmgr_server + -rwsr-xr-x 1 root root 35040 Jul 29 09:09 umount + -rwxr-xr-x 1 root root 39744 Sep 24 2020 uname + -rwxr-xr-x 2 root root 2346 Mar 3 2021 uncompress + -rwxr-xr-x 1 root root 147176 Sep 24 2020 vdir + -rwxr-xr-x 1 root root 63744 Jul 29 09:09 wdctl + lrwxrwxrwx 1 root root 8 Nov 8 2019 ypdomainname -> hostname + -rwxr-xr-x 1 root root 1984 Mar 3 2021 zcat + -rwxr-xr-x 1 root root 1678 Mar 3 2021 zcmp + -rwxr-xr-x 1 root root 5880 Mar 3 2021 zdiff + -rwxr-xr-x 1 root root 29 Mar 3 2021 zegrep + -rwxr-xr-x 1 root root 29 Mar 3 2021 zfgrep + -rwxr-xr-x 1 root root 2081 Mar 3 2021 zforce + -rwxr-xr-x 1 root root 7585 Mar 3 2021 zgrep + -rwxr-xr-x 1 root root 2206 Mar 3 2021 zless + -rwxr-xr-x 1 root root 1842 Mar 3 2021 zmore + -rwxr-xr-x 1 root root 4553 Mar 3 2021 znew +I: user script /srv/workspace/pbuilder/1382686/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 amd64 xaw3dg amd64 1.5+F-1 [155 kB] Get: 94 http://deb.debian.org/debian bullseye/main amd64 xutils-dev amd64 1:7.7+5+b1 [242 kB] Get: 95 http://deb.debian.org/debian bullseye/main amd64 xaw3dg-dev amd64 1.5+F-1 [194 kB] -Fetched 44.8 MB in 1s (89.1 MB/s) +Fetched 44.8 MB in 8min 11s (91.1 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 ... 19655 files and directories currently installed.) @@ -706,7 +740,8 @@ Building tag database... -> Finished parsing the build-deps 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 +751,7 @@ debian/rules clean dh clean dh_auto_clean - make -j16 clean + make -j15 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,7 +797,7 @@ dh_autoreconf dh_auto_configure dh_auto_build - make -j16 "INSTALL=install --strip-program=true" + make -j15 "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' @@ -783,56 +818,11 @@ 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 DrawIString.o DrawIString.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 DrawString.o DrawString.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 DrawingArea.o DrawingArea.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 Frame.o Frame.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 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 -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) { - | ^~~~~~ - | | - | char *** 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; | ^ -In file included from /usr/include/tcl/tcl.h:2441, - from ObmP.h:76, - from client.c:4: -/usr/include/tcl/tclDecls.h:722:21: note: expected 'const char ***' but argument is of type 'char ***' - 722 | CONST84 char ***argvPtr); - | ^ -client.c: In function 'clientGcmd': -client.c:173:42: warning: passing argument 2 of 'Tcl_Concat' from incompatible pointer type [-Wincompatible-pointer-types] - 173 | char *message = Tcl_Concat (argc-1, &argv[1]); - | ^~~~~~~~ - | | - | char ** -In file included from /usr/include/tcl/tcl.h:2441, - from ObmP.h:76, - from client.c:4: -/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); - | ^ -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; - | ^ -client.c: In function 'clientLiteral': -client.c:225:42: warning: passing argument 2 of 'Tcl_Concat' from incompatible pointer type [-Wincompatible-pointer-types] - 225 | char *message = Tcl_Concat (argc-1, &argv[1]); - | ^~~~~~~~ - | | - | char ** param.c: In function 'ParameterEvaluate': -In file included from /usr/include/tcl/tcl.h:2441, - from ObmP.h:76, - from client.c:4: -/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: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); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -851,9 +841,9 @@ /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, | ~~~~~~^~~~~~ -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; +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; | ^ marker.c: In function 'MarkerEvaluate': marker.c:397:32: warning: passing argument 2 of 'Tcl_SetResult' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] @@ -874,15 +864,63 @@ /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, | ~~~~~~^~~~~~ -gterm.c: In function 'gtermSetGterm': -gterm.c:544:45: warning: passing argument 2 of 'Tcl_Concat' from incompatible pointer type [-Wincompatible-pointer-types] - 544 | message = (argc > 1) ? Tcl_Concat (argc-1, &argv[1]) : NULL; - | ^~~~~~~~ - | | - | char ** +marker.c: In function 'markerGetAttributes': +marker.c:1252:48: warning: passing argument 4 of 'Tcl_SplitList' from incompatible pointer type [-Wincompatible-pointer-types] + 1252 | if (Tcl_SplitList (tcl, argv[1], &nitems, &items) != TCL_OK) + | ^~~~~~ + | | + | char *** In file included from /usr/include/tcl/tcl.h:2441, from ObmP.h:76, - from gterm.c:4: + from marker.c:5: +/usr/include/tcl/tclDecls.h:722:21: note: expected 'const char ***' but argument is of type 'char ***' + 722 | CONST84 char ***argvPtr); + | ^ +marker.c: In function 'markerSetAttributes': +marker.c:1309:48: warning: passing argument 4 of 'Tcl_SplitList' from incompatible pointer type [-Wincompatible-pointer-types] + 1309 | if (Tcl_SplitList (tcl, argv[1], &nitems, &items) != TCL_OK) + | ^~~~~~ + | | + | char *** +In file included from /usr/include/tcl/tcl.h:2441, + from ObmP.h:76, + from marker.c:5: +/usr/include/tcl/tclDecls.h:722:21: note: expected 'const char ***' but argument is of type 'char ***' + 722 | CONST84 char ***argvPtr); + | ^ +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) { + | ^~~~~~ + | | + | char *** +In file included from /usr/include/tcl/tcl.h:2441, + from ObmP.h:76, + from client.c:4: +/usr/include/tcl/tclDecls.h:722:21: note: expected 'const char ***' but argument is of type 'char ***' + 722 | CONST84 char ***argvPtr); + | ^ +client.c: In function 'clientGcmd': +client.c:173:42: warning: passing argument 2 of 'Tcl_Concat' from incompatible pointer type [-Wincompatible-pointer-types] + 173 | char *message = Tcl_Concat (argc-1, &argv[1]); + | ^~~~~~~~ + | | + | char ** +In file included from /usr/include/tcl/tcl.h:2441, + from ObmP.h:76, + from client.c:4: +/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); + | ^ +client.c: In function 'clientLiteral': +client.c:225:42: warning: passing argument 2 of 'Tcl_Concat' from incompatible pointer type [-Wincompatible-pointer-types] + 225 | char *message = Tcl_Concat (argc-1, &argv[1]); + | ^~~~~~~~ + | | + | char ** +In file included from /usr/include/tcl/tcl.h:2441, + from ObmP.h:76, + from client.c:4: /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); | ^ @@ -892,7 +930,6 @@ | ^~~~~~~~ | | | char ** -marker.c: In function 'markerGetAttributes': In file included from /usr/include/tcl/tcl.h:2441, from ObmP.h:76, from server.c:4: @@ -905,41 +942,18 @@ | ^~~~~~~~ | | | char ** -marker.c:1252:48: warning: passing argument 4 of 'Tcl_SplitList' from incompatible pointer type [-Wincompatible-pointer-types] - 1252 | if (Tcl_SplitList (tcl, argv[1], &nitems, &items) != TCL_OK) - | ^~~~~~ - | | - | char *** In file included from /usr/include/tcl/tcl.h:2441, from ObmP.h:76, from server.c:4: /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); | ^ -In file included from /usr/include/tcl/tcl.h:2441, - from ObmP.h:76, - from marker.c:5: -/usr/include/tcl/tclDecls.h:722:21: note: expected 'const char ***' but argument is of type 'char ***' - 722 | CONST84 char ***argvPtr); - | ^ -marker.c: In function 'markerSetAttributes': 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) { | ^~~~~~ | | | char *** -marker.c:1309:48: warning: passing argument 4 of 'Tcl_SplitList' from incompatible pointer type [-Wincompatible-pointer-types] - 1309 | if (Tcl_SplitList (tcl, argv[1], &nitems, &items) != TCL_OK) - | ^~~~~~ - | | - | char *** -In file included from /usr/include/tcl/tcl.h:2441, - from ObmP.h:76, - from marker.c:5: -/usr/include/tcl/tclDecls.h:722:21: note: expected 'const char ***' but argument is of type 'char ***' - 722 | CONST84 char ***argvPtr); - | ^ In file included from /usr/include/tcl/tcl.h:2441, from ObmP.h:76, from server.c:4: @@ -967,10 +981,6 @@ | | | | | ServerCallback {aka struct _serverCallback *} | long unsigned int -gterm.c: In function 'gtermAssignRaster': -gterm.c:2020:17: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] - 2020 | drawable = (XtPointer) atoi(object); - | ^ server.c: In function 'serverPostWorkProc': server.c:1240:21: warning: format '%lx' expects argument of type 'long unsigned int', but argument 3 has type 'ServerCallback' {aka 'struct _serverCallback *'} [-Wformat=] 1240 | sprintf (buf, "0x%lx", cb); @@ -978,10 +988,6 @@ | | | | | ServerCallback {aka struct _serverCallback *} | long unsigned int -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; - | ^ server.c: In function 'serverCreateMenu': server.c:2144:46: warning: passing argument 4 of 'Tcl_SplitList' from incompatible pointer type [-Wincompatible-pointer-types] 2144 | if (Tcl_SplitList (tcl, item_list, &nitems, &items) != TCL_OK) { @@ -1008,6 +1014,47 @@ server.c:2175:17: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2175 | ip->label = cp; | ^ +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; + | ^ +gterm.c: In function 'gtermSetGterm': +gterm.c:544:45: warning: passing argument 2 of 'Tcl_Concat' from incompatible pointer type [-Wincompatible-pointer-types] + 544 | message = (argc > 1) ? Tcl_Concat (argc-1, &argv[1]) : NULL; + | ^~~~~~~~ + | | + | char ** +In file included from /usr/include/tcl/tcl.h:2441, + from ObmP.h:76, + from gterm.c:4: +/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); + | ^ +gterm.c: In function 'gtermAssignRaster': +gterm.c:2020:17: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] + 2020 | drawable = (XtPointer) atoi(object); + | ^ +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); + | ^~~~~~~~~~~~ + | XCreatePixmap +gterm.c: In function 'gtermCreateMarker': +gterm.c:4113:48: warning: passing argument 4 of 'Tcl_SplitList' from incompatible pointer type [-Wincompatible-pointer-types] + 4113 | if (Tcl_SplitList (tcl, argv[2], &nitems, &items) != TCL_OK) + | ^~~~~~ + | | + | char *** +In file included from /usr/include/tcl/tcl.h:2441, + from ObmP.h:76, + from gterm.c:4: +/usr/include/tcl/tclDecls.h:722:21: note: expected 'const char ***' but argument is of type 'char ***' + 722 | CONST84 char ***argvPtr); + | ^ +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; + | ^ widget.c: In function 'WidgetEvaluate': widget.c:697:30: warning: passing argument 2 of 'Tcl_SetResult' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 697 | Tcl_SetResult (server, Tcl_GetStringResult (tcl), TCL_VOLATILE); @@ -1018,7 +1065,6 @@ /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, | ~~~~~~^~~~~~ -gterm.c: In function 'gtermExtractPixmap': widget.c:721:30: warning: passing argument 2 of 'Tcl_SetResult' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 721 | Tcl_SetResult (server, Tcl_GetStringResult (tcl), TCL_VOLATILE); | ^~~~~~~~~~~~~~~~~~~~~~~~~ @@ -1037,10 +1083,6 @@ /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, | ~~~~~~^~~~~~ -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); - | ^~~~~~~~~~~~ - | XCreatePixmap widget.c: In function 'widgetAddCallback': widget.c:827:57: warning: format '%lx' expects argument of type 'long unsigned int', but argument 3 has type 'ObmContext' {aka 'struct obmContext *'} [-Wformat=] 827 | sprintf (text_translations, "Return: do_text(0x%lx, %s) ", @@ -1056,7 +1098,6 @@ 1280 | sprintf (message, "%d", (int)call_data); | ^ widget.c: In function 'do_userproc': -gterm.c: In function 'gtermCreateMarker': widget.c:1591:22: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'Time' {aka 'long unsigned int'} [-Wformat=] 1591 | sprintf (op, "%u ", time); | ~^ ~~~~ @@ -1064,17 +1105,6 @@ | | Time {aka long unsigned int} | unsigned int | %lu -gterm.c:4113:48: warning: passing argument 4 of 'Tcl_SplitList' from incompatible pointer type [-Wincompatible-pointer-types] - 4113 | if (Tcl_SplitList (tcl, argv[2], &nitems, &items) != TCL_OK) - | ^~~~~~ - | | - | char *** -In file included from /usr/include/tcl/tcl.h:2441, - from ObmP.h:76, - from gterm.c:4: -/usr/include/tcl/tclDecls.h:722:21: note: expected 'const char ***' but argument is of type 'char ***' - 722 | CONST84 char ***argvPtr); - | ^ widget.c: In function 'widgetGet': widget.c:2152:27: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'caddr_t' {aka 'char *'} [-Wformat=] 2152 | sprintf (result, "0x%x", value); @@ -1083,7 +1113,6 @@ | | caddr_t {aka char *} | unsigned int | %s -Group.c: In function 'on_cb': widget.c:2166:27: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'caddr_t' {aka 'char *'} [-Wformat=] 2166 | sprintf (result, "0x%x", value); | ~^ ~~~~~ @@ -1091,13 +1120,6 @@ | | caddr_t {aka char *} | unsigned int | %s -Group.c:104:27: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] - 104 | Cardinal toggle_ord = (Cardinal) client_data; - | ^ -Group.c: In function 'off_cb': -Group.c:131:27: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] - 131 | Cardinal toggle_ord = (Cardinal) client_data; - | ^ widget.c: In function 'widgetSetList': widget.c:2272:46: warning: passing argument 4 of 'Tcl_SplitList' from incompatible pointer type [-Wincompatible-pointer-types] 2272 | if (Tcl_SplitList (obm->tcl, list, &nitems, &items) != TCL_OK) @@ -1110,13 +1132,6 @@ /usr/include/tcl/tclDecls.h:722:21: note: expected 'const char ***' but argument is of type 'char ***' 722 | CONST84 char ***argvPtr); | ^ -Group.c: In function 'insert_child': -Group.c:368:45: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] - 368 | XtAddCallback(child, XtNonCallback, on_cb, (XtPointer) ((XfwfGroupWidget)self)->xfwfGroup.toggle_ord); - | ^ -Group.c:369:47: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] - 369 | XtAddCallback(child, XtNoffCallback, off_cb, (XtPointer) ((XfwfGroupWidget)self)->xfwfGroup.toggle_ord); - | ^ widget.c: In function 'widgetAddEventHandler': widget.c:4653:24: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 4653 | new_cb->client_data = (XtPointer) event_mask; @@ -1136,7 +1151,6 @@ | ~~~~~~~~ | | | Time {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 Label.o Label.c widget.c:4802:18: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'Time' {aka 'long unsigned int'} [-Wformat=] 4802 | sprintf (op, "%u %d %d %d %d ", | ~^ @@ -1150,6 +1164,7 @@ widget.c:4826:8: warning: 'XKeycodeToKeysym' is deprecated [-Wdeprecated-declarations] 4826 | keysym = XKeycodeToKeysym (obm->display, | ^~~~~~ +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 Frame.o Frame.c In file included from /usr/include/X11/Intrinsic.h:53, from ObmP.h:16, from widget.c:5: @@ -1167,12 +1182,52 @@ | | | Time {aka long unsigned int} widget.c: In function 'widgetGetFontName': +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 widget.c:5015:43: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long unsigned int' [-Wformat=] 5015 | sprintf(name, "%s%d", name, val); | ~^ ~~~ | | | | 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 -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 +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 Label.o Label.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 Layout.o Layout.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 MenuBar.o MenuBar.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 MultiList.o MultiList.c +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/x86_64-linux-gnu/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 ()); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +Group.c: In function 'on_cb': +Group.c:104:27: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] + 104 | Cardinal toggle_ord = (Cardinal) client_data; + | ^ +Group.c: In function 'off_cb': +Group.c:131:27: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] + 131 | Cardinal toggle_ord = (Cardinal) client_data; + | ^ +Group.c: In function 'insert_child': +Group.c:368:45: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] + 368 | XtAddCallback(child, XtNonCallback, on_cb, (XtPointer) ((XfwfGroupWidget)self)->xfwfGroup.toggle_ord); + | ^ +Group.c:369:47: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] + 369 | XtAddCallback(child, XtNoffCallback, off_cb, (XtPointer) ((XfwfGroupWidget)self)->xfwfGroup.toggle_ord); + | ^ +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 RadioGrp.o RadioGrp.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 RowCol.o RowCol.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", @@ -1234,7 +1289,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 Layout.o Layout.c Gterm.c: In function 'Realize': Gterm.c:1343:71: warning: format '%x' expects argument of type 'unsigned int', but argument 4 has type 'Colormap' {aka 'long unsigned int'} [-Wformat=] 1343 | fprintf (stderr, "Gterm.Realize: force8=%d core colormap 0x%x\n", @@ -1385,6 +1439,9 @@ | ~~~~~~~~~~~~~~~~~ | | | Pixmap {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 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 -DOSI_COMPLIANT -DOSI_COMPLIANT -Wdate-time -D_FORTIFY_SOURCE=2 -c -o Slider2.o Slider2.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 Tablist2Tabs.o Tablist2Tabs.c In file included from Gterm.c:1949: GtermImaging.c: In function 'GtWritePixels': GtermImaging.c:546:67: warning: format '%x' expects argument of type 'unsigned int', but argument 7 has type 'XWindowAttributes' [-Wformat=] @@ -1446,6 +1503,7 @@ | ~~ | | | Marker {aka struct marker *} +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 TextWidth.o TextWidth.c In file included from Gterm.c:1950: GtermCmap.c: In function 'get_colormap': GtermCmap.c:48:69: warning: format '%d' expects argument of type 'int', but argument 6 has type 'Pixel' {aka 'long unsigned int'} [-Wformat=] @@ -1500,7 +1558,7 @@ | ~~~~~~~~~~~~~~~~~~~ | | | Pixel {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 MenuBar.o MenuBar.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 Toggle.o Toggle.c In file included from Gterm.c:1951: GtermMapping.c: In function 'refresh_destination': GtermMapping.c:125:48: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'GtermWidget' {aka 'struct _GtermRec *'} [-Wformat=] @@ -1512,7 +1570,6 @@ | ~ | | | GtermWidget {aka struct _GtermRec *} -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 MultiList.o MultiList.c GtermMapping.c:187:32: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'Pixmap' {aka 'long unsigned int'} [-Wformat=] 187 | "refresh: gterm.pixmap=0x%x src.pixmap=0x%x dest.pixmap=0x%x\n", | ~^ @@ -1671,6 +1728,7 @@ | ~~~ | | | XImage * +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 cvtLong.o cvtLong.c GtermMapping.c:558:59: warning: format '%x' expects argument of type 'unsigned int', but argument 5 has type 'XImage *' [-Wformat=] 558 | fprintf (stderr, "refresh: scaling=%d xin=0x%x xout=0x%x\n", | ~^ @@ -1700,38 +1758,9 @@ | ~~~~~~~~~~~~~~~~~ | | | Pixmap {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 RadioGrp.o RadioGrp.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 RowCol.o RowCol.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 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 -DOSI_COMPLIANT -DOSI_COMPLIANT -Wdate-time -D_FORTIFY_SOURCE=2 -c -o Slider2.o Slider2.c -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/x86_64-linux-gnu/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 ()); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -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 Tablist2Tabs.o Tablist2Tabs.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 TextWidth.o TextWidth.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 Toggle.o Toggle.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 cvtLong.o cvtLong.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 scroll.o scroll.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 strnchr.o strnchr.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 Tabs.o Tabs.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 Gcs.o Gcs.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 ListTree.o ListTree.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 Separator.o Separator.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 Container.o Container.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 color.o color.c -yacc -d laygram.y MultiList.c: In function 'Notify': MultiList.c:1466:13: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 1466 | buffer[0] = '\0'; @@ -1739,6 +1768,12 @@ MultiList.c:1465:20: note: at offset 0 to an object with size 0 allocated by 'malloc' here 1465 | buffer = (char *)malloc(byte_count); | ^~~~~~~~~~~~~~~~~~ +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 Gcs.o Gcs.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 ListTree.o ListTree.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 Separator.o Separator.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 Container.o Container.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 color.o color.c +yacc -d laygram.y 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); @@ -1779,25 +1814,28 @@ ar cr libobm.a ObmW/[A-Za-z]*.o Obm.o client.o param.o server.o widget.o gterm.o marker.o geom.o make[2]: Leaving directory '/build/x11iraf-2.0+2020.06.15+dfsg/obm' make -C xgterm -make -C ximtool make[2]: Entering directory '/build/x11iraf-2.0+2020.06.15+dfsg/xgterm' +make -C ximtool 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 -DOSI_COMPLIANT -Wdate-time -D_FORTIFY_SOURCE=2 -c -o eps.o eps.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 fitsio.o fitsio.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 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 -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 +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 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 gifio.o gifio.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 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 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 -DALLOWLOGGING -Wdate-time -D_FORTIFY_SOURCE=2 -c -o main.o main.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_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 menu.o menu.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 main.o main.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 +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); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cursor.c: In function '_CheckSelection': cursor.c:41:2: warning: implicit declaration of function 'DisownSelection'; did you mean 'XtDisownSelection'? [-Wimplicit-function-declaration] 41 | DisownSelection(term); @@ -1823,6 +1861,15 @@ cursor.c:176:2: warning: implicit declaration of function 'Scroll' [-Wimplicit-function-declaration] 176 | Scroll(screen, amount - j); | ^~~~~~ +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 +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); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cursor.c: In function 'RevIndex': cursor.c:198:2: warning: implicit declaration of function 'RevScroll' [-Wimplicit-function-declaration] 198 | RevScroll(screen, amount - (screen->cur_row - screen->top_marg)); @@ -1837,134 +1884,16 @@ cursor.c:233:1: warning: return type defaults to 'int' [-Wimplicit-int] 233 | CursorRestore(term, sc) | ^~~~~~~~~~~~~ -input.c: In function 'AdjustAfterInput': -input.c:68:3: warning: implicit declaration of function 'WindowScroll' [-Wimplicit-function-declaration] - 68 | WindowScroll(screen, 0); - | ^~~~~~~~~~~~ -input.c:74:5: warning: implicit declaration of function 'Bell'; did you mean 'XBell'? [-Wimplicit-function-declaration] - 74 | Bell(); - | ^~~~ - | XBell -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 'DiredButton': -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); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -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 -input.c: In function 'Input': -input.c:134:3: warning: implicit declaration of function 'unparseseq' [-Wimplicit-function-declaration] - 134 | unparseseq(&reply, pty); - | ^~~~~~~~~~ -input.c:135:3: warning: implicit declaration of function 'unparseputc' [-Wimplicit-function-declaration] - 135 | unparseputc((char)(keysym-XK_KP_F1+'P'), pty); - | ^~~~~~~~~~~ -input.c: At top level: -input.c:189:1: warning: return type defaults to 'int' [-Wimplicit-int] - 189 | StringInput (screen, string, nbytes) - | ^~~~~~~~~~~ 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 -In file included from menu.c:31: -menu.c: In function 'domenu': -menu.h:262:7: warning: implicit declaration of function 'gt_enable' [-Wimplicit-function-declaration] - 262 | gt_enable(2)) - | ^~~~~~~~~ -menu.h:147:3: note: in definition of macro 'update_menu_item' - 147 | (val) ? \ - | ^~~ -menu.c:208:6: note: in expansion of macro 'update_gioenable' - 208 | update_gioenable(); - | ^~~~~~~~~~~~~~~~ -menu.c:226:15: warning: implicit declaration of function 'isspace' [-Wimplicit-function-declaration] - 226 | start = isspace(*(op-1)) ? op - 1 : op; - | ^~~~~~~ -menu.c: At top level: -menu.c:371:1: warning: return type defaults to 'int' [-Wimplicit-int] - 371 | init_menu (menu) - | ^~~~~~~~~ -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)); - | ^~~~~~~ - | pwrite +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 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); | ^~~~~~~~~~~ -menu.c: In function 'do_securekbd': -menu.c:432:2: warning: implicit declaration of function 'ReverseVideo'; did you mean 'XtCReverseVideo'? [-Wimplicit-function-declaration] - 432 | ReverseVideo (term); - | ^~~~~~~~~~~~ - | XtCReverseVideo -button.c: In function 'SaltTextAway': -button.c:1130:3: warning: implicit declaration of function 'SysError' [-Wimplicit-function-declaration] - 1130 | SysError(ERROR_BMALLOC2); - | ^~~~~~~~ -menu.c: In function 'do_logging': -menu.c:478:2: warning: implicit declaration of function 'CloseLog' [-Wimplicit-function-declaration] - 478 | CloseLog (screen); - | ^~~~~~~~ -gtermio.c: In function 'gio_processdata': -gtermio.c:1407:43: warning: embedded '\0' in format [-Wformat-contains-nul] - 1407 | sprintf (txtbuf, "setValue {%s}\0", tx_buf); - | ^~ -menu.c:480:2: warning: implicit declaration of function 'StartLog' [-Wimplicit-function-declaration] - 480 | StartLog (screen); - | ^~~~~~~~ -iis.c: In function 'xim_iisio': -iis.c:496:59: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long unsigned int' [-Wformat=] - 496 | "ximtool: command input read error, n=%d of %d, errno=%d\n", - | ~^ - | | - | int - | %ld - 497 | n, sizeof(iis), errno); - | ~~~~~~~~~~~ - | | - | long unsigned int -menu.c: In function 'do_redraw': -menu.c:490:5: warning: implicit declaration of function 'Redraw' [-Wimplicit-function-declaration] - 490 | Redraw (); - | ^~~~~~ -menu.c: In function 'do_quit': -menu.c:556:5: warning: implicit declaration of function 'Cleanup'; did you mean 'SmsCleanUp'? [-Wimplicit-function-declaration] - 556 | Cleanup (0); - | ^~~~~~~ - | SmsCleanUp -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", - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -charproc.c: In function 'VTparse': -charproc.c:743:4: warning: implicit declaration of function 'Bell'; did you mean 'XBell'? [-Wimplicit-function-declaration] - 743 | Bell(); - | ^~~~ - | XBell -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) { - | ^~~~~~~~~~~~~~~~~ -menu.c: In function 'do_scrollbar': -menu.c:572:2: warning: implicit declaration of function 'ScrollBarOff' [-Wimplicit-function-declaration] - 572 | ScrollBarOff (screen); - | ^~~~~~~~~~~~ -charproc.c:748:4: warning: implicit declaration of function 'CursorBack'; did you mean 'CursorX'? [-Wimplicit-function-declaration] - 748 | CursorBack(screen, 1); - | ^~~~~~~~~~ - | CursorX -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 -menu.c:574:2: warning: implicit declaration of function 'ScrollBarOn' [-Wimplicit-function-declaration] - 574 | ScrollBarOn (term, FALSE, FALSE); - | ^~~~~~~~~~~ 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); @@ -1972,29 +1901,18 @@ 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); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -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); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~ -charproc.c:753:4: warning: implicit declaration of function 'CarriageReturn' [-Wimplicit-function-declaration] - 753 | CarriageReturn(screen); - | ^~~~~~~~~~~~~~ -menu.c: In function 'do_jumpscroll': -menu.c:589:26: warning: implicit declaration of function 'FlushScroll' [-Wimplicit-function-declaration] - 589 | if (screen->scroll_amt) FlushScroll(screen); - | ^~~~~~~~~~~ -charproc.c:766:4: warning: implicit declaration of function 'Index'; did you mean 'index'? [-Wimplicit-function-declaration] - 766 | Index(screen, 1); - | ^~~~~ - | index -charproc.c:771:6: warning: implicit declaration of function 'xevents' [-Wimplicit-function-declaration] - 771 | xevents(); - | ^~~~~~~ +input.c: In function 'AdjustAfterInput': +input.c:68:3: warning: implicit declaration of function 'WindowScroll' [-Wimplicit-function-declaration] + 68 | WindowScroll(screen, 0); + | ^~~~~~~~~~~~ +button.c: In function 'SaltTextAway': +button.c:1130:3: warning: implicit declaration of function 'SysError' [-Wimplicit-function-declaration] + 1130 | SysError(ERROR_BMALLOC2); + | ^~~~~~~~ +input.c:74:5: warning: implicit declaration of function 'Bell'; did you mean 'XBell'? [-Wimplicit-function-declaration] + 74 | Bell(); + | ^~~~ + | XBell 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); @@ -2011,22 +1929,10 @@ 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); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -main.c: In function 'get_termcap': 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); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -main.c:882:13: warning: implicit declaration of function 'tgetent'; did you mean 'getenv'? [-Wimplicit-function-declaration] - 882 | if (tgetent(buffer, name) == 1) { - | ^~~~~~~ - | getenv -charproc.c:777:22: warning: implicit declaration of function 'TabNext' [-Wimplicit-function-declaration] - 777 | screen->cur_col = TabNext(term->tabs, screen->cur_col); - | ^~~~~~~ -menu.c: In function 'do_softreset': -menu.c:729:5: warning: implicit declaration of function 'VTReset' [-Wimplicit-function-declaration] - 729 | VTReset (FALSE); - | ^~~~~~~ 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); @@ -2034,6 +1940,86 @@ 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); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +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 +ism.c:316:39: warning: format '%d' expects argument of type 'int', but argument 4 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] + 316 | printf ("INCOMPLETE '%s' ip=%d len=%d\n", text,ip,strlen(text)); + | ~^ ~~~~~~~~~~~~ + | | | + | int size_t {aka long unsigned 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:416:23: warning: format '%d' expects argument of type 'int', but argument 2 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] + 416 | printf ("SEND: len=%d '%s'->'%.45s'\n", strlen(buf), name, buf); + | ~^ ~~~~~~~~~~~ + | | | + | int size_t {aka long unsigned int} + | %ld +ism.c: In function 'ism_evaluate': +iis.c: In function 'xim_iisio': +iis.c:496:59: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long unsigned int' [-Wformat=] + 496 | "ximtool: command input read error, n=%d of %d, errno=%d\n", + | ~^ + | | + | int + | %ld + 497 | n, sizeof(iis), errno); + | ~~~~~~~~~~~ + | | + | long unsigned int +ism.c:552:20: warning: embedded '\0' in format [-Wformat-contains-nul] + 552 | sprintf (buf, "%s\0", command); + | ^~ +input.c: In function 'Input': +input.c:134:3: warning: implicit declaration of function 'unparseseq' [-Wimplicit-function-declaration] + 134 | unparseseq(&reply, pty); + | ^~~~~~~~~~ +button.c: In function 'SaveText': +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", + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +button.c:1409:6: warning: implicit declaration of function 'ScrnGetAttributes' [-Wimplicit-function-declaration] + 1409 | if(ScrnGetAttributes(screen, row + screen->topline, 0, &attr, 1) == 1) { + | ^~~~~~~~~~~~~~~~~ +input.c:135:3: warning: implicit declaration of function 'unparseputc' [-Wimplicit-function-declaration] + 135 | unparseputc((char)(keysym-XK_KP_F1+'P'), pty); + | ^~~~~~~~~~~ +input.c: At top level: +input.c:189:1: warning: return type defaults to 'int' [-Wimplicit-int] + 189 | StringInput (screen, string, nbytes) + | ^~~~~~~~~~~ +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); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~ 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); @@ -2059,17 +2045,18 @@ load.c:86:34: warning: embedded '\0' in format [-Wformat-contains-nul] 86 | sprintf (buf, "nsample %d\0", flp->nsample); | ^~ -menu.c: In function 'do_hardreset': 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."); | ^~ -menu.c:737:5: warning: implicit declaration of function 'gt_reset' [-Wimplicit-function-declaration] - 737 | gt_reset(); - | ^~~~~~~~ +gtermio.c: In function 'gio_hardreset': load.c:201:31: warning: embedded '\0' in format [-Wformat-contains-nul] 201 | sprintf (buf, "warning %s\0", "Error: Unknown raster file type."); | ^~ +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)); + | ^~~~~~~ + | pwrite 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", | ~^ @@ -2083,6 +2070,44 @@ load.c:297:36: warning: embedded '\0' in format [-Wformat-contains-nul] 297 | sprintf (buf, "%d %d %d\0", cf->width, cf->height, 8); | ^~ +gtermio.c: In function 'gio_processdata': +gtermio.c:1407:43: warning: embedded '\0' in format [-Wformat-contains-nul] + 1407 | sprintf (txtbuf, "setValue {%s}\0", tx_buf); + | ^~ +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); + | ^~~~~~~~~~~~~~~~~ +charproc.c: In function 'VTparse': +charproc.c:743:4: warning: implicit declaration of function 'Bell'; did you mean 'XBell'? [-Wimplicit-function-declaration] + 743 | Bell(); + | ^~~~ + | XBell +charproc.c:748:4: warning: implicit declaration of function 'CursorBack'; did you mean 'CursorX'? [-Wimplicit-function-declaration] + 748 | CursorBack(screen, 1); + | ^~~~~~~~~~ + | CursorX +charproc.c:753:4: warning: implicit declaration of function 'CarriageReturn' [-Wimplicit-function-declaration] + 753 | CarriageReturn(screen); + | ^~~~~~~~~~~~~~ +charproc.c:766:4: warning: implicit declaration of function 'Index'; did you mean 'index'? [-Wimplicit-function-declaration] + 766 | Index(screen, 1); + | ^~~~~ + | index +charproc.c:771:6: warning: implicit declaration of function 'xevents' [-Wimplicit-function-declaration] + 771 | xevents(); + | ^~~~~~~ +charproc.c:777:22: warning: implicit declaration of function 'TabNext' [-Wimplicit-function-declaration] + 777 | screen->cur_col = TabNext(term->tabs, screen->cur_col); + | ^~~~~~~ +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) { + | ^~~~~~~ + | getenv charproc.c:845:4: warning: implicit declaration of function 'InsertChar' [-Wimplicit-function-declaration] 845 | InsertChar(screen, row); | ^~~~~~~~~~ @@ -2090,71 +2115,14 @@ 853 | CursorUp(screen, row); | ^~~~~~~~ | CursorX -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 main.c: In function 'DeleteWindow': main.c:989:7: warning: implicit declaration of function 'hide_vt_window' [-Wimplicit-function-declaration] 989 | hide_vt_window(); | ^~~~~~~~~~~~~~ -ism.c:316:39: warning: format '%d' expects argument of type 'int', but argument 4 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] - 316 | printf ("INCOMPLETE '%s' ip=%d len=%d\n", text,ip,strlen(text)); - | ~^ ~~~~~~~~~~~~ - | | | - | int size_t {aka long unsigned 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 -menu.c: In function 'do_clearsavedlines': -menu.c:749:5: warning: implicit declaration of function 'ScrollBarDrawThumb' [-Wimplicit-function-declaration] - 749 | ScrollBarDrawThumb(screen->scrollWidget); - | ^~~~~~~~~~~~~~~~~~ -ism.c:416:23: warning: format '%d' expects argument of type 'int', but argument 2 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] - 416 | printf ("SEND: len=%d '%s'->'%.45s'\n", strlen(buf), name, buf); - | ~^ ~~~~~~~~~~~ - | | | - | int size_t {aka long unsigned int} - | %ld charproc.c:861:4: warning: implicit declaration of function 'CursorDown'; did you mean 'CursorX'? [-Wimplicit-function-declaration] 861 | CursorDown(screen, row); | ^~~~~~~~~~ | CursorX -ism.c: In function 'ism_evaluate': -ism.c:552:20: warning: embedded '\0' in format [-Wformat-contains-nul] - 552 | sprintf (buf, "%s\0", command); - | ^~ -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); - | ^~~~~~~~~~~~~~~~~ -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 */ - | ^~~~~~~~~~~~ charproc.c:869:4: warning: implicit declaration of function 'CursorForward' [-Wimplicit-function-declaration] 869 | CursorForward(screen, row); | ^~~~~~~~~~~~~ @@ -2175,93 +2143,115 @@ 887 | CursorSet(screen, row-1, col-1, term->flags); | ^~~~~~~~~ | CursorX -menu.c: In function 'handle_tekshow': -charproc.c:905:5: warning: implicit declaration of function 'ClearBelow' [-Wimplicit-function-declaration] - 905 | ClearBelow(screen); - | ^~~~~~~~~~ -menu.c:777:9: warning: implicit declaration of function 'set_tek_visibility' [-Wimplicit-function-declaration] - 777 | set_tek_visibility (TRUE); - | ^~~~~~~~~~~~~~~~~~ -menu.c:781:2: warning: implicit declaration of function 'Bell'; did you mean 'XBell'? [-Wimplicit-function-declaration] - 781 | Bell(); - | ^~~~ - | XBell +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 main.c:1419:2: warning: implicit declaration of function 'get_terminal'; did you mean 'get_termcap'? [-Wimplicit-function-declaration] 1419 | get_terminal (); | ^~~~~~~~~~~~ | get_termcap -charproc.c:909:5: warning: implicit declaration of function 'ClearAbove' [-Wimplicit-function-declaration] - 909 | ClearAbove(screen); - | ^~~~~~~~~~ main.c:1420:2: warning: implicit declaration of function 'spawn' [-Wimplicit-function-declaration] 1420 | spawn (); | ^~~~~ -menu.c: In function 'do_vthide': -menu.c:806:5: warning: implicit declaration of function 'hide_vt_window' [-Wimplicit-function-declaration] - 806 | hide_vt_window(); - | ^~~~~~~~~~~~~~ -charproc.c:913:5: warning: implicit declaration of function 'ClearScreen' [-Wimplicit-function-declaration] - 913 | ClearScreen(screen); - | ^~~~~~~~~~~ +charproc.c:905:5: warning: implicit declaration of function 'ClearBelow' [-Wimplicit-function-declaration] + 905 | ClearBelow(screen); + | ^~~~~~~~~~ +charproc.c:909:5: warning: implicit declaration of function 'ClearAbove' [-Wimplicit-function-declaration] + 909 | ClearAbove(screen); + | ^~~~~~~~~~ +In file included from menu.c:31: +menu.c: In function 'domenu': +menu.h:262:7: warning: implicit declaration of function 'gt_enable' [-Wimplicit-function-declaration] + 262 | gt_enable(2)) + | ^~~~~~~~~ +menu.h:147:3: note: in definition of macro 'update_menu_item' + 147 | (val) ? \ + | ^~~ +menu.c:208:6: note: in expansion of macro 'update_gioenable' + 208 | update_gioenable(); + | ^~~~~~~~~~~~~~~~ +menu.c:226:15: warning: implicit declaration of function 'isspace' [-Wimplicit-function-declaration] + 226 | start = isspace(*(op-1)) ? op - 1 : op; + | ^~~~~~~ main.c:1435:2: warning: implicit declaration of function 'init_ttyio' [-Wimplicit-function-declaration] 1435 | init_ttyio (pty); | ^~~~~~~~~~ -menu.c: In function 'do_vtfont': -menu.c:823:6: warning: implicit declaration of function 'SetVTFont'; did you mean 'XSetFont'? [-Wimplicit-function-declaration] - 823 | SetVTFont (i, True, NULL, NULL); +charproc.c:913:5: warning: implicit declaration of function 'ClearScreen' [-Wimplicit-function-declaration] + 913 | ClearScreen(screen); + | ^~~~~~~~~~~ +main.c:1439:6: warning: implicit declaration of function 'gio_setup' [-Wimplicit-function-declaration] + 1439 | gio_setup (app_con, argc, argv, pty); | ^~~~~~~~~ - | XSetFont -menu.c: In function 'do_tekpage': +menu.c: At top level: +menu.c:371:1: warning: return type defaults to 'int' [-Wimplicit-int] + 371 | init_menu (menu) + | ^~~~~~~~~ +menu.c: In function 'do_securekbd': +menu.c:432:2: warning: implicit declaration of function 'ReverseVideo'; did you mean 'XtCReverseVideo'? [-Wimplicit-function-declaration] + 432 | ReverseVideo (term); + | ^~~~~~~~~~~~ + | XtCReverseVideo charproc.c:925:5: warning: implicit declaration of function 'ClearRight' [-Wimplicit-function-declaration] 925 | ClearRight(screen); | ^~~~~~~~~~ -menu.c:840:5: warning: implicit declaration of function 'gt_clear' [-Wimplicit-function-declaration] - 840 | gt_clear(); - | ^~~~~~~~ -main.c:1439:6: warning: implicit declaration of function 'gio_setup' [-Wimplicit-function-declaration] - 1439 | gio_setup (app_con, argc, argv, pty); - | ^~~~~~~~~ +main.c:1440:6: warning: implicit declaration of function 'gio_postconnectcallback' [-Wimplicit-function-declaration] + 1440 | gio_postconnectcallback (gtermio_connect, NULL); + | ^~~~~~~~~~~~~~~~~~~~~~~ charproc.c:928:5: warning: implicit declaration of function 'ClearLeft' [-Wimplicit-function-declaration] 928 | ClearLeft(screen); | ^~~~~~~~~ +menu.c: In function 'do_logging': +menu.c:478:2: warning: implicit declaration of function 'CloseLog' [-Wimplicit-function-declaration] + 478 | CloseLog (screen); + | ^~~~~~~~ charproc.c:931:5: warning: implicit declaration of function 'ClearLine' [-Wimplicit-function-declaration] 931 | ClearLine(screen); | ^~~~~~~~~ -menu.c: In function 'handle_vtshow': -menu.c:874:2: warning: implicit declaration of function 'set_vt_visibility' [-Wimplicit-function-declaration] - 874 | set_vt_visibility (TRUE); - | ^~~~~~~~~~~~~~~~~ -main.c:1440:6: warning: implicit declaration of function 'gio_postconnectcallback' [-Wimplicit-function-declaration] - 1440 | gio_postconnectcallback (gtermio_connect, NULL); - | ^~~~~~~~~~~~~~~~~~~~~~~ -charproc.c:941:4: warning: implicit declaration of function 'InsertLine' [-Wimplicit-function-declaration] - 941 | InsertLine(screen, row); - | ^~~~~~~~~~ -menu.c:877:2: warning: implicit declaration of function 'end_vt_mode'; did you mean 'do_vtmode'? [-Wimplicit-function-declaration] - 877 | end_vt_mode (); - | ^~~~~~~~~~~ - | do_vtmode main.c:1460:3: warning: implicit declaration of function 'StartLog' [-Wimplicit-function-declaration] 1460 | StartLog(screen); | ^~~~~~~~ -charproc.c:949:4: warning: implicit declaration of function 'DeleteLine' [-Wimplicit-function-declaration] - 949 | DeleteLine(screen, row); - | ^~~~~~~~~~ +menu.c:480:2: warning: implicit declaration of function 'StartLog' [-Wimplicit-function-declaration] + 480 | StartLog (screen); + | ^~~~~~~~ +menu.c: In function 'do_redraw': main.c:1485:3: warning: implicit declaration of function 'Error'; did you mean 'xerror'? [-Wimplicit-function-declaration] 1485 | Error(); | ^~~~~ | xerror +menu.c:490:5: warning: implicit declaration of function 'Redraw' [-Wimplicit-function-declaration] + 490 | Redraw (); + | ^~~~~~ +charproc.c:941:4: warning: implicit declaration of function 'InsertLine' [-Wimplicit-function-declaration] + 941 | InsertLine(screen, row); + | ^~~~~~~~~~ +menu.c: In function 'do_quit': +menu.c:556:5: warning: implicit declaration of function 'Cleanup'; did you mean 'SmsCleanUp'? [-Wimplicit-function-declaration] + 556 | Cleanup (0); + | ^~~~~~~ + | SmsCleanUp main.c:1509:6: warning: implicit declaration of function 'VTRun' [-Wimplicit-function-declaration] 1509 | VTRun(); | ^~~~~ -charproc.c:957:4: warning: implicit declaration of function 'DeleteChar' [-Wimplicit-function-declaration] - 957 | DeleteChar(screen, row); - | ^~~~~~~~~~ main.c: In function 'get_pty': main.c:1622:17: warning: implicit declaration of function 'getpt'; did you mean 'getopt'? [-Wimplicit-function-declaration] 1622 | if ((*pty = getpt()) >= 0) { | ^~~~~ | getopt +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/x86_64-linux-gnu/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:949:4: warning: implicit declaration of function 'DeleteLine' [-Wimplicit-function-declaration] + 949 | DeleteLine(screen, row); + | ^~~~~~~~~~ main.c: At top level: main.c:1911:1: warning: return type defaults to 'int' [-Wimplicit-int] 1911 | get_terminal () @@ -2269,91 +2259,110 @@ main.c:2178:1: warning: return type defaults to 'int' [-Wimplicit-int] 2178 | spawn(void) | ^~~~~ -charproc.c:981:5: warning: implicit declaration of function 'unparseseq' [-Wimplicit-function-declaration] - 981 | unparseseq(&reply, screen->respond); - | ^~~~~~~~~~ -charproc.c:989:5: warning: implicit declaration of function 'TabClear' [-Wimplicit-function-declaration] - 989 | TabClear(term->tabs, screen->cur_col); - | ^~~~~~~~ +charproc.c:957:4: warning: implicit declaration of function 'DeleteChar' [-Wimplicit-function-declaration] + 957 | DeleteChar(screen, row); + | ^~~~~~~~~~ +menu.c: In function 'do_scrollbar': +menu.c:572:2: warning: implicit declaration of function 'ScrollBarOff' [-Wimplicit-function-declaration] + 572 | ScrollBarOff (screen); + | ^~~~~~~~~~~~ main.c: In function 'spawn': main.c:2333:3: warning: implicit declaration of function 'SysError'; did you mean 'HsSysError'? [-Wimplicit-function-declaration] 2333 | SysError(ERROR_OPDEVTTY); | ^~~~~~~~ | HsSysError -charproc.c:991:5: warning: implicit declaration of function 'TabZonk' [-Wimplicit-function-declaration] - 991 | TabZonk(term->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 misc.o misc.c +charproc.c:981:5: warning: implicit declaration of function 'unparseseq' [-Wimplicit-function-declaration] + 981 | unparseseq(&reply, screen->respond); + | ^~~~~~~~~~ +menu.c:574:2: warning: implicit declaration of function 'ScrollBarOn' [-Wimplicit-function-declaration] + 574 | ScrollBarOn (term, FALSE, FALSE); + | ^~~~~~~~~~~ main.c:2430:5: warning: implicit declaration of function 'VTInit' [-Wimplicit-function-declaration] 2430 | VTInit(); /* realize now so know window size for tty driver */ | ^~~~~~ -charproc.c:997:4: warning: implicit declaration of function 'ansi_modes' [-Wimplicit-function-declaration] - 997 | ansi_modes(term, bitset); - | ^~~~~~~~~~ +menu.c: In function 'do_jumpscroll': +menu.c:589:26: warning: implicit declaration of function 'FlushScroll' [-Wimplicit-function-declaration] + 589 | if (screen->scroll_amt) FlushScroll(screen); + | ^~~~~~~~~~~ +charproc.c:989:5: warning: implicit declaration of function 'TabClear' [-Wimplicit-function-declaration] + 989 | TabClear(term->tabs, screen->cur_col); + | ^~~~~~~~ main.c:2573:3: warning: implicit declaration of function 'grantpt' [-Wimplicit-function-declaration] 2573 | grantpt(screen->respond); | ^~~~~~~ -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/x86_64-linux-gnu/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 ()); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +menu.c: In function 'do_softreset': +menu.c:729:5: warning: implicit declaration of function 'VTReset' [-Wimplicit-function-declaration] + 729 | VTReset (FALSE); + | ^~~~~~~ +charproc.c:991:5: warning: implicit declaration of function 'TabZonk' [-Wimplicit-function-declaration] + 991 | TabZonk(term->tabs); + | ^~~~~~~ main.c:2574:3: warning: implicit declaration of function 'unlockpt' [-Wimplicit-function-declaration] 2574 | unlockpt(screen->respond); | ^~~~~~~~ +charproc.c:997:4: warning: implicit declaration of function 'ansi_modes' [-Wimplicit-function-declaration] + 997 | ansi_modes(term, bitset); + | ^~~~~~~~~~ +menu.c: In function 'do_hardreset': +menu.c:737:5: warning: implicit declaration of function 'gt_reset' [-Wimplicit-function-declaration] + 737 | gt_reset(); + | ^~~~~~~~ charproc.c:1098:8: warning: implicit declaration of function 'FlushScroll' [-Wimplicit-function-declaration] 1098 | FlushScroll(screen); | ^~~~~~~~~~~ +menu.c: In function 'do_clearsavedlines': +menu.c:749:5: warning: implicit declaration of function 'ScrollBarDrawThumb' [-Wimplicit-function-declaration] + 749 | ScrollBarDrawThumb(screen->scrollWidget); + | ^~~~~~~~~~~~~~~~~~ charproc.c:1216:4: warning: implicit declaration of function 'dpmodes' [-Wimplicit-function-declaration] 1216 | dpmodes(term, bitset); | ^~~~~~~ -charproc.c:1236:4: warning: implicit declaration of function 'ScrnRefresh' [-Wimplicit-function-declaration] - 1236 | ScrnRefresh(screen, 0, 0, screen->max_row + 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 screen.o screen.c main.c:3494:3: warning: implicit declaration of function 'remove_termcap_entry' [-Wimplicit-function-declaration] 3494 | remove_termcap_entry(newtc, "ti="); | ^~~~~~~~~~~~~~~~~~~~ -charproc.c:1248:4: warning: implicit declaration of function 'CursorSave'; did you mean 'CursorShape'? [-Wimplicit-function-declaration] - 1248 | CursorSave(term, &screen->sc); - | ^~~~~~~~~~ - | CursorShape +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 */ + | ^~~~~~~~~~~~ main.c: In function 'Exit': main.c:5056:3: warning: implicit declaration of function 'CloseLog' [-Wimplicit-function-declaration] 5056 | CloseLog(screen); | ^~~~~~~~ -charproc.c:1254:4: warning: implicit declaration of function 'CursorRestore' [-Wimplicit-function-declaration] - 1254 | CursorRestore(term, &screen->sc); - | ^~~~~~~~~~~~~ -charproc.c:1294:4: warning: implicit declaration of function 'TabSet' [-Wimplicit-function-declaration] - 1294 | TabSet(term->tabs, screen->cur_col); - | ^~~~~~ +charproc.c:1236:4: warning: implicit declaration of function 'ScrnRefresh' [-Wimplicit-function-declaration] + 1236 | ScrnRefresh(screen, 0, 0, screen->max_row + 1, + | ^~~~~~~~~~~ +charproc.c:1248:4: warning: implicit declaration of function 'CursorSave'; did you mean 'CursorShape'? [-Wimplicit-function-declaration] + 1248 | CursorSave(term, &screen->sc); + | ^~~~~~~~~~ + | CursorShape main.c: In function 'reapchild': main.c:5166:6: warning: implicit declaration of function 'Cleanup' [-Wimplicit-function-declaration] 5166 | Cleanup (0); | ^~~~~~~ -charproc.c:1300:4: warning: implicit declaration of function 'RevIndex' [-Wimplicit-function-declaration] - 1300 | RevIndex(screen, 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 scrollbar.o scrollbar.c -charproc.c:1325:4: warning: implicit declaration of function 'do_osc' [-Wimplicit-function-declaration] - 1325 | do_osc(finput); - | ^~~~~~ +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); + | ^~~~~~~~~~~~~~~~~~ +menu.c:781:2: warning: implicit declaration of function 'Bell'; did you mean 'XBell'? [-Wimplicit-function-declaration] + 781 | Bell(); + | ^~~~ + | XBell main.c: In function 'main': main.c:1455:6: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 1455 | write (pty, buf, strlen (buf)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -charproc.c:1331:4: warning: implicit declaration of function 'VTReset' [-Wimplicit-function-declaration] - 1331 | VTReset(TRUE); - | ^~~~~~~ +charproc.c:1254:4: warning: implicit declaration of function 'CursorRestore' [-Wimplicit-function-declaration] + 1254 | CursorRestore(term, &screen->sc); + | ^~~~~~~~~~~~~ +charproc.c:1294:4: warning: implicit declaration of function 'TabSet' [-Wimplicit-function-declaration] + 1294 | TabSet(term->tabs, screen->cur_col); + | ^~~~~~ +menu.c: In function 'do_vthide': +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 +menu.c:806:5: warning: implicit declaration of function 'hide_vt_window' [-Wimplicit-function-declaration] + 806 | hide_vt_window(); + | ^~~~~~~~~~~~~~ main.c: In function 'HsSysError': main.c:2015:2: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 2015 | write(pf, (char *) &handshake, sizeof(handshake)); @@ -2362,9 +2371,14 @@ main.c:2030:5: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 2030 | write (pc_pipe[1], (char *) &handshake, sizeof(handshake)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -charproc.c:1366:4: warning: implicit declaration of function 'savemodes' [-Wimplicit-function-declaration] - 1366 | savemodes(term); - | ^~~~~~~~~ +menu.c: In function 'do_vtfont': +menu.c:823:6: warning: implicit declaration of function 'SetVTFont'; did you mean 'XSetFont'? [-Wimplicit-function-declaration] + 823 | SetVTFont (i, True, NULL, NULL); + | ^~~~~~~~~ + | XSetFont +charproc.c:1300:4: warning: implicit declaration of function 'RevIndex' [-Wimplicit-function-declaration] + 1300 | RevIndex(screen, 1); + | ^~~~~~~~ main.c: In function 'spawn': main.c:2270:2: warning: ignoring return value of 'setgid' declared with attribute 'warn_unused_result' [-Wunused-result] 2270 | setgid(screen->gid); @@ -2375,13 +2389,40 @@ main.c:3145:11: warning: ignoring return value of 'dup' declared with attribute 'warn_unused_result' [-Wunused-result] 3145 | (void) dup(tty); | ^~~~~~~~ +menu.c: In function 'do_tekpage': main.c:3415:13: warning: ignoring return value of 'setgid' declared with attribute 'warn_unused_result' [-Wunused-result] 3415 | (void) setgid(screen->gid); | ^~~~~~~~~~~~~~~~~~~ +menu.c:840:5: warning: implicit declaration of function 'gt_clear' [-Wimplicit-function-declaration] + 840 | gt_clear(); + | ^~~~~~~~ +charproc.c:1325:4: warning: implicit declaration of function 'do_osc' [-Wimplicit-function-declaration] + 1325 | do_osc(finput); + | ^~~~~~ +charproc.c:1331:4: warning: implicit declaration of function 'VTReset' [-Wimplicit-function-declaration] + 1331 | VTReset(TRUE); + | ^~~~~~~ +main.c: In function 'Exit': +main.c:5061:3: warning: ignoring return value of 'chown' declared with attribute 'warn_unused_result' [-Wunused-result] + 5061 | chown (ttydev, 0, 0); + | ^~~~~~~~~~~~~~~~~~~~ +main.c:5063:3: warning: ignoring return value of 'chown' declared with attribute 'warn_unused_result' [-Wunused-result] + 5063 | chown (ptydev, 0, 0); + | ^~~~~~~~~~~~~~~~~~~~ +charproc.c:1366:4: warning: implicit declaration of function 'savemodes' [-Wimplicit-function-declaration] + 1366 | savemodes(term); + | ^~~~~~~~~ +menu.c: In function 'handle_vtshow': +menu.c:874:2: warning: implicit declaration of function 'set_vt_visibility' [-Wimplicit-function-declaration] + 874 | set_vt_visibility (TRUE); + | ^~~~~~~~~~~~~~~~~ +menu.c:877:2: warning: implicit declaration of function 'end_vt_mode'; did you mean 'do_vtmode'? [-Wimplicit-function-declaration] + 877 | end_vt_mode (); + | ^~~~~~~~~~~ + | do_vtmode charproc.c:1371:4: warning: implicit declaration of function 'restoremodes' [-Wimplicit-function-declaration] 1371 | restoremodes(term); | ^~~~~~~~~~~~ -main.c: In function 'Exit': charproc.c: At top level: charproc.c:1381:8: warning: return type defaults to 'int' [-Wimplicit-int] 1381 | static finput() @@ -2389,13 +2430,6 @@ charproc.c:1401:1: warning: return type defaults to 'int' [-Wimplicit-int] 1401 | v_write(f, d, len) | ^~~~~~~ -main.c:5061:3: warning: ignoring return value of 'chown' declared with attribute 'warn_unused_result' [-Wunused-result] - 5061 | chown (ttydev, 0, 0); - | ^~~~~~~~~~~~~~~~~~~~ -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 charproc.c: In function 'in_put': charproc.c:1571:9: warning: implicit declaration of function 'init_ttyio' [-Wimplicit-function-declaration] 1571 | init_ttyio (screen->respond); @@ -2429,18 +2463,9 @@ charproc.c:1840:15: warning: implicit declaration of function 'AddToRefresh' [-Wimplicit-function-declaration] 1840 | if (!(AddToRefresh(screen))) { | ^~~~~~~~~~~~ -misc.c: In function 'xevents': -misc.c:77:17: warning: implicit declaration of function 'FlushScroll' [-Wimplicit-function-declaration] - 77 | FlushScroll(screen); - | ^~~~~~~~~~~ -misc.c: In function 'make_colored_cursor': charproc.c:1866:2: warning: implicit declaration of function 'ScreenWrite' [-Wimplicit-function-declaration] 1866 | ScreenWrite(screen, str, flags, fg, bg, len); | ^~~~~~~~~~~ -misc.c:130:2: warning: implicit declaration of function 'recolor_cursor'; did you mean 'XRecolorCursor'? [-Wimplicit-function-declaration] - 130 | recolor_cursor (c, fg, bg); - | ^~~~~~~~~~~~~~ - | XRecolorCursor charproc.c: At top level: charproc.c:1873:1: warning: return type defaults to 'int' [-Wimplicit-int] 1873 | ansi_modes(termw, func) @@ -2448,32 +2473,61 @@ charproc.c:1896:1: warning: return type defaults to 'int' [-Wimplicit-int] 1896 | dpmodes(termw, func) | ^~~~~~~ +misc.c: In function 'xevents': +misc.c:77:17: warning: implicit declaration of function 'FlushScroll' [-Wimplicit-function-declaration] + 77 | FlushScroll(screen); + | ^~~~~~~~~~~ +misc.c: In function 'make_colored_cursor': +misc.c:130:2: warning: implicit declaration of function 'recolor_cursor'; did you mean 'XRecolorCursor'? [-Wimplicit-function-declaration] + 130 | recolor_cursor (c, fg, bg); + | ^~~~~~~~~~~~~~ + | XRecolorCursor +charproc.c: In function 'dpmodes': +charproc.c:1952:10: warning: implicit declaration of function 'ScreenResize' [-Wimplicit-function-declaration] + 1952 | ScreenResize (&termw->screen, + | ^~~~~~~~~~~~ misc.c: In function 'HandleKeyPressed': misc.c:146:2: warning: implicit declaration of function 'Input' [-Wimplicit-function-declaration] 146 | Input (&term->keyboard, screen, &event->xkey, False); | ^~~~~ +charproc.c:1975:5: warning: implicit declaration of function 'ReverseVideo'; did you mean 'XtCReverseVideo'? [-Wimplicit-function-declaration] + 1975 | ReverseVideo(termw); + | ^~~~~~~~~~~~ + | XtCReverseVideo misc.c: In function 'HandleStringEvent': misc.c:192:6: warning: implicit declaration of function 'StringInput' [-Wimplicit-function-declaration] 192 | StringInput (screen, hexval, 1); | ^~~~~~~~~~~ -charproc.c: In function 'dpmodes': -charproc.c:1952:10: warning: implicit declaration of function 'ScreenResize' [-Wimplicit-function-declaration] - 1952 | ScreenResize (&termw->screen, - | ^~~~~~~~~~~~ +charproc.c:2010:5: warning: implicit declaration of function 'switch_modes' [-Wimplicit-function-declaration] + 2010 | switch_modes (0); + | ^~~~~~~~~~~~ misc.c: In function 'HandleFocusChange': misc.c:274:7: warning: implicit declaration of function 'ReverseVideo'; did you mean 'HandleReverseVideo'? [-Wimplicit-function-declaration] 274 | ReverseVideo(term); | ^~~~~~~~~~~~ | HandleReverseVideo -charproc.c:1975:5: warning: implicit declaration of function 'ReverseVideo'; did you mean 'XtCReverseVideo'? [-Wimplicit-function-declaration] - 1975 | ReverseVideo(termw); - | ^~~~~~~~~~~~ - | XtCReverseVideo misc.c: In function 'selectwindow': misc.c:294:6: warning: implicit declaration of function 'HideCursor'; did you mean 'BadCursor'? [-Wimplicit-function-declaration] 294 | HideCursor(); | ^~~~~~~~~~ | BadCursor +charproc.c:2011:5: warning: implicit declaration of function 'gt_set_ginmode_trailers' [-Wimplicit-function-declaration] + 2011 | gt_set_ginmode_trailers (NULL); + | ^~~~~~~~~~~~~~~~~~~~~~~ +misc.c:297:3: warning: implicit declaration of function 'ShowCursor'; did you mean 'XNCursor'? [-Wimplicit-function-declaration] + 297 | ShowCursor(); + | ^~~~~~~~~~ + | XNCursor +charproc.c: At top level: +charproc.c:2078:1: warning: return type defaults to 'int' [-Wimplicit-int] + 2078 | savemodes(termw) + | ^~~~~~~~~ +charproc.c:2144:1: warning: return type defaults to 'int' [-Wimplicit-int] + 2144 | restoremodes(termw) + | ^~~~~~~~~~~~ +charproc.c:2292:1: warning: return type defaults to 'int' [-Wimplicit-int] + 2292 | unparseseq(ap, fd) + | ^~~~~~~~~~ screen.c: In function 'Allocate': screen.c:72:3: warning: implicit declaration of function 'SysError' [-Wimplicit-function-declaration] 72 | SysError (ERROR_SCALLOC); @@ -2488,19 +2542,12 @@ screen.c:246:1: warning: return type defaults to 'int' [-Wimplicit-int] 246 | ScrnDeleteLine (sb, last, where, n, size) | ^~~~~~~~~~~~~~ -charproc.c:2010:5: warning: implicit declaration of function 'switch_modes' [-Wimplicit-function-declaration] - 2010 | switch_modes (0); - | ^~~~~~~~~~~~ screen.c:277:1: warning: return type defaults to 'int' [-Wimplicit-int] 277 | ScrnInsertChar (sb, row, col, n, size) | ^~~~~~~~~~~~~~ screen.c:306:1: warning: return type defaults to 'int' [-Wimplicit-int] 306 | ScrnDeleteChar (sb, row, col, n, size) | ^~~~~~~~~~~~~~ -misc.c:297:3: warning: implicit declaration of function 'ShowCursor'; did you mean 'XNCursor'? [-Wimplicit-function-declaration] - 297 | ShowCursor(); - | ^~~~~~~~~~ - | XNCursor screen.c: In function 'ScrnDeleteChar': screen.c:316:11: warning: type defaults to 'int' in declaration of 'nbytes' [-Wimplicit-int] 316 | register nbytes = (size - n - col); @@ -2519,34 +2566,22 @@ screen.c:558:1: warning: return type defaults to 'int' [-Wimplicit-int] 558 | ScreenResize (screen, width, height, flags) | ^~~~~~~~~~~~ -screen.c: In function 'ScreenResize': misc.c: In function 'do_osc': +misc.c:685:3: warning: implicit declaration of function 'Changename' [-Wimplicit-function-declaration] + 685 | Changename(buf); + | ^~~~~~~~~~ +screen.c: In function 'ScreenResize': screen.c:604:4: warning: implicit declaration of function 'HideCursor'; did you mean 'BadCursor'? [-Wimplicit-function-declaration] 604 | HideCursor(); | ^~~~~~~~~~ | BadCursor -misc.c:685:3: warning: implicit declaration of function 'Changename' [-Wimplicit-function-declaration] - 685 | Changename(buf); - | ^~~~~~~~~~ -charproc.c:2011:5: warning: implicit declaration of function 'gt_set_ginmode_trailers' [-Wimplicit-function-declaration] - 2011 | gt_set_ginmode_trailers (NULL); - | ^~~~~~~~~~~~~~~~~~~~~~~ -charproc.c: At top level: -charproc.c:2078:1: warning: return type defaults to 'int' [-Wimplicit-int] - 2078 | savemodes(termw) - | ^~~~~~~~~ -charproc.c:2144:1: warning: return type defaults to 'int' [-Wimplicit-int] - 2144 | restoremodes(termw) - | ^~~~~~~~~~~~ -charproc.c:2292:1: warning: return type defaults to 'int' [-Wimplicit-int] - 2292 | unparseseq(ap, fd) - | ^~~~~~~~~~ +charproc.c: In function 'unparseseq': +charproc.c:2302:3: warning: implicit declaration of function 'unparseputc' [-Wimplicit-function-declaration] + 2302 | unparseputc(ESC, fd); + | ^~~~~~~~~~~ misc.c:686:3: warning: implicit declaration of function 'Changetitle' [-Wimplicit-function-declaration] 686 | Changetitle(buf); | ^~~~~~~~~~~ -screen.c:608:7: warning: implicit declaration of function 'SwitchBufPtrs' [-Wimplicit-function-declaration] - 608 | SwitchBufPtrs(screen); - | ^~~~~~~~~~~~~ misc.c:728:3: warning: implicit declaration of function 'SetVTFont'; did you mean 'XSetFont'? [-Wimplicit-function-declaration] 728 | SetVTFont (fontMenu_fontescape, True, buf, NULL); | ^~~~~~~~~ @@ -2558,24 +2593,15 @@ misc.c:749:1: warning: return type defaults to 'int' [-Wimplicit-int] 749 | Changename(name) | ^~~~~~~~~~ -misc.c:755:1: warning: return type defaults to 'int' [-Wimplicit-int] - 755 | Changetitle(name) - | ^~~~~~~~~~~ -charproc.c: In function 'unparseseq': -charproc.c:2302:3: warning: implicit declaration of function 'unparseputc' [-Wimplicit-function-declaration] - 2302 | unparseputc(ESC, fd); - | ^~~~~~~~~~~ -misc.c: In function 'GetOldColors': -misc.c:781:9: warning: implicit declaration of function 'GetColors'; did you mean 'GetOldColors'? [-Wimplicit-function-declaration] - 781 | GetColors(pTerm,pOldColors); - | ^~~~~~~~~ - | GetOldColors -screen.c:632:7: warning: implicit declaration of function 'ScrollSelection' [-Wimplicit-function-declaration] - 632 | ScrollSelection(screen, move_down_by); - | ^~~~~~~~~~~~~~~ +screen.c:608:7: warning: implicit declaration of function 'SwitchBufPtrs' [-Wimplicit-function-declaration] + 608 | SwitchBufPtrs(screen); + | ^~~~~~~~~~~~~ charproc.c:2313:4: warning: implicit declaration of function 'unparseputn' [-Wimplicit-function-declaration] 2313 | unparseputn((unsigned int) ap->a_param[i], fd); | ^~~~~~~~~~~ +misc.c:755:1: warning: return type defaults to 'int' [-Wimplicit-int] + 755 | Changetitle(name) + | ^~~~~~~~~~~ charproc.c: At top level: charproc.c:2325:1: warning: return type defaults to 'int' [-Wimplicit-int] 2325 | unparseputn(n, fd) @@ -2591,6 +2617,15 @@ charproc.c:2352:1: warning: return type defaults to 'int' [-Wimplicit-int] 2352 | unparsefputs (s, fd) | ^~~~~~~~~~~~ +misc.c: In function 'GetOldColors': +screen.c:632:7: warning: implicit declaration of function 'ScrollSelection' [-Wimplicit-function-declaration] + 632 | ScrollSelection(screen, move_down_by); + | ^~~~~~~~~~~~~~~ +misc.c:781:9: warning: implicit declaration of function 'GetColors'; did you mean 'GetOldColors'? [-Wimplicit-function-declaration] + 781 | GetColors(pTerm,pOldColors); + | ^~~~~~~~~ + | GetOldColors +charproc.c: In function 'SwitchBufs': misc.c: In function 'ChangeColorsRequest': misc.c:933:5: warning: implicit declaration of function 'ChangeColors' [-Wimplicit-function-declaration] 933 | ChangeColors(pTerm,&newColors); @@ -2599,17 +2634,16 @@ misc.c:945:1: warning: return type defaults to 'int' [-Wimplicit-int] 945 | Panic(s, a) | ^~~~~ -screen.c:656:3: warning: implicit declaration of function 'ResizeScrollBar' [-Wimplicit-function-declaration] - 656 | ResizeScrollBar(screen->scrollWidget, width - - | ^~~~~~~~~~~~~~~ misc.c:971:1: warning: return type defaults to 'int' [-Wimplicit-int] 971 | SysError (i) | ^~~~~~~~ -charproc.c: In function 'SwitchBufs': charproc.c:2399:2: warning: implicit declaration of function 'SwitchBufPtrs'; did you mean 'SwitchBufs'? [-Wimplicit-function-declaration] 2399 | SwitchBufPtrs(screen); | ^~~~~~~~~~~~~ | SwitchBufs +screen.c:656:3: warning: implicit declaration of function 'ResizeScrollBar' [-Wimplicit-function-declaration] + 656 | ResizeScrollBar(screen->scrollWidget, width - + | ^~~~~~~~~~~~~~~ misc.c: In function 'SysError': misc.c:980:2: warning: implicit declaration of function 'Cleanup'; did you mean 'SmsCleanUp'? [-Wimplicit-function-declaration] 980 | Cleanup(i); @@ -2631,22 +2665,22 @@ misc.c:1067:1: warning: return type defaults to 'int' [-Wimplicit-int] 1067 | xerror (display, event) | ^~~~~~ +misc.c:1137:1: warning: return type defaults to 'int' [-Wimplicit-int] + 1137 | xioerror(dpy) + | ^~~~~~~~ +misc.c:1157:1: warning: return type defaults to 'int' [-Wimplicit-int] + 1157 | XStrCmp(s1, s2) + | ^~~~~~~ +screen.c:666:2: warning: implicit declaration of function 'ResizeSelection' [-Wimplicit-function-declaration] + 666 | ResizeSelection (screen, rows, cols); + | ^~~~~~~~~~~~~~~ charproc.c:2400:2: warning: implicit declaration of function 'TrackText' [-Wimplicit-function-declaration] 2400 | TrackText(0, 0, 0, 0); /* remove any highlighting */ | ^~~~~~~~~ charproc.c: At top level: -screen.c:666:2: warning: implicit declaration of function 'ResizeSelection' [-Wimplicit-function-declaration] - 666 | ResizeSelection (screen, rows, cols); - | ^~~~~~~~~~~~~~~ -misc.c:1137:1: warning: return type defaults to 'int' [-Wimplicit-int] - 1137 | xioerror(dpy) - | ^~~~~~~~ charproc.c:2434:1: warning: return type defaults to 'int' [-Wimplicit-int] 2434 | SwitchBufPtrs(screen) | ^~~~~~~~~~~~~ -misc.c:1157:1: warning: return type defaults to 'int' [-Wimplicit-int] - 1157 | XStrCmp(s1, s2) - | ^~~~~~~ charproc.c:2446:1: warning: return type defaults to 'int' [-Wimplicit-int] 2446 | VTRun() | ^~~~~ @@ -2655,27 +2689,17 @@ 1183 | VTInit (); | ^~~~~~ misc.c: In function 'gtermio_connect': -charproc.c: In function 'VTRun': misc.c:1320:6: warning: implicit declaration of function 'init_menu' [-Wimplicit-function-declaration] 1320 | init_menu ("tekMenu"); | ^~~~~~~~~ misc.c: In function 'set_workstation_state': -charproc.c:2453:6: warning: implicit declaration of function 'set_vt_visibility' [-Wimplicit-function-declaration] - 2453 | set_vt_visibility (TRUE); - | ^~~~~~~~~~~~~~~~~ misc.c:1329:1: warning: type of 'state' defaults to 'int' [-Wimplicit-int] 1329 | set_workstation_state (state) | ^~~~~~~~~~~~~~~~~~~~~ -In file included from charproc.c:59: -menu.h:277:7: warning: implicit declaration of function 'gt_tekmode'; did you mean 'vtMenu_tekmode'? [-Wimplicit-function-declaration] - 277 | gt_tekmode(2)); } - | ^~~~~~~~~~ -menu.h:147:3: note: in definition of macro 'update_menu_item' - 147 | (val) ? \ - | ^~~ -charproc.c:2459:2: note: in expansion of macro 'update_vttekmode' - 2459 | update_vttekmode(); - | ^~~~~~~~~~~~~~~~ +charproc.c: In function 'VTRun': +charproc.c:2453:6: warning: implicit declaration of function 'set_vt_visibility' [-Wimplicit-function-declaration] + 2453 | set_vt_visibility (TRUE); + | ^~~~~~~~~~~~~~~~~ misc.c: In function 'creat_as': misc.c:472:2: warning: ignoring return value of 'setgid' declared with attribute 'warn_unused_result' [-Wunused-result] 472 | setgid(gid); @@ -2687,6 +2711,16 @@ misc.c:532:3: warning: ignoring return value of 'mkstemp' declared with attribute 'warn_unused_result' [-Wunused-result] 532 | mkstemp(log_default); | ^~~~~~~~~~~~~~~~~~~~ +In file included from charproc.c:59: +menu.h:277:7: warning: implicit declaration of function 'gt_tekmode'; did you mean 'vtMenu_tekmode'? [-Wimplicit-function-declaration] + 277 | gt_tekmode(2)); } + | ^~~~~~~~~~ +menu.h:147:3: note: in definition of macro 'update_menu_item' + 147 | (val) ? \ + | ^~~ +charproc.c:2459:2: note: in expansion of macro 'update_vttekmode' + 2459 | update_vttekmode(); + | ^~~~~~~~~~~~~~~~ menu.h:267:7: warning: implicit declaration of function 'gt_activated' [-Wimplicit-function-declaration] 267 | gt_activated()) | ^~~~~~~~~~~~ @@ -2712,24 +2746,10 @@ charproc.c:2726:2: warning: implicit declaration of function 'TabReset' [-Wimplicit-function-declaration] 2726 | TabReset (term->tabs); | ^~~~~~~~ -scrollbar.c:207:1: warning: return type defaults to 'int' [-Wimplicit-int] - 207 | ScrollBarReverseVideo(scrollWidget) - | ^~~~~~~~~~~~~~~~~~~~~ -scrollbar.c:233:1: warning: return type defaults to 'int' [-Wimplicit-int] - 233 | ScrollBarDrawThumb(scrollWidget) - | ^~~~~~~~~~~~~~~~~~ -scrollbar.c:249:1: warning: return type defaults to 'int' [-Wimplicit-int] - 249 | ResizeScrollBar(scrollWidget, x, y, height) - | ^~~~~~~~~~~~~~~ charproc.c:2730:7: warning: implicit declaration of function 'LoadNewFont'; did you mean 'XLoadFont'? [-Wimplicit-function-declaration] 2730 | if (!LoadNewFont(screen, term->misc.f_n, term->misc.f_b, False, 0)) { | ^~~~~~~~~~~ | XLoadFont -scrollbar.c: In function 'WindowScroll': -scrollbar.c:280:3: warning: implicit declaration of function 'HideCursor'; did you mean 'BadCursor'? [-Wimplicit-function-declaration] - 280 | HideCursor(); - | ^~~~~~~~~~ - | BadCursor charproc.c:2744:6: warning: implicit declaration of function 'Exit'; did you mean 'exit'? [-Wimplicit-function-declaration] 2744 | Exit (1); | ^~~~ @@ -2738,12 +2758,10 @@ 2753 | recolor_cursor (screen->pointer_cursor, | ^~~~~~~~~~~~~~ | XRecolorCursor +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 charproc.c:2849:2: warning: implicit declaration of function 'set_cursor_gcs' [-Wimplicit-function-declaration] 2849 | set_cursor_gcs (screen); | ^~~~~~~~~~~~~~ -scrollbar.c:292:2: warning: implicit declaration of function 'scrolling_copy_area' [-Wimplicit-function-declaration] - 292 | scrolling_copy_area(screen, scrolltop, scrollheight, -i); - | ^~~~~~~~~~~~~~~~~~~ charproc.c:2879:2: warning: implicit declaration of function 'set_vt_box' [-Wimplicit-function-declaration] 2879 | set_vt_box (screen); | ^~~~~~~~~~ @@ -2755,49 +2773,17 @@ charproc.c:3265:1: warning: return type defaults to 'int' [-Wimplicit-int] 3265 | VTReset(full) | ^~~~~~~ -scrollbar.c:295:2: warning: implicit declaration of function 'ScrollSelection' [-Wimplicit-function-declaration] - 295 | ScrollSelection(screen, i); - | ^~~~~~~~~~~~~~~ -scrollbar.c:305:2: warning: implicit declaration of function 'ScrnRefresh' [-Wimplicit-function-declaration] - 305 | ScrnRefresh(screen, refreshtop, 0, lines, screen->max_col + 1, False); - | ^~~~~~~~~~~ charproc.c: In function 'set_character_class': charproc.c:3402:17: warning: implicit declaration of function 'SetCharacterClassRange' [-Wimplicit-function-declaration] 3402 | } else if (SetCharacterClassRange (low, high, acc) != 0) { | ^~~~~~~~~~~~~~~~~~~~~~ -scrollbar.c: In function 'ScrollBarOn': -scrollbar.c:329:3: warning: implicit declaration of function 'Bell'; did you mean 'XBell'? [-Wimplicit-function-declaration] - 329 | Bell(); - | ^~~~ - | XBell +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 charproc.c: In function 'HandleVisualBell': charproc.c:3487:5: warning: implicit declaration of function 'VisualBell'; did you mean 'XtCVisualBell'? [-Wimplicit-function-declaration] 3487 | VisualBell(); | ^~~~~~~~~~ | XtCVisualBell -scrollbar.c:350:8: warning: implicit declaration of function 'Error'; did you mean 'perror'? [-Wimplicit-function-declaration] - 350 | Error (ERROR_SBRALLOC); - | ^~~~~ - | perror -scrollbar.c:382:6: warning: implicit declaration of function 'Redraw' [-Wimplicit-function-declaration] - 382 | Redraw (); - | ^~~~~~ -scrollbar.c: In function 'ScrollTextUpDownBy': -scrollbar.c:430:15: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] - 430 | int pixels = (int) call_data; - | ^ -scrollbar.c: In function 'params_to_pixels': -scrollbar.c:481:14: warning: type defaults to 'int' in declaration of 'mult' [-Wimplicit-int] - 481 | register mult = 1; - | ^~~~ -scrollbar.c: In function 'HandleScrollForward': -scrollbar.c:519:4: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] - 519 | (XtPointer)params_to_pixels (screen, params, (int) *nparams)); - | ^ -scrollbar.c: In function 'HandleScrollBack': -scrollbar.c:535:4: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] - 535 | (XtPointer)-params_to_pixels (screen, params, (int) *nparams)); - | ^ +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 charproc.c: In function 'update_font_info': charproc.c:3784:2: warning: implicit declaration of function 'DoResizeScreen' [-Wimplicit-function-declaration] 3784 | DoResizeScreen (term); /* set to the new natural size */ @@ -2819,46 +2805,6 @@ charproc.c:1649:2: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 1649 | write (screen->logfd, buffer, bcnt); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -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 -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/x86_64-linux-gnu/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/x86_64-linux-gnu/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 ()); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -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 */ - | ^~~~~~~~~~~~~ -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 -DOSI_COMPLIANT -Wdate-time -D_FORTIFY_SOURCE=2 -c -o rasio.o rasio.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 raster.o raster.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", @@ -2941,6 +2887,7 @@ | ~~~~~~~~~~~~~ | | | long int +print.c: In function 'ximp_rename': 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", | ~~~^ @@ -2961,6 +2908,43 @@ rasio.c:191:6: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 191 | fread (b, 1, nc, fp); | ^~~~~~~~~~~~~~~~~~~~ +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 */ + | ^~~~~~~~~~~~~ +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/x86_64-linux-gnu/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/x86_64-linux-gnu/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 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 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); | ^~ @@ -2984,8 +2968,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 -I../obm -DALLOWLOGGING -Wdate-time -D_FORTIFY_SOURCE=2 -c -o tabs.o tabs.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 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); @@ -3024,93 +3006,7 @@ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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 -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 -tabs.c:40:1: warning: return type defaults to 'int' [-Wimplicit-int] - 40 | TabReset(tabs) - | ^~~~~~~~ -tabs.c: In function 'TabReset': -tabs.c:49:3: warning: implicit declaration of function 'TabSet'; did you mean 'TabReset'? [-Wimplicit-function-declaration] - 49 | TabSet(tabs, i); - | ^~~~~~ - | TabReset -tabs.c: At top level: -tabs.c:56:1: warning: return type defaults to 'int' [-Wimplicit-int] - 56 | TabSet(tabs, col) - | ^~~~~~ -tabs.c:66:1: warning: return type defaults to 'int' [-Wimplicit-int] - 66 | TabClear(tabs, col) - | ^~~~~~~~ -tabs.c:78:1: warning: return type defaults to 'int' [-Wimplicit-int] - 78 | TabNext (tabs, col) - | ^~~~~~~ -tabs.c: In function 'TabNext': -tabs.c:86:3: warning: implicit declaration of function 'Index'; did you mean 'index'? [-Wimplicit-function-declaration] - 86 | Index(screen, 1); - | ^~~~~ - | index -tabs.c: At top level: -tabs.c:99:1: warning: return type defaults to 'int' [-Wimplicit-int] - 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 -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 -util.c: In function 'FlushScroll': -util.c:82:5: warning: implicit declaration of function 'ScrollBarDrawThumb' [-Wimplicit-function-declaration] - 82 | ScrollBarDrawThumb(screen->scrollWidget); - | ^~~~~~~~~~~~~~~~~~ -util.c:113:2: warning: implicit declaration of function 'ScrollSelection' [-Wimplicit-function-declaration] - 113 | ScrollSelection(screen, -(screen->scroll_amt)); - | ^~~~~~~~~~~~~~~ -util.c:127:3: warning: implicit declaration of function 'ScrnRefresh' [-Wimplicit-function-declaration] - 127 | ScrnRefresh(screen, refreshtop, 0, refreshheight, - | ^~~~~~~~~~~ -util.c: In function 'Scroll': -util.c:256:3: warning: implicit declaration of function 'ScrnDeleteLine'; did you mean 'DeleteLine'? [-Wimplicit-function-declaration] - 256 | ScrnDeleteLine(screen->allbuf, screen->bot_marg + - | ^~~~~~~~~~~~~~ - | DeleteLine -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, - | ^~~~~~~~~~~~~~ - | InsertLine -util.c: In function 'InsertChar': -util.c:510:7: warning: implicit declaration of function 'non_blank_line' [-Wimplicit-function-declaration] - 510 | if (non_blank_line (screen->buf, screen->cur_row, - | ^~~~~~~~~~~~~~ -util.c:528:2: warning: implicit declaration of function 'ScrnInsertChar'; did you mean 'InsertChar'? [-Wimplicit-function-declaration] - 528 | ScrnInsertChar(screen->buf, screen->cur_row, screen->cur_col, n, - | ^~~~~~~~~~~~~~ - | InsertChar -util.c: In function 'DeleteChar': -util.c:569:2: warning: implicit declaration of function 'ScrnDeleteChar'; did you mean 'DeleteChar'? [-Wimplicit-function-declaration] - 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); - | ^~~~~~~~~~~~~~ -sed -f gui2c.sed ximtool.gui > ximtool.gui.h -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 -DOSI_COMPLIANT -Wdate-time -D_FORTIFY_SOURCE=2 -c -o zscale.o zscale.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 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", @@ -3167,18 +3063,8 @@ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -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 -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 ximtool.o ximtool.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 +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 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); @@ -3206,10 +3092,106 @@ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -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:207:1: warning: return type defaults to 'int' [-Wimplicit-int] + 207 | ScrollBarReverseVideo(scrollWidget) + | ^~~~~~~~~~~~~~~~~~~~~ +scrollbar.c:233:1: warning: return type defaults to 'int' [-Wimplicit-int] + 233 | ScrollBarDrawThumb(scrollWidget) + | ^~~~~~~~~~~~~~~~~~ +scrollbar.c:249:1: warning: return type defaults to 'int' [-Wimplicit-int] + 249 | ResizeScrollBar(scrollWidget, x, y, height) + | ^~~~~~~~~~~~~~~ +tabs.c:40:1: warning: return type defaults to 'int' [-Wimplicit-int] + 40 | TabReset(tabs) + | ^~~~~~~~ +tabs.c: In function 'TabReset': +scrollbar.c: In function 'WindowScroll': +scrollbar.c:280:3: warning: implicit declaration of function 'HideCursor'; did you mean 'BadCursor'? [-Wimplicit-function-declaration] + 280 | HideCursor(); + | ^~~~~~~~~~ + | BadCursor +tabs.c:49:3: warning: implicit declaration of function 'TabSet'; did you mean 'TabReset'? [-Wimplicit-function-declaration] + 49 | TabSet(tabs, i); + | ^~~~~~ + | TabReset +tabs.c: At top level: +tabs.c:56:1: warning: return type defaults to 'int' [-Wimplicit-int] + 56 | TabSet(tabs, col) + | ^~~~~~ +tabs.c:66:1: warning: return type defaults to 'int' [-Wimplicit-int] + 66 | TabClear(tabs, col) + | ^~~~~~~~ +tabs.c:78:1: warning: return type defaults to 'int' [-Wimplicit-int] + 78 | TabNext (tabs, col) + | ^~~~~~~ +tabs.c: In function 'TabNext': +tabs.c:86:3: warning: implicit declaration of function 'Index'; did you mean 'index'? [-Wimplicit-function-declaration] + 86 | Index(screen, 1); + | ^~~~~ + | index +tabs.c: At top level: +tabs.c:99:1: warning: return type defaults to 'int' [-Wimplicit-int] + 99 | TabZonk (tabs) + | ^~~~~~~ +scrollbar.c:292:2: warning: implicit declaration of function 'scrolling_copy_area' [-Wimplicit-function-declaration] + 292 | scrolling_copy_area(screen, scrolltop, scrollheight, -i); + | ^~~~~~~~~~~~~~~~~~~ +scrollbar.c:295:2: warning: implicit declaration of function 'ScrollSelection' [-Wimplicit-function-declaration] + 295 | ScrollSelection(screen, i); + | ^~~~~~~~~~~~~~~ +scrollbar.c:305:2: warning: implicit declaration of function 'ScrnRefresh' [-Wimplicit-function-declaration] + 305 | ScrnRefresh(screen, refreshtop, 0, lines, screen->max_col + 1, False); + | ^~~~~~~~~~~ +scrollbar.c: In function 'ScrollBarOn': +scrollbar.c:329:3: warning: implicit declaration of function 'Bell'; did you mean 'XBell'? [-Wimplicit-function-declaration] + 329 | Bell(); + | ^~~~ + | XBell +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 +scrollbar.c:350:8: warning: implicit declaration of function 'Error'; did you mean 'perror'? [-Wimplicit-function-declaration] + 350 | Error (ERROR_SBRALLOC); + | ^~~~~ + | perror +scrollbar.c:382:6: warning: implicit declaration of function 'Redraw' [-Wimplicit-function-declaration] + 382 | Redraw (); + | ^~~~~~ +scrollbar.c: In function 'ScrollTextUpDownBy': +scrollbar.c:430:15: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] + 430 | int pixels = (int) call_data; + | ^ +scrollbar.c: In function 'params_to_pixels': +scrollbar.c:481:14: warning: type defaults to 'int' in declaration of 'mult' [-Wimplicit-int] + 481 | register mult = 1; + | ^~~~ +scrollbar.c: In function 'HandleScrollForward': +scrollbar.c:519:4: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] + 519 | (XtPointer)params_to_pixels (screen, params, (int) *nparams)); + | ^ +scrollbar.c: In function 'HandleScrollBack': +scrollbar.c:535:4: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] + 535 | (XtPointer)-params_to_pixels (screen, params, (int) *nparams)); + | ^ +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 -DOSI_COMPLIANT -Wdate-time -D_FORTIFY_SOURCE=2 -c -o ximclient.o ximclient.c +sed -f gui2c.sed ximtool.gui > ximtool.gui.h +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 +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 +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++) + | ^~~ +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 +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 +util.c: In function 'FlushScroll': +util.c:82:5: warning: implicit declaration of function 'ScrollBarDrawThumb' [-Wimplicit-function-declaration] + 82 | ScrollBarDrawThumb(screen->scrollWidget); + | ^~~~~~~~~~~~~~~~~~ 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); @@ -3224,6 +3206,59 @@ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +util.c:113:2: warning: implicit declaration of function 'ScrollSelection' [-Wimplicit-function-declaration] + 113 | ScrollSelection(screen, -(screen->scroll_amt)); + | ^~~~~~~~~~~~~~~ +util.c:127:3: warning: implicit declaration of function 'ScrnRefresh' [-Wimplicit-function-declaration] + 127 | ScrnRefresh(screen, refreshtop, 0, refreshheight, + | ^~~~~~~~~~~ +util.c: In function 'Scroll': +util.c:256:3: warning: implicit declaration of function 'ScrnDeleteLine'; did you mean 'DeleteLine'? [-Wimplicit-function-declaration] + 256 | ScrnDeleteLine(screen->allbuf, screen->bot_marg + + | ^~~~~~~~~~~~~~ + | DeleteLine +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, + | ^~~~~~~~~~~~~~ + | InsertLine +util.c: In function 'InsertChar': +util.c:510:7: warning: implicit declaration of function 'non_blank_line' [-Wimplicit-function-declaration] + 510 | if (non_blank_line (screen->buf, screen->cur_row, + | ^~~~~~~~~~~~~~ +util.c:528:2: warning: implicit declaration of function 'ScrnInsertChar'; did you mean 'InsertChar'? [-Wimplicit-function-declaration] + 528 | ScrnInsertChar(screen->buf, screen->cur_row, screen->cur_col, n, + | ^~~~~~~~~~~~~~ + | InsertChar +util.c: In function 'DeleteChar': +util.c:569:2: warning: implicit declaration of function 'ScrnDeleteChar'; did you mean 'DeleteChar'? [-Wimplicit-function-declaration] + 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); + | ^~~~~~~~~~~~~~ +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); + | ^~~~~~~~~~~~~~~~~~~~~ ximtool.c: In function 'main': ximtool.c:104:41: warning: embedded '\0' in format [-Wformat-contains-nul] 104 | sprintf (argv[i], "XImtool*cmapName:%s\0", str); @@ -3298,7 +3333,6 @@ -lXpm -ltcl -lXaw3d -lXmu -lXt -lXext -lX11 -lncurses -lm /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' In file included from /usr/include/string.h:495, from /usr/include/X11/Intrinsic.h:61, from raster.c:9: @@ -3325,6 +3359,7 @@ raster.c:2398:3: note: length computed here 2398 | strncpy (xim->imtoolrc, fb_paths[i],strlen(fb_paths[i])); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +make[2]: Leaving directory '/build/x11iraf-2.0+2020.06.15+dfsg/xgterm' cc -Wl,-z,relro -o ximtool eps.o fitsio.o gifio.o iis.o irafio.o ism.o ism_wcspix.o load.o logo.o print.o quant.o rasio.o raster.o save.o tiffio.o util.o ximclient.o ximtool.o zscale.o \ -L../obm -lobm \ -lXpm -ltcl -lXaw3d -lXmu -lXt -lXext -lX11 -lncurses -lm @@ -3363,10 +3398,10 @@ dh_gencontrol dh_md5sums dh_builddeb -dpkg-deb: building package 'ximtool-dbgsym' in '../ximtool-dbgsym_2.0+2020.06.15+dfsg-1_amd64.deb'. dpkg-deb: building package 'ximtool' in '../ximtool_2.0+2020.06.15+dfsg-1_amd64.deb'. dpkg-deb: building package 'xgterm' in '../xgterm_2.0+2020.06.15+dfsg-1_amd64.deb'. dpkg-deb: building package 'xgterm-dbgsym' in '../xgterm-dbgsym_2.0+2020.06.15+dfsg-1_amd64.deb'. +dpkg-deb: building package 'ximtool-dbgsym' in '../ximtool-dbgsym_2.0+2020.06.15+dfsg-1_amd64.deb'. dpkg-genbuildinfo --build=binary dpkg-genchanges --build=binary >../x11iraf_2.0+2020.06.15+dfsg-1_amd64.changes dpkg-genchanges: info: binary-only upload (no source code included) @@ -3374,12 +3409,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/1382686/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/1382686/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/2799298 and its subdirectories -I: Current time: Sat Dec 24 00:28:22 -12 2022 -I: pbuilder-time-stamp: 1671884902 +I: removing directory /srv/workspace/pbuilder/1382686 and its subdirectories +I: Current time: Sun Nov 21 20:16:29 +14 2021 +I: pbuilder-time-stamp: 1637475389