Diff of the two buildlogs: -- --- b1/build.log 2024-08-05 00:15:50.436619600 +0000 +++ b2/build.log 2024-08-05 00:16:54.501897273 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Sun Aug 4 12:15:00 -12 2024 -I: pbuilder-time-stamp: 1722816900 +I: Current time: Sun Sep 7 20:38:53 +14 2025 +I: pbuilder-time-stamp: 1757227133 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.kJguJKEM/trustedkeys.kbx': General error -gpgv: Signature made Sun Jul 12 18:16:55 2020 -12 +gpgv: keyblock resource '/tmp/dpkg-verify-sig._2hqQFfI/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,134 +31,165 @@ 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/3139441/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/1761629/tmp/hooks/D01_modify_environment starting +debug: Running on infom02-amd64. +I: Changing host+domainname to test build reproducibility +I: Adding a custom variable just for the fun of it... +I: Changing /bin/sh to bash +'/bin/sh' -> '/bin/bash' +lrwxrwxrwx 1 root root 9 Sep 7 20:39 /bin/sh -> /bin/bash +I: Setting pbuilder2's login shell to /bin/bash +I: Setting pbuilder2's GECOS to second user,second room,second work-phone,second home-phone,second other +I: user script /srv/workspace/pbuilder/1761629/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/1761629/tmp/hooks/D02_print_environment starting I: set - BUILDDIR='/build/reproducible-path' - BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' - BUILDUSERNAME='pbuilder1' - BUILD_ARCH='amd64' - DEBIAN_FRONTEND='noninteractive' + BASH=/bin/sh + BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:hostcomplete:interactive_comments:progcomp:promptvars:sourcepath + BASH_ALIASES=() + BASH_ARGC=() + BASH_ARGV=() + BASH_CMDS=() + BASH_LINENO=([0]="12" [1]="0") + BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") + BASH_VERSINFO=([0]="5" [1]="1" [2]="4" [3]="1" [4]="release" [5]="x86_64-pc-linux-gnu") + BASH_VERSION='5.1.4(1)-release' + BUILDDIR=/build/reproducible-path + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=amd64 + DEBIAN_FRONTEND=noninteractive DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all,-fixfilepath parallel=12 ' - DISTRIBUTION='bullseye' - HOME='/root' - HOST_ARCH='amd64' + DIRSTACK=() + DISTRIBUTION=bullseye + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=x86_64 + HOST_ARCH=amd64 IFS=' ' - INVOCATION_ID='053f659631b94aae96c544d98517d911' - LANG='C' - LANGUAGE='en_US:en' - LC_ALL='C' - MAIL='/var/mail/root' - OPTIND='1' - PATH='/usr/sbin:/usr/bin:/sbin:/bin:/usr/games' - PBCURRENTCOMMANDLINEOPERATION='build' - PBUILDER_OPERATION='build' - PBUILDER_PKGDATADIR='/usr/share/pbuilder' - PBUILDER_PKGLIBDIR='/usr/lib/pbuilder' - PBUILDER_SYSCONFDIR='/etc' - PPID='3139441' - PS1='# ' - PS2='> ' + INVOCATION_ID=4968b0abef0d48e38f6ee9403bb52cc6 + LANG=C + LANGUAGE=et_EE:et + LC_ALL=C + MACHTYPE=x86_64-pc-linux-gnu + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnu + PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path + PBCURRENTCOMMANDLINEOPERATION=build + PBUILDER_OPERATION=build + PBUILDER_PKGDATADIR=/usr/share/pbuilder + PBUILDER_PKGLIBDIR=/usr/lib/pbuilder + PBUILDER_SYSCONFDIR=/etc + PIPESTATUS=([0]="0") + POSIXLY_CORRECT=y + PPID=1761629 PS4='+ ' - PWD='/' - SHELL='/bin/bash' - SHLVL='2' - SUDO_COMMAND='/usr/bin/timeout -k 18.1h 18h /usr/bin/ionice -c 3 /usr/bin/nice /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.6Fp9oncC/pbuilderrc_U32a --distribution bullseye --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bullseye-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.6Fp9oncC/b1 --logfile b1/build.log x11iraf_2.0+2020.06.15+dfsg-1.dsc' - SUDO_GID='109' - SUDO_UID='104' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' + PWD=/ + SHELL=/bin/bash + SHELLOPTS=braceexpand:errexit:hashall:interactive-comments:posix + SHLVL=3 + SUDO_COMMAND='/usr/bin/timeout -k 24.1h 24h /usr/bin/ionice -c 3 /usr/bin/nice -n 11 /usr/bin/unshare --uts -- /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.6Fp9oncC/pbuilderrc_K8vc --distribution bullseye --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bullseye-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.6Fp9oncC/b2 --logfile b2/build.log x11iraf_2.0+2020.06.15+dfsg-1.dsc' + SUDO_GID=109 + SUDO_UID=104 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' I: uname -a - Linux infom01-amd64 6.1.0-23-cloud-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.99-1 (2024-07-15) x86_64 GNU/Linux + Linux i-capture-the-hostname 6.9.7+bpo-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.9.7-1~bpo12+1 (2024-07-03) x86_64 GNU/Linux I: ls -l /bin total 5476 - -rwxr-xr-x 1 root root 1234376 Mar 27 2022 bash - -rwxr-xr-x 3 root root 38984 Jul 20 2020 bunzip2 - -rwxr-xr-x 3 root root 38984 Jul 20 2020 bzcat - lrwxrwxrwx 1 root root 6 Jul 20 2020 bzcmp -> bzdiff - -rwxr-xr-x 1 root root 2225 Jul 20 2020 bzdiff - lrwxrwxrwx 1 root root 6 Jul 20 2020 bzegrep -> bzgrep - -rwxr-xr-x 1 root root 4877 Sep 4 2019 bzexe - lrwxrwxrwx 1 root root 6 Jul 20 2020 bzfgrep -> bzgrep - -rwxr-xr-x 1 root root 3775 Jul 20 2020 bzgrep - -rwxr-xr-x 3 root root 38984 Jul 20 2020 bzip2 - -rwxr-xr-x 1 root root 18424 Jul 20 2020 bzip2recover - lrwxrwxrwx 1 root root 6 Jul 20 2020 bzless -> bzmore - -rwxr-xr-x 1 root root 1297 Jul 20 2020 bzmore - -rwxr-xr-x 1 root root 43936 Sep 23 2020 cat - -rwxr-xr-x 1 root root 72672 Sep 23 2020 chgrp - -rwxr-xr-x 1 root root 64448 Sep 23 2020 chmod - -rwxr-xr-x 1 root root 72672 Sep 23 2020 chown - -rwxr-xr-x 1 root root 151168 Sep 23 2020 cp - -rwxr-xr-x 1 root root 125560 Dec 10 2020 dash - -rwxr-xr-x 1 root root 113664 Sep 23 2020 date - -rwxr-xr-x 1 root root 80968 Sep 23 2020 dd - -rwxr-xr-x 1 root root 93936 Sep 23 2020 df - -rwxr-xr-x 1 root root 147176 Sep 23 2020 dir - -rwxr-xr-x 1 root root 84440 Mar 27 22:09 dmesg - lrwxrwxrwx 1 root root 8 Nov 6 2019 dnsdomainname -> hostname - lrwxrwxrwx 1 root root 8 Nov 6 2019 domainname -> hostname - -rwxr-xr-x 1 root root 39712 Sep 23 2020 echo - -rwxr-xr-x 1 root root 28 Jan 24 2023 egrep - -rwxr-xr-x 1 root root 39680 Sep 23 2020 false - -rwxr-xr-x 1 root root 28 Jan 24 2023 fgrep - -rwxr-xr-x 1 root root 69032 Mar 27 22:09 findmnt - -rwsr-xr-x 1 root root 34896 Feb 26 2021 fusermount - -rwxr-xr-x 1 root root 203072 Jan 24 2023 grep - -rwxr-xr-x 2 root root 2346 Apr 9 2022 gunzip - -rwxr-xr-x 1 root root 6447 Apr 9 2022 gzexe - -rwxr-xr-x 1 root root 98048 Apr 9 2022 gzip - -rwxr-xr-x 1 root root 22600 Nov 6 2019 hostname - -rwxr-xr-x 1 root root 72840 Sep 23 2020 ln - -rwxr-xr-x 1 root root 56952 Feb 7 2020 login - -rwxr-xr-x 1 root root 147176 Sep 23 2020 ls - -rwxr-xr-x 1 root root 149736 Mar 27 22:09 lsblk - -rwxr-xr-x 1 root root 85184 Sep 23 2020 mkdir - -rwxr-xr-x 1 root root 76896 Sep 23 2020 mknod - -rwxr-xr-x 1 root root 48064 Sep 23 2020 mktemp - -rwxr-xr-x 1 root root 59632 Mar 27 22:09 more - -rwsr-xr-x 1 root root 55528 Mar 27 22:09 mount - -rwxr-xr-x 1 root root 18664 Mar 27 22:09 mountpoint - -rwxr-xr-x 1 root root 147080 Sep 23 2020 mv - lrwxrwxrwx 1 root root 8 Nov 6 2019 nisdomainname -> hostname - lrwxrwxrwx 1 root root 14 Dec 16 2021 pidof -> /sbin/killall5 - -rwxr-xr-x 1 root root 43872 Sep 23 2020 pwd - lrwxrwxrwx 1 root root 4 Mar 27 2022 rbash -> bash - -rwxr-xr-x 1 root root 52032 Sep 23 2020 readlink - -rwxr-xr-x 1 root root 72704 Sep 23 2020 rm - -rwxr-xr-x 1 root root 52032 Sep 23 2020 rmdir - -rwxr-xr-x 1 root root 27472 Sep 27 2020 run-parts - -rwxr-xr-x 1 root root 122224 Dec 22 2018 sed - lrwxrwxrwx 1 root root 4 Jul 6 21:25 sh -> dash - -rwxr-xr-x 1 root root 43808 Sep 23 2020 sleep - -rwxr-xr-x 1 root root 84928 Sep 23 2020 stty - -rwsr-xr-x 1 root root 71912 Mar 27 22:09 su - -rwxr-xr-x 1 root root 39744 Sep 23 2020 sync - -rwxr-xr-x 1 root root 531928 Jan 19 2024 tar - -rwxr-xr-x 1 root root 14456 Sep 27 2020 tempfile - -rwxr-xr-x 1 root root 101408 Sep 23 2020 touch - -rwxr-xr-x 1 root root 39680 Sep 23 2020 true - -rwxr-xr-x 1 root root 14328 Feb 26 2021 ulockmgr_server - -rwsr-xr-x 1 root root 35040 Mar 27 22:09 umount - -rwxr-xr-x 1 root root 39744 Sep 23 2020 uname - -rwxr-xr-x 2 root root 2346 Apr 9 2022 uncompress - -rwxr-xr-x 1 root root 147176 Sep 23 2020 vdir - -rwxr-xr-x 1 root root 63744 Mar 27 22:09 wdctl - lrwxrwxrwx 1 root root 8 Nov 6 2019 ypdomainname -> hostname - -rwxr-xr-x 1 root root 1984 Apr 9 2022 zcat - -rwxr-xr-x 1 root root 1678 Apr 9 2022 zcmp - -rwxr-xr-x 1 root root 5898 Apr 9 2022 zdiff - -rwxr-xr-x 1 root root 29 Apr 9 2022 zegrep - -rwxr-xr-x 1 root root 29 Apr 9 2022 zfgrep - -rwxr-xr-x 1 root root 2081 Apr 9 2022 zforce - -rwxr-xr-x 1 root root 8049 Apr 9 2022 zgrep - -rwxr-xr-x 1 root root 2206 Apr 9 2022 zless - -rwxr-xr-x 1 root root 1842 Apr 9 2022 zmore - -rwxr-xr-x 1 root root 4577 Apr 9 2022 znew -I: user script /srv/workspace/pbuilder/3139441/tmp/hooks/D02_print_environment finished + -rwxr-xr-x 1 root root 1234376 Mar 28 2022 bash + -rwxr-xr-x 3 root root 38984 Jul 21 2020 bunzip2 + -rwxr-xr-x 3 root root 38984 Jul 21 2020 bzcat + lrwxrwxrwx 1 root root 6 Jul 21 2020 bzcmp -> bzdiff + -rwxr-xr-x 1 root root 2225 Jul 21 2020 bzdiff + lrwxrwxrwx 1 root root 6 Jul 21 2020 bzegrep -> bzgrep + -rwxr-xr-x 1 root root 4877 Sep 5 2019 bzexe + lrwxrwxrwx 1 root root 6 Jul 21 2020 bzfgrep -> bzgrep + -rwxr-xr-x 1 root root 3775 Jul 21 2020 bzgrep + -rwxr-xr-x 3 root root 38984 Jul 21 2020 bzip2 + -rwxr-xr-x 1 root root 18424 Jul 21 2020 bzip2recover + lrwxrwxrwx 1 root root 6 Jul 21 2020 bzless -> bzmore + -rwxr-xr-x 1 root root 1297 Jul 21 2020 bzmore + -rwxr-xr-x 1 root root 43936 Sep 24 2020 cat + -rwxr-xr-x 1 root root 72672 Sep 24 2020 chgrp + -rwxr-xr-x 1 root root 64448 Sep 24 2020 chmod + -rwxr-xr-x 1 root root 72672 Sep 24 2020 chown + -rwxr-xr-x 1 root root 151168 Sep 24 2020 cp + -rwxr-xr-x 1 root root 125560 Dec 11 2020 dash + -rwxr-xr-x 1 root root 113664 Sep 24 2020 date + -rwxr-xr-x 1 root root 80968 Sep 24 2020 dd + -rwxr-xr-x 1 root root 93936 Sep 24 2020 df + -rwxr-xr-x 1 root root 147176 Sep 24 2020 dir + -rwxr-xr-x 1 root root 84440 Mar 29 2024 dmesg + lrwxrwxrwx 1 root root 8 Nov 8 2019 dnsdomainname -> hostname + lrwxrwxrwx 1 root root 8 Nov 8 2019 domainname -> hostname + -rwxr-xr-x 1 root root 39712 Sep 24 2020 echo + -rwxr-xr-x 1 root root 28 Jan 25 2023 egrep + -rwxr-xr-x 1 root root 39680 Sep 24 2020 false + -rwxr-xr-x 1 root root 28 Jan 25 2023 fgrep + -rwxr-xr-x 1 root root 69032 Mar 29 2024 findmnt + -rwsr-xr-x 1 root root 34896 Feb 27 2021 fusermount + -rwxr-xr-x 1 root root 203072 Jan 25 2023 grep + -rwxr-xr-x 2 root root 2346 Apr 10 2022 gunzip + -rwxr-xr-x 1 root root 6447 Apr 10 2022 gzexe + -rwxr-xr-x 1 root root 98048 Apr 10 2022 gzip + -rwxr-xr-x 1 root root 22600 Nov 8 2019 hostname + -rwxr-xr-x 1 root root 72840 Sep 24 2020 ln + -rwxr-xr-x 1 root root 56952 Feb 8 2020 login + -rwxr-xr-x 1 root root 147176 Sep 24 2020 ls + -rwxr-xr-x 1 root root 149736 Mar 29 2024 lsblk + -rwxr-xr-x 1 root root 85184 Sep 24 2020 mkdir + -rwxr-xr-x 1 root root 76896 Sep 24 2020 mknod + -rwxr-xr-x 1 root root 48064 Sep 24 2020 mktemp + -rwxr-xr-x 1 root root 59632 Mar 29 2024 more + -rwsr-xr-x 1 root root 55528 Mar 29 2024 mount + -rwxr-xr-x 1 root root 18664 Mar 29 2024 mountpoint + -rwxr-xr-x 1 root root 147080 Sep 24 2020 mv + lrwxrwxrwx 1 root root 8 Nov 8 2019 nisdomainname -> hostname + lrwxrwxrwx 1 root root 14 Dec 17 2021 pidof -> /sbin/killall5 + -rwxr-xr-x 1 root root 43872 Sep 24 2020 pwd + lrwxrwxrwx 1 root root 4 Mar 28 2022 rbash -> bash + -rwxr-xr-x 1 root root 52032 Sep 24 2020 readlink + -rwxr-xr-x 1 root root 72704 Sep 24 2020 rm + -rwxr-xr-x 1 root root 52032 Sep 24 2020 rmdir + -rwxr-xr-x 1 root root 27472 Sep 28 2020 run-parts + -rwxr-xr-x 1 root root 122224 Dec 23 2018 sed + lrwxrwxrwx 1 root root 9 Sep 7 20:39 sh -> /bin/bash + -rwxr-xr-x 1 root root 43808 Sep 24 2020 sleep + -rwxr-xr-x 1 root root 84928 Sep 24 2020 stty + -rwsr-xr-x 1 root root 71912 Mar 29 2024 su + -rwxr-xr-x 1 root root 39744 Sep 24 2020 sync + -rwxr-xr-x 1 root root 531928 Jan 20 2024 tar + -rwxr-xr-x 1 root root 14456 Sep 28 2020 tempfile + -rwxr-xr-x 1 root root 101408 Sep 24 2020 touch + -rwxr-xr-x 1 root root 39680 Sep 24 2020 true + -rwxr-xr-x 1 root root 14328 Feb 27 2021 ulockmgr_server + -rwsr-xr-x 1 root root 35040 Mar 29 2024 umount + -rwxr-xr-x 1 root root 39744 Sep 24 2020 uname + -rwxr-xr-x 2 root root 2346 Apr 10 2022 uncompress + -rwxr-xr-x 1 root root 147176 Sep 24 2020 vdir + -rwxr-xr-x 1 root root 63744 Mar 29 2024 wdctl + lrwxrwxrwx 1 root root 8 Nov 8 2019 ypdomainname -> hostname + -rwxr-xr-x 1 root root 1984 Apr 10 2022 zcat + -rwxr-xr-x 1 root root 1678 Apr 10 2022 zcmp + -rwxr-xr-x 1 root root 5898 Apr 10 2022 zdiff + -rwxr-xr-x 1 root root 29 Apr 10 2022 zegrep + -rwxr-xr-x 1 root root 29 Apr 10 2022 zfgrep + -rwxr-xr-x 1 root root 2081 Apr 10 2022 zforce + -rwxr-xr-x 1 root root 8049 Apr 10 2022 zgrep + -rwxr-xr-x 1 root root 2206 Apr 10 2022 zless + -rwxr-xr-x 1 root root 1842 Apr 10 2022 zmore + -rwxr-xr-x 1 root root 4577 Apr 10 2022 znew +I: user script /srv/workspace/pbuilder/1761629/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -307,7 +338,7 @@ Get: 93 http://deb.debian.org/debian bullseye/main amd64 xaw3dg amd64 1.5+F-1 [155 kB] Get: 94 http://deb.debian.org/debian bullseye/main amd64 xutils-dev amd64 1:7.7+5+b1 [242 kB] Get: 95 http://deb.debian.org/debian bullseye/main amd64 xaw3dg-dev amd64 1.5+F-1 [194 kB] -Fetched 44.8 MB in 3s (16.3 MB/s) +Fetched 44.8 MB in 1s (74.0 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 ... 19711 files and directories currently installed.) @@ -706,7 +737,11 @@ Building tag database... -> Finished parsing the build-deps I: Building the package -I: Running cd /build/reproducible-path/x11iraf-2.0+2020.06.15+dfsg/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-genchanges -S > ../x11iraf_2.0+2020.06.15+dfsg-1_source.changes +I: user script /srv/workspace/pbuilder/1761629/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for bullseye +I: user script /srv/workspace/pbuilder/1761629/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/reproducible-path/x11iraf-2.0+2020.06.15+dfsg/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-genchanges -S > ../x11iraf_2.0+2020.06.15+dfsg-1_source.changes dpkg-buildpackage: info: source package x11iraf dpkg-buildpackage: info: source version 2.0+2020.06.15+dfsg-1 dpkg-buildpackage: info: source distribution unstable @@ -780,55 +815,30 @@ cc -g -O2 -fdebug-prefix-map=/build/reproducible-path/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 cc -g -O2 -fdebug-prefix-map=/build/reproducible-path/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/reproducible-path/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 -client.c: In function 'ClientEvaluate': -param.c: In function 'ParameterClassInit': -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': +gterm.c: In function 'GtermClassInit': +gterm.c:246:19: warning: assignment to 'ObmCreateFunc' {aka 'struct obmObject * (*)()'} from incompatible pointer type 'int (*)()' [-Wincompatible-pointer-types] + 246 | classrec->Create = (ObmFunc) GtermCreate; + | ^ marker.c: In function 'MarkerClassInit': -client.c:173:42: warning: passing argument 2 of 'Tcl_Concat' from incompatible pointer type [-Wincompatible-pointer-types] - 173 | char *message = Tcl_Concat (argc-1, &argv[1]); - | ^~~~~~~~ - | | - | char ** -In file included from /usr/include/tcl/tcl.h:2441, - from ObmP.h:76, - from client.c:4: -/usr/include/tcl/tclDecls.h:274:58: note: expected 'const char * const*' but argument is of type 'char **' - 274 | EXTERN char * Tcl_Concat(int argc, CONST84 char *const *argv); - | ^ marker.c:158:19: warning: assignment to 'ObmCreateFunc' {aka 'struct obmObject * (*)()'} from incompatible pointer type 'int (*)()' [-Wincompatible-pointer-types] 158 | classrec->Create = (ObmFunc) MarkerCreate; | ^ -client.c: In function 'clientLiteral': -client.c:225:42: warning: passing argument 2 of 'Tcl_Concat' from incompatible pointer type [-Wincompatible-pointer-types] - 225 | char *message = Tcl_Concat (argc-1, &argv[1]); - | ^~~~~~~~ - | | - | char ** +gterm.c: In function 'gtermSetGterm': +gterm.c:544:45: warning: passing argument 2 of 'Tcl_Concat' from incompatible pointer type [-Wincompatible-pointer-types] + 544 | message = (argc > 1) ? Tcl_Concat (argc-1, &argv[1]) : NULL; + | ^~~~~~~~ + | | + | char ** +marker.c: In function '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 client.c:4: + 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 'GtermClassInit': -gterm.c:246:19: warning: assignment to 'ObmCreateFunc' {aka 'struct obmObject * (*)()'} from incompatible pointer type 'int (*)()' [-Wincompatible-pointer-types] - 246 | classrec->Create = (ObmFunc) GtermCreate; - | ^ -marker.c: In function '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: @@ -844,24 +854,40 @@ /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); + | ^ +gterm.c: In function 'gtermAssignRaster': +gterm.c:2020:17: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] + 2020 | drawable = (XtPointer) atoi(object); + | ^ +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); + | ^ 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 ** -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); - | ^ In file included from /usr/include/tcl/tcl.h:2441, from ObmP.h:76, from server.c:4: @@ -906,37 +932,13 @@ server.c:1027:27: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 1027 | r->resource_offset = (unsigned int) &(((Value *)NULL)[item].value); | ^ -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); - | ^ server.c: In function 'serverPostTimedCallback': -marker.c: In function 'markerSetAttributes': 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 -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); - | ^ 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); @@ -944,36 +946,11 @@ | | | | | ServerCallback {aka struct _serverCallback *} | long unsigned int -param.c:99:19: warning: assignment to 'ObmCreateFunc' {aka 'struct obmObject * (*)()'} from incompatible pointer type 'int (*)()' [-Wincompatible-pointer-types] - 99 | classrec->Create = (ObmFunc) ParameterCreate; - | ^ -gterm.c: In function 'gtermAssignRaster': -gterm.c:2020:17: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] - 2020 | drawable = (XtPointer) atoi(object); - | ^ -param.c: In function 'ParameterEvaluate': -param.c:213:32: warning: passing argument 2 of 'Tcl_SetResult' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 213 | Tcl_SetResult (obm->tcl, Tcl_GetStringResult (msg->tcl), TCL_VOLATILE); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from /usr/include/tcl/tcl.h:2441, - from ObmP.h:76, - from param.c:4: -/usr/include/tcl/tclDecls.h:693:54: note: expected 'char *' but argument is of type 'const char *' - 693 | EXTERN void Tcl_SetResult(Tcl_Interp *interp, char *result, - | ~~~~~~^~~~~~ -param.c:221:28: warning: passing argument 2 of 'Tcl_SetResult' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 221 | Tcl_SetResult (obm->tcl, Tcl_GetStringResult (msg->tcl), TCL_VOLATILE); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from /usr/include/tcl/tcl.h:2441, - from ObmP.h:76, - from param.c:4: -/usr/include/tcl/tclDecls.h:693:54: note: expected 'char *' but argument is of type 'const char *' - 693 | EXTERN void Tcl_SetResult(Tcl_Interp *interp, char *result, - | ~~~~~~^~~~~~ -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; - | ^ +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 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) { @@ -986,6 +963,7 @@ /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 'gtermCreateMarker': 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) { | ^~~~~~~ @@ -997,9 +975,24 @@ /usr/include/tcl/tclDecls.h:722:21: note: expected 'const char ***' but argument is of type 'char ***' 722 | CONST84 char ***argvPtr); | ^ +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); + | ^ 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); @@ -1038,11 +1031,6 @@ | ~~~~~~~ | | | ObmContext {aka struct obmContext *} -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 widget.c: In function 'widgetSPCallback': widget.c:1280:30: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 1280 | sprintf (message, "%d", (int)call_data); @@ -1055,19 +1043,19 @@ | | 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 *** +widget.c: In function 'widgetGet': +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 gterm.c:4: + 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); | ^ -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); | ~^ ~~~~~ @@ -1075,6 +1063,18 @@ | | caddr_t {aka char *} | unsigned int | %s +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); + | ^ 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); | ~^ ~~~~~ @@ -1094,6 +1094,18 @@ /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 '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); + | ^ widget.c: In function 'widgetAddEventHandler': widget.c:4653:24: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 4653 | new_cb->client_data = (XtPointer) event_mask; @@ -1113,6 +1125,11 @@ | ~~~~~~~~ | | | Time {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; + | ^ +param.c: In function 'ParameterEvaluate': 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 ", | ~^ @@ -1123,6 +1140,24 @@ | ~~~~~~~~ | | | Time {aka long unsigned int} +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, + | ~~~~~~^~~~~~ widget.c:4826:8: warning: 'XKeycodeToKeysym' is deprecated [-Wdeprecated-declarations] 4826 | keysym = XKeycodeToKeysym (obm->display, | ^~~~~~ @@ -1132,7 +1167,6 @@ /usr/include/X11/Xlib.h:1687:15: note: declared here 1687 | extern KeySym XKeycodeToKeysym( | ^~~~~~~~~~~~~~~~ -cc -g -O2 -fdebug-prefix-map=/build/reproducible-path/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 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 ", | ~^ @@ -1150,12 +1184,12 @@ | | | | int long unsigned int | %ld +cc -g -O2 -fdebug-prefix-map=/build/reproducible-path/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/reproducible-path/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/reproducible-path/x11iraf-2.0+2020.06.15+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DOSI_COMPLIANT -DOSI_COMPLIANT -Wdate-time -D_FORTIFY_SOURCE=2 -c -o DrawingArea.o DrawingArea.c cc -g -O2 -fdebug-prefix-map=/build/reproducible-path/x11iraf-2.0+2020.06.15+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DOSI_COMPLIANT -DOSI_COMPLIANT -Wdate-time -D_FORTIFY_SOURCE=2 -c -o Frame.o Frame.c cc -g -O2 -fdebug-prefix-map=/build/reproducible-path/x11iraf-2.0+2020.06.15+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DOSI_COMPLIANT -DOSI_COMPLIANT -Wdate-time -D_FORTIFY_SOURCE=2 -c -o Group.o Group.c cc -g -O2 -fdebug-prefix-map=/build/reproducible-path/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/reproducible-path/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 Group.c: In function 'on_cb': Group.c:104:27: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 104 | Cardinal toggle_ord = (Cardinal) client_data; @@ -1171,7 +1205,6 @@ Group.c:369:47: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 369 | XtAddCallback(child, XtNoffCallback, off_cb, (XtPointer) ((XfwfGroupWidget)self)->xfwfGroup.toggle_ord); | ^ -Gterm.c: In function 'Initialize': 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", @@ -1187,6 +1220,10 @@ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +cc -g -O2 -fdebug-prefix-map=/build/reproducible-path/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/reproducible-path/x11iraf-2.0+2020.06.15+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DOSI_COMPLIANT -DOSI_COMPLIANT -Wdate-time -D_FORTIFY_SOURCE=2 -c -o iconutil.o iconutil.c +Gterm.c: In function 'Initialize': +cc -g -O2 -fdebug-prefix-map=/build/reproducible-path/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 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", | ~^ @@ -1710,8 +1747,8 @@ | ~~~~~~~~~~~~~~~~~ | | | Pixmap {aka long unsigned int} -cc -g -O2 -fdebug-prefix-map=/build/reproducible-path/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/reproducible-path/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/reproducible-path/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/reproducible-path/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 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); @@ -1724,10 +1761,13 @@ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -cc -g -O2 -fdebug-prefix-map=/build/reproducible-path/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/reproducible-path/x11iraf-2.0+2020.06.15+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DOSI_COMPLIANT -DOSI_COMPLIANT -Wdate-time -D_FORTIFY_SOURCE=2 -c -o MenuBar.o MenuBar.c cc -g -O2 -fdebug-prefix-map=/build/reproducible-path/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 cc -g -O2 -fdebug-prefix-map=/build/reproducible-path/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/reproducible-path/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/reproducible-path/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/reproducible-path/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/reproducible-path/x11iraf-2.0+2020.06.15+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DOSI_COMPLIANT -DOSI_COMPLIANT -Wdate-time -D_FORTIFY_SOURCE=2 -c -o Tablist2Tabs.o Tablist2Tabs.c +cc -g -O2 -fdebug-prefix-map=/build/reproducible-path/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 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'; @@ -1735,11 +1775,6 @@ 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/reproducible-path/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/reproducible-path/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/reproducible-path/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/reproducible-path/x11iraf-2.0+2020.06.15+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DOSI_COMPLIANT -DOSI_COMPLIANT -Wdate-time -D_FORTIFY_SOURCE=2 -c -o Tablist2Tabs.o Tablist2Tabs.c -cc -g -O2 -fdebug-prefix-map=/build/reproducible-path/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/reproducible-path/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/reproducible-path/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/reproducible-path/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 @@ -1788,12 +1823,12 @@ cc -g -O2 -fdebug-prefix-map=/build/reproducible-path/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/reproducible-path/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/reproducible-path/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/reproducible-path/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/reproducible-path/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/reproducible-path/x11iraf-2.0+2020.06.15+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -I../obm -DALLOWLOGGING -Wdate-time -D_FORTIFY_SOURCE=2 -c -o input.o input.c +cc -g -O2 -fdebug-prefix-map=/build/reproducible-path/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/reproducible-path/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/reproducible-path/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/reproducible-path/x11iraf-2.0+2020.06.15+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -I../obm -DALLOWLOGGING -Wdate-time -D_FORTIFY_SOURCE=2 -c -o input.o input.c cc -g -O2 -fdebug-prefix-map=/build/reproducible-path/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/reproducible-path/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 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); @@ -1833,271 +1868,41 @@ cursor.c:233:1: warning: return type defaults to 'int' [-Wimplicit-int] 233 | CursorRestore(term, sc) | ^~~~~~~~~~~~~ -input.c: In function 'AdjustAfterInput': -input.c:68:3: warning: implicit declaration of function 'WindowScroll' [-Wimplicit-function-declaration] - 68 | WindowScroll(screen, 0); - | ^~~~~~~~~~~~ -input.c:74:5: warning: implicit declaration of function 'Bell'; did you mean 'XBell'? [-Wimplicit-function-declaration] - 74 | Bell(); - | ^~~~ - | XBell -fitsio.c: In function 'isFITS': -fitsio.c:208:6: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] - 208 | fscanf (fp, "%6s = %c", keyw, &val); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -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 '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 -input.c:135:3: warning: implicit declaration of function 'unparseputc' [-Wimplicit-function-declaration] - 135 | unparseputc((char)(keysym-XK_KP_F1+'P'), pty); - | ^~~~~~~~~~~ -input.c: At top level: -input.c:189:1: warning: return type defaults to 'int' [-Wimplicit-int] - 189 | StringInput (screen, string, nbytes) - | ^~~~~~~~~~~ -button.c: In function 'StartSelect': -button.c:519:6: warning: implicit declaration of function 'HideCursor'; did you mean 'BadCursor'? [-Wimplicit-function-declaration] - 519 | HideCursor (); - | ^~~~~~~~~~ - | BadCursor -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); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +gifio.c: In function 'isGIF': +gifio.c:217:13: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] + 217 | fread (tag, sizeof(char), 4, fp); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gtermio.c: In function 'gio_hardreset': gtermio.c:549:6: warning: implicit declaration of function 'v_write'; did you mean 'pwrite'? [-Wimplicit-function-declaration] 549 | v_write (pty_fd, s_reset, strlen(s_reset)); | ^~~~~~~ | pwrite -cc -g -O2 -fdebug-prefix-map=/build/reproducible-path/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 -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); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -iis.c: In function 'xim_iisio': -iis.c:496:59: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long unsigned int' [-Wformat=] - 496 | "ximtool: command input read error, n=%d of %d, errno=%d\n", - | ~^ - | | - | int - | %ld - 497 | n, sizeof(iis), errno); - | ~~~~~~~~~~~ - | | - | long unsigned int -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); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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); | ^~ -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 'ReHiliteText': -button.c:1080:7: warning: implicit declaration of function 'ScrnRefresh' [-Wimplicit-function-declaration] - 1080 | ScrnRefresh(screen, frow, fcol, 1, i, True); - | ^~~~~~~~~~~ -button.c: In function 'SaltTextAway': -button.c:1130:3: warning: implicit declaration of function 'SysError' [-Wimplicit-function-declaration] - 1130 | SysError(ERROR_BMALLOC2); - | ^~~~~~~~ -button.c: In function 'SaveText': -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); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~ -button.c:1409:6: warning: implicit declaration of function 'ScrnGetAttributes' [-Wimplicit-function-declaration] - 1409 | if(ScrnGetAttributes(screen, row + screen->topline, 0, &attr, 1) == 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 -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 - | ^ charproc.c: In function 'VTparse': -main.c:1419:2: warning: implicit declaration of function 'get_terminal'; did you mean 'get_termcap'? [-Wimplicit-function-declaration] - 1419 | get_terminal (); - | ^~~~~~~~~~~~ - | get_termcap -gifio.c: In function 'isGIF': -gifio.c:217:13: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] - 217 | fread (tag, sizeof(char), 4, fp); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -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); - | ^~~~~~~~~~~~~~~~~~~~~~~ charproc.c:743:4: warning: implicit declaration of function 'Bell'; did you mean 'XBell'? [-Wimplicit-function-declaration] 743 | Bell(); | ^~~~ | XBell -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(); - | ^~~~~ charproc.c:748:4: warning: implicit declaration of function 'CursorBack'; did you mean 'CursorX'? [-Wimplicit-function-declaration] 748 | CursorBack(screen, 1); | ^~~~~~~~~~ | CursorX -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 () - | ^~~~~~~~~~~~ -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(); - | ^~~~~~~~~~~~~~~~ -main.c:2178:1: warning: return type defaults to 'int' [-Wimplicit-int] - 2178 | spawn(void) - | ^~~~~ -menu.c:226:15: warning: implicit declaration of function 'isspace' [-Wimplicit-function-declaration] - 226 | start = isspace(*(op-1)) ? op - 1 : op; - | ^~~~~~~ -menu.c: At top level: -menu.c:371:1: warning: return type defaults to 'int' [-Wimplicit-int] - 371 | init_menu (menu) - | ^~~~~~~~~ -main.c: In function 'spawn': charproc.c:753:4: warning: implicit declaration of function 'CarriageReturn' [-Wimplicit-function-declaration] 753 | CarriageReturn(screen); | ^~~~~~~~~~~~~~ -main.c:2333:3: warning: implicit declaration of function 'SysError'; did you mean 'HsSysError'? [-Wimplicit-function-declaration] - 2333 | SysError(ERROR_OPDEVTTY); - | ^~~~~~~~ - | HsSysError charproc.c:766:4: warning: implicit declaration of function 'Index'; did you mean 'index'? [-Wimplicit-function-declaration] 766 | Index(screen, 1); | ^~~~~ | index -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_securekbd': -menu.c:432:2: warning: implicit declaration of function 'ReverseVideo'; did you mean 'XtCReverseVideo'? [-Wimplicit-function-declaration] - 432 | ReverseVideo (term); - | ^~~~~~~~~~~~ - | XtCReverseVideo charproc.c:771:6: warning: implicit declaration of function 'xevents' [-Wimplicit-function-declaration] 771 | xevents(); | ^~~~~~~ -menu.c: In function 'do_logging': -menu.c:478:2: warning: implicit declaration of function 'CloseLog' [-Wimplicit-function-declaration] - 478 | CloseLog (screen); - | ^~~~~~~~ -main.c:2573:3: warning: implicit declaration of function 'grantpt' [-Wimplicit-function-declaration] - 2573 | grantpt(screen->respond); - | ^~~~~~~ -menu.c:480:2: warning: implicit declaration of function 'StartLog' [-Wimplicit-function-declaration] - 480 | StartLog (screen); - | ^~~~~~~~ -menu.c: In function 'do_redraw': -menu.c:490:5: warning: implicit declaration of function 'Redraw' [-Wimplicit-function-declaration] - 490 | Redraw (); - | ^~~~~~ -main.c:2574:3: warning: implicit declaration of function 'unlockpt' [-Wimplicit-function-declaration] - 2574 | unlockpt(screen->respond); - | ^~~~~~~~ -fitsio.c: In function 'ftopen2d': charproc.c:777:22: warning: implicit declaration of function 'TabNext' [-Wimplicit-function-declaration] 777 | screen->cur_col = TabNext(term->tabs, screen->cur_col); | ^~~~~~~ -fitsio.c:425:26: warning: '%d' directive writing between 1 and 10 bytes into a region of size 4 [-Wformat-overflow=] - 425 | sprintf(name, "NAXIS%d", j + 1); - | ^~ -fitsio.c:425:20: note: directive argument in the range [1, 2147483647] - 425 | sprintf(name, "NAXIS%d", j + 1); - | ^~~~~~~~~ -In file included from /usr/include/stdio.h:867, - from fitsio.c:23: -/usr/include/x86_64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 7 and 16 bytes into a destination of size 9 - 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 37 | __bos (__s), __fmt, __va_arg_pack ()); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -menu.c: In function 'do_quit': -menu.c:556:5: warning: implicit declaration of function 'Cleanup'; did you mean 'SmsCleanUp'? [-Wimplicit-function-declaration] - 556 | Cleanup (0); - | ^~~~~~~ - | SmsCleanUp charproc.c:845:4: warning: implicit declaration of function 'InsertChar' [-Wimplicit-function-declaration] 845 | InsertChar(screen, row); | ^~~~~~~~~~ @@ -2105,205 +1910,167 @@ 853 | CursorUp(screen, row); | ^~~~~~~~ | CursorX -menu.c: In function 'do_scrollbar': -menu.c:572:2: warning: implicit declaration of function 'ScrollBarOff' [-Wimplicit-function-declaration] - 572 | ScrollBarOff (screen); - | ^~~~~~~~~~~~ -main.c:3494:3: warning: implicit declaration of function 'remove_termcap_entry' [-Wimplicit-function-declaration] - 3494 | remove_termcap_entry(newtc, "ti="); - | ^~~~~~~~~~~~~~~~~~~~ -cc -g -O2 -fdebug-prefix-map=/build/reproducible-path/x11iraf-2.0+2020.06.15+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -I../obm -DALLOWLOGGING -Wdate-time -D_FORTIFY_SOURCE=2 -c -o misc.o misc.c charproc.c:861:4: warning: implicit declaration of function 'CursorDown'; did you mean 'CursorX'? [-Wimplicit-function-declaration] 861 | CursorDown(screen, row); | ^~~~~~~~~~ | CursorX -menu.c:574:2: warning: implicit declaration of function 'ScrollBarOn' [-Wimplicit-function-declaration] - 574 | ScrollBarOn (term, FALSE, FALSE); - | ^~~~~~~~~~~ -main.c: In function 'Exit': charproc.c:869:4: warning: implicit declaration of function 'CursorForward' [-Wimplicit-function-declaration] 869 | CursorForward(screen, row); | ^~~~~~~~~~~~~ -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:5056:3: warning: implicit declaration of function 'CloseLog' [-Wimplicit-function-declaration] - 5056 | CloseLog(screen); - | ^~~~~~~~ +fitsio.c: In function 'isFITS': 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 -menu.c: In function 'do_softreset': -menu.c:729:5: warning: implicit declaration of function 'VTReset' [-Wimplicit-function-declaration] - 729 | VTReset (FALSE); - | ^~~~~~~ -main.c: In function 'reapchild': -main.c:5166:6: warning: implicit declaration of function 'Cleanup' [-Wimplicit-function-declaration] - 5166 | Cleanup (0); - | ^~~~~~~ -menu.c: In function 'do_hardreset': -menu.c:737:5: warning: implicit declaration of function 'gt_reset' [-Wimplicit-function-declaration] - 737 | gt_reset(); - | ^~~~~~~~ charproc.c:905:5: warning: implicit declaration of function 'ClearBelow' [-Wimplicit-function-declaration] 905 | ClearBelow(screen); | ^~~~~~~~~~ -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:909:5: warning: implicit declaration of function 'ClearAbove' [-Wimplicit-function-declaration] 909 | ClearAbove(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 '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); - | ^~~~~~~~~~~~~~~~~~~ -main.c:2271:2: warning: ignoring return value of 'setuid' declared with attribute 'warn_unused_result' [-Wunused-result] - 2271 | setuid(screen->uid); - | ^~~~~~~~~~~~~~~~~~~ +button.c: In function 'DiredButton': +button.c:194:9: warning: implicit declaration of function 'v_write'; did you mean 'fwrite'? [-Wimplicit-function-declaration] + 194 | v_write(pty, Line, 5 ); + | ^~~~~~~ + | fwrite +fitsio.c:208:6: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] + 208 | fscanf (fp, "%6s = %c", keyw, &val); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ charproc.c:913:5: warning: implicit declaration of function 'ClearScreen' [-Wimplicit-function-declaration] 913 | ClearScreen(screen); | ^~~~~~~~~~~ -main.c:3145:11: warning: ignoring return value of 'dup' declared with attribute 'warn_unused_result' [-Wunused-result] - 3145 | (void) dup(tty); - | ^~~~~~~~ -menu.c: In function 'do_tekmode': -main.c:3415:13: warning: ignoring return value of 'setgid' declared with attribute 'warn_unused_result' [-Wunused-result] - 3415 | (void) setgid(screen->gid); - | ^~~~~~~~~~~~~~~~~~~ -menu.c:767:5: warning: implicit declaration of function 'switch_modes' [-Wimplicit-function-declaration] - 767 | switch_modes (gt_tekmode(2)); /* switch to tek mode */ - | ^~~~~~~~~~~~ -main.c: In function 'Exit': -main.c: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 'handle_tekshow': +button.c: In function 'StartSelect': +button.c:519:6: warning: implicit declaration of function 'HideCursor'; did you mean 'BadCursor'? [-Wimplicit-function-declaration] + 519 | HideCursor (); + | ^~~~~~~~~~ + | BadCursor charproc.c:925:5: warning: implicit declaration of function 'ClearRight' [-Wimplicit-function-declaration] 925 | ClearRight(screen); | ^~~~~~~~~~ -menu.c:777:9: warning: implicit declaration of function 'set_tek_visibility' [-Wimplicit-function-declaration] - 777 | set_tek_visibility (TRUE); - | ^~~~~~~~~~~~~~~~~~ -menu.c:781:2: warning: implicit declaration of function 'Bell'; did you mean 'XBell'? [-Wimplicit-function-declaration] - 781 | Bell(); - | ^~~~ - | XBell charproc.c:928:5: warning: implicit declaration of function 'ClearLeft' [-Wimplicit-function-declaration] 928 | ClearLeft(screen); | ^~~~~~~~~ charproc.c:931:5: warning: implicit declaration of function 'ClearLine' [-Wimplicit-function-declaration] 931 | ClearLine(screen); | ^~~~~~~~~ -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(); - | ^~~~~~~~~~~~~~ +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); + | ^~~~~~~~~~~ charproc.c:941:4: warning: implicit declaration of function 'InsertLine' [-Wimplicit-function-declaration] 941 | InsertLine(screen, row); | ^~~~~~~~~~ -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(); - | ^~~~~~~~ +button.c: In function 'SaltTextAway': +button.c:1130:3: warning: implicit declaration of function 'SysError' [-Wimplicit-function-declaration] + 1130 | SysError(ERROR_BMALLOC2); + | ^~~~~~~~ charproc.c:949:4: warning: implicit declaration of function 'DeleteLine' [-Wimplicit-function-declaration] 949 | DeleteLine(screen, row); | ^~~~~~~~~~ +main.c: In function 'get_termcap': charproc.c:957:4: warning: implicit declaration of function 'DeleteChar' [-Wimplicit-function-declaration] 957 | DeleteChar(screen, row); | ^~~~~~~~~~ -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:882:13: warning: implicit declaration of function 'tgetent'; did you mean 'getenv'? [-Wimplicit-function-declaration] + 882 | if (tgetent(buffer, name) == 1) { + | ^~~~~~~ + | getenv +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) { + | ^~~~~~~~~~~~~~~~~ charproc.c:981:5: warning: implicit declaration of function 'unparseseq' [-Wimplicit-function-declaration] 981 | unparseseq(&reply, screen->respond); | ^~~~~~~~~~ -menu.c:877:2: warning: implicit declaration of function 'end_vt_mode'; did you mean 'do_vtmode'? [-Wimplicit-function-declaration] - 877 | end_vt_mode (); - | ^~~~~~~~~~~ - | do_vtmode charproc.c:989:5: warning: implicit declaration of function 'TabClear' [-Wimplicit-function-declaration] 989 | TabClear(term->tabs, screen->cur_col); | ^~~~~~~~ charproc.c:991:5: warning: implicit declaration of function 'TabZonk' [-Wimplicit-function-declaration] 991 | TabZonk(term->tabs); | ^~~~~~~ +main.c: In function 'DeleteWindow': +main.c:989:7: warning: implicit declaration of function 'hide_vt_window' [-Wimplicit-function-declaration] + 989 | hide_vt_window(); + | ^~~~~~~~~~~~~~ charproc.c:997:4: warning: implicit declaration of function 'ansi_modes' [-Wimplicit-function-declaration] 997 | ansi_modes(term, bitset); | ^~~~~~~~~~ -cc -g -O2 -fdebug-prefix-map=/build/reproducible-path/x11iraf-2.0+2020.06.15+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -I../obm -DALLOWLOGGING -Wdate-time -D_FORTIFY_SOURCE=2 -c -o screen.o screen.c +main.c:994:7: warning: implicit declaration of function 'hide_tek_window' [-Wimplicit-function-declaration] + 994 | hide_tek_window(); + | ^~~~~~~~~~~~~~~ charproc.c:1098:8: warning: implicit declaration of function 'FlushScroll' [-Wimplicit-function-declaration] 1098 | FlushScroll(screen); | ^~~~~~~~~~~ +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 + | ^ charproc.c:1216:4: warning: implicit declaration of function 'dpmodes' [-Wimplicit-function-declaration] 1216 | dpmodes(term, bitset); | ^~~~~~~ charproc.c:1236:4: warning: implicit declaration of function 'ScrnRefresh' [-Wimplicit-function-declaration] 1236 | ScrnRefresh(screen, 0, 0, screen->max_row + 1, | ^~~~~~~~~~~ +cc -g -O2 -fdebug-prefix-map=/build/reproducible-path/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 +main.c:1419:2: warning: implicit declaration of function 'get_terminal'; did you mean 'get_termcap'? [-Wimplicit-function-declaration] + 1419 | get_terminal (); + | ^~~~~~~~~~~~ + | get_termcap charproc.c:1248:4: warning: implicit declaration of function 'CursorSave'; did you mean 'CursorShape'? [-Wimplicit-function-declaration] 1248 | CursorSave(term, &screen->sc); | ^~~~~~~~~~ | CursorShape +main.c:1420:2: warning: implicit declaration of function 'spawn' [-Wimplicit-function-declaration] + 1420 | spawn (); + | ^~~~~ +iis.c: In function 'xim_iisio': +iis.c:496:59: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long unsigned int' [-Wformat=] + 496 | "ximtool: command input read error, n=%d of %d, errno=%d\n", + | ~^ + | | + | int + | %ld + 497 | n, sizeof(iis), errno); + | ~~~~~~~~~~~ + | | + | long unsigned int charproc.c:1254:4: warning: implicit declaration of function 'CursorRestore' [-Wimplicit-function-declaration] 1254 | CursorRestore(term, &screen->sc); | ^~~~~~~~~~~~~ +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", + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +main.c:1435:2: warning: implicit declaration of function 'init_ttyio' [-Wimplicit-function-declaration] + 1435 | init_ttyio (pty); + | ^~~~~~~~~~ charproc.c:1294:4: warning: implicit declaration of function 'TabSet' [-Wimplicit-function-declaration] 1294 | TabSet(term->tabs, screen->cur_col); | ^~~~~~ -misc.c: In function 'xevents': -misc.c:77:17: warning: implicit declaration of function 'FlushScroll' [-Wimplicit-function-declaration] - 77 | FlushScroll(screen); - | ^~~~~~~~~~~ charproc.c:1300:4: warning: implicit declaration of function 'RevIndex' [-Wimplicit-function-declaration] 1300 | RevIndex(screen, 1); | ^~~~~~~~ +main.c:1439:6: warning: implicit declaration of function 'gio_setup' [-Wimplicit-function-declaration] + 1439 | gio_setup (app_con, argc, argv, pty); + | ^~~~~~~~~ charproc.c:1325:4: warning: implicit declaration of function 'do_osc' [-Wimplicit-function-declaration] 1325 | do_osc(finput); | ^~~~~~ -misc.c: In function 'make_colored_cursor': -misc.c:130:2: warning: implicit declaration of function 'recolor_cursor'; did you mean 'XRecolorCursor'? [-Wimplicit-function-declaration] - 130 | recolor_cursor (c, fg, bg); - | ^~~~~~~~~~~~~~ - | XRecolorCursor charproc.c:1331:4: warning: implicit declaration of function 'VTReset' [-Wimplicit-function-declaration] 1331 | VTReset(TRUE); | ^~~~~~~ -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); - | ^~~~~ +cc -g -O2 -fdebug-prefix-map=/build/reproducible-path/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 charproc.c:1366:4: warning: implicit declaration of function 'savemodes' [-Wimplicit-function-declaration] 1366 | savemodes(term); | ^~~~~~~~~ -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:1440:6: warning: implicit declaration of function 'gio_postconnectcallback' [-Wimplicit-function-declaration] + 1440 | gio_postconnectcallback (gtermio_connect, NULL); + | ^~~~~~~~~~~~~~~~~~~~~~~ charproc.c:1371:4: warning: implicit declaration of function 'restoremodes' [-Wimplicit-function-declaration] 1371 | restoremodes(term); | ^~~~~~~~~~~~ @@ -2314,144 +2081,92 @@ charproc.c:1401:1: warning: return type defaults to 'int' [-Wimplicit-int] 1401 | v_write(f, d, len) | ^~~~~~~ -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 +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 charproc.c: In function 'in_put': +main.c:1509:6: warning: implicit declaration of function 'VTRun' [-Wimplicit-function-declaration] + 1509 | VTRun(); + | ^~~~~ charproc.c:1571:9: warning: implicit declaration of function 'init_ttyio' [-Wimplicit-function-declaration] 1571 | init_ttyio (screen->respond); | ^~~~~~~~~~ -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 +main.c: In function 'get_pty': charproc.c:1601:17: warning: implicit declaration of function 'gt_flush'; did you mean 'fflush'? [-Wimplicit-function-declaration] 1601 | while (!gt_flush()) | ^~~~~~~~ | fflush -misc.c:297:3: warning: implicit declaration of function 'ShowCursor'; did you mean 'XNCursor'? [-Wimplicit-function-declaration] - 297 | ShowCursor(); - | ^~~~~~~~~~ - | XNCursor +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 () + | ^~~~~~~~~~~~ charproc.c: In function 'do_read': charproc.c:1644:2: warning: implicit declaration of function 'FlushLog' [-Wimplicit-function-declaration] 1644 | FlushLog(screen); | ^~~~~~~~ -misc.c: At top level: -misc.c:660:1: warning: return type defaults to 'int' [-Wimplicit-int] - 660 | do_osc(func) - | ^~~~~~ +main.c:2178:1: warning: return type defaults to 'int' [-Wimplicit-int] + 2178 | spawn(void) + | ^~~~~ charproc.c:1653:6: warning: implicit declaration of function 'Cleanup' [-Wimplicit-function-declaration] 1653 | Cleanup (0); | ^~~~~~~ charproc.c:1655:6: warning: implicit declaration of function 'Panic' [-Wimplicit-function-declaration] 1655 | Panic ("input: read returned unexpected error (%d)\n", errno); | ^~~~~ -misc.c: In function 'do_osc': -misc.c:685:3: warning: implicit declaration of function 'Changename' [-Wimplicit-function-declaration] - 685 | Changename(buf); - | ^~~~~~~~~~ +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:1663:9: warning: implicit declaration of function 'gt_input'; did you mean 'finput'? [-Wimplicit-function-declaration] 1663 | bcnt = gt_input (bptr, bcnt); | ^~~~~~~~ | finput -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) - | ^~~~~~~~~~~ +main.c: In function 'spawn': +main.c:2333:3: warning: implicit declaration of function 'SysError'; did you mean 'HsSysError'? [-Wimplicit-function-declaration] + 2333 | SysError(ERROR_OPDEVTTY); + | ^~~~~~~~ + | HsSysError charproc.c:1682:6: warning: implicit declaration of function 'WindowScroll' [-Wimplicit-function-declaration] 1682 | WindowScroll(screen, 0); /* Scroll to bottom */ | ^~~~~~~~~~~~ +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: At top level: charproc.c:1704:1: warning: return type defaults to 'int' [-Wimplicit-int] 1704 | init_ttyio (pty) | ^~~~~~~~~~ -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 (); - | ^~~~~~ +input.c: In function 'AdjustAfterInput': +input.c:68:3: warning: implicit declaration of function 'WindowScroll' [-Wimplicit-function-declaration] + 68 | WindowScroll(screen, 0); + | ^~~~~~~~~~~~ +input.c:74:5: warning: implicit declaration of function 'Bell'; did you mean 'XBell'? [-Wimplicit-function-declaration] + 74 | Bell(); + | ^~~~ + | XBell +main.c:2573:3: warning: implicit declaration of function 'grantpt' [-Wimplicit-function-declaration] + 2573 | grantpt(screen->respond); + | ^~~~~~~ charproc.c: In function 'WriteText': charproc.c:1840:15: warning: implicit declaration of function 'AddToRefresh' [-Wimplicit-function-declaration] 1840 | if (!(AddToRefresh(screen))) { | ^~~~~~~~~~~~ -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); - | ^~~~~~~~~~~~~~~~~~~~ +main.c:2574:3: warning: implicit declaration of function 'unlockpt' [-Wimplicit-function-declaration] + 2574 | unlockpt(screen->respond); + | ^~~~~~~~ charproc.c:1866:2: warning: implicit declaration of function 'ScreenWrite' [-Wimplicit-function-declaration] 1866 | ScreenWrite(screen, str, flags, fg, bg, len); | ^~~~~~~~~~~ @@ -2470,10 +2185,24 @@ 1975 | ReverseVideo(termw); | ^~~~~~~~~~~~ | XtCReverseVideo -cc -g -O2 -fdebug-prefix-map=/build/reproducible-path/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 +input.c: In function 'Input': +input.c:134:3: warning: implicit declaration of function 'unparseseq' [-Wimplicit-function-declaration] + 134 | unparseseq(&reply, pty); + | ^~~~~~~~~~ +main.c:3494:3: warning: implicit declaration of function 'remove_termcap_entry' [-Wimplicit-function-declaration] + 3494 | remove_termcap_entry(newtc, "ti="); + | ^~~~~~~~~~~~~~~~~~~~ charproc.c:2010:5: warning: implicit declaration of function 'switch_modes' [-Wimplicit-function-declaration] 2010 | switch_modes (0); | ^~~~~~~~~~~~ +input.c:135:3: warning: implicit declaration of function 'unparseputc' [-Wimplicit-function-declaration] + 135 | unparseputc((char)(keysym-XK_KP_F1+'P'), pty); + | ^~~~~~~~~~~ +input.c: At top level: +input.c:189:1: warning: return type defaults to 'int' [-Wimplicit-int] + 189 | StringInput (screen, string, nbytes) + | ^~~~~~~~~~~ +main.c: In function 'Exit': charproc.c:2011:5: warning: implicit declaration of function 'gt_set_ginmode_trailers' [-Wimplicit-function-declaration] 2011 | gt_set_ginmode_trailers (NULL); | ^~~~~~~~~~~~~~~~~~~~~~~ @@ -2481,12 +2210,19 @@ charproc.c:2078:1: warning: return type defaults to 'int' [-Wimplicit-int] 2078 | savemodes(termw) | ^~~~~~~~~ +main.c:5056:3: warning: implicit declaration of function 'CloseLog' [-Wimplicit-function-declaration] + 5056 | CloseLog(screen); + | ^~~~~~~~ charproc.c:2144:1: warning: return type defaults to 'int' [-Wimplicit-int] 2144 | restoremodes(termw) | ^~~~~~~~~~~~ charproc.c:2292:1: warning: return type defaults to 'int' [-Wimplicit-int] 2292 | unparseseq(ap, fd) | ^~~~~~~~~~ +main.c: In function 'reapchild': +main.c:5166:6: warning: implicit declaration of function 'Cleanup' [-Wimplicit-function-declaration] + 5166 | Cleanup (0); + | ^~~~~~~ charproc.c: In function 'unparseseq': charproc.c:2302:3: warning: implicit declaration of function 'unparseputc' [-Wimplicit-function-declaration] 2302 | unparseputc(ESC, fd); @@ -2509,6 +2245,24 @@ charproc.c:2352:1: warning: return type defaults to 'int' [-Wimplicit-int] 2352 | unparsefputs (s, fd) | ^~~~~~~~~~~~ +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(); + | ^~~~~~~~~~~~~~~~ +main.c: In function 'main': +menu.c:226:15: warning: implicit declaration of function 'isspace' [-Wimplicit-function-declaration] + 226 | start = isspace(*(op-1)) ? op - 1 : op; + | ^~~~~~~ +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: In function 'SwitchBufs': charproc.c:2399:2: warning: implicit declaration of function 'SwitchBufPtrs'; did you mean 'SwitchBufs'? [-Wimplicit-function-declaration] 2399 | SwitchBufPtrs(screen); @@ -2521,13 +2275,35 @@ charproc.c:2434:1: warning: return type defaults to 'int' [-Wimplicit-int] 2434 | SwitchBufPtrs(screen) | ^~~~~~~~~~~~~ +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)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ charproc.c:2446:1: warning: return type defaults to 'int' [-Wimplicit-int] 2446 | VTRun() | ^~~~~ +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); + | ^~~~~~~~~~~~~~~~~~~ +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: In function 'VTRun': charproc.c:2453:6: warning: implicit declaration of function 'set_vt_visibility' [-Wimplicit-function-declaration] 2453 | set_vt_visibility (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': 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)); } @@ -2538,7 +2314,16 @@ charproc.c:2459:2: note: in expansion of macro 'update_vttekmode' 2459 | update_vttekmode(); | ^~~~~~~~~~~~~~~~ -screen.c: In function 'Allocate': +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: At top level: +menu.c:371:1: warning: return type defaults to 'int' [-Wimplicit-int] + 371 | init_menu (menu) + | ^~~~~~~~~ menu.h:267:7: warning: implicit declaration of function 'gt_activated' [-Wimplicit-function-declaration] 267 | gt_activated()) | ^~~~~~~~~~~~ @@ -2548,147 +2333,51 @@ charproc.c:2461:2: note: in expansion of macro 'update_tekshow' 2461 | update_tekshow(); | ^~~~~~~~~~~~~~ -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) - | ^~~~~~~~~~~~ +menu.c: In function 'do_securekbd': +menu.c:432:2: warning: implicit declaration of function 'ReverseVideo'; did you mean 'XtCReverseVideo'? [-Wimplicit-function-declaration] + 432 | ReverseVideo (term); + | ^~~~~~~~~~~~ + | XtCReverseVideo charproc.c: In function 'VTExpose': -screen.c:558:1: warning: return type defaults to 'int' [-Wimplicit-int] - 558 | ScreenResize (screen, width, height, flags) - | ^~~~~~~~~~~~ -ism.c: In function 'ism_io': -ism.c:305:27: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long int' [-Wformat=] - 305 | printf("\nism_io: nread=%d pkt=%d count=%d n=%d\n",nread,pkt++,count,n); - | ~^ ~~~~~ - | | | - | int long int - | %ld -ism.c:305:34: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long int' [-Wformat=] - 305 | printf("\nism_io: nread=%d pkt=%d count=%d n=%d\n",nread,pkt++,count,n); - | ~^ ~~~~~ - | | | - | int long int - | %ld -ism.c:316:39: warning: format '%d' expects argument of type 'int', but argument 4 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] - 316 | printf ("INCOMPLETE '%s' ip=%d len=%d\n", text,ip,strlen(text)); - | ~^ ~~~~~~~~~~~~ - | | | - | int size_t {aka long unsigned int} - | %ld -In file included from ism.c:18: -ximtool.h:64:28: warning: format '%d' expects argument of type 'int', but argument 4 has type 'XtInputId' {aka 'long unsigned int'} [-Wformat=] - 64 | #define DEF_ISM_TEMPLATE "/tmp/.ISM%d_%d" /* ISM client socket template */ - | ^~~~~~~~~~~~~~~~ -ism.c:339:32: note: in expansion of macro 'DEF_ISM_TEMPLATE' - 339 | sprintf (path, DEF_ISM_TEMPLATE, getuid(), new_chan->id); - | ^~~~~~~~~~~~~~~~ -ximtool.h:64:42: note: format string is defined here - 64 | #define DEF_ISM_TEMPLATE "/tmp/.ISM%d_%d" /* ISM client socket template */ - | ~^ - | | - | int - | %ld -ism.c:416:23: warning: format '%d' expects argument of type 'int', but argument 2 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] - 416 | printf ("SEND: len=%d '%s'->'%.45s'\n", strlen(buf), name, buf); - | ~^ ~~~~~~~~~~~ - | | | - | int size_t {aka long unsigned int} - | %ld -ism.c: In function 'ism_evaluate': -ism.c:552:20: warning: embedded '\0' in format [-Wformat-contains-nul] - 552 | sprintf (buf, "%s\0", command); - | ^~ charproc.c:2498:3: warning: implicit declaration of function 'HandleExposure'; did you mean 'HandleSecure'? [-Wimplicit-function-declaration] 2498 | HandleExposure (screen, event); | ^~~~~~~~~~~~~~ | HandleSecure charproc.c: In function 'VTInitialize': -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 -fitsio.c: In function 'getFITSHdr': -fitsio.c:240:47: warning: '%s' directive writing up to 79 bytes into a region of size between 24 and 44 [-Wformat-overflow=] - 240 | sprintf (line, "%-16.16s %3d %5dx%-5d %s", - | ^~ - 241 | fname, bitpix, w,h, fs.title); - | ~~~~~~~~ -In file included from /usr/include/stdio.h:867, - from fitsio.c:23: -/usr/include/x86_64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 37 and 136 bytes into a destination of size 80 - 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 37 | __bos (__s), __fmt, __va_arg_pack ()); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -fitsio.c:237:51: warning: '%s' directive writing up to 79 bytes into a region of size between 27 and 44 [-Wformat-overflow=] - 237 | sprintf (line, "%-16.16s %3d (%2d extns) %s", - | ^~ - 238 | fname, bitpix, fs.nextend, fs.title); - | ~~~~~~~~ -In file included from /usr/include/stdio.h:867, - from fitsio.c:23: -/usr/include/x86_64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 37 and 133 bytes into a destination of size 80 - 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 37 | __bos (__s), __fmt, __va_arg_pack ()); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -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); - | ^~~~~~~~~~~~~~~ charproc.c:2688:4: warning: implicit declaration of function 'set_character_class' [-Wimplicit-function-declaration] 2688 | set_character_class (new->screen.charClass); | ^~~~~~~~~~~~~~~~~~~ charproc.c:2691:4: warning: implicit declaration of function 'ScrollBarOn' [-Wimplicit-function-declaration] 2691 | ScrollBarOn (new, TRUE, FALSE); | ^~~~~~~~~~~ -screen.c:656:3: warning: implicit declaration of function 'ResizeScrollBar' [-Wimplicit-function-declaration] - 656 | ResizeScrollBar(screen->scrollWidget, width - - | ^~~~~~~~~~~~~~~ charproc.c: In function 'VTRealize': -screen.c:666:2: warning: implicit declaration of function 'ResizeSelection' [-Wimplicit-function-declaration] - 666 | ResizeSelection (screen, rows, cols); - | ^~~~~~~~~~~~~~~ charproc.c:2726:2: warning: implicit declaration of function 'TabReset' [-Wimplicit-function-declaration] 2726 | TabReset (term->tabs); | ^~~~~~~~ +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); + | ^~~~~~~~ charproc.c:2730:7: warning: implicit declaration of function 'LoadNewFont'; did you mean 'XLoadFont'? [-Wimplicit-function-declaration] 2730 | if (!LoadNewFont(screen, term->misc.f_n, term->misc.f_b, False, 0)) { | ^~~~~~~~~~~ | XLoadFont +menu.c: In function 'do_redraw': +menu.c:490:5: warning: implicit declaration of function 'Redraw' [-Wimplicit-function-declaration] + 490 | Redraw (); + | ^~~~~~ charproc.c:2744:6: warning: implicit declaration of function 'Exit'; did you mean 'exit'? [-Wimplicit-function-declaration] 2744 | Exit (1); | ^~~~ | exit +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:2753:4: warning: implicit declaration of function 'recolor_cursor'; did you mean 'XRecolorCursor'? [-Wimplicit-function-declaration] 2753 | recolor_cursor (screen->pointer_cursor, | ^~~~~~~~~~~~~~ @@ -2696,7 +2385,6 @@ charproc.c:2849:2: warning: implicit declaration of function 'set_cursor_gcs' [-Wimplicit-function-declaration] 2849 | set_cursor_gcs (screen); | ^~~~~~~~~~~~~~ -cc -g -O2 -fdebug-prefix-map=/build/reproducible-path/x11iraf-2.0+2020.06.15+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -I../obm -DALLOWLOGGING -Wdate-time -D_FORTIFY_SOURCE=2 -c -o scrollbar.o scrollbar.c charproc.c:2879:2: warning: implicit declaration of function 'set_vt_box' [-Wimplicit-function-declaration] 2879 | set_vt_box (screen); | ^~~~~~~~~~ @@ -2704,10 +2392,28 @@ charproc.c:3065:10: warning: implicit declaration of function 'ScrollBarOff' [-Wimplicit-function-declaration] 3065 | ScrollBarOff (&newvt->screen); | ^~~~~~~~~~~~ +menu.c: In function 'do_scrollbar': +menu.c:572:2: warning: implicit declaration of function 'ScrollBarOff' [-Wimplicit-function-declaration] + 572 | ScrollBarOff (screen); + | ^~~~~~~~~~~~ charproc.c: At top level: charproc.c:3265:1: warning: return type defaults to 'int' [-Wimplicit-int] 3265 | VTReset(full) | ^~~~~~~ +fitsio.c: In function 'ftopen2d': +fitsio.c:425:26: warning: '%d' directive writing between 1 and 10 bytes into a region of size 4 [-Wformat-overflow=] + 425 | sprintf(name, "NAXIS%d", j + 1); + | ^~ +fitsio.c:425:20: note: directive argument in the range [1, 2147483647] + 425 | sprintf(name, "NAXIS%d", j + 1); + | ^~~~~~~~~ +In file included from /usr/include/stdio.h:867, + from fitsio.c:23: +/usr/include/x86_64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 7 and 16 bytes into a destination of size 9 + 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 37 | __bos (__s), __fmt, __va_arg_pack ()); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ charproc.c: In function 'set_character_class': charproc.c:3402:17: warning: implicit declaration of function 'SetCharacterClassRange' [-Wimplicit-function-declaration] 3402 | } else if (SetCharacterClassRange (low, high, acc) != 0) { @@ -2717,24 +2423,31 @@ 3487 | VisualBell(); | ^~~~~~~~~~ | XtCVisualBell -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 +menu.c:574:2: warning: implicit declaration of function 'ScrollBarOn' [-Wimplicit-function-declaration] + 574 | ScrollBarOn (term, FALSE, FALSE); + | ^~~~~~~~~~~ +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: charproc.c: In function 'update_font_info': +screen.c:90:1: warning: return type defaults to 'int' [-Wimplicit-int] + 90 | Reallocate(sbuf, sbufaddr, nrow, ncol, oldrow, oldcol) + | ^~~~~~~~~~ charproc.c:3784:2: warning: implicit declaration of function 'DoResizeScreen' [-Wimplicit-function-declaration] 3784 | DoResizeScreen (term); /* set to the new natural size */ | ^~~~~~~~~~~~~~ +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) + | ^~~~~~~~~~~~~~ +menu.c: In function 'do_jumpscroll': +menu.c:589:26: warning: implicit declaration of function 'FlushScroll' [-Wimplicit-function-declaration] + 589 | if (screen->scroll_amt) FlushScroll(screen); + | ^~~~~~~~~~~ charproc.c:3787:17: warning: implicit declaration of function 'ResizeScrollBar' [-Wimplicit-function-declaration] 3787 | ResizeScrollBar (screen->scrollWidget, | ^~~~~~~~~~~~~~~ @@ -2748,16 +2461,270 @@ charproc.c:3815:1: warning: return type defaults to 'int' [-Wimplicit-int] 3815 | set_cursor_gcs (screen) | ^~~~~~~~~~~~~~ +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) + | ^~~~~~~~~~~~ +charproc.c: In function 'do_read': +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 +charproc.c:1649:2: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] + 1649 | write (screen->logfd, buffer, bcnt); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +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': +screen.c:608:7: warning: implicit declaration of function 'SwitchBufPtrs' [-Wimplicit-function-declaration] + 608 | SwitchBufPtrs(screen); + | ^~~~~~~~~~~~~ +misc.c: In function 'xevents': +menu.c:737:5: warning: implicit declaration of function 'gt_reset' [-Wimplicit-function-declaration] + 737 | gt_reset(); + | ^~~~~~~~ +screen.c:632:7: warning: implicit declaration of function 'ScrollSelection' [-Wimplicit-function-declaration] + 632 | ScrollSelection(screen, move_down_by); + | ^~~~~~~~~~~~~~~ +misc.c:77:17: warning: implicit declaration of function 'FlushScroll' [-Wimplicit-function-declaration] + 77 | FlushScroll(screen); + | ^~~~~~~~~~~ +menu.c: In function 'do_clearsavedlines': +misc.c: In function 'make_colored_cursor': +menu.c:749:5: warning: implicit declaration of function 'ScrollBarDrawThumb' [-Wimplicit-function-declaration] + 749 | ScrollBarDrawThumb(screen->scrollWidget); + | ^~~~~~~~~~~~~~~~~~ +screen.c:656:3: warning: implicit declaration of function 'ResizeScrollBar' [-Wimplicit-function-declaration] + 656 | ResizeScrollBar(screen->scrollWidget, width - + | ^~~~~~~~~~~~~~~ +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: In function 'do_tekmode': +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': +menu.c:767:5: warning: implicit declaration of function 'switch_modes' [-Wimplicit-function-declaration] + 767 | switch_modes (gt_tekmode(2)); /* switch to tek mode */ + | ^~~~~~~~~~~~ +screen.c:666:2: warning: implicit declaration of function 'ResizeSelection' [-Wimplicit-function-declaration] + 666 | ResizeSelection (screen, rows, cols); + | ^~~~~~~~~~~~~~~ +misc.c:192:6: warning: implicit declaration of function 'StringInput' [-Wimplicit-function-declaration] + 192 | StringInput (screen, hexval, 1); + | ^~~~~~~~~~~ +menu.c: In function 'handle_tekshow': +misc.c: In function 'HandleFocusChange': +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 +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(); + | ^~~~~~~~~~~~~~ +misc.c:274:7: warning: implicit declaration of function 'ReverseVideo'; did you mean 'HandleReverseVideo'? [-Wimplicit-function-declaration] + 274 | ReverseVideo(term); + | ^~~~~~~~~~~~ + | HandleReverseVideo +menu.c: In function 'do_vtfont': +misc.c: In function 'selectwindow': +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': +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 +menu.c:874:2: warning: implicit declaration of function 'set_vt_visibility' [-Wimplicit-function-declaration] + 874 | set_vt_visibility (TRUE); + | ^~~~~~~~~~~~~~~~~ +misc.c: At top level: +misc.c:660:1: warning: return type defaults to 'int' [-Wimplicit-int] + 660 | do_osc(func) + | ^~~~~~ +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 '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) + | ^~~~~~~~~~~ +cc -g -O2 -fdebug-prefix-map=/build/reproducible-path/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 +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/reproducible-path/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 '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); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +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); | ^~~~~~~~~~~~~~~ -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); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ scrollbar.c:305:2: warning: implicit declaration of function 'ScrnRefresh' [-Wimplicit-function-declaration] 305 | ScrnRefresh(screen, refreshtop, 0, lines, screen->max_col + 1, False); | ^~~~~~~~~~~ @@ -2789,8 +2756,35 @@ scrollbar.c:535:4: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 535 | (XtPointer)-params_to_pixels (screen, params, (int) *nparams)); | ^ -cc -g -O2 -fdebug-prefix-map=/build/reproducible-path/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 +fitsio.c: In function 'getFITSHdr': +fitsio.c:240:47: warning: '%s' directive writing up to 79 bytes into a region of size between 24 and 44 [-Wformat-overflow=] + 240 | sprintf (line, "%-16.16s %3d %5dx%-5d %s", + | ^~ + 241 | fname, bitpix, w,h, fs.title); + | ~~~~~~~~ +In file included from /usr/include/stdio.h:867, + from fitsio.c:23: +/usr/include/x86_64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 37 and 136 bytes into a destination of size 80 + 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 37 | __bos (__s), __fmt, __va_arg_pack ()); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +fitsio.c:237:51: warning: '%s' directive writing up to 79 bytes into a region of size between 27 and 44 [-Wformat-overflow=] + 237 | sprintf (line, "%-16.16s %3d (%2d extns) %s", + | ^~ + 238 | fname, bitpix, fs.nextend, fs.title); + | ~~~~~~~~ +In file included from /usr/include/stdio.h:867, + from fitsio.c:23: +/usr/include/x86_64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 37 and 133 bytes into a destination of size 80 + 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 37 | __bos (__s), __fmt, __va_arg_pack ()); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +cc -g -O2 -fdebug-prefix-map=/build/reproducible-path/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/reproducible-path/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/reproducible-path/x11iraf-2.0+2020.06.15+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -I../obm -DALLOWLOGGING -Wdate-time -D_FORTIFY_SOURCE=2 -c -o util.o util.c +cc -g -O2 -fdebug-prefix-map=/build/reproducible-path/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 tabs.c:40:1: warning: return type defaults to 'int' [-Wimplicit-int] 40 | TabReset(tabs) | ^~~~~~~~ @@ -2810,7 +2804,6 @@ 78 | TabNext (tabs, col) | ^~~~~~~ tabs.c: In function 'TabNext': -cc -g -O2 -fdebug-prefix-map=/build/reproducible-path/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 tabs.c:86:3: warning: implicit declaration of function 'Index'; did you mean 'index'? [-Wimplicit-function-declaration] 86 | Index(screen, 1); | ^~~~~ @@ -2819,16 +2812,10 @@ tabs.c:99:1: warning: return type defaults to 'int' [-Wimplicit-int] 99 | TabZonk (tabs) | ^~~~~~~ -cc -g -O2 -fdebug-prefix-map=/build/reproducible-path/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/reproducible-path/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/reproducible-path/x11iraf-2.0+2020.06.15+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -I../obm -DALLOWLOGGING -Wdate-time -D_FORTIFY_SOURCE=2 -c -o VTPrsTbl.o VTPrsTbl.c -cc -g -O2 -fdebug-prefix-map=/build/reproducible-path/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 -cc -g -O2 -fdebug-prefix-map=/build/reproducible-path/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 'FlushScroll': util.c:82:5: warning: implicit declaration of function 'ScrollBarDrawThumb' [-Wimplicit-function-declaration] 82 | ScrollBarDrawThumb(screen->scrollWidget); | ^~~~~~~~~~~~~~~~~~ -cc -g -O2 -fdebug-prefix-map=/build/reproducible-path/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 util.c:113:2: warning: implicit declaration of function 'ScrollSelection' [-Wimplicit-function-declaration] 113 | ScrollSelection(screen, -(screen->scroll_amt)); | ^~~~~~~~~~~~~~~ @@ -2845,7 +2832,44 @@ 335 | ScrnInsertLine (screen->buf, screen->bot_marg, screen->top_marg, | ^~~~~~~~~~~~~~ | InsertLine -cc -g -O2 -fdebug-prefix-map=/build/reproducible-path/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 +ism.c: In function 'ism_io': +ism.c:305:27: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long int' [-Wformat=] + 305 | printf("\nism_io: nread=%d pkt=%d count=%d n=%d\n",nread,pkt++,count,n); + | ~^ ~~~~~ + | | | + | int long int + | %ld +ism.c:305:34: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long int' [-Wformat=] + 305 | printf("\nism_io: nread=%d pkt=%d count=%d n=%d\n",nread,pkt++,count,n); + | ~^ ~~~~~ + | | | + | int long int + | %ld +ism.c:316:39: warning: format '%d' expects argument of type 'int', but argument 4 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] + 316 | printf ("INCOMPLETE '%s' ip=%d len=%d\n", text,ip,strlen(text)); + | ~^ ~~~~~~~~~~~~ + | | | + | int size_t {aka long unsigned int} + | %ld +In file included from ism.c:18: +ximtool.h:64:28: warning: format '%d' expects argument of type 'int', but argument 4 has type 'XtInputId' {aka 'long unsigned int'} [-Wformat=] + 64 | #define DEF_ISM_TEMPLATE "/tmp/.ISM%d_%d" /* ISM client socket template */ + | ^~~~~~~~~~~~~~~~ +ism.c:339:32: note: in expansion of macro 'DEF_ISM_TEMPLATE' + 339 | sprintf (path, DEF_ISM_TEMPLATE, getuid(), new_chan->id); + | ^~~~~~~~~~~~~~~~ +ximtool.h:64:42: note: format string is defined here + 64 | #define DEF_ISM_TEMPLATE "/tmp/.ISM%d_%d" /* ISM client socket template */ + | ~^ + | | + | int + | %ld +ism.c:416:23: warning: format '%d' expects argument of type 'int', but argument 2 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] + 416 | printf ("SEND: len=%d '%s'->'%.45s'\n", strlen(buf), name, buf); + | ~^ ~~~~~~~~~~~ + | | | + | int size_t {aka long unsigned int} + | %ld 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, @@ -2854,12 +2878,43 @@ 528 | ScrnInsertChar(screen->buf, screen->cur_row, screen->cur_col, n, | ^~~~~~~~~~~~~~ | InsertChar -load.c: In function 'xim_initLoad': +cc -g -O2 -fdebug-prefix-map=/build/reproducible-path/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 '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 +ism.c: In function 'ism_evaluate': +ism.c:552:20: warning: embedded '\0' in format [-Wformat-contains-nul] + 552 | sprintf (buf, "%s\0", command); + | ^~ +util.c: In function 'ClearAbove': +util.c:601:2: warning: implicit declaration of function 'ClearBufRows' [-Wimplicit-function-declaration] + 601 | ClearBufRows(screen, 0, screen->cur_row - 1); + | ^~~~~~~~~~~~ +util.c: In function 'CopyWait': +util.c:770:4: warning: implicit declaration of function 'HandleExposure' [-Wimplicit-function-declaration] + 770 | HandleExposure (screen, &reply); + | ^~~~~~~~~~~~~~ +util.c: In function 'HandleExposure': +util.c:898:9: warning: implicit declaration of function 'handle_translated_exposure' [-Wimplicit-function-declaration] + 898 | return handle_translated_exposure (screen, reply->x, reply->y, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~ +util.c: In function 'ReverseVideo': +util.c:1026:3: warning: implicit declaration of function 'ScrollBarReverseVideo' [-Wimplicit-function-declaration] + 1026 | ScrollBarReverseVideo(screen->scrollWidget); + | ^~~~~~~~~~~~~~~~~~~~~ +cc -g -O2 -fdebug-prefix-map=/build/reproducible-path/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 +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/reproducible-path/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/reproducible-path/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 +cc -g -O2 -fdebug-prefix-map=/build/reproducible-path/x11iraf-2.0+2020.06.15+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -I../obm -DOSI_COMPLIANT -Wdate-time -D_FORTIFY_SOURCE=2 -c -o quant.o quant.c +cc -g -O2 -fdebug-prefix-map=/build/reproducible-path/x11iraf-2.0+2020.06.15+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -I../obm -DOSI_COMPLIANT -Wdate-time -D_FORTIFY_SOURCE=2 -c -o rasio.o rasio.c +cc -g -O2 -fdebug-prefix-map=/build/reproducible-path/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 +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); | ^~ @@ -2901,22 +2956,9 @@ | ~~~ | | | unsigned char * -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); - | ^~~~~~~~~~~~ load.c:297:36: warning: embedded '\0' in format [-Wformat-contains-nul] 297 | sprintf (buf, "%d %d %d\0", cf->width, cf->height, 8); | ^~ -cc -g -O2 -fdebug-prefix-map=/build/reproducible-path/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 -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, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~ 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); @@ -2924,10 +2966,6 @@ load.c:600:9: warning: ignoring return value of 'chdir' declared with attribute 'warn_unused_result' [-Wunused-result] 600 | (void) chdir (directory); | ^~~~~~~~~~~~~~~~~ -util.c: In function 'ReverseVideo': -util.c:1026:3: warning: implicit declaration of function 'ScrollBarReverseVideo' [-Wimplicit-function-declaration] - 1026 | ScrollBarReverseVideo(screen->scrollWidget); - | ^~~~~~~~~~~~~~~~~~~~~ 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", @@ -3020,10 +3058,6 @@ | ~~~~~~~~~~~~~~ | | | long int -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); - | ^~~~~~~~~~~~~~ rasio.c: In function 'loadSunRas': rasio.c:189:6: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 189 | fread (r, 1, nc, fp); @@ -3045,7 +3079,7 @@ print.c:174:6: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 174 | system (text); /* dispose to printer */ | ^~~~~~~~~~~~~ -cc -g -O2 -fdebug-prefix-map=/build/reproducible-path/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/reproducible-path/x11iraf-2.0+2020.06.15+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -I../obm -DOSI_COMPLIANT -Wdate-time -D_FORTIFY_SOURCE=2 -c -o save.o save.c print.c:173:31: warning: '%s' directive writing up to 256 bytes into a region of size 249 [-Wformat-overflow=] 173 | sprintf (text, "cat %s | %s", tmpfile, pcp->printCmd); | ^~ @@ -3069,7 +3103,7 @@ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -cc -g -O2 -fdebug-prefix-map=/build/reproducible-path/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/reproducible-path/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); @@ -3108,13 +3142,7 @@ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -raster.c: In function 'xim_initialize': -raster.c:188:26: warning: iteration 15 invokes undefined behavior [-Waggressive-loop-optimizations] - 188 | xim->frames[i].frameno = 0; - | ~~~~~~~~~~~~~~~~~~~~~~~^~~ -raster.c:187:6: note: within this loop - 187 | for (i=1; i <= MAX_FRAMES; i++) - | ^~~ +cc -g -O2 -fdebug-prefix-map=/build/reproducible-path/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 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", @@ -3171,22 +3199,7 @@ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -raster.c: In function 'xim_colortables': -raster.c:2222:30: warning: '%s' directive writing up to 10239 bytes into a region of size 8182 [-Wformat-overflow=] - 2222 | sprintf (msgbuf, "setValue {%s}", message); - | ^~ -...... - 2311 | xim_message (xim, "colortables", buf); - | ~~~ -In file included from /usr/include/stdio.h:867, - from raster.c:1: -/usr/include/x86_64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 12 and 10251 bytes into a destination of size 8192 - 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 37 | __bos (__s), __fmt, __va_arg_pack ()); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ save.c: In function 'xims_rename': -cc -g -O2 -fdebug-prefix-map=/build/reproducible-path/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 save.c:324:26: warning: '%s' directive writing up to 255 bytes into a region of size 248 [-Wformat-overflow=] 302 | savestat (xim, text); | ~~~~ @@ -3213,13 +3226,35 @@ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +cc -g -O2 -fdebug-prefix-map=/build/reproducible-path/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/reproducible-path/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 +cc -g -O2 -fdebug-prefix-map=/build/reproducible-path/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; + | ~~~~~~~~~~~~~~~~~~~~~~~^~~ +raster.c:187:6: note: within this loop + 187 | for (i=1; i <= MAX_FRAMES; i++) + | ^~~ Warning, hlib$mkpkg.inc line 5: macro `IRAFARCH' not found warning: library `libpkg.a' not found xc -c -x idxstr.x ism.x wcsgfterm.x -cc -g -O2 -fdebug-prefix-map=/build/reproducible-path/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_colortables': +raster.c:2222:30: warning: '%s' directive writing up to 10239 bytes into a region of size 8182 [-Wformat-overflow=] + 2222 | sprintf (msgbuf, "setValue {%s}", message); + | ^~ +...... + 2311 | xim_message (xim, "colortables", buf); + | ~~~ +In file included from /usr/include/stdio.h:867, + from raster.c:1: +/usr/include/x86_64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 12 and 10251 bytes into a destination of size 8192 + 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 37 | __bos (__s), __fmt, __va_arg_pack ()); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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); @@ -3266,17 +3301,18 @@ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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/reproducible-path/x11iraf-2.0+2020.06.15+dfsg/ximtool/clients/libpkg.a idxstr.o ism.o wcsgfterm.o ar: creating /build/reproducible-path/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 +make[2]: Leaving directory '/build/reproducible-path/x11iraf-2.0+2020.06.15+dfsg/xgterm' Warning on line 304 of t_wcspix.x: inconsistent calling sequences for zcall4, arg 4: here real variable, previously integer variable. -cc -Wl,-z,relro -o xgterm button.o charproc.o cursor.o data.o gtermio.o input.o main.o menu.o misc.o screen.o scrollbar.o tabs.o util.o VTPrsTbl.o \ - -L../obm -lobm \ - -lXpm -ltcl -lXaw3d -lXmu -lXt -lXext -lX11 -lncurses -lm arg 5: here real variable, previously integer*2 variable. -/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' 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); @@ -3298,7 +3334,6 @@ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -make[2]: Leaving directory '/build/reproducible-path/x11iraf-2.0+2020.06.15+dfsg/xgterm' In file included from /usr/include/string.h:495, from /usr/include/X11/Intrinsic.h:61, from raster.c:9: @@ -3363,8 +3398,8 @@ dh_gencontrol dh_md5sums dh_builddeb -dpkg-deb: building package 'ximtool' in '../ximtool_2.0+2020.06.15+dfsg-1_amd64.deb'. dpkg-deb: building package 'ximtool-dbgsym' in '../ximtool-dbgsym_2.0+2020.06.15+dfsg-1_amd64.deb'. +dpkg-deb: building package 'ximtool' in '../ximtool_2.0+2020.06.15+dfsg-1_amd64.deb'. dpkg-deb: building package 'xgterm' in '../xgterm_2.0+2020.06.15+dfsg-1_amd64.deb'. dpkg-deb: building package 'xgterm-dbgsym' in '../xgterm-dbgsym_2.0+2020.06.15+dfsg-1_amd64.deb'. dpkg-genbuildinfo --build=binary @@ -3374,12 +3409,14 @@ dpkg-buildpackage: info: binary-only upload (no source included) dpkg-genchanges: info: including full source code in upload I: copying local configuration +I: user script /srv/workspace/pbuilder/1761629/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/1761629/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/3139441 and its subdirectories -I: Current time: Sun Aug 4 12:15:49 -12 2024 -I: pbuilder-time-stamp: 1722816949 +I: removing directory /srv/workspace/pbuilder/1761629 and its subdirectories +I: Current time: Sun Sep 7 20:39:53 +14 2025 +I: pbuilder-time-stamp: 1757227193