Diff of the two buildlogs: -- --- b1/build.log 2021-06-19 23:57:10.731442809 +0000 +++ b2/build.log 2021-06-19 23:57:45.806105959 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Sat Jun 19 11:52:28 -12 2021 -I: pbuilder-time-stamp: 1624146748 +I: Current time: Sat Jul 23 20:20:12 +14 2022 +I: pbuilder-time-stamp: 1658557212 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/bullseye-reproducible-base.tgz] I: copying local configuration @@ -17,8 +17,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.Sfi1IAYB/trustedkeys.kbx': General error -gpgv: Signature made Sun Jul 12 18:16:55 2020 -12 +gpgv: keyblock resource '/tmp/dpkg-verify-sig.d69_nSMV/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 @@ -31,137 +31,171 @@ 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/9111/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/24494/tmp/hooks/D01_modify_environment starting +debug: Running on ionos16-i386. +I: Changing host+domainname to test build reproducibility +I: Adding a custom variable just for the fun of it... +I: Changing /bin/sh to bash +Removing 'diversion of /bin/sh to /bin/sh.distrib by dash' +Adding 'diversion of /bin/sh to /bin/sh.distrib by bash' +Removing 'diversion of /usr/share/man/man1/sh.1.gz to /usr/share/man/man1/sh.distrib.1.gz by dash' +Adding 'diversion of /usr/share/man/man1/sh.1.gz to /usr/share/man/man1/sh.distrib.1.gz by bash' +I: Setting pbuilder2's login shell to /bin/bash +I: Setting pbuilder2's GECOS to second user,second room,second work-phone,second home-phone,second other +I: user script /srv/workspace/pbuilder/24494/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/24494/tmp/hooks/D02_print_environment starting I: set - BUILDDIR='/build' - BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' - BUILDUSERNAME='pbuilder1' - BUILD_ARCH='i386' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all,-fixfilepath parallel=10' - DISTRIBUTION='' - HOME='/root' - HOST_ARCH='i386' + BASH=/bin/sh + BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:hostcomplete:interactive_comments:progcomp:promptvars:sourcepath + BASH_ALIASES=() + BASH_ARGC=() + BASH_ARGV=() + BASH_CMDS=() + BASH_LINENO=([0]="12" [1]="0") + BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") + BASH_VERSINFO=([0]="5" [1]="1" [2]="4" [3]="1" [4]="release" [5]="i686-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=i386 + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all,-fixfilepath parallel=18' + DIRSTACK=() + DISTRIBUTION= + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=i686 + HOST_ARCH=i386 IFS=' ' - INVOCATION_ID='0708b1040d6b4c96ad1e8d0d3a9d37bc' - LANG='C' - LANGUAGE='en_US:en' - LC_ALL='C' - LD_LIBRARY_PATH='/usr/lib/libeatmydata' - LD_PRELOAD='libeatmydata.so' - MAIL='/var/mail/root' - OPTIND='1' - PATH='/usr/sbin:/usr/bin:/sbin:/bin:/usr/games' - PBCURRENTCOMMANDLINEOPERATION='build' - PBUILDER_OPERATION='build' - PBUILDER_PKGDATADIR='/usr/share/pbuilder' - PBUILDER_PKGLIBDIR='/usr/lib/pbuilder' - PBUILDER_SYSCONFDIR='/etc' - PPID='9111' - PS1='# ' - PS2='> ' + INVOCATION_ID=538b980cb488486ca06d9da026e44151 + LANG=C + LANGUAGE=de_CH:de + LC_ALL=C + LD_LIBRARY_PATH=/usr/lib/libeatmydata + LD_PRELOAD=libeatmydata.so + MACHTYPE=i686-pc-linux-gnu + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnu + PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path + PBCURRENTCOMMANDLINEOPERATION=build + PBUILDER_OPERATION=build + PBUILDER_PKGDATADIR=/usr/share/pbuilder + PBUILDER_PKGLIBDIR=/usr/lib/pbuilder + PBUILDER_SYSCONFDIR=/etc + PIPESTATUS=([0]="0") + POSIXLY_CORRECT=y + PPID=24494 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.9PFa2j1jw6/pbuilderrc_jVDB --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bullseye-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/tmp.9PFa2j1jw6/b1 --logfile b1/build.log x11iraf_2.0+2020.06.15+dfsg-1.dsc' - SUDO_GID='112' - SUDO_UID='107' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://78.137.99.97:3128' + PWD=/ + SHELL=/bin/bash + SHELLOPTS=braceexpand:errexit:hashall:interactive-comments:posix + SHLVL=3 + SUDO_COMMAND='/usr/bin/timeout -k 24.1h 24h /usr/bin/ionice -c 3 /usr/bin/nice -n 11 /usr/bin/unshare --uts -- /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/tmp.9PFa2j1jw6/pbuilderrc_Qzvl --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bullseye-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/tmp.9PFa2j1jw6/b2 --logfile b2/build.log --extrapackages usrmerge x11iraf_2.0+2020.06.15+dfsg-1.dsc' + SUDO_GID=112 + SUDO_UID=107 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://85.184.249.68:3128 I: uname -a - Linux ionos12-i386 4.19.0-17-686-pae #1 SMP Debian 4.19.194-1 (2021-06-10) i686 GNU/Linux + Linux i-capture-the-hostname 4.19.0-17-amd64 #1 SMP Debian 4.19.194-1 (2021-06-10) x86_64 GNU/Linux I: ls -l /bin total 5776 - -rwxr-xr-x 1 root root 1367848 Feb 24 08:57 bash - -rwxr-xr-x 3 root root 38280 Jul 20 2020 bunzip2 - -rwxr-xr-x 3 root root 38280 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 38280 Jul 20 2020 bzip2 - -rwxr-xr-x 1 root root 17768 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 38824 Sep 22 2020 cat - -rwxr-xr-x 1 root root 71624 Sep 22 2020 chgrp - -rwxr-xr-x 1 root root 67528 Sep 22 2020 chmod - -rwxr-xr-x 1 root root 75752 Sep 22 2020 chown - -rwxr-xr-x 1 root root 157960 Sep 22 2020 cp - -rwxr-xr-x 1 root root 128724 Dec 10 2020 dash - -rwxr-xr-x 1 root root 124904 Sep 22 2020 date - -rwxr-xr-x 1 root root 92172 Sep 22 2020 dd - -rwxr-xr-x 1 root root 100752 Sep 22 2020 df - -rwxr-xr-x 1 root root 153964 Sep 22 2020 dir - -rwxr-xr-x 1 root root 83644 Feb 7 02:38 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 34664 Sep 22 2020 echo - -rwxr-xr-x 1 root root 28 Nov 9 2020 egrep - -rwxr-xr-x 1 root root 34664 Sep 22 2020 false - -rwxr-xr-x 1 root root 28 Nov 9 2020 fgrep - -rwxr-xr-x 1 root root 71928 Feb 7 02:38 findmnt - -rwsr-xr-x 1 root root 30112 Feb 26 04:12 fusermount - -rwxr-xr-x 1 root root 210488 Nov 9 2020 grep - -rwxr-xr-x 2 root root 2346 Mar 2 11:30 gunzip - -rwxr-xr-x 1 root root 6376 Mar 2 11:30 gzexe - -rwxr-xr-x 1 root root 100952 Mar 2 11:30 gzip - -rwxr-xr-x 1 root root 21916 Nov 6 2019 hostname - -rwxr-xr-x 1 root root 83980 Sep 22 2020 ln - -rwxr-xr-x 1 root root 55572 Feb 7 2020 login - -rwxr-xr-x 1 root root 153964 Sep 22 2020 ls - -rwxr-xr-x 1 root root 153124 Feb 7 02:38 lsblk - -rwxr-xr-x 1 root root 96328 Sep 22 2020 mkdir - -rwxr-xr-x 1 root root 79912 Sep 22 2020 mknod - -rwxr-xr-x 1 root root 47048 Sep 22 2020 mktemp - -rwxr-xr-x 1 root root 58920 Feb 7 02:38 more - -rwsr-xr-x 1 root root 50720 Feb 7 02:38 mount - -rwxr-xr-x 1 root root 13856 Feb 7 02:38 mountpoint - -rwxr-xr-x 1 root root 157996 Sep 22 2020 mv - lrwxrwxrwx 1 root root 8 Nov 6 2019 nisdomainname -> hostname - lrwxrwxrwx 1 root root 14 Apr 18 03:38 pidof -> /sbin/killall5 - -rwxr-xr-x 1 root root 38824 Sep 22 2020 pwd - lrwxrwxrwx 1 root root 4 Feb 24 08:57 rbash -> bash - -rwxr-xr-x 1 root root 46984 Sep 22 2020 readlink - -rwxr-xr-x 1 root root 75720 Sep 22 2020 rm - -rwxr-xr-x 1 root root 46984 Sep 22 2020 rmdir - -rwxr-xr-x 1 root root 22292 Sep 27 2020 run-parts - -rwxr-xr-x 1 root root 125036 Dec 22 2018 sed - lrwxrwxrwx 1 root root 4 Jun 17 21:27 sh -> dash - -rwxr-xr-x 1 root root 34696 Sep 22 2020 sleep - -rwxr-xr-x 1 root root 83880 Sep 22 2020 stty - -rwsr-xr-x 1 root root 79396 Feb 7 02:38 su - -rwxr-xr-x 1 root root 34696 Sep 22 2020 sync - -rwxr-xr-x 1 root root 602584 Feb 16 21:55 tar - -rwxr-xr-x 1 root root 13860 Sep 27 2020 tempfile - -rwxr-xr-x 1 root root 108520 Sep 22 2020 touch - -rwxr-xr-x 1 root root 34664 Sep 22 2020 true - -rwxr-xr-x 1 root root 17768 Feb 26 04:12 ulockmgr_server - -rwsr-xr-x 1 root root 30236 Feb 7 02:38 umount - -rwxr-xr-x 1 root root 34664 Sep 22 2020 uname - -rwxr-xr-x 2 root root 2346 Mar 2 11:30 uncompress - -rwxr-xr-x 1 root root 153964 Sep 22 2020 vdir - -rwxr-xr-x 1 root root 63024 Feb 7 02:38 wdctl - lrwxrwxrwx 1 root root 8 Nov 6 2019 ypdomainname -> hostname - -rwxr-xr-x 1 root root 1984 Mar 2 11:30 zcat - -rwxr-xr-x 1 root root 1678 Mar 2 11:30 zcmp - -rwxr-xr-x 1 root root 5880 Mar 2 11:30 zdiff - -rwxr-xr-x 1 root root 29 Mar 2 11:30 zegrep - -rwxr-xr-x 1 root root 29 Mar 2 11:30 zfgrep - -rwxr-xr-x 1 root root 2081 Mar 2 11:30 zforce - -rwxr-xr-x 1 root root 7585 Mar 2 11:30 zgrep - -rwxr-xr-x 1 root root 2206 Mar 2 11:30 zless - -rwxr-xr-x 1 root root 1842 Mar 2 11:30 zmore - -rwxr-xr-x 1 root root 4553 Mar 2 11:30 znew -I: user script /srv/workspace/pbuilder/9111/tmp/hooks/D02_print_environment finished + -rwxr-xr-x 1 root root 1367848 Feb 25 2021 bash + -rwxr-xr-x 3 root root 38280 Jul 21 2020 bunzip2 + -rwxr-xr-x 3 root root 38280 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 38280 Jul 21 2020 bzip2 + -rwxr-xr-x 1 root root 17768 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 38824 Sep 23 2020 cat + -rwxr-xr-x 1 root root 71624 Sep 23 2020 chgrp + -rwxr-xr-x 1 root root 67528 Sep 23 2020 chmod + -rwxr-xr-x 1 root root 75752 Sep 23 2020 chown + -rwxr-xr-x 1 root root 157960 Sep 23 2020 cp + -rwxr-xr-x 1 root root 128724 Dec 11 2020 dash + -rwxr-xr-x 1 root root 124904 Sep 23 2020 date + -rwxr-xr-x 1 root root 92172 Sep 23 2020 dd + -rwxr-xr-x 1 root root 100752 Sep 23 2020 df + -rwxr-xr-x 1 root root 153964 Sep 23 2020 dir + -rwxr-xr-x 1 root root 83644 Feb 8 2021 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 34664 Sep 23 2020 echo + -rwxr-xr-x 1 root root 28 Nov 10 2020 egrep + -rwxr-xr-x 1 root root 34664 Sep 23 2020 false + -rwxr-xr-x 1 root root 28 Nov 10 2020 fgrep + -rwxr-xr-x 1 root root 71928 Feb 8 2021 findmnt + -rwsr-xr-x 1 root root 30112 Feb 27 2021 fusermount + -rwxr-xr-x 1 root root 210488 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 100952 Mar 3 2021 gzip + -rwxr-xr-x 1 root root 21916 Nov 8 2019 hostname + -rwxr-xr-x 1 root root 83980 Sep 23 2020 ln + -rwxr-xr-x 1 root root 55572 Feb 8 2020 login + -rwxr-xr-x 1 root root 153964 Sep 23 2020 ls + -rwxr-xr-x 1 root root 153124 Feb 8 2021 lsblk + -rwxr-xr-x 1 root root 96328 Sep 23 2020 mkdir + -rwxr-xr-x 1 root root 79912 Sep 23 2020 mknod + -rwxr-xr-x 1 root root 47048 Sep 23 2020 mktemp + -rwxr-xr-x 1 root root 58920 Feb 8 2021 more + -rwsr-xr-x 1 root root 50720 Feb 8 2021 mount + -rwxr-xr-x 1 root root 13856 Feb 8 2021 mountpoint + -rwxr-xr-x 1 root root 157996 Sep 23 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 38824 Sep 23 2020 pwd + lrwxrwxrwx 1 root root 4 Feb 25 2021 rbash -> bash + -rwxr-xr-x 1 root root 46984 Sep 23 2020 readlink + -rwxr-xr-x 1 root root 75720 Sep 23 2020 rm + -rwxr-xr-x 1 root root 46984 Sep 23 2020 rmdir + -rwxr-xr-x 1 root root 22292 Sep 28 2020 run-parts + -rwxr-xr-x 1 root root 125036 Dec 23 2018 sed + lrwxrwxrwx 1 root root 4 Jul 23 20:20 sh -> bash + lrwxrwxrwx 1 root root 4 Jul 22 05:46 sh.distrib -> dash + -rwxr-xr-x 1 root root 34696 Sep 23 2020 sleep + -rwxr-xr-x 1 root root 83880 Sep 23 2020 stty + -rwsr-xr-x 1 root root 79396 Feb 8 2021 su + -rwxr-xr-x 1 root root 34696 Sep 23 2020 sync + -rwxr-xr-x 1 root root 602584 Feb 17 2021 tar + -rwxr-xr-x 1 root root 13860 Sep 28 2020 tempfile + -rwxr-xr-x 1 root root 108520 Sep 23 2020 touch + -rwxr-xr-x 1 root root 34664 Sep 23 2020 true + -rwxr-xr-x 1 root root 17768 Feb 27 2021 ulockmgr_server + -rwsr-xr-x 1 root root 30236 Feb 8 2021 umount + -rwxr-xr-x 1 root root 34664 Sep 23 2020 uname + -rwxr-xr-x 2 root root 2346 Mar 3 2021 uncompress + -rwxr-xr-x 1 root root 153964 Sep 23 2020 vdir + -rwxr-xr-x 1 root root 63024 Feb 8 2021 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/24494/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -310,7 +344,7 @@ Get: 93 http://deb.debian.org/debian bullseye/main i386 xaw3dg i386 1.5+F-1 [161 kB] Get: 94 http://deb.debian.org/debian bullseye/main i386 xutils-dev i386 1:7.7+5+b1 [244 kB] Get: 95 http://deb.debian.org/debian bullseye/main i386 xaw3dg-dev i386 1.5+F-1 [207 kB] -Fetched 45.7 MB in 12s (3919 kB/s) +Fetched 45.7 MB in 1s (88.7 MB/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 ... 19675 files and directories currently installed.) @@ -708,8 +742,44 @@ Writing extended state information... Building tag database... -> Finished parsing the build-deps +Reading package lists... +Building dependency tree... +Reading state information... +The following additional packages will be installed: + libfile-find-rule-perl libnumber-compare-perl libtext-glob-perl +The following NEW packages will be installed: + libfile-find-rule-perl libnumber-compare-perl libtext-glob-perl usrmerge +0 upgraded, 4 newly installed, 0 to remove and 0 not upgraded. +Need to get 59.5 kB of archives. +After this operation, 157 kB of additional disk space will be used. +Get:1 http://deb.debian.org/debian bullseye/main i386 libnumber-compare-perl all 0.03-1.1 [6956 B] +Get:2 http://deb.debian.org/debian bullseye/main i386 libtext-glob-perl all 0.11-1 [8888 B] +Get:3 http://deb.debian.org/debian bullseye/main i386 libfile-find-rule-perl all 0.34-1 [30.6 kB] +Get:4 http://deb.debian.org/debian bullseye/main i386 usrmerge all 25 [13.0 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 59.5 kB in 0s (4882 kB/s) +Selecting previously unselected package libnumber-compare-perl. +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 25880 files and directories currently installed.) +Preparing to unpack .../libnumber-compare-perl_0.03-1.1_all.deb ... +Unpacking libnumber-compare-perl (0.03-1.1) ... +Selecting previously unselected package libtext-glob-perl. +Preparing to unpack .../libtext-glob-perl_0.11-1_all.deb ... +Unpacking libtext-glob-perl (0.11-1) ... +Selecting previously unselected package libfile-find-rule-perl. +Preparing to unpack .../libfile-find-rule-perl_0.34-1_all.deb ... +Unpacking libfile-find-rule-perl (0.34-1) ... +Selecting previously unselected package usrmerge. +Preparing to unpack .../archives/usrmerge_25_all.deb ... +Unpacking usrmerge (25) ... +Setting up libtext-glob-perl (0.11-1) ... +Setting up libnumber-compare-perl (0.03-1.1) ... +Setting up libfile-find-rule-perl (0.34-1) ... +Setting up usrmerge (25) ... +The system has been successfully converted. +Processing triggers for man-db (2.9.4-2) ... +Not building database; man-db/auto-update is not 'true'. I: Building the package -I: Running cd /build/x11iraf-2.0+2020.06.15+dfsg/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-buildpackage -us -uc -b +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 dpkg-buildpackage: info: source package x11iraf dpkg-buildpackage: info: source version 2.0+2020.06.15+dfsg-1 dpkg-buildpackage: info: source distribution unstable @@ -719,7 +789,7 @@ debian/rules clean dh clean dh_auto_clean - make -j10 clean + make -j18 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' @@ -765,7 +835,7 @@ dh_autoreconf dh_auto_configure dh_auto_build - make -j10 "INSTALL=install --strip-program=true" + make -j18 "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' @@ -781,373 +851,8 @@ make[3]: Entering directory '/build/x11iraf-2.0+2020.06.15+dfsg/obm/ObmW' 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 Arrow.o Arrow.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 Board.o Board.c -gterm.c: In function 'GtermClassInit': -gterm.c:246:19: warning: assignment to 'ObmCreateFunc' {aka 'struct obmObject * (*)()'} from incompatible pointer type 'int (*)()' [-Wincompatible-pointer-types] - 246 | classrec->Create = (ObmFunc) GtermCreate; - | ^ -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 '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 -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; - | ^ -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); - | ^ -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; - | ^ -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] - 397 | Tcl_SetResult (obm->tcl, Tcl_GetStringResult (msg->tcl), TCL_VOLATILE); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from /usr/include/tcl/tcl.h:2441, - from ObmP.h:76, - from marker.c:5: -/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, - | ~~~~~~^~~~~~ -marker.c:405:28: warning: passing argument 2 of 'Tcl_SetResult' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 405 | Tcl_SetResult (obm->tcl, Tcl_GetStringResult (msg->tcl), TCL_VOLATILE); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -param.c: In function 'ParameterEvaluate': -In file included from /usr/include/tcl/tcl.h:2441, - from ObmP.h:76, - from marker.c:5: -/usr/include/tcl/tclDecls.h:693:54: note: expected 'char *' but argument is of type 'const char *' - 693 | EXTERN void Tcl_SetResult(Tcl_Interp *interp, char *result, - | ~~~~~~^~~~~~ -param.c:213:32: warning: passing argument 2 of 'Tcl_SetResult' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 213 | Tcl_SetResult (obm->tcl, Tcl_GetStringResult (msg->tcl), TCL_VOLATILE); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from /usr/include/tcl/tcl.h:2441, - from ObmP.h:76, - from param.c:4: -/usr/include/tcl/tclDecls.h:693:54: note: expected 'char *' but argument is of type 'const char *' - 693 | EXTERN void Tcl_SetResult(Tcl_Interp *interp, char *result, - | ~~~~~~^~~~~~ -param.c:221:28: warning: passing argument 2 of 'Tcl_SetResult' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 221 | Tcl_SetResult (obm->tcl, Tcl_GetStringResult (msg->tcl), TCL_VOLATILE); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from /usr/include/tcl/tcl.h:2441, - from ObmP.h:76, - from param.c:4: -/usr/include/tcl/tclDecls.h:693:54: note: expected 'char *' but argument is of type 'const char *' - 693 | EXTERN void Tcl_SetResult(Tcl_Interp *interp, char *result, - | ~~~~~~^~~~~~ -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 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); - | ^ -server.c: In function 'serverSend': -server.c:831:41: warning: passing argument 2 of 'Tcl_Merge' from incompatible pointer type [-Wincompatible-pointer-types] - 831 | char *message = Tcl_Merge (argc-2, &argv[2]); - | ^~~~~~~~ - | | - | char ** -In file included from /usr/include/tcl/tcl.h:2441, - from ObmP.h:76, - from server.c:4: -/usr/include/tcl/tclDecls.h:584:57: note: expected 'const char * const*' but argument is of type 'char **' - 584 | EXTERN char * Tcl_Merge(int argc, CONST84 char *const *argv); - | ^ -server.c: In function 'serverPrint': -server.c:856:42: warning: passing argument 2 of 'Tcl_Concat' from incompatible pointer type [-Wincompatible-pointer-types] - 856 | char *message = Tcl_Concat (argc-1, &argv[1]); - | ^~~~~~~~ - | | - | 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); - | ^ -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 *** -In file included from /usr/include/tcl/tcl.h:2441, - from ObmP.h:76, - from server.c:4: -/usr/include/tcl/tclDecls.h:722:21: note: expected 'const char ***' but argument is of type 'char ***' - 722 | CONST84 char ***argvPtr); - | ^ -server.c:1006:53: warning: passing argument 4 of 'Tcl_SplitList' from incompatible pointer type [-Wincompatible-pointer-types] - 1006 | if (Tcl_SplitList (tcl, items[item], &nfields, &fields) != 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:722:21: note: expected 'const char ***' but argument is of type 'char ***' - 722 | CONST84 char ***argvPtr); - | ^ -server.c: In function 'serverPostTimedCallback': -server.c:1115:21: warning: format '%lx' expects argument of type 'long unsigned int', but argument 3 has type 'ServerCallback' {aka 'struct _serverCallback *'} [-Wformat=] - 1115 | sprintf (buf, "0x%lx", cb); - | ~~^ ~~ - | | | - | | ServerCallback {aka struct _serverCallback *} - | long unsigned int -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); - | ~~^ ~~ - | | | - | | ServerCallback {aka struct _serverCallback *} - | long unsigned int -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) { - | ^~~~~~ - | | - | char *** -In file included from /usr/include/tcl/tcl.h:2441, - from ObmP.h:76, - from server.c:4: -/usr/include/tcl/tclDecls.h:722:21: note: expected 'const char ***' but argument is of type 'char ***' - 722 | CONST84 char ***argvPtr); - | ^ -server.c:2155:53: warning: passing argument 4 of 'Tcl_SplitList' from incompatible pointer type [-Wincompatible-pointer-types] - 2155 | if (Tcl_SplitList (tcl, items[item], &nfields, &fields) != 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:722:21: note: expected 'const char ***' but argument is of type 'char ***' - 722 | CONST84 char ***argvPtr); - | ^ -server.c:2175:17: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 2175 | ip->label = cp; - | ^ -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); - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from /usr/include/tcl/tcl.h:2441, - from ObmP.h:76, - from widget.c:5: -/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, - | ~~~~~~^~~~~~ -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); - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from /usr/include/tcl/tcl.h:2441, - from ObmP.h:76, - from widget.c:5: -/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, - | ~~~~~~^~~~~~ -widget.c:730:29: warning: passing argument 2 of 'Tcl_SetResult' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 730 | Tcl_SetResult (server, Tcl_GetStringResult (tcl), TCL_VOLATILE); - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from /usr/include/tcl/tcl.h:2441, - from ObmP.h:76, - from widget.c:5: -/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, - | ~~~~~~^~~~~~ -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) ", - | ~~^ - | | - | long unsigned int - 828 | wp->obm, XtName(wp->w)); - | ~~~~~~~ - | | - | ObmContext {aka struct obmContext *} -widget.c: In function 'do_userproc': -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); - | ~^ ~~~~ - | | | - | | Time {aka long unsigned int} - | unsigned int - | %lu -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); - | ~^ ~~~~~ - | | | - | | caddr_t {aka char *} - | unsigned int - | %s -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); - | ~^ ~~~~~ - | | | - | | caddr_t {aka char *} - | unsigned int - | %s -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) - | ^~~~~~ - | | - | char *** -In file included from /usr/include/tcl/tcl.h:2441, - from ObmP.h:76, - from widget.c:5: -/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 'widgetEvent': -widget.c:4771:18: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'Time' {aka 'long unsigned int'} [-Wformat=] - 4771 | sprintf (op, "%u %d %d %d %d ", - | ~^ - | | - | unsigned int - | %lu - 4772 | ev->time, ev->x, ev->y, ev->x_root, ev->y_root); - | ~~~~~~~~ - | | - | Time {aka long unsigned int} -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 ", - | ~^ - | | - | unsigned int - | %lu - 4803 | ev->time, ev->x, ev->y, ev->x_root, ev->y_root); - | ~~~~~~~~ - | | - | Time {aka long unsigned int} -widget.c:4826:8: warning: 'XKeycodeToKeysym' is deprecated [-Wdeprecated-declarations] - 4826 | keysym = XKeycodeToKeysym (obm->display, - | ^~~~~~ -In file included from /usr/include/X11/Intrinsic.h:53, - from ObmP.h:16, - from widget.c:5: -/usr/include/X11/Xlib.h:1687:15: note: declared here - 1687 | extern KeySym XKeycodeToKeysym( - | ^~~~~~~~~~~~~~~~ -widget.c:4844:18: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'Time' {aka 'long unsigned int'} [-Wformat=] - 4844 | sprintf (op, "%u %d %d %d %d ", - | ~^ - | | - | unsigned int - | %lu - 4845 | ev->time, ev->x, ev->y, ev->x_root, ev->y_root); - | ~~~~~~~~ - | | - | Time {aka long unsigned int} -widget.c: In function 'widgetGetFontName': -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 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 -DOSI_COMPLIANT -DOSI_COMPLIANT -Wdate-time -D_FORTIFY_SOURCE=2 -c -o Common.o Common.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/i386-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 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 @@ -1156,6 +861,8 @@ 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 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", @@ -1217,7 +924,45 @@ | ~~~~~~~~~~~~~~~~ | | | Colormap {aka long unsigned int} +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; + | ^ +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); + | ^ Gterm.c: In function 'Realize': +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); + | ^ +param.c: In function 'ParameterEvaluate': +param.c:213:32: warning: passing argument 2 of 'Tcl_SetResult' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + 213 | Tcl_SetResult (obm->tcl, Tcl_GetStringResult (msg->tcl), TCL_VOLATILE); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from /usr/include/tcl/tcl.h:2441, + from ObmP.h:76, + from param.c:4: +/usr/include/tcl/tclDecls.h:693:54: note: expected 'char *' but argument is of type 'const char *' + 693 | EXTERN void Tcl_SetResult(Tcl_Interp *interp, char *result, + | ~~~~~~^~~~~~ 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", | ~^ @@ -1228,6 +973,54 @@ | ~~~~~~~~~~~~~~~~ | | | Colormap {aka long unsigned int} +client.c: In function 'clientLiteral': +param.c:221:28: warning: passing argument 2 of 'Tcl_SetResult' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + 221 | Tcl_SetResult (obm->tcl, Tcl_GetStringResult (msg->tcl), TCL_VOLATILE); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +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 param.c:4: +/usr/include/tcl/tclDecls.h:693:54: note: expected 'char *' but argument is of type 'const char *' + 693 | EXTERN void Tcl_SetResult(Tcl_Interp *interp, char *result, + | ~~~~~~^~~~~~ +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; + | ^ +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] + 397 | Tcl_SetResult (obm->tcl, Tcl_GetStringResult (msg->tcl), TCL_VOLATILE); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from /usr/include/tcl/tcl.h:2441, + from ObmP.h:76, + from marker.c:5: +/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, + | ~~~~~~^~~~~~ +marker.c:405:28: warning: passing argument 2 of 'Tcl_SetResult' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + 405 | Tcl_SetResult (obm->tcl, Tcl_GetStringResult (msg->tcl), TCL_VOLATILE); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from /usr/include/tcl/tcl.h:2441, + from ObmP.h:76, + from marker.c:5: +/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; + | ^ In file included from Gterm.c:1947: GtermCnv.c: In function 'ximage_to_rasPM': GtermCnv.c:107:60: warning: format '%x' expects argument of type 'unsigned int', but argument 7 has type 'XImage *' [-Wformat=] @@ -1239,6 +1032,18 @@ | ~~~~~~ | | | XImage * +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); + | ^ GtermCnv.c: In function 'init_lut': GtermCnv.c:339:39: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=] 339 | fprintf (stderr, "init_lut: mask=(0x%x,0x%x,0x%x) shift=(%d,%d,%d)\n", @@ -1271,6 +1076,7 @@ | | | long unsigned int GtermCnv.c: In function 'dbg_printCmaps': +marker.c: In function 'markerGetAttributes': GtermCnv.c:419:41: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Pixel' {aka 'long unsigned int'} [-Wformat=] 419 | fprintf (stderr, "cmaps: basePixel=%d maxColors=%d ncolors=%d\n", | ~^ @@ -1281,6 +1087,18 @@ | ~~~~~~~~~~~~~~~~~~~ | | | Pixel {aka long unsigned int} +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 marker.c:5: +/usr/include/tcl/tclDecls.h:722:21: note: expected 'const char ***' but argument is of type 'char ***' + 722 | CONST84 char ***argvPtr); + | ^ +server.c: In function 'serverSend': GtermCnv.c:436:66: warning: format '%d' expects argument of type 'int', but argument 14 has type 'Pixel' {aka 'long unsigned int'} [-Wformat=] 436 | "cmap: %3d %3d %3d %3d %3d %3d %3d %3d %3d %3d %3d %3d %3d %3d\n", | ~~^ @@ -1292,6 +1110,12 @@ | ~~~~~~~~~~~~~~ | | | Pixel {aka long unsigned int} +marker.c: In function 'markerSetAttributes': +server.c:831:41: warning: passing argument 2 of 'Tcl_Merge' from incompatible pointer type [-Wincompatible-pointer-types] + 831 | char *message = Tcl_Merge (argc-2, &argv[2]); + | ^~~~~~~~ + | | + | char ** GtermCnv.c:436:71: warning: format '%d' expects argument of type 'int', but argument 15 has type 'Pixel' {aka 'long unsigned int'} [-Wformat=] 436 | "cmap: %3d %3d %3d %3d %3d %3d %3d %3d %3d %3d %3d %3d %3d %3d\n", | ~~^ @@ -1303,6 +1127,17 @@ | ~~~~~~~~~~~~~~~~~~~ | | | Pixel {aka long unsigned int} +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); + | ^ GtermCnv.c:436:76: warning: format '%d' expects argument of type 'int', but argument 16 has type 'Pixel' {aka 'long unsigned int'} [-Wformat=] 436 | "cmap: %3d %3d %3d %3d %3d %3d %3d %3d %3d %3d %3d %3d %3d %3d\n", | ~~^ @@ -1314,6 +1149,24 @@ | ~~~~~~~~~~~~~~~~~~~~ | | | Pixel {aka long unsigned int} +In file included from /usr/include/tcl/tcl.h:2441, + from ObmP.h:76, + from server.c:4: +/usr/include/tcl/tclDecls.h:584:57: note: expected 'const char * const*' but argument is of type 'char **' + 584 | EXTERN char * Tcl_Merge(int argc, CONST84 char *const *argv); + | ^ +server.c: In function 'serverPrint': +server.c:856:42: warning: passing argument 2 of 'Tcl_Concat' from incompatible pointer type [-Wincompatible-pointer-types] + 856 | char *message = Tcl_Concat (argc-1, &argv[1]); + | ^~~~~~~~ + | | + | 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); + | ^ GtermCnv.c: In function 'dbg_printRasters': GtermCnv.c:479:27: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'Pixmap' {aka 'long unsigned int'} [-Wformat=] 479 | fprintf (stderr, ": p=0x%x im=0x%x sh=0x%x\n", @@ -1325,6 +1178,7 @@ | ~~~~~~~~~~~~ | | | Pixmap {aka long unsigned int} +server.c: In function 'serverGetResources': GtermCnv.c:479:35: warning: format '%x' expects argument of type 'unsigned int', but argument 4 has type 'XImage *' [-Wformat=] 479 | fprintf (stderr, ": p=0x%x im=0x%x sh=0x%x\n", | ~^ @@ -1334,6 +1188,17 @@ | ~~~~~~~~~~~~ | | | XImage * +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 *** +In file included from /usr/include/tcl/tcl.h:2441, + from ObmP.h:76, + from server.c:4: +/usr/include/tcl/tclDecls.h:722:21: note: expected 'const char ***' but argument is of type 'char ***' + 722 | CONST84 char ***argvPtr); + | ^ GtermCnv.c:479:43: warning: format '%x' expects argument of type 'unsigned int', but argument 5 has type 'Pixmap' {aka 'long unsigned int'} [-Wformat=] 479 | fprintf (stderr, ": p=0x%x im=0x%x sh=0x%x\n", | ~^ @@ -1344,6 +1209,35 @@ | ~~~~~~~~~~~~~~~~~ | | | Pixmap {aka long unsigned int} +server.c:1006:53: warning: passing argument 4 of 'Tcl_SplitList' from incompatible pointer type [-Wincompatible-pointer-types] + 1006 | if (Tcl_SplitList (tcl, items[item], &nfields, &fields) != 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:722:21: note: expected 'const char ***' but argument is of type 'char ***' + 722 | CONST84 char ***argvPtr); + | ^ +server.c: In function 'serverPostTimedCallback': +server.c:1115:21: warning: format '%lx' expects argument of type 'long unsigned int', but argument 3 has type 'ServerCallback' {aka 'struct _serverCallback *'} [-Wformat=] + 1115 | sprintf (buf, "0x%lx", cb); + | ~~^ ~~ + | | | + | | ServerCallback {aka struct _serverCallback *} + | long unsigned int +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); + | ~~^ ~~ + | | | + | | 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; + | ^ In file included from Gterm.c:1948: GtermGraphics.c: In function 'GtStartDialog': GtermGraphics.c:1057:55: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'Pixmap' {aka 'long unsigned int'} [-Wformat=] @@ -1367,6 +1261,70 @@ | ~~~~~~~~~~~~~~~~~ | | | Pixmap {aka long unsigned int} +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) { + | ^~~~~~ + | | + | char *** +In file included from /usr/include/tcl/tcl.h:2441, + from ObmP.h:76, + from server.c:4: +/usr/include/tcl/tclDecls.h:722:21: note: expected 'const char ***' but argument is of type 'char ***' + 722 | CONST84 char ***argvPtr); + | ^ +server.c:2155:53: warning: passing argument 4 of 'Tcl_SplitList' from incompatible pointer type [-Wincompatible-pointer-types] + 2155 | if (Tcl_SplitList (tcl, items[item], &nfields, &fields) != 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:722:21: note: expected 'const char ***' but argument is of type 'char ***' + 722 | CONST84 char ***argvPtr); + | ^ +server.c:2175:17: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + 2175 | ip->label = cp; + | ^ +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); + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from /usr/include/tcl/tcl.h:2441, + from ObmP.h:76, + from widget.c:5: +/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, + | ~~~~~~^~~~~~ +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); + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from /usr/include/tcl/tcl.h:2441, + from ObmP.h:76, + from widget.c:5: +/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, + | ~~~~~~^~~~~~ +widget.c:730:29: warning: passing argument 2 of 'Tcl_SetResult' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + 730 | Tcl_SetResult (server, Tcl_GetStringResult (tcl), TCL_VOLATILE); + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from /usr/include/tcl/tcl.h:2441, + from ObmP.h:76, + from widget.c:5: +/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, + | ~~~~~~^~~~~~ +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) ", + | ~~^ + | | + | long unsigned int + 828 | wp->obm, XtName(wp->w)); + | ~~~~~~~ + | | + | ObmContext {aka struct obmContext *} 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=] @@ -1379,6 +1337,11 @@ | ~~~~~~~~~~~ | | | XWindowAttributes +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 GtermImaging.c: In function 'GtRefreshPixels': GtermImaging.c:980:47: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'Mapping' {aka 'struct mapping *'} [-Wformat=] 980 | fprintf (stderr, "GtRefreshPixels: mp=0x%x enabled=%d src=%d/%d\n", @@ -1389,7 +1352,27 @@ | ~~ | | | Mapping {aka struct mapping *} +widget.c: In function 'do_userproc': +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); + | ~^ ~~~~ + | | | + | | Time {aka long unsigned int} + | unsigned int + | %lu +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 *** GtermImaging.c: In function 'GtLoadColormap': +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); + | ^ GtermImaging.c:1674:56: warning: format '%x' expects argument of type 'unsigned int', but argument 5 has type 'struct colormap *' [-Wformat=] 1674 | fprintf (stderr, "GtLoadColormap: map=%d/%d cm=0x%x ncells=%d\n", | ~^ @@ -1399,6 +1382,34 @@ | ~~ | | | struct colormap * +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); + | ~^ ~~~~~ + | | | + | | caddr_t {aka char *} + | unsigned int + | %s +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); + | ~^ ~~~~~ + | | | + | | caddr_t {aka char *} + | unsigned int + | %s +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) + | ^~~~~~ + | | + | char *** +In file included from /usr/include/tcl/tcl.h:2441, + from ObmP.h:76, + from widget.c:5: +/usr/include/tcl/tclDecls.h:722:21: note: expected 'const char ***' but argument is of type 'char ***' + 722 | CONST84 char ***argvPtr); + | ^ +cc -g -O2 -fdebug-prefix-map=/build/x11iraf-2.0+2020.06.15+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DOSI_COMPLIANT -DOSI_COMPLIANT -Wdate-time -D_FORTIFY_SOURCE=2 -c -o MenuBar.o MenuBar.c GtermImaging.c: In function 'GtDebug': GtermImaging.c:3118:26: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'GtermWidget' {aka 'struct _GtermRec *'} [-Wformat=] 3118 | fprintf (fp, "Widget 0x%x (%s) %dx%d raster=%d\n", @@ -1482,6 +1493,17 @@ | ~~~~~~~~~~~~~~~~~~~ | | | Pixel {aka long unsigned int} +widget.c: In function 'widgetEvent': +widget.c:4771:18: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'Time' {aka 'long unsigned int'} [-Wformat=] + 4771 | sprintf (op, "%u %d %d %d %d ", + | ~^ + | | + | unsigned int + | %lu + 4772 | ev->time, ev->x, ev->y, ev->x_root, ev->y_root); + | ~~~~~~~~ + | | + | Time {aka long unsigned int} 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=] @@ -1570,6 +1592,16 @@ | ~~~~~~~~~~~~ | | | XImage * +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 ", + | ~^ + | | + | unsigned int + | %lu + 4803 | ev->time, ev->x, ev->y, ev->x_root, ev->y_root); + | ~~~~~~~~ + | | + | Time {aka long unsigned int} GtermMapping.c:363:36: warning: format '%x' expects argument of type 'unsigned int', but argument 4 has type 'Pixmap' {aka 'long unsigned int'} [-Wformat=] 363 | fprintf (stderr, " src=%d pix=0x%x dims=%d,%d\n", | ~^ @@ -1602,6 +1634,15 @@ | ~~~~~~~~~~~~~~~~~ | | | Pixmap {aka long unsigned int} +widget.c:4826:8: warning: 'XKeycodeToKeysym' is deprecated [-Wdeprecated-declarations] + 4826 | keysym = XKeycodeToKeysym (obm->display, + | ^~~~~~ +In file included from /usr/include/X11/Intrinsic.h:53, + from ObmP.h:16, + from widget.c:5: +/usr/include/X11/Xlib.h:1687:15: note: declared here + 1687 | extern KeySym XKeycodeToKeysym( + | ^~~~~~~~~~~~~~~~ GtermMapping.c:446:37: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'Pixmap' {aka 'long unsigned int'} [-Wformat=] 446 | "\n\nrefresh: gterm.pixmap=0x%x dest.pixmap=0x%x\n\n", | ~^ @@ -1660,6 +1701,16 @@ | ~~~~ | | | XImage * +widget.c:4844:18: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'Time' {aka 'long unsigned int'} [-Wformat=] + 4844 | sprintf (op, "%u %d %d %d %d ", + | ~^ + | | + | unsigned int + | %lu + 4845 | ev->time, ev->x, ev->y, ev->x_root, ev->y_root); + | ~~~~~~~~ + | | + | Time {aka long unsigned int} GtermMapping.c:750:54: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'Pixmap' {aka 'long unsigned int'} [-Wformat=] 750 | "updating shadow_pixmap........................0x%x\n", | ~^ @@ -1680,38 +1731,38 @@ | ~~~~~~~~~~~~~~~~~ | | | 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 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 +widget.c: In function 'widgetGetFontName': +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 MultiList.o MultiList.c -server.c: In function 'menu_highlight': -server.c:3034:24: warning: '__builtin___sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=] - 3034 | sprintf (target, "*%s", mw->child); - | ^ -In file included from /usr/include/stdio.h:867, - from ObmP.h:8, - from server.c:4: -/usr/include/i386-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 2 and 129 bytes into a destination of size 128 - 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 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 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 -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'; - | ~~~~~~~~~~^~~~~~ -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 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 +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/i386-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 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 @@ -1720,6 +1771,13 @@ 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'; + | ~~~~~~~~~~^~~~~~ +MultiList.c:1465:20: note: at offset 0 to an object with size 0 allocated by 'malloc' here + 1465 | buffer = (char *)malloc(byte_count); + | ^~~~~~~~~~~~~~~~~~ sed 's/yy/LayYY/g' y.tab.h > laygram.h sed 's/yy/LayYY/g' y.tab.c > laygram.c rm y.tab.c y.tab.h @@ -1731,6 +1789,18 @@ y.tab.c: In function 'LayYYparse': y.tab.c:1173:19: warning: implicit declaration of function 'LayYYlex' [-Wimplicit-function-declaration] y.tab.c:1640:7: warning: implicit declaration of function 'LayYYerror'; did you mean 'LayYYerrok'? [-Wimplicit-function-declaration] +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); + | ^ +In file included from /usr/include/stdio.h:867, + from ObmP.h:8, + from server.c:4: +/usr/include/i386-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 2 and 129 bytes into a destination of size 128 + 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 37 | __bos (__s), __fmt, __va_arg_pack ()); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:495, from lex.LayYY.c:20: In function 'strncpy', @@ -1752,19 +1822,23 @@ make[2]: Entering directory '/build/x11iraf-2.0+2020.06.15+dfsg/xgterm' make[2]: Entering directory '/build/x11iraf-2.0+2020.06.15+dfsg/ximtool' cc -g -O2 -fdebug-prefix-map=/build/x11iraf-2.0+2020.06.15+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -I../obm -DALLOWLOGGING -Wdate-time -D_FORTIFY_SOURCE=2 -c -o button.o button.c -cc -g -O2 -fdebug-prefix-map=/build/x11iraf-2.0+2020.06.15+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -I../obm -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 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 -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 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 -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 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 -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 -DALLOWLOGGING -Wdate-time -D_FORTIFY_SOURCE=2 -c -o input.o input.c -fitsio.c: In function 'isFITS': -fitsio.c:208:6: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] - 208 | fscanf (fp, "%6s = %c", keyw, &val); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +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 -DOSI_COMPLIANT -Wdate-time -D_FORTIFY_SOURCE=2 -c -o ism.o ism.c +cc -g -O2 -fdebug-prefix-map=/build/x11iraf-2.0+2020.06.15+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -I../obm -DOSI_COMPLIANT -Wdate-time -D_FORTIFY_SOURCE=2 -c -o 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 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 +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 misc.o misc.c +cc -g -O2 -fdebug-prefix-map=/build/x11iraf-2.0+2020.06.15+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -I../obm -DALLOWLOGGING -Wdate-time -D_FORTIFY_SOURCE=2 -c -o screen.o screen.c 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); @@ -1808,6 +1882,17 @@ 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); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +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); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +irafio.c: In function 'loadIRAF': +irafio.c:128:13: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] + 128 | fread ((char *)header_v1, sizeof (char), SZ_V1HDR, hdr); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +irafio.c:156:13: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] + 156 | fread ((char *)header_v2, sizeof (char), SZ_V2HDR, hdr); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ input.c: In function 'AdjustAfterInput': input.c:68:3: warning: implicit declaration of function 'WindowScroll' [-Wimplicit-function-declaration] 68 | WindowScroll(screen, 0); @@ -1816,10 +1901,48 @@ 74 | Bell(); | ^~~~ | XBell +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 +irafio.c: In function 'irafReadPixels': +irafio.c:428:17: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] + 428 | fread ((char *)usline, sizeof (unsigned short), px, fd); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +irafio.c:457:17: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] + 457 | fread ((char *)sline, sizeof (short), px, fd); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +irafio.c:487:17: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] + 487 | fread ((char *)iline, sizeof (int), px, fd); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +irafio.c:516:17: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] + 516 | fread ((char *)fline, sizeof (float), px, fd); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +irafio.c:546:17: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] + 546 | fread ((char *)dline, sizeof (double), px, fd); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +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 +irafio.c: In function 'isIRAF': +irafio.c:224:13: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] + 224 | fread ((char *)magic, sizeof (char), 12, fp); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +irafio.c: In function 'getIRAFHdr': +irafio.c:266:13: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] + 266 | fread ((char *)header_v1, sizeof (char), SZ_V1HDR, hdr); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +irafio.c:285:13: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] + 285 | fread ((char *)header_v2, sizeof (char), SZ_V2HDR, hdr); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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 'StartSelect': +button.c:519:6: warning: implicit declaration of function 'HideCursor'; did you mean 'BadCursor'? [-Wimplicit-function-declaration] + 519 | HideCursor (); + | ^~~~~~~~~~ + | BadCursor input.c:135:3: warning: implicit declaration of function 'unparseputc' [-Wimplicit-function-declaration] 135 | unparseputc((char)(keysym-XK_KP_F1+'P'), pty); | ^~~~~~~~~~~ @@ -1827,24 +1950,196 @@ input.c:189:1: warning: return type defaults to 'int' [-Wimplicit-int] 189 | StringInput (screen, string, nbytes) | ^~~~~~~~~~~ +screen.c: In function 'Allocate': +screen.c:72:3: warning: implicit declaration of function 'SysError' [-Wimplicit-function-declaration] + 72 | SysError (ERROR_SCALLOC); + | ^~~~~~~~ +screen.c: At top level: +screen.c:90:1: warning: return type defaults to 'int' [-Wimplicit-int] + 90 | Reallocate(sbuf, sbufaddr, nrow, ncol, oldrow, oldcol) + | ^~~~~~~~~~ +screen.c:206:1: warning: return type defaults to 'int' [-Wimplicit-int] + 206 | ScrnInsertLine (sb, last, where, n, size) + | ^~~~~~~~~~~~~~ +screen.c:246:1: warning: return type defaults to 'int' [-Wimplicit-int] + 246 | ScrnDeleteLine (sb, last, where, n, size) + | ^~~~~~~~~~~~~~ +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) + | ^~~~~~~~~~~~~~ +screen.c: In function 'ScrnDeleteChar': +In file included from menu.c:31: +menu.c: In function 'domenu': +screen.c:316:11: warning: type defaults to 'int' in declaration of 'nbytes' [-Wimplicit-int] + 316 | register nbytes = (size - n - col); + | ^~~~~~ +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(); + | ^~~~~~~~~~~~~~~~ +screen.c: At top level: +screen.c:328:1: warning: return type defaults to 'int' [-Wimplicit-int] + 328 | ScrnRefresh (screen, toprow, leftcol, nrows, ncols, force) + | ^~~~~~~~~~~ +menu.c:226:15: warning: implicit declaration of function 'isspace' [-Wimplicit-function-declaration] + 226 | start = isspace(*(op-1)) ? op - 1 : op; + | ^~~~~~~ +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 +button.c: In function 'ReHiliteText': +screen.c:528:1: warning: return type defaults to 'int' [-Wimplicit-int] + 528 | ClearBufRows (screen, first, last) + | ^~~~~~~~~~~~ +button.c:1080:7: warning: implicit declaration of function 'ScrnRefresh' [-Wimplicit-function-declaration] + 1080 | ScrnRefresh(screen, frow, fcol, 1, i, True); + | ^~~~~~~~~~~ +screen.c:558:1: warning: return type defaults to 'int' [-Wimplicit-int] + 558 | ScreenResize (screen, width, height, flags) + | ^~~~~~~~~~~~ +menu.c: At top level: +menu.c:371:1: warning: return type defaults to 'int' [-Wimplicit-int] + 371 | init_menu (menu) + | ^~~~~~~~~ +button.c: In function 'SaltTextAway': +button.c:1130:3: warning: implicit declaration of function 'SysError' [-Wimplicit-function-declaration] + 1130 | SysError(ERROR_BMALLOC2); + | ^~~~~~~~ +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 +load.c: In function 'xim_initLoad': +load.c:72:33: warning: embedded '\0' in format [-Wformat-contains-nul] + 72 | sprintf (buf, "curdir %s\0", flp->curdir); + | ^~ +load.c:74:34: warning: embedded '\0' in format [-Wformat-contains-nul] + 74 | sprintf (buf, "pattern %s\0", flp->pattern); + | ^~ +load.c:76:31: warning: embedded '\0' in format [-Wformat-contains-nul] + 76 | sprintf (buf, "gray %d\0", flp->gray); + | ^~ +load.c:78:33: warning: embedded '\0' in format [-Wformat-contains-nul] + 78 | sprintf (buf, "zscale %d\0", flp->zscale); + | ^~ +load.c:80:33: warning: embedded '\0' in format [-Wformat-contains-nul] + 80 | sprintf (buf, "zrange %d\0", flp->zrange); + | ^~ +load.c:82:29: warning: embedded '\0' in format [-Wformat-contains-nul] + 82 | sprintf (buf, "z1 %g\0", flp->z1); + | ^~ +load.c:84:29: warning: embedded '\0' in format [-Wformat-contains-nul] + 84 | sprintf (buf, "z2 %g\0", flp->z2); + | ^~ +load.c:86:34: warning: embedded '\0' in format [-Wformat-contains-nul] + 86 | sprintf (buf, "nsample %d\0", flp->nsample); + | ^~ +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 +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."); + | ^~ +gtermio.c: In function 'gio_processdata': +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:1407:43: warning: embedded '\0' in format [-Wformat-contains-nul] + 1407 | sprintf (txtbuf, "setValue {%s}\0", tx_buf); + | ^~ +load.c:208:15: warning: format '%d' expects argument of type 'int', but argument 3 has type 'unsigned char *' [-Wformat=] + 208 | "Load: pix=%d w=%d h=%d xnc=%d nc=%d pcm=%d z1=%g z2=%g\n", + | ~^ + | | + | int + | %hhn + 209 | pix, w, h, xim->ncolors, ncolors, has_private_cmap, z1, z2); + | ~~~ + | | + | unsigned char * +load.c:297:36: warning: embedded '\0' in format [-Wformat-contains-nul] + 297 | sprintf (buf, "%d %d %d\0", cf->width, cf->height, 8); + | ^~ +menu.c: In function 'do_logging': +menu.c:478:2: warning: implicit declaration of function 'CloseLog' [-Wimplicit-function-declaration] + 478 | CloseLog (screen); + | ^~~~~~~~ +screen.c:608:7: warning: implicit declaration of function 'SwitchBufPtrs' [-Wimplicit-function-declaration] + 608 | SwitchBufPtrs(screen); + | ^~~~~~~~~~~~~ +menu.c:480:2: warning: implicit declaration of function 'StartLog' [-Wimplicit-function-declaration] + 480 | StartLog (screen); + | ^~~~~~~~ +iis.c: In function 'xim_iisio': +iis.c:760:35: warning: too many arguments for format [-Wformat-extra-args] + 760 | fprintf (stderr, "write %d bytes at x=%d, y=%d\n", + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ charproc.c: In function 'VTparse': +menu.c: In function 'do_redraw': +menu.c:490:5: warning: implicit declaration of function 'Redraw' [-Wimplicit-function-declaration] + 490 | Redraw (); + | ^~~~~~ charproc.c:743:4: warning: implicit declaration of function 'Bell'; did you mean 'XBell'? [-Wimplicit-function-declaration] 743 | Bell(); | ^~~~ | XBell -iis.c: In function 'xim_iisio': -iis.c:760:35: warning: too many arguments for format [-Wformat-extra-args] - 760 | fprintf (stderr, "write %d bytes at x=%d, y=%d\n", - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +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_quit': +menu.c:556:5: warning: implicit declaration of function 'Cleanup'; did you mean 'SmsCleanUp'? [-Wimplicit-function-declaration] + 556 | Cleanup (0); + | ^~~~~~~ + | SmsCleanUp charproc.c:748:4: warning: implicit declaration of function 'CursorBack'; did you mean 'CursorX'? [-Wimplicit-function-declaration] 748 | CursorBack(screen, 1); | ^~~~~~~~~~ | CursorX -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 +screen.c:632:7: warning: implicit declaration of function 'ScrollSelection' [-Wimplicit-function-declaration] + 632 | ScrollSelection(screen, move_down_by); + | ^~~~~~~~~~~~~~~ +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); + | ^~~~~~~~~~~~~~~~~ +misc.c: In function 'xevents': +misc.c:77:17: warning: implicit declaration of function 'FlushScroll' [-Wimplicit-function-declaration] + 77 | FlushScroll(screen); + | ^~~~~~~~~~~ +menu.c: In function 'do_scrollbar': +menu.c:572:2: warning: implicit declaration of function 'ScrollBarOff' [-Wimplicit-function-declaration] + 572 | ScrollBarOff (screen); + | ^~~~~~~~~~~~ +iis.c:846:25: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] + 846 | write (2, text, strlen (text)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +screen.c:656:3: warning: implicit declaration of function 'ResizeScrollBar' [-Wimplicit-function-declaration] + 656 | ResizeScrollBar(screen->scrollWidget, width - + | ^~~~~~~~~~~~~~~ +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); | ^~~~~~~~~~~~~~ @@ -1852,149 +2147,476 @@ 766 | Index(screen, 1); | ^~~~~ | index -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 +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 +menu.c:574:2: warning: implicit declaration of function 'ScrollBarOn' [-Wimplicit-function-declaration] + 574 | ScrollBarOn (term, FALSE, FALSE); + | ^~~~~~~~~~~ +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:771:6: warning: implicit declaration of function 'xevents' [-Wimplicit-function-declaration] 771 | xevents(); | ^~~~~~~ -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:777:22: warning: implicit declaration of function 'TabNext' [-Wimplicit-function-declaration] 777 | screen->cur_col = TabNext(term->tabs, screen->cur_col); | ^~~~~~~ +screen.c:666:2: warning: implicit declaration of function 'ResizeSelection' [-Wimplicit-function-declaration] + 666 | ResizeSelection (screen, rows, cols); + | ^~~~~~~~~~~~~~~ +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); + | ^~~~~~~~~~~ +misc.c: In function 'HandleStringEvent': +misc.c:192:6: warning: implicit declaration of function 'StringInput' [-Wimplicit-function-declaration] + 192 | StringInput (screen, hexval, 1); + | ^~~~~~~~~~~ +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); | ^~~~~~~~~~ -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 +ism.c: In function 'ism_io': +ism.c:305:27: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long int' [-Wformat=] + 305 | printf("\nism_io: nread=%d pkt=%d count=%d n=%d\n",nread,pkt++,count,n); + | ~^ ~~~~~ + | | | + | int long int + | %ld +ism.c:305:34: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long int' [-Wformat=] + 305 | printf("\nism_io: nread=%d pkt=%d count=%d n=%d\n",nread,pkt++,count,n); + | ~^ ~~~~~ + | | | + | int long int + | %ld +In file included from ism.c:18: +ximtool.h:64:28: warning: format '%d' expects argument of type 'int', but argument 4 has type 'XtInputId' {aka 'long unsigned int'} [-Wformat=] + 64 | #define DEF_ISM_TEMPLATE "/tmp/.ISM%d_%d" /* ISM client socket template */ + | ^~~~~~~~~~~~~~~~ +ism.c:339:32: note: in expansion of macro 'DEF_ISM_TEMPLATE' + 339 | sprintf (path, DEF_ISM_TEMPLATE, getuid(), new_chan->id); + | ^~~~~~~~~~~~~~~~ +ximtool.h:64:42: note: format string is defined here + 64 | #define DEF_ISM_TEMPLATE "/tmp/.ISM%d_%d" /* ISM client socket template */ + | ~^ + | | + | int + | %ld +menu.c: In function 'do_softreset': +menu.c:729:5: warning: implicit declaration of function 'VTReset' [-Wimplicit-function-declaration] + 729 | VTReset (FALSE); + | ^~~~~~~ charproc.c:853:4: warning: implicit declaration of function 'CursorUp'; did you mean 'CursorX'? [-Wimplicit-function-declaration] 853 | CursorUp(screen, row); | ^~~~~~~~ | CursorX -button.c: In function 'ReHiliteText': -button.c:1080:7: warning: implicit declaration of function 'ScrnRefresh' [-Wimplicit-function-declaration] - 1080 | ScrnRefresh(screen, frow, fcol, 1, i, True); - | ^~~~~~~~~~~ -button.c: In function 'SaltTextAway': -button.c:1130:3: warning: implicit declaration of function 'SysError' [-Wimplicit-function-declaration] - 1130 | SysError(ERROR_BMALLOC2); - | ^~~~~~~~ +ism.c: In function 'ism_evaluate': +ism.c:552:20: warning: embedded '\0' in format [-Wformat-contains-nul] + 552 | sprintf (buf, "%s\0", command); + | ^~ +menu.c: In function 'do_hardreset': +menu.c:737:5: warning: implicit declaration of function 'gt_reset' [-Wimplicit-function-declaration] + 737 | gt_reset(); + | ^~~~~~~~ +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:861:4: warning: implicit declaration of function 'CursorDown'; did you mean 'CursorX'? [-Wimplicit-function-declaration] 861 | CursorDown(screen, row); | ^~~~~~~~~~ | CursorX -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); - | ^~ +misc.c: In function 'selectwindow': +main.c: In function 'DeleteWindow': +misc.c:294:6: warning: implicit declaration of function 'HideCursor'; did you mean 'BadCursor'? [-Wimplicit-function-declaration] + 294 | HideCursor(); + | ^~~~~~~~~~ + | BadCursor +main.c:989:7: warning: implicit declaration of function 'hide_vt_window' [-Wimplicit-function-declaration] + 989 | hide_vt_window(); + | ^~~~~~~~~~~~~~ +menu.c: In function 'do_clearsavedlines': +menu.c:749:5: warning: implicit declaration of function 'ScrollBarDrawThumb' [-Wimplicit-function-declaration] + 749 | ScrollBarDrawThumb(screen->scrollWidget); + | ^~~~~~~~~~~~~~~~~~ +misc.c:297:3: warning: implicit declaration of function 'ShowCursor'; did you mean 'XNCursor'? [-Wimplicit-function-declaration] + 297 | ShowCursor(); + | ^~~~~~~~~~ + | XNCursor charproc.c:869:4: warning: implicit declaration of function 'CursorForward' [-Wimplicit-function-declaration] 869 | CursorForward(screen, row); | ^~~~~~~~~~~~~ -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) { - | ^~~~~~~~~~~~~~~~~ +misc.c: At top level: +misc.c:660:1: warning: return type defaults to 'int' [-Wimplicit-int] + 660 | do_osc(func) + | ^~~~~~ charproc.c:887:4: warning: implicit declaration of function 'CursorSet'; did you mean 'CursorX'? [-Wimplicit-function-declaration] 887 | CursorSet(screen, row-1, col-1, term->flags); | ^~~~~~~~~ | CursorX +main.c:994:7: warning: implicit declaration of function 'hide_tek_window' [-Wimplicit-function-declaration] + 994 | hide_tek_window(); + | ^~~~~~~~~~~~~~~ +main.c: In function 'main': +main.c:1191:20: warning: passing argument 1 of 'XtSetErrorHandler' makes '__attribute__((noreturn))' qualified function pointer from unqualified [-Wdiscarded-qualifiers] + 1191 | XtSetErrorHandler(xt_error); + | ^~~~~~~~ +In file included from /usr/include/X11/IntrinsicP.h:51, + from ptyx.h:31, + from main.c:70: +/usr/include/X11/Intrinsic.h:1775:5: note: expected '__attribute__((noreturn)) void (*)(char *)' but argument is of type 'void (*)()' + 1775 | XtErrorHandler /* handler */ _X_NORETURN + | ^ +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 */ + | ^~~~~~~~~~~~ +misc.c: In function 'do_osc': +misc.c:685:3: warning: implicit declaration of function 'Changename' [-Wimplicit-function-declaration] + 685 | Changename(buf); + | ^~~~~~~~~~ charproc.c:905:5: warning: implicit declaration of function 'ClearBelow' [-Wimplicit-function-declaration] 905 | ClearBelow(screen); | ^~~~~~~~~~ +main.c:1419:2: warning: implicit declaration of function 'get_terminal'; did you mean 'get_termcap'? [-Wimplicit-function-declaration] + 1419 | get_terminal (); + | ^~~~~~~~~~~~ + | get_termcap +misc.c:686:3: warning: implicit declaration of function 'Changetitle' [-Wimplicit-function-declaration] + 686 | Changetitle(buf); + | ^~~~~~~~~~~ charproc.c:909:5: warning: implicit declaration of function 'ClearAbove' [-Wimplicit-function-declaration] 909 | ClearAbove(screen); | ^~~~~~~~~~ +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) + | ^~~~~~~~~~~~~~~ +main.c:1420:2: warning: implicit declaration of function 'spawn' [-Wimplicit-function-declaration] + 1420 | spawn (); + | ^~~~~ +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 +misc.c:728:3: warning: implicit declaration of function 'SetVTFont'; did you mean 'XSetFont'? [-Wimplicit-function-declaration] + 728 | SetVTFont (fontMenu_fontescape, True, buf, NULL); + | ^~~~~~~~~ + | XSetFont +misc.c: At top level: +misc.c:738:8: warning: return type defaults to 'int' [-Wimplicit-int] + 738 | static ChangeGroup(attribute, value) + | ^~~~~~~~~~~ +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) + | ^~~~~~~~~~~ +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:913:5: warning: implicit declaration of function 'ClearScreen' [-Wimplicit-function-declaration] 913 | ClearScreen(screen); | ^~~~~~~~~~~ -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/i386-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 ()); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +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 +main.c:1435:2: warning: implicit declaration of function 'init_ttyio' [-Wimplicit-function-declaration] + 1435 | init_ttyio (pty); + | ^~~~~~~~~~ +menu.c: In function 'do_vthide': charproc.c:925:5: warning: implicit declaration of function 'ClearRight' [-Wimplicit-function-declaration] 925 | ClearRight(screen); | ^~~~~~~~~~ +menu.c:806:5: warning: implicit declaration of function 'hide_vt_window' [-Wimplicit-function-declaration] + 806 | hide_vt_window(); + | ^~~~~~~~~~~~~~ +main.c:1439:6: warning: implicit declaration of function 'gio_setup' [-Wimplicit-function-declaration] + 1439 | gio_setup (app_con, argc, argv, 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); + | ^~~~~~~~~ + | XSetFont charproc.c:928:5: warning: implicit declaration of function 'ClearLeft' [-Wimplicit-function-declaration] 928 | ClearLeft(screen); | ^~~~~~~~~ +misc.c: In function 'ChangeColorsRequest': +misc.c:933:5: warning: implicit declaration of function 'ChangeColors' [-Wimplicit-function-declaration] + 933 | ChangeColors(pTerm,&newColors); + | ^~~~~~~~~~~~ +misc.c: At top level: +misc.c:945:1: warning: return type defaults to 'int' [-Wimplicit-int] + 945 | Panic(s, a) + | ^~~~~ +scrollbar.c:292:2: warning: implicit declaration of function 'scrolling_copy_area' [-Wimplicit-function-declaration] + 292 | scrolling_copy_area(screen, scrolltop, scrollheight, -i); + | ^~~~~~~~~~~~~~~~~~~ +misc.c:971:1: warning: return type defaults to 'int' [-Wimplicit-int] + 971 | SysError (i) + | ^~~~~~~~ +menu.c: In function 'do_tekpage': +menu.c:840:5: warning: implicit declaration of function 'gt_clear' [-Wimplicit-function-declaration] + 840 | gt_clear(); + | ^~~~~~~~ charproc.c:931:5: warning: implicit declaration of function 'ClearLine' [-Wimplicit-function-declaration] 931 | ClearLine(screen); | ^~~~~~~~~ +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); + | ^~~~~~~ + | SmsCleanUp +misc.c: At top level: +misc.c:983:1: warning: return type defaults to 'int' [-Wimplicit-int] + 983 | Error (i) + | ^~~~~ +misc.c:994:1: warning: return type defaults to 'int' [-Wimplicit-int] + 994 | Cleanup (code) + | ^~~~~~~ +misc.c: In function 'Cleanup': +misc.c:1004:2: warning: implicit declaration of function 'Exit'; did you mean 'exit'? [-Wimplicit-function-declaration] + 1004 | Exit (code); + | ^~~~ + | exit +misc.c: At top level: +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) + | ^~~~~~~ +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); | ^~~~~~~~~~ +scrollbar.c:295:2: warning: implicit declaration of function 'ScrollSelection' [-Wimplicit-function-declaration] + 295 | ScrollSelection(screen, i); + | ^~~~~~~~~~~~~~~ +misc.c: In function 'set_vt_visibility': +misc.c:1183:13: warning: implicit declaration of function 'VTInit' [-Wimplicit-function-declaration] + 1183 | VTInit (); + | ^~~~~~ +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: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); | ^~~~~~~~~~ +main.c:1485:3: warning: implicit declaration of function 'Error'; did you mean 'xerror'? [-Wimplicit-function-declaration] + 1485 | Error(); + | ^~~~~ + | xerror +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 +main.c:1509:6: warning: implicit declaration of function 'VTRun' [-Wimplicit-function-declaration] + 1509 | VTRun(); + | ^~~~~ +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 +scrollbar.c:350:8: warning: implicit declaration of function 'Error'; did you mean 'perror'? [-Wimplicit-function-declaration] + 350 | Error (ERROR_SBRALLOC); + | ^~~~~ + | perror +misc.c: In function 'gtermio_connect': +main.c: In function 'get_pty': +misc.c:1320:6: warning: implicit declaration of function 'init_menu' [-Wimplicit-function-declaration] + 1320 | init_menu ("tekMenu"); + | ^~~~~~~~~ +main.c:1622:17: warning: implicit declaration of function 'getpt'; did you mean 'getopt'? [-Wimplicit-function-declaration] + 1622 | if ((*pty = getpt()) >= 0) { + | ^~~~~ + | getopt +misc.c: In function 'set_workstation_state': +misc.c:1329:1: warning: type of 'state' defaults to 'int' [-Wimplicit-int] + 1329 | set_workstation_state (state) + | ^~~~~~~~~~~~~~~~~~~~~ +main.c: At top level: charproc.c:957:4: warning: implicit declaration of function 'DeleteChar' [-Wimplicit-function-declaration] 957 | DeleteChar(screen, row); | ^~~~~~~~~~ +main.c:1911:1: warning: return type defaults to 'int' [-Wimplicit-int] + 1911 | get_terminal () + | ^~~~~~~~~~~~ +scrollbar.c:382:6: warning: implicit declaration of function 'Redraw' [-Wimplicit-function-declaration] + 382 | Redraw (); + | ^~~~~~ +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; + | ^~~~ +main.c:2178:1: warning: return type defaults to 'int' [-Wimplicit-int] + 2178 | spawn(void) + | ^~~~~ +main.c: In function 'spawn': +misc.c: In function 'creat_as': charproc.c:981:5: warning: implicit declaration of function 'unparseseq' [-Wimplicit-function-declaration] 981 | unparseseq(&reply, screen->respond); | ^~~~~~~~~~ +misc.c:472:2: warning: ignoring return value of 'setgid' declared with attribute 'warn_unused_result' [-Wunused-result] + 472 | setgid(gid); + | ^~~~~~~~~~~ +misc.c:473:2: warning: ignoring return value of 'setuid' declared with attribute 'warn_unused_result' [-Wunused-result] + 473 | setuid(uid); + | ^~~~~~~~~~~ +main.c:2333:3: warning: implicit declaration of function 'SysError'; did you mean 'HsSysError'? [-Wimplicit-function-declaration] + 2333 | SysError(ERROR_OPDEVTTY); + | ^~~~~~~~ + | HsSysError +misc.c: In function 'StartLog': +misc.c:532:3: warning: ignoring return value of 'mkstemp' declared with attribute 'warn_unused_result' [-Wunused-result] + 532 | mkstemp(log_default); + | ^~~~~~~~~~~~~~~~~~~~ charproc.c:989:5: warning: implicit declaration of function 'TabClear' [-Wimplicit-function-declaration] 989 | TabClear(term->tabs, screen->cur_col); | ^~~~~~~~ +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: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 -DOSI_COMPLIANT -Wdate-time -D_FORTIFY_SOURCE=2 -c -o logo.o logo.c +main.c:2573:3: warning: implicit declaration of function 'grantpt' [-Wimplicit-function-declaration] + 2573 | grantpt(screen->respond); + | ^~~~~~~ +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); | ^~~~~~~~~~ charproc.c:1098:8: warning: implicit declaration of function 'FlushScroll' [-Wimplicit-function-declaration] 1098 | FlushScroll(screen); | ^~~~~~~~~~~ +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/i386-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:1216:4: warning: implicit declaration of function 'dpmodes' [-Wimplicit-function-declaration] 1216 | dpmodes(term, bitset); | ^~~~~~~ +main.c:3494:3: warning: implicit declaration of function 'remove_termcap_entry' [-Wimplicit-function-declaration] + 3494 | remove_termcap_entry(newtc, "ti="); + | ^~~~~~~~~~~~~~~~~~~~ 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 tabs.o tabs.c +main.c: In function 'Exit': 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:5056:3: warning: implicit declaration of function 'CloseLog' [-Wimplicit-function-declaration] + 5056 | CloseLog(screen); + | ^~~~~~~~ +main.c: In function 'reapchild': +main.c:5166:6: warning: implicit declaration of function 'Cleanup' [-Wimplicit-function-declaration] + 5166 | Cleanup (0); + | ^~~~~~~ charproc.c:1254:4: warning: implicit declaration of function 'CursorRestore' [-Wimplicit-function-declaration] 1254 | CursorRestore(term, &screen->sc); | ^~~~~~~~~~~~~ +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:1294:4: warning: implicit declaration of function 'TabSet' [-Wimplicit-function-declaration] 1294 | TabSet(term->tabs, screen->cur_col); | ^~~~~~ +main.c: In function 'HsSysError': charproc.c:1300:4: warning: implicit declaration of function 'RevIndex' [-Wimplicit-function-declaration] 1300 | RevIndex(screen, 1); | ^~~~~~~~ +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)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +main.c: In function 'first_map_occurred': +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:1325:4: warning: implicit declaration of function 'do_osc' [-Wimplicit-function-declaration] 1325 | do_osc(finput); | ^~~~~~ +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); + | ^~~~~~~~~~~~~~~~~~~ +main.c:2271:2: warning: ignoring return value of 'setuid' declared with attribute 'warn_unused_result' [-Wunused-result] + 2271 | setuid(screen->uid); + | ^~~~~~~~~~~~~~~~~~~ +main.c:3145:11: warning: ignoring return value of 'dup' declared with attribute 'warn_unused_result' [-Wunused-result] + 3145 | (void) dup(tty); + | ^~~~~~~~ charproc.c:1331:4: warning: implicit declaration of function 'VTReset' [-Wimplicit-function-declaration] 1331 | VTReset(TRUE); | ^~~~~~~ +main.c:3415:13: warning: ignoring return value of 'setgid' declared with attribute 'warn_unused_result' [-Wunused-result] + 3415 | (void) setgid(screen->gid); + | ^~~~~~~~~~~~~~~~~~~ +main.c: In function 'Exit': +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 +main.c:5061:3: warning: ignoring return value of 'chown' declared with attribute 'warn_unused_result' [-Wunused-result] + 5061 | chown (ttydev, 0, 0); + | ^~~~~~~~~~~~~~~~~~~~ charproc.c:1366:4: warning: implicit declaration of function 'savemodes' [-Wimplicit-function-declaration] 1366 | savemodes(term); | ^~~~~~~~~ +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:1371:4: warning: implicit declaration of function 'restoremodes' [-Wimplicit-function-declaration] 1371 | restoremodes(term); | ^~~~~~~~~~~~ @@ -2027,6 +2649,9 @@ 1663 | bcnt = gt_input (bptr, bcnt); | ^~~~~~~~ | finput +tabs.c:40:1: warning: return type defaults to 'int' [-Wimplicit-int] + 40 | TabReset(tabs) + | ^~~~~~~~ charproc.c:1682:6: warning: implicit declaration of function 'WindowScroll' [-Wimplicit-function-declaration] 1682 | WindowScroll(screen, 0); /* Scroll to bottom */ | ^~~~~~~~~~~~ @@ -2034,6 +2659,30 @@ charproc.c:1704:1: warning: return type defaults to 'int' [-Wimplicit-int] 1704 | init_ttyio (pty) | ^~~~~~~~~~ +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) + | ^~~~~~~ charproc.c: In function 'WriteText': charproc.c:1840:15: warning: implicit declaration of function 'AddToRefresh' [-Wimplicit-function-declaration] 1840 | if (!(AddToRefresh(screen))) { @@ -2059,10 +2708,17 @@ charproc.c:2010:5: warning: implicit declaration of function 'switch_modes' [-Wimplicit-function-declaration] 2010 | switch_modes (0); | ^~~~~~~~~~~~ +util.c: In function 'FlushScroll': +util.c:82:5: warning: implicit declaration of function 'ScrollBarDrawThumb' [-Wimplicit-function-declaration] + 82 | ScrollBarDrawThumb(screen->scrollWidget); + | ^~~~~~~~~~~~~~~~~~ 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: +util.c:113:2: warning: implicit declaration of function 'ScrollSelection' [-Wimplicit-function-declaration] + 113 | ScrollSelection(screen, -(screen->scroll_amt)); + | ^~~~~~~~~~~~~~~ charproc.c:2078:1: warning: return type defaults to 'int' [-Wimplicit-int] 2078 | savemodes(termw) | ^~~~~~~~~ @@ -2072,10 +2728,18 @@ charproc.c:2292:1: warning: return type defaults to 'int' [-Wimplicit-int] 2292 | unparseseq(ap, fd) | ^~~~~~~~~~ +util.c:127:3: warning: implicit declaration of function 'ScrnRefresh' [-Wimplicit-function-declaration] + 127 | ScrnRefresh(screen, refreshtop, 0, refreshheight, + | ^~~~~~~~~~~ charproc.c: In function 'unparseseq': charproc.c:2302:3: warning: implicit declaration of function 'unparseputc' [-Wimplicit-function-declaration] 2302 | unparseputc(ESC, fd); | ^~~~~~~~~~~ +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 charproc.c:2313:4: warning: implicit declaration of function 'unparseputn' [-Wimplicit-function-declaration] 2313 | unparseputn((unsigned int) ap->a_param[i], fd); | ^~~~~~~~~~~ @@ -2094,11 +2758,20 @@ charproc.c:2352:1: warning: return type defaults to 'int' [-Wimplicit-int] 2352 | unparsefputs (s, fd) | ^~~~~~~~~~~~ +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 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 +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, + | ^~~~~~~~~~~~~~ charproc.c:2400:2: warning: implicit declaration of function 'TrackText' [-Wimplicit-function-declaration] 2400 | TrackText(0, 0, 0, 0); /* remove any highlighting */ | ^~~~~~~~~ @@ -2109,11 +2782,24 @@ charproc.c:2446:1: warning: return type defaults to 'int' [-Wimplicit-int] 2446 | VTRun() | ^~~~~ +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 +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 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); | ^~~~~~~~~~~~~~~~~ -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 +util.c: In function 'ClearAbove': +util.c:601:2: warning: implicit declaration of function 'ClearBufRows' [-Wimplicit-function-declaration] + 601 | ClearBufRows(screen, 0, screen->cur_row - 1); + | ^~~~~~~~~~~~ In file included from 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)); } @@ -2124,6 +2810,10 @@ charproc.c:2459:2: note: in expansion of macro 'update_vttekmode' 2459 | update_vttekmode(); | ^~~~~~~~~~~~~~~~ +util.c: In function 'CopyWait': +util.c:770:4: warning: implicit declaration of function 'HandleExposure' [-Wimplicit-function-declaration] + 770 | HandleExposure (screen, &reply); + | ^~~~~~~~~~~~~~ menu.h:267:7: warning: implicit declaration of function 'gt_activated' [-Wimplicit-function-declaration] 267 | gt_activated()) | ^~~~~~~~~~~~ @@ -2133,15 +2823,28 @@ charproc.c:2461:2: note: in expansion of macro 'update_tekshow' 2461 | update_tekshow(); | ^~~~~~~~~~~~~~ +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, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~ charproc.c: In function 'VTExpose': charproc.c:2498:3: warning: implicit declaration of function 'HandleExposure'; did you mean 'HandleSecure'? [-Wimplicit-function-declaration] 2498 | HandleExposure (screen, event); | ^~~~~~~~~~~~~~ | HandleSecure +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 +util.c: In function 'ReverseVideo': +util.c:1026:3: warning: implicit declaration of function 'ScrollBarReverseVideo' [-Wimplicit-function-declaration] + 1026 | ScrollBarReverseVideo(screen->scrollWidget); + | ^~~~~~~~~~~~~~~~~~~~~ charproc.c: In function 'VTInitialize': charproc.c:2688:4: warning: implicit declaration of function 'set_character_class' [-Wimplicit-function-declaration] 2688 | set_character_class (new->screen.charClass); | ^~~~~~~~~~~~~~~~~~~ +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); + | ^~~~~~~~~~~~~~ charproc.c:2691:4: warning: implicit declaration of function 'ScrollBarOn' [-Wimplicit-function-declaration] 2691 | ScrollBarOn (new, TRUE, FALSE); | ^~~~~~~~~~~ @@ -2179,12 +2882,24 @@ charproc.c:3402:17: warning: implicit declaration of function 'SetCharacterClassRange' [-Wimplicit-function-declaration] 3402 | } else if (SetCharacterClassRange (low, high, acc) != 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 quant.o quant.c +print.c: In function 'ximp_rename': +print.c:205:29: warning: format '%d' expects argument of type 'int', but argument 3 has type '__off_t' {aka 'long int'} [-Wformat=] + 205 | sprintf (text, "Wrote %d bytes to %s", fs.st_size, new); + | ~^ ~~~~~~~~~~ + | | | + | int __off_t {aka long int} + | %ld +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 'HandleVisualBell': charproc.c:3487:5: warning: implicit declaration of function 'VisualBell'; did you mean 'XtCVisualBell'? [-Wimplicit-function-declaration] 3487 | VisualBell(); | ^~~~~~~~~~ | XtCVisualBell -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 +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 */ + | ^~~~~~~~~~~~~ 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 */ @@ -2202,703 +2917,10 @@ charproc.c:3815:1: warning: return type defaults to 'int' [-Wimplicit-int] 3815 | set_cursor_gcs (screen) | ^~~~~~~~~~~~~~ -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: In function 'do_read': charproc.c:1649:2: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 1649 | write (screen->logfd, buffer, bcnt); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -main.c: In function 'DeleteWindow': -main.c:989:7: warning: implicit declaration of function 'hide_vt_window' [-Wimplicit-function-declaration] - 989 | hide_vt_window(); - | ^~~~~~~~~~~~~~ -main.c:994:7: warning: implicit declaration of function 'hide_tek_window' [-Wimplicit-function-declaration] - 994 | hide_tek_window(); - | ^~~~~~~~~~~~~~~ -main.c: In function 'main': -main.c:1191:20: warning: passing argument 1 of 'XtSetErrorHandler' makes '__attribute__((noreturn))' qualified function pointer from unqualified [-Wdiscarded-qualifiers] - 1191 | XtSetErrorHandler(xt_error); - | ^~~~~~~~ -In file included from /usr/include/X11/IntrinsicP.h:51, - from ptyx.h:31, - from main.c:70: -/usr/include/X11/Intrinsic.h:1775:5: note: expected '__attribute__((noreturn)) void (*)(char *)' but argument is of type 'void (*)()' - 1775 | XtErrorHandler /* handler */ _X_NORETURN - | ^ -main.c:1419:2: warning: implicit declaration of function 'get_terminal'; did you mean 'get_termcap'? [-Wimplicit-function-declaration] - 1419 | get_terminal (); - | ^~~~~~~~~~~~ - | get_termcap -main.c:1420:2: warning: implicit declaration of function 'spawn' [-Wimplicit-function-declaration] - 1420 | spawn (); - | ^~~~~ -main.c:1435:2: warning: implicit declaration of function 'init_ttyio' [-Wimplicit-function-declaration] - 1435 | init_ttyio (pty); - | ^~~~~~~~~~ -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); - | ^~~~~~~~~~~~~~~~~~~~~~~ -main.c:1460:3: warning: implicit declaration of function 'StartLog' [-Wimplicit-function-declaration] - 1460 | StartLog(screen); - | ^~~~~~~~ -main.c:1485:3: warning: implicit declaration of function 'Error'; did you mean 'xerror'? [-Wimplicit-function-declaration] - 1485 | Error(); - | ^~~~~ - | xerror -main.c:1509:6: warning: implicit declaration of function 'VTRun' [-Wimplicit-function-declaration] - 1509 | VTRun(); - | ^~~~~ -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: 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 -main.c: At top level: -main.c:1911:1: warning: return type defaults to 'int' [-Wimplicit-int] - 1911 | get_terminal () - | ^~~~~~~~~~~~ -menu.c: At top level: -menu.c:371:1: warning: return type defaults to 'int' [-Wimplicit-int] - 371 | init_menu (menu) - | ^~~~~~~~~ -main.c:2178:1: warning: return type defaults to 'int' [-Wimplicit-int] - 2178 | spawn(void) - | ^~~~~ -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 -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 -menu.c: In function 'do_logging': -menu.c:478:2: warning: implicit declaration of function 'CloseLog' [-Wimplicit-function-declaration] - 478 | CloseLog (screen); - | ^~~~~~~~ -menu.c:480:2: warning: implicit declaration of function 'StartLog' [-Wimplicit-function-declaration] - 480 | StartLog (screen); - | ^~~~~~~~ -main.c:2430:5: warning: implicit declaration of function 'VTInit' [-Wimplicit-function-declaration] - 2430 | VTInit(); /* realize now so know window size for tty driver */ - | ^~~~~~ -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 -main.c:2573:3: warning: implicit declaration of function 'grantpt' [-Wimplicit-function-declaration] - 2573 | grantpt(screen->respond); - | ^~~~~~~ -main.c:2574:3: warning: implicit declaration of function 'unlockpt' [-Wimplicit-function-declaration] - 2574 | unlockpt(screen->respond); - | ^~~~~~~~ -menu.c: In function 'do_scrollbar': -menu.c:572:2: warning: implicit declaration of function 'ScrollBarOff' [-Wimplicit-function-declaration] - 572 | ScrollBarOff (screen); - | ^~~~~~~~~~~~ -cc -g -O2 -fdebug-prefix-map=/build/x11iraf-2.0+2020.06.15+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -I../obm -DALLOWLOGGING -Wdate-time -D_FORTIFY_SOURCE=2 -c -o misc.o misc.c -menu.c:574:2: warning: implicit declaration of function 'ScrollBarOn' [-Wimplicit-function-declaration] - 574 | ScrollBarOn (term, FALSE, FALSE); - | ^~~~~~~~~~~ -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); - | ^~~~~~~~~~~ -main.c:3494:3: warning: implicit declaration of function 'remove_termcap_entry' [-Wimplicit-function-declaration] - 3494 | remove_termcap_entry(newtc, "ti="); - | ^~~~~~~~~~~~~~~~~~~~ -menu.c: In function 'do_softreset': -menu.c:729:5: warning: implicit declaration of function 'VTReset' [-Wimplicit-function-declaration] - 729 | VTReset (FALSE); - | ^~~~~~~ -menu.c: In function 'do_hardreset': -menu.c:737:5: warning: implicit declaration of function 'gt_reset' [-Wimplicit-function-declaration] - 737 | gt_reset(); - | ^~~~~~~~ -main.c: In function 'Exit': -main.c:5056:3: warning: implicit declaration of function 'CloseLog' [-Wimplicit-function-declaration] - 5056 | CloseLog(screen); - | ^~~~~~~~ -menu.c: In function 'do_clearsavedlines': -menu.c:749:5: warning: implicit declaration of function 'ScrollBarDrawThumb' [-Wimplicit-function-declaration] - 749 | ScrollBarDrawThumb(screen->scrollWidget); - | ^~~~~~~~~~~~~~~~~~ -main.c: In function 'reapchild': -main.c:5166:6: warning: implicit declaration of function 'Cleanup' [-Wimplicit-function-declaration] - 5166 | Cleanup (0); - | ^~~~~~~ -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)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -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 '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)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -main.c: In function 'first_map_occurred': -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)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -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); - | ^~~~~~~~~~~~~~~~~~~ -menu.c: In function 'handle_tekshow': -main.c:2271:2: warning: ignoring return value of 'setuid' declared with attribute 'warn_unused_result' [-Wunused-result] - 2271 | setuid(screen->uid); - | ^~~~~~~~~~~~~~~~~~~ -menu.c:777:9: warning: implicit declaration of function 'set_tek_visibility' [-Wimplicit-function-declaration] - 777 | set_tek_visibility (TRUE); - | ^~~~~~~~~~~~~~~~~~ -main.c:3145:11: warning: ignoring return value of 'dup' declared with attribute 'warn_unused_result' [-Wunused-result] - 3145 | (void) dup(tty); - | ^~~~~~~~ -menu.c:781:2: warning: implicit declaration of function 'Bell'; did you mean 'XBell'? [-Wimplicit-function-declaration] - 781 | Bell(); - | ^~~~ - | XBell -main.c:3415:13: warning: ignoring return value of 'setgid' declared with attribute 'warn_unused_result' [-Wunused-result] - 3415 | (void) setgid(screen->gid); - | ^~~~~~~~~~~~~~~~~~~ -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); - | ^~~~~~~~~~~~~~~~~~~~ -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(); - | ^~~~~~~~~~~~~~ -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 -menu.c: In function 'do_tekpage': -menu.c:840:5: warning: implicit declaration of function 'gt_clear' [-Wimplicit-function-declaration] - 840 | gt_clear(); - | ^~~~~~~~ -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); - | ^~~~~~~~~~~~~~~~~ -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/i386-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/i386-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 ()); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -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 -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 -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); - | ^~~~~ -misc.c: In function 'HandleStringEvent': -misc.c:192:6: warning: implicit declaration of function 'StringInput' [-Wimplicit-function-declaration] - 192 | StringInput (screen, hexval, 1); - | ^~~~~~~~~~~ -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 -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 -misc.c:297:3: warning: implicit declaration of function 'ShowCursor'; did you mean 'XNCursor'? [-Wimplicit-function-declaration] - 297 | ShowCursor(); - | ^~~~~~~~~~ - | XNCursor -misc.c: At top level: -misc.c:660:1: warning: return type defaults to 'int' [-Wimplicit-int] - 660 | do_osc(func) - | ^~~~~~ -misc.c: In function 'do_osc': -misc.c:685:3: warning: implicit declaration of function 'Changename' [-Wimplicit-function-declaration] - 685 | Changename(buf); - | ^~~~~~~~~~ -misc.c:686:3: warning: implicit declaration of function 'Changetitle' [-Wimplicit-function-declaration] - 686 | Changetitle(buf); - | ^~~~~~~~~~~ -misc.c:728:3: warning: implicit declaration of function 'SetVTFont'; did you mean 'XSetFont'? [-Wimplicit-function-declaration] - 728 | SetVTFont (fontMenu_fontescape, True, buf, NULL); - | ^~~~~~~~~ - | XSetFont -misc.c: At top level: -misc.c:738:8: warning: return type defaults to 'int' [-Wimplicit-int] - 738 | static ChangeGroup(attribute, value) - | ^~~~~~~~~~~ -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) - | ^~~~~~~~~~~ -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 -misc.c: In function 'ChangeColorsRequest': -misc.c:933:5: warning: implicit declaration of function 'ChangeColors' [-Wimplicit-function-declaration] - 933 | ChangeColors(pTerm,&newColors); - | ^~~~~~~~~~~~ -misc.c: At top level: -misc.c:945:1: warning: return type defaults to 'int' [-Wimplicit-int] - 945 | Panic(s, a) - | ^~~~~ -misc.c:971:1: warning: return type defaults to 'int' [-Wimplicit-int] - 971 | SysError (i) - | ^~~~~~~~ -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); - | ^~~~~~~ - | SmsCleanUp -misc.c: At top level: -misc.c:983:1: warning: return type defaults to 'int' [-Wimplicit-int] - 983 | Error (i) - | ^~~~~ -misc.c:994:1: warning: return type defaults to 'int' [-Wimplicit-int] - 994 | Cleanup (code) - | ^~~~~~~ -misc.c: In function 'Cleanup': -misc.c:1004:2: warning: implicit declaration of function 'Exit'; did you mean 'exit'? [-Wimplicit-function-declaration] - 1004 | Exit (code); - | ^~~~ - | exit -misc.c: At top level: -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) - | ^~~~~~~ -misc.c: In function 'set_vt_visibility': -misc.c:1183:13: warning: implicit declaration of function 'VTInit' [-Wimplicit-function-declaration] - 1183 | VTInit (); - | ^~~~~~ -misc.c: In function 'gtermio_connect': -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': -misc.c:1329:1: warning: type of 'state' defaults to 'int' [-Wimplicit-int] - 1329 | set_workstation_state (state) - | ^~~~~~~~~~~~~~~~~~~~~ -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); - | ^~~~~~~~~~~ -misc.c:473:2: warning: ignoring return value of 'setuid' declared with attribute 'warn_unused_result' [-Wunused-result] - 473 | setuid(uid); - | ^~~~~~~~~~~ -misc.c: In function 'StartLog': -misc.c:532:3: warning: ignoring return value of 'mkstemp' declared with attribute 'warn_unused_result' [-Wunused-result] - 532 | mkstemp(log_default); - | ^~~~~~~~~~~~~~~~~~~~ -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 -irafio.c: In function 'loadIRAF': -irafio.c:128:13: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] - 128 | fread ((char *)header_v1, sizeof (char), SZ_V1HDR, hdr); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -irafio.c:156:13: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] - 156 | fread ((char *)header_v2, sizeof (char), SZ_V2HDR, hdr); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -irafio.c: In function 'irafReadPixels': -irafio.c:428:17: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] - 428 | fread ((char *)usline, sizeof (unsigned short), px, fd); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -irafio.c:457:17: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] - 457 | fread ((char *)sline, sizeof (short), px, fd); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -irafio.c:487:17: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] - 487 | fread ((char *)iline, sizeof (int), px, fd); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -irafio.c:516:17: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] - 516 | fread ((char *)fline, sizeof (float), px, fd); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -irafio.c:546:17: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] - 546 | fread ((char *)dline, sizeof (double), px, fd); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -irafio.c: In function 'isIRAF': -irafio.c:224:13: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] - 224 | fread ((char *)magic, sizeof (char), 12, fp); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -irafio.c: In function 'getIRAFHdr': -irafio.c:266:13: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] - 266 | fread ((char *)header_v1, sizeof (char), SZ_V1HDR, hdr); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -irafio.c:285:13: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] - 285 | fread ((char *)header_v2, sizeof (char), SZ_V2HDR, hdr); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -cc -g -O2 -fdebug-prefix-map=/build/x11iraf-2.0+2020.06.15+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -I../obm -DOSI_COMPLIANT -Wdate-time -D_FORTIFY_SOURCE=2 -c -o ism.o ism.c -ism.c: In function 'ism_io': -ism.c:305:27: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long int' [-Wformat=] - 305 | printf("\nism_io: nread=%d pkt=%d count=%d n=%d\n",nread,pkt++,count,n); - | ~^ ~~~~~ - | | | - | int long int - | %ld -ism.c:305:34: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long int' [-Wformat=] - 305 | printf("\nism_io: nread=%d pkt=%d count=%d n=%d\n",nread,pkt++,count,n); - | ~^ ~~~~~ - | | | - | int long int - | %ld -In file included from ism.c:18: -ximtool.h:64:28: warning: format '%d' expects argument of type 'int', but argument 4 has type 'XtInputId' {aka 'long unsigned int'} [-Wformat=] - 64 | #define DEF_ISM_TEMPLATE "/tmp/.ISM%d_%d" /* ISM client socket template */ - | ^~~~~~~~~~~~~~~~ -ism.c:339:32: note: in expansion of macro 'DEF_ISM_TEMPLATE' - 339 | sprintf (path, DEF_ISM_TEMPLATE, getuid(), new_chan->id); - | ^~~~~~~~~~~~~~~~ -ximtool.h:64:42: note: format string is defined here - 64 | #define DEF_ISM_TEMPLATE "/tmp/.ISM%d_%d" /* ISM client socket template */ - | ~^ - | | - | int - | %ld -ism.c: In function 'ism_evaluate': -ism.c:552:20: warning: embedded '\0' in format [-Wformat-contains-nul] - 552 | sprintf (buf, "%s\0", command); - | ^~ -cc -g -O2 -fdebug-prefix-map=/build/x11iraf-2.0+2020.06.15+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -I../obm -DALLOWLOGGING -Wdate-time -D_FORTIFY_SOURCE=2 -c -o screen.o screen.c -screen.c: In function 'Allocate': -screen.c:72:3: warning: implicit declaration of function 'SysError' [-Wimplicit-function-declaration] - 72 | SysError (ERROR_SCALLOC); - | ^~~~~~~~ -screen.c: At top level: -screen.c:90:1: warning: return type defaults to 'int' [-Wimplicit-int] - 90 | Reallocate(sbuf, sbufaddr, nrow, ncol, oldrow, oldcol) - | ^~~~~~~~~~ -screen.c:206:1: warning: return type defaults to 'int' [-Wimplicit-int] - 206 | ScrnInsertLine (sb, last, where, n, size) - | ^~~~~~~~~~~~~~ -screen.c:246:1: warning: return type defaults to 'int' [-Wimplicit-int] - 246 | ScrnDeleteLine (sb, last, where, n, size) - | ^~~~~~~~~~~~~~ -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) - | ^~~~~~~~~~~~~~ -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); - | ^~~~~~ -screen.c: At top level: -screen.c:328:1: warning: return type defaults to 'int' [-Wimplicit-int] - 328 | ScrnRefresh (screen, toprow, leftcol, nrows, ncols, force) - | ^~~~~~~~~~~ -screen.c:528:1: warning: return type defaults to 'int' [-Wimplicit-int] - 528 | ClearBufRows (screen, first, last) - | ^~~~~~~~~~~~ -screen.c:558:1: warning: return type defaults to 'int' [-Wimplicit-int] - 558 | ScreenResize (screen, width, height, flags) - | ^~~~~~~~~~~~ -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 -screen.c:608:7: warning: implicit declaration of function 'SwitchBufPtrs' [-Wimplicit-function-declaration] - 608 | SwitchBufPtrs(screen); - | ^~~~~~~~~~~~~ -screen.c:632:7: warning: implicit declaration of function 'ScrollSelection' [-Wimplicit-function-declaration] - 632 | ScrollSelection(screen, move_down_by); - | ^~~~~~~~~~~~~~~ -screen.c:656:3: warning: implicit declaration of function 'ResizeScrollBar' [-Wimplicit-function-declaration] - 656 | ResizeScrollBar(screen->scrollWidget, width - - | ^~~~~~~~~~~~~~~ -screen.c:666:2: warning: implicit declaration of function 'ResizeSelection' [-Wimplicit-function-declaration] - 666 | ResizeSelection (screen, rows, cols); - | ^~~~~~~~~~~~~~~ -cc -g -O2 -fdebug-prefix-map=/build/x11iraf-2.0+2020.06.15+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -I../obm -DOSI_COMPLIANT -Wdate-time -D_FORTIFY_SOURCE=2 -c -o ism_wcspix.o ism_wcspix.c -cc -g -O2 -fdebug-prefix-map=/build/x11iraf-2.0+2020.06.15+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -I../obm -DOSI_COMPLIANT -Wdate-time -D_FORTIFY_SOURCE=2 -c -o load.o load.c -load.c: In function 'xim_initLoad': -load.c:72:33: warning: embedded '\0' in format [-Wformat-contains-nul] - 72 | sprintf (buf, "curdir %s\0", flp->curdir); - | ^~ -load.c:74:34: warning: embedded '\0' in format [-Wformat-contains-nul] - 74 | sprintf (buf, "pattern %s\0", flp->pattern); - | ^~ -load.c:76:31: warning: embedded '\0' in format [-Wformat-contains-nul] - 76 | sprintf (buf, "gray %d\0", flp->gray); - | ^~ -load.c:78:33: warning: embedded '\0' in format [-Wformat-contains-nul] - 78 | sprintf (buf, "zscale %d\0", flp->zscale); - | ^~ -load.c:80:33: warning: embedded '\0' in format [-Wformat-contains-nul] - 80 | sprintf (buf, "zrange %d\0", flp->zrange); - | ^~ -load.c:82:29: warning: embedded '\0' in format [-Wformat-contains-nul] - 82 | sprintf (buf, "z1 %g\0", flp->z1); - | ^~ -load.c:84:29: warning: embedded '\0' in format [-Wformat-contains-nul] - 84 | sprintf (buf, "z2 %g\0", flp->z2); - | ^~ -load.c:86:34: warning: embedded '\0' in format [-Wformat-contains-nul] - 86 | sprintf (buf, "nsample %d\0", flp->nsample); - | ^~ -load.c: In function 'xim_loadFile': -load.c:139:31: warning: embedded '\0' in format [-Wformat-contains-nul] - 139 | sprintf (buf, "warning %s\0", "Error: File not found."); - | ^~ -load.c:201:31: warning: embedded '\0' in format [-Wformat-contains-nul] - 201 | sprintf (buf, "warning %s\0", "Error: Unknown raster file type."); - | ^~ -load.c:208:15: warning: format '%d' expects argument of type 'int', but argument 3 has type 'unsigned char *' [-Wformat=] - 208 | "Load: pix=%d w=%d h=%d xnc=%d nc=%d pcm=%d z1=%g z2=%g\n", - | ~^ - | | - | int - | %hhn - 209 | pix, w, h, xim->ncolors, ncolors, has_private_cmap, z1, z2); - | ~~~ - | | - | unsigned char * -load.c:297:36: warning: embedded '\0' in format [-Wformat-contains-nul] - 297 | sprintf (buf, "%d %d %d\0", cf->width, cf->height, 8); - | ^~ -load.c: In function 'listFiles': -load.c:570:9: warning: ignoring return value of 'getcwd' declared with attribute 'warn_unused_result' [-Wunused-result] - 570 | (void) getcwd (directory, SZ_FNAME); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -load.c:600:9: warning: ignoring return value of 'chdir' declared with attribute 'warn_unused_result' [-Wunused-result] - 600 | (void) chdir (directory); - | ^~~~~~~~~~~~~~~~~ -cc -g -O2 -fdebug-prefix-map=/build/x11iraf-2.0+2020.06.15+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -I../obm -DOSI_COMPLIANT -Wdate-time -D_FORTIFY_SOURCE=2 -c -o logo.o logo.c -cc -g -O2 -fdebug-prefix-map=/build/x11iraf-2.0+2020.06.15+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -I../obm -DALLOWLOGGING -Wdate-time -D_FORTIFY_SOURCE=2 -c -o scrollbar.o scrollbar.c -cc -g -O2 -fdebug-prefix-map=/build/x11iraf-2.0+2020.06.15+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -I../obm -DALLOWLOGGING -Wdate-time -D_FORTIFY_SOURCE=2 -c -o tabs.o tabs.c -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 -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 -DALLOWLOGGING -Wdate-time -D_FORTIFY_SOURCE=2 -c -o util.o util.c -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) - | ^~~~~~~~~~~~~~~ -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 -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); - | ^~~~~~~~~~~~~~~ -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 */ - | ^~~~~~~~~~~~~ -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 -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 'params_to_pixels': -scrollbar.c:481:14: warning: type defaults to 'int' in declaration of 'mult' [-Wimplicit-int] - 481 | register mult = 1; - | ^~~~ -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, - | ^~~~~~~~~~~ -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 -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, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~ -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 -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 rasio.o rasio.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); - | ^~ -In file included from /usr/include/stdio.h:867, - from print.c:1: -/usr/include/i386-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output 8 or more bytes (assuming 264) into a destination of size 256 - 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 37 | __bos (__s), __fmt, __va_arg_pack ()); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -print.c:381:26: warning: '%s' directive writing up to 255 bytes into a region of size 248 [-Wformat-overflow=] - 106 | printstat (xim, text); - | ~~~~ -...... - 381 | sprintf (text, "status {%s}", message); - | ^~ -In file included from /usr/include/stdio.h:867, - from print.c:1: -/usr/include/i386-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 10 and 265 bytes into a destination of size 256 - 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 37 | __bos (__s), __fmt, __va_arg_pack ()); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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", @@ -3001,6 +3023,57 @@ rasio.c:191:6: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 191 | fread (b, 1, nc, fp); | ^~~~~~~~~~~~~~~~~~~~ +cc -g -O2 -fdebug-prefix-map=/build/x11iraf-2.0+2020.06.15+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -I../obm -DOSI_COMPLIANT -Wdate-time -D_FORTIFY_SOURCE=2 -c -o raster.o raster.c +print.c:173:31: warning: '%s' directive writing up to 256 bytes into a region of size 249 [-Wformat-overflow=] + 173 | sprintf (text, "cat %s | %s", tmpfile, pcp->printCmd); + | ^~ +In file included from /usr/include/stdio.h:867, + from print.c:1: +/usr/include/i386-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output 8 or more bytes (assuming 264) into a destination of size 256 + 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 37 | __bos (__s), __fmt, __va_arg_pack ()); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +print.c:381:26: warning: '%s' directive writing up to 255 bytes into a region of size 248 [-Wformat-overflow=] + 106 | printstat (xim, text); + | ~~~~ +...... + 381 | sprintf (text, "status {%s}", message); + | ^~ +In file included from /usr/include/stdio.h:867, + from print.c:1: +/usr/include/i386-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 10 and 265 bytes into a destination of size 256 + 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 37 | __bos (__s), __fmt, __va_arg_pack ()); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +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/i386-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/i386-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 save.o save.c +cc -g -O2 -fdebug-prefix-map=/build/x11iraf-2.0+2020.06.15+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -I../obm -DOSI_COMPLIANT -Wdate-time -D_FORTIFY_SOURCE=2 -c -o tiffio.o tiffio.c 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); @@ -3028,7 +3101,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 -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 util.o util.c print.c: In function 'xim_initPrinterOps': print.c:256:36: warning: '%s' directive writing up to 256 bytes into a region of size 244 [-Wformat-overflow=] 256 | sprintf (buf, "printerName %s", printer_list[0].printerName); @@ -3040,10 +3113,9 @@ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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 save.o save.c -cc -g -O2 -fdebug-prefix-map=/build/x11iraf-2.0+2020.06.15+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -I../obm -DOSI_COMPLIANT -Wdate-time -D_FORTIFY_SOURCE=2 -c -o tiffio.o tiffio.c -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 +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 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", @@ -3100,7 +3172,10 @@ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -sed -f gui2c.sed ximtool.gui > ximtool.gui.h +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 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); @@ -3128,16 +3203,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 -DOSI_COMPLIANT -Wdate-time -D_FORTIFY_SOURCE=2 -c -o zscale.o zscale.c -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 -ximclient.c: In function 'ism_start': -ximclient.c:2495:13: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] - 2495 | system (ism->command); - | ^~~~~~~~~~~~~~~~~~~~~ -cc -g -O2 -fdebug-prefix-map=/build/x11iraf-2.0+2020.06.15+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -I../obm -DOSI_COMPLIANT -Wdate-time -D_FORTIFY_SOURCE=2 -c -o ximtool.o ximtool.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; @@ -3145,6 +3210,11 @@ 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 +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); + | ^~~~~~~~~~~~~~~~~~~~~ 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); @@ -3159,6 +3229,16 @@ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +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); + | ^~ +ximtool.c:111:42: warning: embedded '\0' in format [-Wformat-contains-nul] + 111 | sprintf (argv[i], "XImtool*maxColors:%d\0", ncolors); + | ^~ +ximtool.c:376:13: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] + 376 | system (ism->command); + | ^~~~~~~~~~~~~~~~~~~~~ ximclient.c: In function 'load': ximclient.c:2013:39: warning: '%s' directive writing up to 256 bytes into a region of size 249 [-Wformat-overflow=] 2013 | sprintf (buf, "curdir %s", flp->curdir); @@ -3170,16 +3250,6 @@ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -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); - | ^~ -ximtool.c:111:42: warning: embedded '\0' in format [-Wformat-contains-nul] - 111 | sprintf (argv[i], "XImtool*maxColors:%d\0", ncolors); - | ^~ -ximtool.c:376:13: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] - 376 | system (ism->command); - | ^~~~~~~~~~~~~~~~~~~~~ ximclient.c: In function 'info_server': ximclient.c:2165:25: warning: '%s' directive writing up to 256 bytes into a region of size 233 [-Wformat-overflow=] 2165 | sprintf (line, "%20s: %s\n", "Printer File", xim->pcp->printFile); @@ -3201,16 +3271,12 @@ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -cc -Wl,-z,relro -o xgterm button.o charproc.o cursor.o data.o gtermio.o input.o main.o menu.o misc.o screen.o scrollbar.o tabs.o util.o VTPrsTbl.o \ - -L../obm -lobm \ - -lXpm -ltcl -lXaw3d -lXmu -lXt -lXext -lX11 -lncurses -lm -/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' ar r /build/x11iraf-2.0+2020.06.15+dfsg/ximtool/clients/libpkg.a idxstr.o ism.o wcsgfterm.o ar: creating /build/x11iraf-2.0+2020.06.15+dfsg/ximtool/clients/libpkg.a xc -c -x t_wcspix.x wcimage.x wcmef.x wcmspec.x wcunknown.x Warning on line 304 of t_wcspix.x: inconsistent calling sequences for zcall4, arg 4: here real variable, previously integer variable. + arg 5: here real variable, previously integer*2 variable. ximclient.c: In function 'setPrintOption': ximclient.c:1619:35: warning: '%s' directive writing up to 256 bytes into a region of size 246 [-Wformat-overflow=] 1619 | sprintf (buf, "printFile %s", pcp->printFile); @@ -3232,8 +3298,11 @@ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - arg 5: here real variable, previously integer*2 variable. -make[2]: Leaving directory '/build/x11iraf-2.0+2020.06.15+dfsg/xgterm' +cc -Wl,-z,relro -o xgterm button.o charproc.o cursor.o data.o gtermio.o input.o main.o menu.o misc.o screen.o scrollbar.o tabs.o util.o VTPrsTbl.o \ + -L../obm -lobm \ + -lXpm -ltcl -lXaw3d -lXmu -lXt -lXext -lX11 -lncurses -lm +/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' In file included from /usr/include/string.h:495, from /usr/include/X11/Intrinsic.h:61, from raster.c:9: @@ -3260,6 +3329,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 @@ -3298,8 +3368,8 @@ dh_gencontrol dh_md5sums dh_builddeb -dpkg-deb: building package 'ximtool-dbgsym' in '../ximtool-dbgsym_2.0+2020.06.15+dfsg-1_i386.deb'. dpkg-deb: building package 'ximtool' in '../ximtool_2.0+2020.06.15+dfsg-1_i386.deb'. +dpkg-deb: building package 'ximtool-dbgsym' in '../ximtool-dbgsym_2.0+2020.06.15+dfsg-1_i386.deb'. dpkg-deb: building package 'xgterm' in '../xgterm_2.0+2020.06.15+dfsg-1_i386.deb'. dpkg-deb: building package 'xgterm-dbgsym' in '../xgterm-dbgsym_2.0+2020.06.15+dfsg-1_i386.deb'. dpkg-genbuildinfo --build=binary @@ -3308,12 +3378,14 @@ dpkg-source --after-build . dpkg-buildpackage: info: binary-only upload (no source included) I: copying local configuration +I: user script /srv/workspace/pbuilder/24494/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/24494/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/9111 and its subdirectories -I: Current time: Sat Jun 19 11:57:10 -12 2021 -I: pbuilder-time-stamp: 1624147030 +I: removing directory /srv/workspace/pbuilder/24494 and its subdirectories +I: Current time: Sat Jul 23 20:20:45 +14 2022 +I: pbuilder-time-stamp: 1658557245