Input buildinfo: https://buildinfos.debian.net/buildinfo-pool/x/x11iraf/x11iraf_2.0+2020.06.15+dfsg-1_amd64.buildinfo Use metasnap for getting required timestamps New buildinfo file: /tmp/x11iraf-2.0+2020.06.15+dfsg-1kg73ja56/x11iraf_2.0+2020.06.15+dfsg-1_amd64.buildinfo Get source package info: x11iraf=2.0+2020.06.15+dfsg-1 Source URL: http://snapshot.notset.fr/mr/package/x11iraf/2.0+2020.06.15+dfsg-1/srcfiles?fileinfo=1 env -i PATH=/usr/sbin:/usr/bin:/sbin:/bin TMPDIR=/tmp mmdebstrap --arch=amd64 --include=autoconf=2.69-11.1 automake=1:1.16.2-3 autopoint=0.19.8.1-10 autotools-dev=20180224.1 base-files=11 base-passwd=3.5.47 bash=5.0-6 binutils=2.34.90.20200706-1 binutils-common=2.34.90.20200706-1 binutils-x86-64-linux-gnu=2.34.90.20200706-1 bison=2:3.6.3+dfsg-1 bsdextrautils=2.35.2-7 bsdutils=1:2.35.2-7 build-essential=12.8 bzip2=1.0.8-3 coreutils=8.32-2 cpp=4:9.2.1-3.1 cpp-9=9.3.0-14 dash=0.5.10.2-7 debconf=1.5.74 debhelper=13.2 debianutils=4.11 dh-autoreconf=19 dh-strip-nondeterminism=1.9.0-1 diffutils=1:3.7-3 dpkg=1.20.5 dpkg-dev=1.20.5 dwz=0.13-5 file=1:5.38-5 findutils=4.7.0-1 flex=2.6.4-8 g++=4:9.2.1-3.1 g++-9=9.3.0-14 gcc=4:9.2.1-3.1 gcc-10-base=10.1.0-4 gcc-9=9.3.0-14 gcc-9-base=9.3.0-14 gettext=0.19.8.1-10 gettext-base=0.19.8.1-10 grep=3.4-1 groff-base=1.22.4-5 gzip=1.10-2 hostname=3.23 init-system-helpers=1.58 intltool-debian=0.35.0+20060710.5 iraf=2.16.1+2018.11.01-4 iraf-dev=2.16.1+2018.11.01-4 libacl1=2.2.53-8 libarchive-zip-perl=1.68-1 libasan5=9.3.0-14 libatomic1=10.1.0-4 libattr1=1:2.4.48-5 libaudit-common=1:2.8.5-3 libaudit1=1:2.8.5-3+b1 libbinutils=2.34.90.20200706-1 libblkid1=2.35.2-7 libbrotli1=1.0.7-6.1 libbsd0=0.10.0-1 libbz2-1.0=1.0.8-3 libc-bin=2.30-8 libc-dev-bin=2.30-8 libc6=2.30-8 libc6-dev=2.30-8 libcap-ng0=0.7.9-2.2 libcc1-0=10.1.0-4 libcfitsio-dev=3.470-4 libcfitsio8=3.470-4 libcom-err2=1.45.6-1 libcroco3=0.6.13-1 libcrypt-dev=1:4.4.16-1 libcrypt1=1:4.4.16-1 libctf-nobfd0=2.34.90.20200706-1 libctf0=2.34.90.20200706-1 libcurl3-gnutls=7.68.0-1 libcurl4=7.68.0-1 libcurl4-gnutls-dev=7.68.0-1 libdb5.3=5.3.28+dfsg1-0.6 libdebconfclient0=0.253 libdebhelper-perl=13.2 libdpkg-perl=1.20.5 libelf1=0.176-1.1 libexpat1=2.2.9-1 libexpat1-dev=2.2.9-1 libffi7=3.3-4 libfile-stripnondeterminism-perl=1.9.0-1 libgcc-9-dev=9.3.0-14 libgcc-s1=10.1.0-4 libgcrypt20=1.8.5-5 libgdbm-compat4=1.18.1-5 libgdbm6=1.18.1-5 libglib2.0-0=2.64.4-1 libgmp10=2:6.2.0+dfsg-6 libgnutls30=3.6.14-2 libgomp1=10.1.0-4 libgpg-error0=1.38-2 libgssapi-krb5-2=1.17-10 libhogweed5=3.5.1+really3.5.1-2 libice-dev=2:1.0.9-2 libice6=2:1.0.9-2 libicu67=67.1-2 libidn2-0=2.3.0-1 libisl22=0.22.1-1 libitm1=10.1.0-4 libk5crypto3=1.17-10 libkeyutils1=1.6.1-2 libkrb5-3=1.17-10 libkrb5support0=1.17-10 libldap-2.4-2=2.4.50+dfsg-1 libldap-common=2.4.50+dfsg-1 liblsan0=10.1.0-4 liblz4-1=1.9.2-2 liblzma5=5.2.4-1+b1 libmagic-mgc=1:5.38-5 libmagic1=1:5.38-5 libmount1=2.35.2-7 libmpc3=1.1.0-1 libmpfr6=4.0.2-1 libncurses-dev=6.2-1 libncurses6=6.2-1 libncursesw6=6.2-1 libnettle7=3.5.1+really3.5.1-2 libnghttp2-14=1.41.0-2 libp11-kit0=0.23.20-1 libpam-modules=1.3.1-5 libpam-modules-bin=1.3.1-5 libpam-runtime=1.3.1-5 libpam0g=1.3.1-5 libpcre2-8-0=10.34-7 libpcre3=2:8.39-13 libperl5.30=5.30.3-4 libpipeline1=1.5.2-2 libpsl5=0.21.0-1.1 libpthread-stubs0-dev=0.4-1 libquadmath0=10.1.0-4 libreadline8=8.0-4 librtmp1=2.4+20151223.gitfa8646d.1-2+b1 libsasl2-2=2.1.27+dfsg-2 libsasl2-modules-db=2.1.27+dfsg-2 libseccomp2=2.4.3-1+b1 libselinux1=3.0-1+b3 libsigsegv2=2.12-2 libsm-dev=2:1.2.3-1 libsm6=2:1.2.3-1 libsmartcols1=2.35.2-7 libssh2-1=1.8.0-2.1 libssl1.1=1.1.1g-1 libstdc++-9-dev=9.3.0-14 libstdc++6=10.1.0-4 libsub-override-perl=0.09-2 libsystemd0=245.6-2 libtasn1-6=4.16.0-2 libtcl8.6=8.6.10+dfsg-1 libtinfo6=6.2-1 libtool=2.4.6-14 libtsan0=10.1.0-4 libubsan1=10.1.0-4 libuchardet0=0.0.7-1 libudev1=245.6-2 libunistring2=0.9.10-4 libuuid1=2.35.2-7 libx11-6=2:1.6.9-2+b1 libx11-data=2:1.6.9-2 libx11-dev=2:1.6.9-2+b1 libxau-dev=1:1.0.8-1+b2 libxau6=1:1.0.8-1+b2 libxaw7=2:1.0.13-1+b2 libxaw7-dev=2:1.0.13-1+b2 libxcb1=1.14-2 libxcb1-dev=1.14-2 libxdmcp-dev=1:1.1.2-3 libxdmcp6=1:1.1.2-3 libxext-dev=2:1.3.3-1+b2 libxext6=2:1.3.3-1+b2 libxml2=2.9.10+dfsg-5+b1 libxmu-dev=2:1.1.2-2+b3 libxmu-headers=2:1.1.2-2 libxmu6=2:1.1.2-2+b3 libxpm-dev=1:3.5.12-1 libxpm4=1:3.5.12-1 libxt-dev=1:1.1.5-1+b3 libxt6=1:1.1.5-1+b3 linux-libc-dev=5.7.6-1 login=1:4.8.1-1 lsb-base=11.1.0 m4=1.4.18-4 make=4.3-4 man-db=2.9.3-2 mawk=1.3.4.20200120-2 ncurses-base=6.2-1 ncurses-bin=6.2-1 patch=2.7.6-6 perl=5.30.3-4 perl-base=5.30.3-4 perl-modules-5.30=5.30.3-4 po-debconf=1.0.21 readline-common=8.0-4 sed=4.7-1 sensible-utils=0.0.12+nmu1 sysvinit-utils=2.96-3 tar=1.30+dfsg-7 tcl=8.6.9+1+b1 tcl-dev=8.6.9+1+b1 tcl8.6=8.6.10+dfsg-1 tcl8.6-dev=8.6.10+dfsg-1 tzdata=2020a-1 util-linux=2.35.2-7 x11-common=1:7.7+20 x11proto-core-dev=2020.1-1 x11proto-dev=2020.1-1 x11proto-xext-dev=2020.1-1 xaw3dg=1.5+E-18.3 xaw3dg-dev=1.5+E-18.3 xorg-sgml-doctools=1:1.11-1 xtrans-dev=1.4.0-1 xutils-dev=1:7.7+5+b1 xz-utils=5.2.4-1+b1 zlib1g=1:1.2.11.dfsg-2 zlib1g-dev=1:1.2.11.dfsg-2 --variant=apt --aptopt=Acquire::Check-Valid-Until "false" --aptopt=Acquire::http::Dl-Limit "1000"; --aptopt=Acquire::https::Dl-Limit "1000"; --aptopt=Acquire::Retries "5"; --aptopt=APT::Get::allow-downgrades "true"; --keyring=/usr/share/keyrings/ --essential-hook=chroot "$1" sh -c "apt-get --yes install fakeroot util-linux" --essential-hook=copy-in /usr/share/keyrings/debian-archive-bullseye-automatic.gpg /usr/share/keyrings/debian-archive-bullseye-security-automatic.gpg /usr/share/keyrings/debian-archive-bullseye-stable.gpg /usr/share/keyrings/debian-archive-buster-automatic.gpg /usr/share/keyrings/debian-archive-buster-security-automatic.gpg /usr/share/keyrings/debian-archive-buster-stable.gpg /usr/share/keyrings/debian-archive-keyring.gpg /usr/share/keyrings/debian-archive-removed-keys.gpg /usr/share/keyrings/debian-archive-stretch-automatic.gpg /usr/share/keyrings/debian-archive-stretch-security-automatic.gpg /usr/share/keyrings/debian-archive-stretch-stable.gpg /usr/share/keyrings/debian-ports-archive-keyring-removed.gpg /usr/share/keyrings/debian-ports-archive-keyring.gpg /usr/share/keyrings/debian-keyring.gpg /etc/apt/trusted.gpg.d/ --essential-hook=chroot "$1" sh -c "rm /etc/apt/sources.list && echo 'deb http://snapshot.notset.fr/archive/debian/20210814T212851Z/ bookworm main deb-src http://snapshot.notset.fr/archive/debian/20210814T212851Z/ bookworm main deb http://snapshot.notset.fr/archive/debian/20200713T085630Z/ unstable main' >> /etc/apt/sources.list && apt-get update" --customize-hook=chroot "$1" useradd --no-create-home -d /nonexistent -p "" builduser -s /bin/bash --customize-hook=chroot "$1" env sh -c "apt-get source --only-source -d x11iraf=2.0+2020.06.15+dfsg-1 && mkdir -p /build/x11iraf-N8tTGQ && dpkg-source --no-check -x /*.dsc /build/x11iraf-N8tTGQ/x11iraf-2.0+2020.06.15+dfsg && chown -R builduser:builduser /build/x11iraf-N8tTGQ" --customize-hook=chroot "$1" env --unset=TMPDIR runuser builduser -c "cd /build/x11iraf-N8tTGQ/x11iraf-2.0+2020.06.15+dfsg && env DEB_BUILD_OPTIONS="parallel=4" LC_ALL="C.UTF-8" SOURCE_DATE_EPOCH="1593703243" dpkg-buildpackage -uc -a amd64 --build=any" --customize-hook=sync-out /build/x11iraf-N8tTGQ /tmp/x11iraf-2.0+2020.06.15+dfsg-1kg73ja56 bullseye /dev/null deb http://snapshot.notset.fr/archive/debian/20200713T085630Z unstable main I: automatically chosen mode: root I: chroot architecture amd64 is equal to the host's architecture I: automatically chosen format: tar I: using /tmp/mmdebstrap.HhQo815fkn as tempdir I: running apt-get update... I: downloading packages with apt... I: extracting archives... I: installing essential packages... I: running --essential-hook in shell: sh -c 'chroot "$1" sh -c "apt-get --yes install fakeroot util-linux"' exec /tmp/mmdebstrap.HhQo815fkn Reading package lists... Building dependency tree... util-linux is already the newest version (2.35.2-7). The following NEW packages will be installed: fakeroot libfakeroot 0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded. Need to get 132 kB of archives. After this operation, 393 kB of additional disk space will be used. Get:1 http://snapshot.notset.fr/archive/debian/20200713T085630Z unstable/main amd64 libfakeroot amd64 1.24-1 [45.7 kB] Get:2 http://snapshot.notset.fr/archive/debian/20200713T085630Z unstable/main amd64 fakeroot amd64 1.24-1 [85.9 kB] debconf: delaying package configuration, since apt-utils is not installed Fetched 132 kB in 0s (828 kB/s) Selecting previously unselected package libfakeroot:amd64. (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 ... 4577 files and directories currently installed.) Preparing to unpack .../libfakeroot_1.24-1_amd64.deb ... Unpacking libfakeroot:amd64 (1.24-1) ... Selecting previously unselected package fakeroot. Preparing to unpack .../fakeroot_1.24-1_amd64.deb ... Unpacking fakeroot (1.24-1) ... Setting up libfakeroot:amd64 (1.24-1) ... Setting up fakeroot (1.24-1) ... update-alternatives: using /usr/bin/fakeroot-sysv to provide /usr/bin/fakeroot (fakeroot) in auto mode Processing triggers for libc-bin (2.30-8) ... I: running special hook: copy-in /usr/share/keyrings/debian-archive-bullseye-automatic.gpg /usr/share/keyrings/debian-archive-bullseye-security-automatic.gpg /usr/share/keyrings/debian-archive-bullseye-stable.gpg /usr/share/keyrings/debian-archive-buster-automatic.gpg /usr/share/keyrings/debian-archive-buster-security-automatic.gpg /usr/share/keyrings/debian-archive-buster-stable.gpg /usr/share/keyrings/debian-archive-keyring.gpg /usr/share/keyrings/debian-archive-removed-keys.gpg /usr/share/keyrings/debian-archive-stretch-automatic.gpg /usr/share/keyrings/debian-archive-stretch-security-automatic.gpg /usr/share/keyrings/debian-archive-stretch-stable.gpg /usr/share/keyrings/debian-ports-archive-keyring-removed.gpg /usr/share/keyrings/debian-ports-archive-keyring.gpg /usr/share/keyrings/debian-keyring.gpg /etc/apt/trusted.gpg.d/ I: running --essential-hook in shell: sh -c 'chroot "$1" sh -c "rm /etc/apt/sources.list && echo 'deb http://snapshot.notset.fr/archive/debian/20210814T212851Z/ bookworm main deb-src http://snapshot.notset.fr/archive/debian/20210814T212851Z/ bookworm main deb http://snapshot.notset.fr/archive/debian/20200713T085630Z/ unstable main' >> /etc/apt/sources.list && apt-get update"' exec /tmp/mmdebstrap.HhQo815fkn Get:1 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm InRelease [81.6 kB] Hit:2 http://snapshot.notset.fr/archive/debian/20200713T085630Z unstable InRelease Ign:3 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main Sources Ign:4 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main amd64 Packages Ign:3 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main Sources Ign:4 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main amd64 Packages Ign:3 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main Sources Ign:4 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main amd64 Packages Get:3 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main Sources [11.4 MB] Get:4 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main amd64 Packages [11.1 MB] Fetched 22.6 MB in 19s (1168 kB/s) Reading package lists... I: installing remaining packages inside the chroot... I: running --customize-hook in shell: sh -c 'chroot "$1" useradd --no-create-home -d /nonexistent -p "" builduser -s /bin/bash' exec /tmp/mmdebstrap.HhQo815fkn I: running --customize-hook in shell: sh -c 'chroot "$1" env sh -c "apt-get source --only-source -d x11iraf=2.0+2020.06.15+dfsg-1 && mkdir -p /build/x11iraf-N8tTGQ && dpkg-source --no-check -x /*.dsc /build/x11iraf-N8tTGQ/x11iraf-2.0+2020.06.15+dfsg && chown -R builduser:builduser /build/x11iraf-N8tTGQ"' exec /tmp/mmdebstrap.HhQo815fkn Reading package lists... NOTICE: 'x11iraf' packaging is maintained in the 'Git' version control system at: https://salsa.debian.org/debian-astro-team/x11iraf.git Please use: git clone https://salsa.debian.org/debian-astro-team/x11iraf.git to retrieve the latest (possibly unreleased) updates to the package. Need to get 1148 kB of source archives. Get:1 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main x11iraf 2.0+2020.06.15+dfsg-1 (dsc) [2222 B] Get:2 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main x11iraf 2.0+2020.06.15+dfsg-1 (tar) [1137 kB] Get:3 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main x11iraf 2.0+2020.06.15+dfsg-1 (diff) [9696 B] Fetched 1148 kB in 1s (1126 kB/s) Download complete and in download only mode W: Download is performed unsandboxed as root as file 'x11iraf_2.0+2020.06.15+dfsg-1.dsc' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied) dpkg-source: info: extracting x11iraf in /build/x11iraf-N8tTGQ/x11iraf-2.0+2020.06.15+dfsg dpkg-source: info: unpacking x11iraf_2.0+2020.06.15+dfsg.orig.tar.xz dpkg-source: info: unpacking x11iraf_2.0+2020.06.15+dfsg-1.debian.tar.xz dpkg-source: info: using patch list from debian/patches/series dpkg-source: info: applying Fix-location-of-ism_wcspix.e-executable-call-in-ximtool.patch dpkg-source: info: applying Remove-left-over-reference-to-non-free-file.patch dpkg-source: info: applying Remove-errornous-declaration-of-time.patch I: running --customize-hook in shell: sh -c 'chroot "$1" env --unset=TMPDIR runuser builduser -c "cd /build/x11iraf-N8tTGQ/x11iraf-2.0+2020.06.15+dfsg && env DEB_BUILD_OPTIONS="parallel=4" LC_ALL="C.UTF-8" SOURCE_DATE_EPOCH="1593703243" dpkg-buildpackage -uc -a amd64 --build=any"' exec /tmp/mmdebstrap.HhQo815fkn dpkg-buildpackage: info: source package x11iraf dpkg-buildpackage: info: source version 2.0+2020.06.15+dfsg-1 dpkg-buildpackage: info: source distribution unstable dpkg-buildpackage: info: source changed by Ole Streicher dpkg-source --before-build . dpkg-buildpackage: info: host architecture amd64 debian/rules clean dh clean dh_auto_clean make -j4 clean make[1]: Entering directory '/build/x11iraf-N8tTGQ/x11iraf-2.0+2020.06.15+dfsg' make -C xtapemon clean make[2]: Entering directory '/build/x11iraf-N8tTGQ/x11iraf-2.0+2020.06.15+dfsg/xtapemon' rm -f xtapemon classnames.o types.o xtapemon.o make[2]: Leaving directory '/build/x11iraf-N8tTGQ/x11iraf-2.0+2020.06.15+dfsg/xtapemon' make -C ximtool clean make[2]: Entering directory '/build/x11iraf-N8tTGQ/x11iraf-2.0+2020.06.15+dfsg/ximtool' rm -f ximtool ximtool.gui.h ximtool.html.h eps.o fitsio.o gifio.o iis.o irafio.o ism.o ism_wcspix.o load.o logo.o print.o quant.o rasio.o raster.o save.o tiffio.o util.o ximclient.o ximtool.o zscale.o cd clients && mkpkg clean || true Warning, hlib$mkpkg.inc line 5: macro `IRAFARCH' not found delete file ism_wcspix.e Warning, mkpkg line 31: cannot delete file ism_wcspix.e delete file libpkg.a Warning, mkpkg line 31: cannot delete file libpkg.a delete file x_ism.o Warning, mkpkg line 31: cannot delete file x_ism.o make[2]: Leaving directory '/build/x11iraf-N8tTGQ/x11iraf-2.0+2020.06.15+dfsg/ximtool' make -C xgterm clean make[2]: Entering directory '/build/x11iraf-N8tTGQ/x11iraf-2.0+2020.06.15+dfsg/xgterm' rm -f 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 make[2]: Leaving directory '/build/x11iraf-N8tTGQ/x11iraf-2.0+2020.06.15+dfsg/xgterm' make -C obmsh clean make[2]: Entering directory '/build/x11iraf-N8tTGQ/x11iraf-2.0+2020.06.15+dfsg/obmsh' rm -f obmsh obmsh.o make[2]: Leaving directory '/build/x11iraf-N8tTGQ/x11iraf-2.0+2020.06.15+dfsg/obmsh' make -C obm clean make[2]: Entering directory '/build/x11iraf-N8tTGQ/x11iraf-2.0+2020.06.15+dfsg/obm' make -C ObmW clean make[3]: Entering directory '/build/x11iraf-N8tTGQ/x11iraf-2.0+2020.06.15+dfsg/obm/ObmW' rm -f Arrow.o Board.o Button.o Common.o DrawIString.o DrawString.o DrawingArea.o Frame.o Group.o Gterm.o Icon.o iconutil.o Label.o Layout.o MenuBar.o MultiList.o RadioGrp.o RowCol.o Scrollbar.o Slider2.o Tablist2Tabs.o TextWidth.o Toggle.o cvtLong.o scroll.o strnchr.o Tabs.o Gcs.o ListTree.o Separator.o Container.o color.o laygram.o laylex.o laygram.c laygram.h laylex.c make[3]: Leaving directory '/build/x11iraf-N8tTGQ/x11iraf-2.0+2020.06.15+dfsg/obm/ObmW' make -C listres clean make[3]: Entering directory '/build/x11iraf-N8tTGQ/x11iraf-2.0+2020.06.15+dfsg/obm/listres' rm -f listres listres.o AllWidgets.o make[3]: Leaving directory '/build/x11iraf-N8tTGQ/x11iraf-2.0+2020.06.15+dfsg/obm/listres' rm -f Obm.o client.o param.o server.o widget.o gterm.o marker.o geom.o libobm.a make[2]: Leaving directory '/build/x11iraf-N8tTGQ/x11iraf-2.0+2020.06.15+dfsg/obm' make[1]: Leaving directory '/build/x11iraf-N8tTGQ/x11iraf-2.0+2020.06.15+dfsg' dh_clean debian/rules binary-arch dh binary-arch dh_update_autotools_config -a dh_autoreconf -a dh_auto_configure -a dh_auto_build -a make -j4 "INSTALL=install --strip-program=true" make[1]: Entering directory '/build/x11iraf-N8tTGQ/x11iraf-2.0+2020.06.15+dfsg' make -C obm make[2]: Entering directory '/build/x11iraf-N8tTGQ/x11iraf-2.0+2020.06.15+dfsg/obm' cc -g -O2 -fdebug-prefix-map=/build/x11iraf-N8tTGQ/x11iraf-2.0+2020.06.15+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DOSI_COMPLIANT -Wdate-time -D_FORTIFY_SOURCE=2 -c -o Obm.o Obm.c cc -g -O2 -fdebug-prefix-map=/build/x11iraf-N8tTGQ/x11iraf-2.0+2020.06.15+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DOSI_COMPLIANT -Wdate-time -D_FORTIFY_SOURCE=2 -c -o client.o client.c cc -g -O2 -fdebug-prefix-map=/build/x11iraf-N8tTGQ/x11iraf-2.0+2020.06.15+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DOSI_COMPLIANT -Wdate-time -D_FORTIFY_SOURCE=2 -c -o param.o param.c cc -g -O2 -fdebug-prefix-map=/build/x11iraf-N8tTGQ/x11iraf-2.0+2020.06.15+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DOSI_COMPLIANT -Wdate-time -D_FORTIFY_SOURCE=2 -c -o server.o server.c param.c: In function ‘ParameterClassInit’: param.c:99:19: warning: assignment to ‘ObmCreateFunc’ {aka ‘struct obmObject * (*)()’} from incompatible pointer type ‘int (*)()’ [-Wincompatible-pointer-types] 99 | classrec->Create = (ObmFunc) ParameterCreate; | ^ param.c: In function ‘ParameterEvaluate’: param.c:213:32: warning: passing argument 2 of ‘Tcl_SetResult’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 213 | Tcl_SetResult (obm->tcl, Tcl_GetStringResult (msg->tcl), TCL_VOLATILE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/tcl/tcl.h:2441, from ObmP.h:76, from param.c:4: /usr/include/tcl/tclDecls.h:694:54: note: expected ‘char *’ but argument is of type ‘const char *’ 694 | 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:694:54: note: expected ‘char *’ but argument is of type ‘const char *’ 694 | EXTERN void Tcl_SetResult(Tcl_Interp *interp, char *result, | ~~~~~~^~~~~~ server.c: In function ‘serverSend’: server.c:831:41: warning: passing argument 2 of ‘Tcl_Merge’ from incompatible pointer type [-Wincompatible-pointer-types] 831 | char *message = Tcl_Merge (argc-2, &argv[2]); | ^~~~~~~~ | | | char ** In file included from /usr/include/tcl/tcl.h:2441, from ObmP.h:76, from server.c:4: /usr/include/tcl/tclDecls.h:585:16: note: expected ‘const char * const*’ but argument is of type ‘char **’ 585 | EXTERN char * Tcl_Merge(int argc, CONST84 char *const *argv); | ^~~~~~~~~ server.c: In function ‘serverPrint’: server.c:856:42: warning: passing argument 2 of ‘Tcl_Concat’ from incompatible pointer type [-Wincompatible-pointer-types] 856 | char *message = Tcl_Concat (argc-1, &argv[1]); | ^~~~~~~~ | | | char ** In file included from /usr/include/tcl/tcl.h:2441, from ObmP.h:76, from server.c:4: /usr/include/tcl/tclDecls.h:274:16: note: expected ‘const char * const*’ but argument is of type ‘char **’ 274 | EXTERN char * Tcl_Concat(int argc, CONST84 char *const *argv); | ^~~~~~~~~~ server.c: In function ‘serverGetResources’: server.c:999:50: warning: passing argument 4 of ‘Tcl_SplitList’ from incompatible pointer type [-Wincompatible-pointer-types] 999 | if (Tcl_SplitList (tcl, resource_list, &nitems, &items) != TCL_OK) { | ^~~~~~ | | | char *** In file included from /usr/include/tcl/tcl.h:2441, from ObmP.h:76, from server.c:4: /usr/include/tcl/tclDecls.h:723:21: note: expected ‘const char ***’ but argument is of type ‘char ***’ 723 | CONST84 char ***argvPtr); | ^ server.c:1006:53: warning: passing argument 4 of ‘Tcl_SplitList’ from incompatible pointer type [-Wincompatible-pointer-types] 1006 | if (Tcl_SplitList (tcl, items[item], &nfields, &fields) != TCL_OK) { | ^~~~~~~ | | | char *** In file included from /usr/include/tcl/tcl.h:2441, from ObmP.h:76, from server.c:4: /usr/include/tcl/tclDecls.h:723:21: note: expected ‘const char ***’ but argument is of type ‘char ***’ 723 | CONST84 char ***argvPtr); | ^ 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); | ^ server.c: In function ‘serverPostTimedCallback’: server.c:1115:21: warning: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 3 has type ‘ServerCallback’ {aka ‘struct _serverCallback *’} [-Wformat=] 1115 | sprintf (buf, "0x%lx", cb); | ~~^ ~~ | | | | | ServerCallback {aka struct _serverCallback *} | long unsigned int server.c: In function ‘serverPostWorkProc’: server.c:1240:21: warning: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 3 has type ‘ServerCallback’ {aka ‘struct _serverCallback *’} [-Wformat=] 1240 | sprintf (buf, "0x%lx", cb); | ~~^ ~~ | | | | | ServerCallback {aka struct _serverCallback *} | long unsigned int server.c: In function ‘serverCreateMenu’: server.c:2144:46: warning: passing argument 4 of ‘Tcl_SplitList’ from incompatible pointer type [-Wincompatible-pointer-types] 2144 | if (Tcl_SplitList (tcl, item_list, &nitems, &items) != TCL_OK) { | ^~~~~~ | | | char *** In file included from /usr/include/tcl/tcl.h:2441, from ObmP.h:76, from server.c:4: /usr/include/tcl/tclDecls.h:723:21: note: expected ‘const char ***’ but argument is of type ‘char ***’ 723 | CONST84 char ***argvPtr); | ^ server.c:2155:53: warning: passing argument 4 of ‘Tcl_SplitList’ from incompatible pointer type [-Wincompatible-pointer-types] 2155 | if (Tcl_SplitList (tcl, items[item], &nfields, &fields) != TCL_OK) { | ^~~~~~~ | | | char *** In file included from /usr/include/tcl/tcl.h:2441, from ObmP.h:76, from server.c:4: /usr/include/tcl/tclDecls.h:723:21: note: expected ‘const char ***’ but argument is of type ‘char ***’ 723 | CONST84 char ***argvPtr); | ^ server.c:2175:17: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 2175 | ip->label = cp; | ^ client.c: In function ‘ClientEvaluate’: client.c:137:53: warning: passing argument 4 of ‘Tcl_SplitList’ from incompatible pointer type [-Wincompatible-pointer-types] 137 | literal: if (Tcl_SplitList (tcl, command, &argc, &argvp) == TCL_OK) { | ^~~~~~ | | | char *** In file included from /usr/include/tcl/tcl.h:2441, from ObmP.h:76, from client.c:4: /usr/include/tcl/tclDecls.h:723:21: note: expected ‘const char ***’ but argument is of type ‘char ***’ 723 | CONST84 char ***argvPtr); | ^ client.c: In function ‘clientGcmd’: client.c:173:42: warning: passing argument 2 of ‘Tcl_Concat’ from incompatible pointer type [-Wincompatible-pointer-types] 173 | char *message = Tcl_Concat (argc-1, &argv[1]); | ^~~~~~~~ | | | char ** In file included from /usr/include/tcl/tcl.h:2441, from ObmP.h:76, from client.c:4: /usr/include/tcl/tclDecls.h:274:16: note: expected ‘const char * const*’ but argument is of type ‘char **’ 274 | EXTERN char * Tcl_Concat(int argc, CONST84 char *const *argv); | ^~~~~~~~~~ client.c: In function ‘clientLiteral’: client.c:225:42: warning: passing argument 2 of ‘Tcl_Concat’ from incompatible pointer type [-Wincompatible-pointer-types] 225 | char *message = Tcl_Concat (argc-1, &argv[1]); | ^~~~~~~~ | | | char ** In file included from /usr/include/tcl/tcl.h:2441, from ObmP.h:76, from client.c:4: /usr/include/tcl/tclDecls.h:274:16: note: expected ‘const char * const*’ but argument is of type ‘char **’ 274 | EXTERN char * Tcl_Concat(int argc, CONST84 char *const *argv); | ^~~~~~~~~~ cc -g -O2 -fdebug-prefix-map=/build/x11iraf-N8tTGQ/x11iraf-2.0+2020.06.15+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DOSI_COMPLIANT -Wdate-time -D_FORTIFY_SOURCE=2 -c -o widget.o widget.c cc -g -O2 -fdebug-prefix-map=/build/x11iraf-N8tTGQ/x11iraf-2.0+2020.06.15+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DOSI_COMPLIANT -Wdate-time -D_FORTIFY_SOURCE=2 -c -o gterm.o gterm.c server.c: In function ‘menu_highlight’: server.c:3034:24: warning: ‘__builtin___sprintf_chk’ may write a terminating nul past the end of the destination [-Wformat-overflow=] 3034 | sprintf (target, "*%s", mw->child); | ^ In file included from /usr/include/stdio.h:867, from ObmP.h:8, from server.c:4: /usr/include/x86_64-linux-gnu/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output between 2 and 129 bytes into a destination of size 128 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ widget.c: In function ‘WidgetClassInit’: widget.c:263:19: warning: assignment to ‘ObmCreateFunc’ {aka ‘struct obmObject * (*)()’} from incompatible pointer type ‘int (*)()’ [-Wincompatible-pointer-types] 263 | classrec->Create = (ObmFunc) WidgetCreate; | ^ widget.c: In function ‘WidgetEvaluate’: widget.c:697:30: warning: passing argument 2 of ‘Tcl_SetResult’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 697 | Tcl_SetResult (server, Tcl_GetStringResult (tcl), TCL_VOLATILE); | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/tcl/tcl.h:2441, from ObmP.h:76, from widget.c:5: /usr/include/tcl/tclDecls.h:694:54: note: expected ‘char *’ but argument is of type ‘const char *’ 694 | EXTERN void Tcl_SetResult(Tcl_Interp *interp, char *result, | ~~~~~~^~~~~~ widget.c:721:30: warning: passing argument 2 of ‘Tcl_SetResult’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 721 | Tcl_SetResult (server, Tcl_GetStringResult (tcl), TCL_VOLATILE); | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/tcl/tcl.h:2441, from ObmP.h:76, from widget.c:5: /usr/include/tcl/tclDecls.h:694:54: note: expected ‘char *’ but argument is of type ‘const char *’ 694 | EXTERN void Tcl_SetResult(Tcl_Interp *interp, char *result, | ~~~~~~^~~~~~ widget.c:730:29: warning: passing argument 2 of ‘Tcl_SetResult’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 730 | Tcl_SetResult (server, Tcl_GetStringResult (tcl), TCL_VOLATILE); | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/tcl/tcl.h:2441, from ObmP.h:76, from widget.c:5: /usr/include/tcl/tclDecls.h:694:54: note: expected ‘char *’ but argument is of type ‘const char *’ 694 | EXTERN void Tcl_SetResult(Tcl_Interp *interp, char *result, | ~~~~~~^~~~~~ widget.c: In function ‘widgetAddCallback’: widget.c:827:57: warning: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 3 has type ‘ObmContext’ {aka ‘struct obmContext *’} [-Wformat=] 827 | sprintf (text_translations, "Return: do_text(0x%lx, %s) ", | ~~^ | | | long unsigned int 828 | wp->obm, XtName(wp->w)); | ~~~~~~~ | | | ObmContext {aka struct obmContext *} widget.c: In function ‘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); | ^ widget.c: In function ‘do_userproc’: widget.c:1591:22: warning: format ‘%u’ expects argument of type ‘unsigned int’, but argument 3 has type ‘Time’ {aka ‘long unsigned int’} [-Wformat=] 1591 | sprintf (op, "%u ", time); | ~^ ~~~~ | | | | | Time {aka long unsigned int} | unsigned int | %lu widget.c: In function ‘widgetGet’: widget.c:2152:27: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 3 has type ‘caddr_t’ {aka ‘char *’} [-Wformat=] 2152 | sprintf (result, "0x%x", value); | ~^ ~~~~~ | | | | | caddr_t {aka char *} | unsigned int | %s widget.c:2166:27: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 3 has type ‘caddr_t’ {aka ‘char *’} [-Wformat=] 2166 | sprintf (result, "0x%x", value); | ~^ ~~~~~ | | | | | caddr_t {aka char *} | unsigned int | %s 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; | ^ widget.c: In function ‘widgetSetList’: widget.c:2272:46: warning: passing argument 4 of ‘Tcl_SplitList’ from incompatible pointer type [-Wincompatible-pointer-types] 2272 | if (Tcl_SplitList (obm->tcl, list, &nitems, &items) != TCL_OK) | ^~~~~~ | | | char *** In file included from /usr/include/tcl/tcl.h:2441, from ObmP.h:76, from widget.c:5: /usr/include/tcl/tclDecls.h:723:21: note: expected ‘const char ***’ but argument is of type ‘char ***’ 723 | CONST84 char ***argvPtr); | ^ 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:16: note: expected ‘const char * const*’ but argument is of type ‘char **’ 274 | EXTERN char * Tcl_Concat(int argc, CONST84 char *const *argv); | ^~~~~~~~~~ Obm.c: In function ‘ObmActivate’: Obm.c:311:57: warning: ‘%s’ directive writing 29 bytes into a region of size between 13 and 394 [-Wformat-overflow=] 311 | sprintf (defaultUI, "%s %s %s {%s.objects: %s%s%s%s%s}; %s; %s\n", | ^~ ...... 317 | "*gterm.deiconifyWindow: True\n", | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:867, from ObmP.h:8, from Obm.c:5: /usr/include/x86_64-linux-gnu/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output between 187 and 568 bytes into a destination of size 512 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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); | ^ 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; | ^ widget.c: In function ‘widgetRemoveEventHandler’: widget.c:4699:35: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 4699 | XtRemoveEventHandler (wp->w, (int) cb->client_data, nonmaskable, | ^ widget.c: In function ‘widgetEvent’: widget.c:4771:18: warning: format ‘%u’ expects argument of type ‘unsigned int’, but argument 3 has type ‘Time’ {aka ‘long unsigned int’} [-Wformat=] 4771 | sprintf (op, "%u %d %d %d %d ", | ~^ | | | unsigned int | %lu 4772 | ev->time, ev->x, ev->y, ev->x_root, ev->y_root); | ~~~~~~~~ | | | Time {aka long unsigned int} widget.c:4802:18: warning: format ‘%u’ expects argument of type ‘unsigned int’, but argument 3 has type ‘Time’ {aka ‘long unsigned int’} [-Wformat=] 4802 | sprintf (op, "%u %d %d %d %d ", | ~^ | | | unsigned int | %lu 4803 | ev->time, ev->x, ev->y, ev->x_root, ev->y_root); | ~~~~~~~~ | | | Time {aka long unsigned int} widget.c:4826:8: warning: ‘XKeycodeToKeysym’ is deprecated [-Wdeprecated-declarations] 4826 | keysym = XKeycodeToKeysym (obm->display, | ^~~~~~ In file included from /usr/include/X11/Intrinsic.h:53, from ObmP.h:16, from widget.c:5: /usr/include/X11/Xlib.h:1687:15: note: declared here 1687 | extern KeySym XKeycodeToKeysym( | ^~~~~~~~~~~~~~~~ widget.c:4844:18: warning: format ‘%u’ expects argument of type ‘unsigned int’, but argument 3 has type ‘Time’ {aka ‘long unsigned int’} [-Wformat=] 4844 | sprintf (op, "%u %d %d %d %d ", | ~^ | | | unsigned int | %lu 4845 | ev->time, ev->x, ev->y, ev->x_root, ev->y_root); | ~~~~~~~~ | | | Time {aka long unsigned int} widget.c: In function ‘widgetGetFontName’: widget.c:5015:43: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘long unsigned int’ [-Wformat=] 5015 | sprintf(name, "%s%d", name, val); | ~^ ~~~ | | | | int long unsigned int | %ld gterm.c: In function ‘gtermExtractPixmap’: gterm.c:2971:6: warning: implicit declaration of function ‘createPixmap’; did you mean ‘XCreatePixmap’? [-Wimplicit-function-declaration] 2971 | createPixmap (obm, s_pixmap, nx, ny, 8, pixmap, NULL, 0, 0); | ^~~~~~~~~~~~ | XCreatePixmap gterm.c: In function ‘gtermCreateMarker’: gterm.c:4113:48: warning: passing argument 4 of ‘Tcl_SplitList’ from incompatible pointer type [-Wincompatible-pointer-types] 4113 | if (Tcl_SplitList (tcl, argv[2], &nitems, &items) != TCL_OK) | ^~~~~~ | | | char *** In file included from /usr/include/tcl/tcl.h:2441, from ObmP.h:76, from gterm.c:4: /usr/include/tcl/tclDecls.h:723:21: note: expected ‘const char ***’ but argument is of type ‘char ***’ 723 | CONST84 char ***argvPtr); | ^ cc -g -O2 -fdebug-prefix-map=/build/x11iraf-N8tTGQ/x11iraf-2.0+2020.06.15+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DOSI_COMPLIANT -Wdate-time -D_FORTIFY_SOURCE=2 -c -o marker.o marker.c marker.c: In function ‘MarkerClassInit’: marker.c:158:19: warning: assignment to ‘ObmCreateFunc’ {aka ‘struct obmObject * (*)()’} from incompatible pointer type ‘int (*)()’ [-Wincompatible-pointer-types] 158 | classrec->Create = (ObmFunc) MarkerCreate; | ^ marker.c: In function ‘MarkerEvaluate’: marker.c:397:32: warning: passing argument 2 of ‘Tcl_SetResult’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 397 | Tcl_SetResult (obm->tcl, Tcl_GetStringResult (msg->tcl), TCL_VOLATILE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/tcl/tcl.h:2441, from ObmP.h:76, from marker.c:5: /usr/include/tcl/tclDecls.h:694:54: note: expected ‘char *’ but argument is of type ‘const char *’ 694 | EXTERN void Tcl_SetResult(Tcl_Interp *interp, char *result, | ~~~~~~^~~~~~ marker.c:405:28: warning: passing argument 2 of ‘Tcl_SetResult’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 405 | Tcl_SetResult (obm->tcl, Tcl_GetStringResult (msg->tcl), TCL_VOLATILE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/tcl/tcl.h:2441, from ObmP.h:76, from marker.c:5: /usr/include/tcl/tclDecls.h:694:54: note: expected ‘char *’ but argument is of type ‘const char *’ 694 | 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:723:21: note: expected ‘const char ***’ but argument is of type ‘char ***’ 723 | CONST84 char ***argvPtr); | ^ marker.c: In function ‘markerSetAttributes’: marker.c:1309:48: warning: passing argument 4 of ‘Tcl_SplitList’ from incompatible pointer type [-Wincompatible-pointer-types] 1309 | if (Tcl_SplitList (tcl, argv[1], &nitems, &items) != TCL_OK) | ^~~~~~ | | | char *** In file included from /usr/include/tcl/tcl.h:2441, from ObmP.h:76, from marker.c:5: /usr/include/tcl/tclDecls.h:723:21: note: expected ‘const char ***’ but argument is of type ‘char ***’ 723 | CONST84 char ***argvPtr); | ^ cc -g -O2 -fdebug-prefix-map=/build/x11iraf-N8tTGQ/x11iraf-2.0+2020.06.15+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DOSI_COMPLIANT -Wdate-time -D_FORTIFY_SOURCE=2 -c -o geom.o geom.c make -C ObmW make[3]: Entering directory '/build/x11iraf-N8tTGQ/x11iraf-2.0+2020.06.15+dfsg/obm/ObmW' cc -g -O2 -fdebug-prefix-map=/build/x11iraf-N8tTGQ/x11iraf-2.0+2020.06.15+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DOSI_COMPLIANT -DOSI_COMPLIANT -Wdate-time -D_FORTIFY_SOURCE=2 -c -o Arrow.o Arrow.c cc -g -O2 -fdebug-prefix-map=/build/x11iraf-N8tTGQ/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/x11iraf-N8tTGQ/x11iraf-2.0+2020.06.15+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DOSI_COMPLIANT -DOSI_COMPLIANT -Wdate-time -D_FORTIFY_SOURCE=2 -c -o Button.o Button.c cc -g -O2 -fdebug-prefix-map=/build/x11iraf-N8tTGQ/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 cc -g -O2 -fdebug-prefix-map=/build/x11iraf-N8tTGQ/x11iraf-2.0+2020.06.15+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DOSI_COMPLIANT -DOSI_COMPLIANT -Wdate-time -D_FORTIFY_SOURCE=2 -c -o DrawIString.o DrawIString.c cc -g -O2 -fdebug-prefix-map=/build/x11iraf-N8tTGQ/x11iraf-2.0+2020.06.15+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DOSI_COMPLIANT -DOSI_COMPLIANT -Wdate-time -D_FORTIFY_SOURCE=2 -c -o DrawString.o DrawString.c cc -g -O2 -fdebug-prefix-map=/build/x11iraf-N8tTGQ/x11iraf-2.0+2020.06.15+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DOSI_COMPLIANT -DOSI_COMPLIANT -Wdate-time -D_FORTIFY_SOURCE=2 -c -o DrawingArea.o DrawingArea.c cc -g -O2 -fdebug-prefix-map=/build/x11iraf-N8tTGQ/x11iraf-2.0+2020.06.15+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DOSI_COMPLIANT -DOSI_COMPLIANT -Wdate-time -D_FORTIFY_SOURCE=2 -c -o Frame.o Frame.c cc -g -O2 -fdebug-prefix-map=/build/x11iraf-N8tTGQ/x11iraf-2.0+2020.06.15+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DOSI_COMPLIANT -DOSI_COMPLIANT -Wdate-time -D_FORTIFY_SOURCE=2 -c -o Group.o Group.c cc -g -O2 -fdebug-prefix-map=/build/x11iraf-N8tTGQ/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 Group.c: In function ‘on_cb’: Group.c:104:27: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 104 | Cardinal toggle_ord = (Cardinal) client_data; | ^ Group.c: In function ‘off_cb’: Group.c:131:27: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 131 | Cardinal toggle_ord = (Cardinal) client_data; | ^ Group.c: In function ‘insert_child’: Group.c:368:45: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 368 | XtAddCallback(child, XtNonCallback, on_cb, (XtPointer) ((XfwfGroupWidget)self)->xfwfGroup.toggle_ord); | ^ Group.c:369:47: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 369 | XtAddCallback(child, XtNoffCallback, off_cb, (XtPointer) ((XfwfGroupWidget)self)->xfwfGroup.toggle_ord); | ^ cc -g -O2 -fdebug-prefix-map=/build/x11iraf-N8tTGQ/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 Gterm.c: In function ‘Initialize’: Gterm.c:756:44: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 3 has type ‘Colormap’ {aka ‘long unsigned int’} [-Wformat=] 756 | "Gterm.intialize(Pseudo8): colormap = 0x%x base=%d\n", | ~^ | | | unsigned int | %lx 757 | w->core.colormap, w->gterm.base_pixel); | ~~~~~~~~~~~~~~~~ | | | Colormap {aka long unsigned int} Gterm.c:756:52: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘Pixel’ {aka ‘long unsigned int’} [-Wformat=] 756 | "Gterm.intialize(Pseudo8): colormap = 0x%x base=%d\n", | ~^ | | | int | %ld 757 | w->core.colormap, w->gterm.base_pixel); | ~~~~~~~~~~~~~~~~~~~ | | | Pixel {aka long unsigned int} Gterm.c:788:52: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 4 has type ‘Colormap’ {aka ‘long unsigned int’} [-Wformat=] 788 | "Gterm.initialize(Pseudo8): defDepth=%d cmap=0x%x\n", | ~^ | | | unsigned int | %lx 789 | w->gterm.w_depth, w->core.colormap); | ~~~~~~~~~~~~~~~~ | | | Colormap {aka long unsigned int} Gterm.c:813:54: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 5 has type ‘Colormap’ {aka ‘long unsigned int’} [-Wformat=] 813 | fprintf (stderr, "nvis=%d defDepth=%d cmap=0x%x\n", | ~^ | | | unsigned int | %lx 814 | nvis, w->gterm.w_depth, w->core.colormap); | ~~~~~~~~~~~~~~~~ | | | Colormap {aka long unsigned int} Gterm.c:908:58: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 3 has type ‘Colormap’ {aka ‘long unsigned int’} [-Wformat=] 908 | "Gterm.initialize (TrueColor): after colormap, cmap=0x%x\n", | ~^ | | | unsigned int | %lx 909 | w->core.colormap); | ~~~~~~~~~~~~~~~~ | | | Colormap {aka long unsigned int} Gterm.c:991:69: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 5 has type ‘Colormap’ {aka ‘long unsigned int’} [-Wformat=] 991 | "Gterm.intialize: ncolors=%d useDefaultCM=%d core.colormap=0x%x\n", | ~^ | | | unsigned int | %lx 992 | w->gterm.ncolors, w->gterm.useDefaultCM, w->core.colormap); | ~~~~~~~~~~~~~~~~ | | | Colormap {aka long unsigned int} Gterm.c: In function ‘Realize’: Gterm.c:1343:71: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 4 has type ‘Colormap’ {aka ‘long unsigned int’} [-Wformat=] 1343 | fprintf (stderr, "Gterm.Realize: force8=%d core colormap 0x%x\n", | ~^ | | | unsigned int | %lx 1344 | w->gterm.forcePseudo8, w->core.colormap); | ~~~~~~~~~~~~~~~~ | | | Colormap {aka long unsigned int} In file included from Gterm.c:1947: GtermCnv.c: In function ‘ximage_to_rasPM’: GtermCnv.c:107:60: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 7 has type ‘XImage *’ {aka ‘struct _XImage *’} [-Wformat=] 107 | fprintf (stderr, "IMGtoRPM: %d <-> %d [%d,%d] cnvImg=0x%x\n", | ~^ | | | unsigned int 108 | xin->depth, dest->depth, xin->width, xin->height, cnvImg); | ~~~~~~ | | | XImage * {aka struct _XImage *} GtermCnv.c: In function ‘init_lut’: GtermCnv.c:339:39: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 339 | fprintf (stderr, "init_lut: mask=(0x%x,0x%x,0x%x) shift=(%d,%d,%d)\n", | ~^ | | | unsigned int | %lx 340 | rmask, gmask, bmask, rshift, gshift, bshift); | ~~~~~ | | | long unsigned int GtermCnv.c:339:44: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 4 has type ‘long unsigned int’ [-Wformat=] 339 | fprintf (stderr, "init_lut: mask=(0x%x,0x%x,0x%x) shift=(%d,%d,%d)\n", | ~^ | | | unsigned int | %lx 340 | rmask, gmask, bmask, rshift, gshift, bshift); | ~~~~~ | | | long unsigned int GtermCnv.c:339:49: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 5 has type ‘long unsigned int’ [-Wformat=] 339 | fprintf (stderr, "init_lut: mask=(0x%x,0x%x,0x%x) shift=(%d,%d,%d)\n", | ~^ | | | unsigned int | %lx 340 | rmask, gmask, bmask, rshift, gshift, bshift); | ~~~~~ | | | long unsigned int GtermCnv.c: In function ‘dbg_printCmaps’: GtermCnv.c:419:41: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘Pixel’ {aka ‘long unsigned int’} [-Wformat=] 419 | fprintf (stderr, "cmaps: basePixel=%d maxColors=%d ncolors=%d\n", | ~^ | | | int | %ld 420 | w->gterm.base_pixel, w->gterm.maxColors, w->gterm.ncolors); | ~~~~~~~~~~~~~~~~~~~ | | | Pixel {aka long unsigned int} GtermCnv.c:436:66: warning: format ‘%d’ expects argument of type ‘int’, but argument 14 has type ‘Pixel’ {aka ‘long unsigned int’} [-Wformat=] 436 | "cmap: %3d %3d %3d %3d %3d %3d %3d %3d %3d %3d %3d %3d %3d %3d\n", | ~~^ | | | int | %3ld ...... 439 | global_color[i].blue>>8, global_cmap[i], | ~~~~~~~~~~~~~~ | | | Pixel {aka long unsigned int} GtermCnv.c:436:71: warning: format ‘%d’ expects argument of type ‘int’, but argument 15 has type ‘Pixel’ {aka ‘long unsigned int’} [-Wformat=] 436 | "cmap: %3d %3d %3d %3d %3d %3d %3d %3d %3d %3d %3d %3d %3d %3d\n", | ~~^ | | | int | %3ld ...... 440 | w->gterm.cmap_in[i], w->gterm.cmap_out[i]); | ~~~~~~~~~~~~~~~~~~~ | | | Pixel {aka long unsigned int} GtermCnv.c:436:76: warning: format ‘%d’ expects argument of type ‘int’, but argument 16 has type ‘Pixel’ {aka ‘long unsigned int’} [-Wformat=] 436 | "cmap: %3d %3d %3d %3d %3d %3d %3d %3d %3d %3d %3d %3d %3d %3d\n", | ~~^ | | | int | %3ld ...... 440 | w->gterm.cmap_in[i], w->gterm.cmap_out[i]); | ~~~~~~~~~~~~~~~~~~~~ | | | Pixel {aka long unsigned int} GtermCnv.c: In function ‘dbg_printRasters’: GtermCnv.c:479:27: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 3 has type ‘Pixmap’ {aka ‘long unsigned int’} [-Wformat=] 479 | fprintf (stderr, ": p=0x%x im=0x%x sh=0x%x\n", | ~^ | | | unsigned int | %lx 480 | rp->r.pixmap, rp->r.ximage, rp->shadow_pixmap); | ~~~~~~~~~~~~ | | | Pixmap {aka long unsigned int} GtermCnv.c:479:35: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 4 has type ‘XImage *’ {aka ‘struct _XImage *’} [-Wformat=] 479 | fprintf (stderr, ": p=0x%x im=0x%x sh=0x%x\n", | ~^ | | | unsigned int 480 | rp->r.pixmap, rp->r.ximage, rp->shadow_pixmap); | ~~~~~~~~~~~~ | | | XImage * {aka struct _XImage *} GtermCnv.c:479:43: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 5 has type ‘Pixmap’ {aka ‘long unsigned int’} [-Wformat=] 479 | fprintf (stderr, ": p=0x%x im=0x%x sh=0x%x\n", | ~^ | | | unsigned int | %lx 480 | rp->r.pixmap, rp->r.ximage, rp->shadow_pixmap); | ~~~~~~~~~~~~~~~~~ | | | Pixmap {aka long unsigned int} In file included from Gterm.c:1948: GtermGraphics.c: In function ‘GtStartDialog’: GtermGraphics.c:1057:55: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 3 has type ‘Pixmap’ {aka ‘long unsigned int’} [-Wformat=] 1057 | fprintf (stderr, "GtStartDialog: ENTER d_pixmap=0x%x d_saved=%d\n", | ~^ | | | unsigned int | %lx 1058 | w->gterm.d_pixmap, w->gterm.d_saved); | ~~~~~~~~~~~~~~~~~ | | | Pixmap {aka long unsigned int} GtermGraphics.c: In function ‘GtEraseDialog’: GtermGraphics.c:1090:55: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 3 has type ‘Pixmap’ {aka ‘long unsigned int’} [-Wformat=] 1090 | fprintf (stderr, "GtEraseDialog: ENTER d_pixmap=0x%x d_saved=%d\n", | ~^ | | | unsigned int | %lx 1091 | w->gterm.d_pixmap, w->gterm.d_saved); | ~~~~~~~~~~~~~~~~~ | | | Pixmap {aka long unsigned int} In file included from Gterm.c:1949: GtermImaging.c: In function ‘GtWritePixels’: GtermImaging.c:546:67: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 7 has type ‘XWindowAttributes’ {aka ‘struct ’} [-Wformat=] 546 | "GtWritePixels[%s] ENTER: nbits=%d raster=%d type='%s' wa=0x%x\n", | ~^ | | | unsigned int ...... 549 | w->gterm.wa); | ~~~~~~~~~~~ | | | XWindowAttributes {aka struct } GtermImaging.c: In function ‘GtRefreshPixels’: GtermImaging.c:980:47: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 3 has type ‘Mapping’ {aka ‘struct mapping *’} [-Wformat=] 980 | fprintf (stderr, "GtRefreshPixels: mp=0x%x enabled=%d src=%d/%d\n", | ~^ | | | unsigned int 981 | mp, mp->enabled, mp->src, raster); | ~~ | | | Mapping {aka struct mapping *} GtermImaging.c: In function ‘GtLoadColormap’: GtermImaging.c:1674:56: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 5 has type ‘struct colormap *’ [-Wformat=] 1674 | fprintf (stderr, "GtLoadColormap: map=%d/%d cm=0x%x ncells=%d\n", | ~^ | | | unsigned int 1675 | map, cm->map, cm, cm->ncells); | ~~ | | | struct colormap * GtermImaging.c: In function ‘GtDebug’: GtermImaging.c:3118:26: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 3 has type ‘GtermWidget’ {aka ‘struct _GtermRec *’} [-Wformat=] 3118 | fprintf (fp, "Widget 0x%x (%s) %dx%d raster=%d\n", | ~^ | | | unsigned int 3119 | w, w->core.name, w->core.width, w->core.height, w->gterm.raster); | ~ | | | GtermWidget {aka struct _GtermRec *} GtermImaging.c:3185:50: warning: format ‘%d’ expects argument of type ‘int’, but argument 5 has type ‘Pixel’ {aka ‘long unsigned int’} [-Wformat=] 3185 | fprintf (fp, "cmapName=%s ncolors=%d basePixel=%d\n", | ~^ | | | int | %ld 3186 | w->gterm.cmapName, w->gterm.ncolors, w->gterm.base_pixel); | ~~~~~~~~~~~~~~~~~~~ | | | Pixel {aka long unsigned int} GtermImaging.c:3198:30: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 3 has type ‘Marker’ {aka ‘struct marker *’} [-Wformat=] 3198 | fprintf (fp, "marker 0x%x: %10s flags=0x%x [%d %d %d %d] %0.5g\n", | ~^ | | | unsigned int 3199 | mm, value, mm->flags, mm->x, mm->y, mm->width, mm->height, | ~~ | | | Marker {aka struct marker *} In file included from Gterm.c:1950: GtermCmap.c: In function ‘get_colormap’: GtermCmap.c:48:69: warning: format ‘%d’ expects argument of type ‘int’, but argument 6 has type ‘Pixel’ {aka ‘long unsigned int’} [-Wformat=] 48 | fprintf (stderr, "get_colormap: have=%d ncols=%d maxcols=%d base=%d\n", | ~^ | | | int | %ld 49 | w->gterm.haveColormap, w->gterm.ncolors, w->gterm.maxColors, 50 | w->gterm.base_pixel); | ~~~~~~~~~~~~~~~~~~~ | | | Pixel {aka long unsigned int} GtermCmap.c:80:60: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 3 has type ‘Colormap’ {aka ‘long unsigned int’} [-Wformat=] 80 | fprintf (stderr, "get_colormap: use existing cmap=0x%x; base=%d\n", | ~^ | | | unsigned int | %lx 81 | colormap, w->gterm.base_pixel); | ~~~~~~~~ | | | Colormap {aka long unsigned int} GtermCmap.c:80:69: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘Pixel’ {aka ‘long unsigned int’} [-Wformat=] 80 | fprintf (stderr, "get_colormap: use existing cmap=0x%x; base=%d\n", | ~^ | | | int | %ld 81 | colormap, w->gterm.base_pixel); | ~~~~~~~~~~~~~~~~~~~ | | | Pixel {aka long unsigned int} GtermCmap.c:89:69: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘Pixel’ {aka ‘long unsigned int’} [-Wformat=] 89 | fprintf (stderr, "get_colormap: TrueColor gt.ncolors=%d base=%d\n", | ~^ | | | int | %ld 90 | w->gterm.ncolors, w->gterm.base_pixel); | ~~~~~~~~~~~~~~~~~~~ | | | Pixel {aka long unsigned int} GtermCmap.c: In function ‘inherit_default_colormap’: GtermCmap.c:376:69: warning: format ‘%d’ expects argument of type ‘int’, but argument 5 has type ‘Pixel’ {aka ‘long unsigned int’} [-Wformat=] 376 | fprintf (stderr, "inherit_default_cmap: ncols=%d maxcols=%d base=%d\n", | ~^ | | | int | %ld 377 | w->gterm.ncolors, w->gterm.maxColors, w->gterm.base_pixel); | ~~~~~~~~~~~~~~~~~~~ | | | Pixel {aka long unsigned int} In file included from Gterm.c:1951: GtermMapping.c: In function ‘refresh_destination’: GtermMapping.c:125:48: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 3 has type ‘GtermWidget’ {aka ‘struct _GtermRec *’} [-Wformat=] 125 | fprintf(stderr, "refresh_destination ENTER[0x%x]: pos=%d,%d sz=%d,%d\n", | ~^ | | | unsigned int 126 | w, x1,y1,nx,ny); | ~ | | | GtermWidget {aka struct _GtermRec *} GtermMapping.c:187:32: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 3 has type ‘Pixmap’ {aka ‘long unsigned int’} [-Wformat=] 187 | "refresh: gterm.pixmap=0x%x src.pixmap=0x%x dest.pixmap=0x%x\n", | ~^ | | | unsigned int | %lx 188 | w->gterm.pixmap, sr->r.pixmap, dr->r.pixmap); | ~~~~~~~~~~~~~~~ | | | Pixmap {aka long unsigned int} GtermMapping.c:187:48: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 4 has type ‘Pixmap’ {aka ‘long unsigned int’} [-Wformat=] 187 | "refresh: gterm.pixmap=0x%x src.pixmap=0x%x dest.pixmap=0x%x\n", | ~^ | | | unsigned int | %lx 188 | w->gterm.pixmap, sr->r.pixmap, dr->r.pixmap); | ~~~~~~~~~~~~ | | | Pixmap {aka long unsigned int} GtermMapping.c:187:66: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 5 has type ‘Pixmap’ {aka ‘long unsigned int’} [-Wformat=] 187 | "refresh: gterm.pixmap=0x%x src.pixmap=0x%x dest.pixmap=0x%x\n", | ~^ | | | unsigned int | %lx 188 | w->gterm.pixmap, sr->r.pixmap, dr->r.pixmap); | ~~~~~~~~~~~~ | | | Pixmap {aka long unsigned int} GtermMapping.c:190:32: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 3 has type ‘Pixmap’ {aka ‘long unsigned int’} [-Wformat=] 190 | "refresh: gterm.pixmap=0x%x src.ximage=0x%x dest.ximage=0x%x\n", | ~^ | | | unsigned int | %lx 191 | w->gterm.pixmap, sr->r.ximage, dr->r.ximage); | ~~~~~~~~~~~~~~~ | | | Pixmap {aka long unsigned int} GtermMapping.c:190:48: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 4 has type ‘XImage *’ {aka ‘struct _XImage *’} [-Wformat=] 190 | "refresh: gterm.pixmap=0x%x src.ximage=0x%x dest.ximage=0x%x\n", | ~^ | | | unsigned int 191 | w->gterm.pixmap, sr->r.ximage, dr->r.ximage); | ~~~~~~~~~~~~ | | | XImage * {aka struct _XImage *} GtermMapping.c:190:66: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 5 has type ‘XImage *’ {aka ‘struct _XImage *’} [-Wformat=] 190 | "refresh: gterm.pixmap=0x%x src.ximage=0x%x dest.ximage=0x%x\n", | ~^ | | | unsigned int 191 | w->gterm.pixmap, sr->r.ximage, dr->r.ximage); | ~~~~~~~~~~~~ | | | XImage * {aka struct _XImage *} GtermMapping.c:313:48: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 5 has type ‘Pixmap’ {aka ‘long unsigned int’} [-Wformat=] 313 | fprintf (stderr, "src=%d dest=%d shadow=0x%x ximage=0x%x\n", | ~^ | | | unsigned int | %lx 314 | src, dst, dr->shadow_pixmap, rp->r.ximage); | ~~~~~~~~~~~~~~~~~ | | | Pixmap {aka long unsigned int} GtermMapping.c:313:61: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 6 has type ‘XImage *’ {aka ‘struct _XImage *’} [-Wformat=] 313 | fprintf (stderr, "src=%d dest=%d shadow=0x%x ximage=0x%x\n", | ~^ | | | unsigned int 314 | src, dst, dr->shadow_pixmap, rp->r.ximage); | ~~~~~~~~~~~~ | | | XImage * {aka struct _XImage *} GtermMapping.c:363:36: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 4 has type ‘Pixmap’ {aka ‘long unsigned int’} [-Wformat=] 363 | fprintf (stderr, " src=%d pix=0x%x dims=%d,%d\n", | ~^ | | | unsigned int | %lx 364 | src, w->gterm.pixmap, sr->width, sr->height); | ~~~~~~~~~~~~~~~ | | | Pixmap {aka long unsigned int} GtermMapping.c:385:46: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 8 has type ‘Pixmap’ {aka ‘long unsigned int’} [-Wformat=] 385 | "src=%d dst=%d d_ras=%d %d x %d pr=0x%x sr=0x%x\n", | ~^ | | | unsigned int | %lx 386 | src, dst, w->gterm.d_raster, sr->width, sr->height, 387 | pr->shadow_pixmap, sr->shadow_pixmap); | ~~~~~~~~~~~~~~~~~ | | | Pixmap {aka long unsigned int} GtermMapping.c:385:55: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 9 has type ‘Pixmap’ {aka ‘long unsigned int’} [-Wformat=] 385 | "src=%d dst=%d d_ras=%d %d x %d pr=0x%x sr=0x%x\n", | ~^ | | | unsigned int | %lx 386 | src, dst, w->gterm.d_raster, sr->width, sr->height, 387 | pr->shadow_pixmap, sr->shadow_pixmap); | ~~~~~~~~~~~~~~~~~ | | | Pixmap {aka long unsigned int} GtermMapping.c:446:37: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 3 has type ‘Pixmap’ {aka ‘long unsigned int’} [-Wformat=] 446 | "\n\nrefresh: gterm.pixmap=0x%x dest.pixmap=0x%x\n\n", | ~^ | | | unsigned int | %lx 447 | w->gterm.pixmap, dr->r.pixmap); | ~~~~~~~~~~~~~~~ | | | Pixmap {aka long unsigned int} GtermMapping.c:446:54: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 4 has type ‘Pixmap’ {aka ‘long unsigned int’} [-Wformat=] 446 | "\n\nrefresh: gterm.pixmap=0x%x dest.pixmap=0x%x\n\n", | ~^ | | | unsigned int | %lx 447 | w->gterm.pixmap, dr->r.pixmap); | ~~~~~~~~~~~~ | | | Pixmap {aka long unsigned int} GtermMapping.c:466:52: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 3 has type ‘Pixmap’ {aka ‘long unsigned int’} [-Wformat=] 466 | "refresh_destination: dr->shadow_pixmap = 0x%x\n", | ~^ | | | unsigned int | %lx 467 | dr->shadow_pixmap); | ~~~~~~~~~~~~~~~~~ | | | Pixmap {aka long unsigned int} GtermMapping.c:489:54: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 3 has type ‘Pixmap’ {aka ‘long unsigned int’} [-Wformat=] 489 | "updating shadow_pixmap........................0x%x\n", | ~^ | | | unsigned int | %lx 490 | dr->shadow_pixmap); | ~~~~~~~~~~~~~~~~~ | | | Pixmap {aka long unsigned int} GtermMapping.c:558:48: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 4 has type ‘XImage *’ {aka ‘struct _XImage *’} [-Wformat=] 558 | fprintf (stderr, "refresh: scaling=%d xin=0x%x xout=0x%x\n", | ~^ | | | unsigned int 559 | scaling, xin, xout); | ~~~ | | | XImage * {aka struct _XImage *} GtermMapping.c:558:59: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 5 has type ‘XImage *’ {aka ‘struct _XImage *’} [-Wformat=] 558 | fprintf (stderr, "refresh: scaling=%d xin=0x%x xout=0x%x\n", | ~^ | | | unsigned int 559 | scaling, xin, xout); | ~~~~ | | | XImage * {aka struct _XImage *} GtermMapping.c:750:54: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 3 has type ‘Pixmap’ {aka ‘long unsigned int’} [-Wformat=] 750 | "updating shadow_pixmap........................0x%x\n", | ~^ | | | unsigned int | %lx 751 | dr->shadow_pixmap); | ~~~~~~~~~~~~~~~~~ | | | Pixmap {aka long unsigned int} GtermMapping.c:784:54: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 3 has type ‘Pixmap’ {aka ‘long unsigned int’} [-Wformat=] 784 | "updating shadow_pixmap........................0x%x\n", | ~^ | | | unsigned int | %lx 785 | dr->shadow_pixmap); | ~~~~~~~~~~~~~~~~~ | | | Pixmap {aka long unsigned int} cc -g -O2 -fdebug-prefix-map=/build/x11iraf-N8tTGQ/x11iraf-2.0+2020.06.15+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DOSI_COMPLIANT -DOSI_COMPLIANT -Wdate-time -D_FORTIFY_SOURCE=2 -c -o iconutil.o iconutil.c cc -g -O2 -fdebug-prefix-map=/build/x11iraf-N8tTGQ/x11iraf-2.0+2020.06.15+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DOSI_COMPLIANT -DOSI_COMPLIANT -Wdate-time -D_FORTIFY_SOURCE=2 -c -o Label.o Label.c cc -g -O2 -fdebug-prefix-map=/build/x11iraf-N8tTGQ/x11iraf-2.0+2020.06.15+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DOSI_COMPLIANT -DOSI_COMPLIANT -Wdate-time -D_FORTIFY_SOURCE=2 -c -o Layout.o Layout.c cc -g -O2 -fdebug-prefix-map=/build/x11iraf-N8tTGQ/x11iraf-2.0+2020.06.15+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DOSI_COMPLIANT -DOSI_COMPLIANT -Wdate-time -D_FORTIFY_SOURCE=2 -c -o MenuBar.o MenuBar.c cc -g -O2 -fdebug-prefix-map=/build/x11iraf-N8tTGQ/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/x11iraf-N8tTGQ/x11iraf-2.0+2020.06.15+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DOSI_COMPLIANT -DOSI_COMPLIANT -Wdate-time -D_FORTIFY_SOURCE=2 -c -o RadioGrp.o RadioGrp.c cc -g -O2 -fdebug-prefix-map=/build/x11iraf-N8tTGQ/x11iraf-2.0+2020.06.15+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DOSI_COMPLIANT -DOSI_COMPLIANT -Wdate-time -D_FORTIFY_SOURCE=2 -c -o RowCol.o RowCol.c cc -g -O2 -fdebug-prefix-map=/build/x11iraf-N8tTGQ/x11iraf-2.0+2020.06.15+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DOSI_COMPLIANT -DOSI_COMPLIANT -Wdate-time -D_FORTIFY_SOURCE=2 -c -o Scrollbar.o Scrollbar.c cc -g -O2 -fdebug-prefix-map=/build/x11iraf-N8tTGQ/x11iraf-2.0+2020.06.15+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DOSI_COMPLIANT -DOSI_COMPLIANT -Wdate-time -D_FORTIFY_SOURCE=2 -c -o Slider2.o Slider2.c cc -g -O2 -fdebug-prefix-map=/build/x11iraf-N8tTGQ/x11iraf-2.0+2020.06.15+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DOSI_COMPLIANT -DOSI_COMPLIANT -Wdate-time -D_FORTIFY_SOURCE=2 -c -o Tablist2Tabs.o Tablist2Tabs.c cc -g -O2 -fdebug-prefix-map=/build/x11iraf-N8tTGQ/x11iraf-2.0+2020.06.15+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DOSI_COMPLIANT -DOSI_COMPLIANT -Wdate-time -D_FORTIFY_SOURCE=2 -c -o TextWidth.o TextWidth.c cc -g -O2 -fdebug-prefix-map=/build/x11iraf-N8tTGQ/x11iraf-2.0+2020.06.15+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DOSI_COMPLIANT -DOSI_COMPLIANT -Wdate-time -D_FORTIFY_SOURCE=2 -c -o Toggle.o Toggle.c cc -g -O2 -fdebug-prefix-map=/build/x11iraf-N8tTGQ/x11iraf-2.0+2020.06.15+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DOSI_COMPLIANT -DOSI_COMPLIANT -Wdate-time -D_FORTIFY_SOURCE=2 -c -o cvtLong.o cvtLong.c cc -g -O2 -fdebug-prefix-map=/build/x11iraf-N8tTGQ/x11iraf-2.0+2020.06.15+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DOSI_COMPLIANT -DOSI_COMPLIANT -Wdate-time -D_FORTIFY_SOURCE=2 -c -o scroll.o scroll.c cc -g -O2 -fdebug-prefix-map=/build/x11iraf-N8tTGQ/x11iraf-2.0+2020.06.15+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DOSI_COMPLIANT -DOSI_COMPLIANT -Wdate-time -D_FORTIFY_SOURCE=2 -c -o strnchr.o strnchr.c cc -g -O2 -fdebug-prefix-map=/build/x11iraf-N8tTGQ/x11iraf-2.0+2020.06.15+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DOSI_COMPLIANT -DOSI_COMPLIANT -Wdate-time -D_FORTIFY_SOURCE=2 -c -o Tabs.o Tabs.c cc -g -O2 -fdebug-prefix-map=/build/x11iraf-N8tTGQ/x11iraf-2.0+2020.06.15+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DOSI_COMPLIANT -DOSI_COMPLIANT -Wdate-time -D_FORTIFY_SOURCE=2 -c -o Gcs.o Gcs.c cc -g -O2 -fdebug-prefix-map=/build/x11iraf-N8tTGQ/x11iraf-2.0+2020.06.15+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DOSI_COMPLIANT -DOSI_COMPLIANT -Wdate-time -D_FORTIFY_SOURCE=2 -c -o ListTree.o ListTree.c cc -g -O2 -fdebug-prefix-map=/build/x11iraf-N8tTGQ/x11iraf-2.0+2020.06.15+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DOSI_COMPLIANT -DOSI_COMPLIANT -Wdate-time -D_FORTIFY_SOURCE=2 -c -o Separator.o Separator.c cc -g -O2 -fdebug-prefix-map=/build/x11iraf-N8tTGQ/x11iraf-2.0+2020.06.15+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DOSI_COMPLIANT -DOSI_COMPLIANT -Wdate-time -D_FORTIFY_SOURCE=2 -c -o Container.o Container.c cc -g -O2 -fdebug-prefix-map=/build/x11iraf-N8tTGQ/x11iraf-2.0+2020.06.15+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DOSI_COMPLIANT -DOSI_COMPLIANT -Wdate-time -D_FORTIFY_SOURCE=2 -c -o color.o color.c yacc -d laygram.y sed 's/yy/LayYY/g' y.tab.h > laygram.h sed 's/yy/LayYY/g' y.tab.c > laygram.c rm y.tab.c y.tab.h cc -g -O2 -fdebug-prefix-map=/build/x11iraf-N8tTGQ/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 laygram.o laygram.c lex laylex.l sed 's/yy/LayYY/g' lex.yy.c > laylex.c rm lex.yy.c cc -g -O2 -fdebug-prefix-map=/build/x11iraf-N8tTGQ/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 laylex.o laylex.c y.tab.c: In function ‘LayYYparse’: y.tab.c:1172:19: warning: implicit declaration of function ‘LayYYlex’ [-Wimplicit-function-declaration] y.tab.c:1639:7: warning: implicit declaration of function ‘LayYYerror’; did you mean ‘LayYYerrok’? [-Wimplicit-function-declaration] In file included from /usr/include/string.h:495, from lex.LayYY.c:20: In function ‘strncpy’, inlined from ‘my_LayYYinput’ at laylex.l:124:5, inlined from ‘LayYY_get_next_buffer’ at lex.LayYY.c:1182:3, inlined from ‘LayYYlex’ at lex.LayYY.c:1022:17: /usr/include/x86_64-linux-gnu/bits/string_fortified.h:106:10: warning: ‘__builtin_strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lex.LayYY.c: In function ‘LayYYlex’: laylex.l:122:27: note: length computed here 122 | int size = max_size < strlen(yysource) ? max_size : strlen(yysource); | ^~~~~~~~~~~~~~~~~~~ make[3]: Leaving directory '/build/x11iraf-N8tTGQ/x11iraf-2.0+2020.06.15+dfsg/obm/ObmW' ar cr libobm.a ObmW/[A-Za-z]*.o Obm.o client.o param.o server.o widget.o gterm.o marker.o geom.o make[2]: Leaving directory '/build/x11iraf-N8tTGQ/x11iraf-2.0+2020.06.15+dfsg/obm' make -C xgterm make -C ximtool make[2]: Entering directory '/build/x11iraf-N8tTGQ/x11iraf-2.0+2020.06.15+dfsg/xgterm' make[2]: Entering directory '/build/x11iraf-N8tTGQ/x11iraf-2.0+2020.06.15+dfsg/ximtool' cc -g -O2 -fdebug-prefix-map=/build/x11iraf-N8tTGQ/x11iraf-2.0+2020.06.15+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -I../obm -DOSI_COMPLIANT -Wdate-time -D_FORTIFY_SOURCE=2 -c -o eps.o eps.c cc -g -O2 -fdebug-prefix-map=/build/x11iraf-N8tTGQ/x11iraf-2.0+2020.06.15+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -I../obm -DALLOWLOGGING -Wdate-time -D_FORTIFY_SOURCE=2 -c -o button.o button.c cc -g -O2 -fdebug-prefix-map=/build/x11iraf-N8tTGQ/x11iraf-2.0+2020.06.15+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -I../obm -DALLOWLOGGING -Wdate-time -D_FORTIFY_SOURCE=2 -c -o charproc.o charproc.c cc -g -O2 -fdebug-prefix-map=/build/x11iraf-N8tTGQ/x11iraf-2.0+2020.06.15+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -I../obm -DALLOWLOGGING -Wdate-time -D_FORTIFY_SOURCE=2 -c -o cursor.o cursor.c cursor.c: In function ‘_CheckSelection’: cursor.c:41:2: warning: implicit declaration of function ‘DisownSelection’; did you mean ‘XtDisownSelection’? [-Wimplicit-function-declaration] 41 | DisownSelection(term); | ^~~~~~~~~~~~~~~ | XtDisownSelection cursor.c: At top level: cursor.c:51:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 51 | CursorSet(screen, row, col, flags) | ^~~~~~~~~ cursor.c:74:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 74 | CursorBack(screen, n) | ^~~~~~~~~~ cursor.c:103:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 103 | CursorForward(screen, n) | ^~~~~~~~~~~~~ cursor.c:118:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 118 | CursorDown(screen, n) | ^~~~~~~~~~ cursor.c:138:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 138 | CursorUp(screen, n) | ^~~~~~~~ cursor.c: In function ‘Index’: cursor.c:176:2: warning: implicit declaration of function ‘Scroll’ [-Wimplicit-function-declaration] 176 | Scroll(screen, amount - j); | ^~~~~~ cursor.c: In function ‘RevIndex’: cursor.c:198:2: warning: implicit declaration of function ‘RevScroll’ [-Wimplicit-function-declaration] 198 | RevScroll(screen, amount - (screen->cur_row - screen->top_marg)); | ^~~~~~~~~ cursor.c: At top level: cursor.c:205:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 205 | CarriageReturn(screen) | ^~~~~~~~~~~~~~ cursor.c:216:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 216 | CursorSave(term, sc) | ^~~~~~~~~~ cursor.c:233:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 233 | CursorRestore(term, sc) | ^~~~~~~~~~~~~ button.c: In function ‘DiredButton’: button.c:194:9: warning: implicit declaration of function ‘v_write’; did you mean ‘fwrite’? [-Wimplicit-function-declaration] 194 | v_write(pty, Line, 5 ); | ^~~~~~~ | fwrite button.c: In function ‘StartSelect’: button.c:519:6: warning: implicit declaration of function ‘HideCursor’; did you mean ‘BadCursor’? [-Wimplicit-function-declaration] 519 | HideCursor (); | ^~~~~~~~~~ | BadCursor button.c: In function ‘ReHiliteText’: button.c:1080:7: warning: implicit declaration of function ‘ScrnRefresh’ [-Wimplicit-function-declaration] 1080 | ScrnRefresh(screen, frow, fcol, 1, i, True); | ^~~~~~~~~~~ button.c: In function ‘SaltTextAway’: button.c:1130:3: warning: implicit declaration of function ‘SysError’ [-Wimplicit-function-declaration] 1130 | SysError(ERROR_BMALLOC2); | ^~~~~~~~ button.c: In function ‘SaveText’: button.c:1409:6: warning: implicit declaration of function ‘ScrnGetAttributes’ [-Wimplicit-function-declaration] 1409 | if(ScrnGetAttributes(screen, row + screen->topline, 0, &attr, 1) == 1) { | ^~~~~~~~~~~~~~~~~ charproc.c: In function ‘VTparse’: charproc.c:743:4: warning: implicit declaration of function ‘Bell’; did you mean ‘XBell’? [-Wimplicit-function-declaration] 743 | Bell(); | ^~~~ | XBell charproc.c:748:4: warning: implicit declaration of function ‘CursorBack’; did you mean ‘CursorX’? [-Wimplicit-function-declaration] 748 | CursorBack(screen, 1); | ^~~~~~~~~~ | CursorX charproc.c:753:4: warning: implicit declaration of function ‘CarriageReturn’ [-Wimplicit-function-declaration] 753 | CarriageReturn(screen); | ^~~~~~~~~~~~~~ charproc.c:766:4: warning: implicit declaration of function ‘Index’; did you mean ‘index’? [-Wimplicit-function-declaration] 766 | Index(screen, 1); | ^~~~~ | index charproc.c:771:6: warning: implicit declaration of function ‘xevents’ [-Wimplicit-function-declaration] 771 | xevents(); | ^~~~~~~ charproc.c:777:22: warning: implicit declaration of function ‘TabNext’ [-Wimplicit-function-declaration] 777 | screen->cur_col = TabNext(term->tabs, screen->cur_col); | ^~~~~~~ charproc.c:845:4: warning: implicit declaration of function ‘InsertChar’ [-Wimplicit-function-declaration] 845 | InsertChar(screen, row); | ^~~~~~~~~~ charproc.c:853:4: warning: implicit declaration of function ‘CursorUp’; did you mean ‘CursorX’? [-Wimplicit-function-declaration] 853 | CursorUp(screen, row); | ^~~~~~~~ | CursorX charproc.c:861:4: warning: implicit declaration of function ‘CursorDown’; did you mean ‘CursorX’? [-Wimplicit-function-declaration] 861 | CursorDown(screen, row); | ^~~~~~~~~~ | CursorX cc -g -O2 -fdebug-prefix-map=/build/x11iraf-N8tTGQ/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 charproc.c:869:4: warning: implicit declaration of function ‘CursorForward’ [-Wimplicit-function-declaration] 869 | CursorForward(screen, row); | ^~~~~~~~~~~~~ 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 charproc.c:905:5: warning: implicit declaration of function ‘ClearBelow’ [-Wimplicit-function-declaration] 905 | ClearBelow(screen); | ^~~~~~~~~~ charproc.c:909:5: warning: implicit declaration of function ‘ClearAbove’ [-Wimplicit-function-declaration] 909 | ClearAbove(screen); | ^~~~~~~~~~ charproc.c:913:5: warning: implicit declaration of function ‘ClearScreen’ [-Wimplicit-function-declaration] 913 | ClearScreen(screen); | ^~~~~~~~~~~ charproc.c:925:5: warning: implicit declaration of function ‘ClearRight’ [-Wimplicit-function-declaration] 925 | ClearRight(screen); | ^~~~~~~~~~ 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); | ^~~~~~~~~ charproc.c:941:4: warning: implicit declaration of function ‘InsertLine’ [-Wimplicit-function-declaration] 941 | InsertLine(screen, row); | ^~~~~~~~~~ charproc.c:949:4: warning: implicit declaration of function ‘DeleteLine’ [-Wimplicit-function-declaration] 949 | DeleteLine(screen, row); | ^~~~~~~~~~ charproc.c:957:4: warning: implicit declaration of function ‘DeleteChar’ [-Wimplicit-function-declaration] 957 | DeleteChar(screen, row); | ^~~~~~~~~~ charproc.c:981:5: warning: implicit declaration of function ‘unparseseq’ [-Wimplicit-function-declaration] 981 | unparseseq(&reply, screen->respond); | ^~~~~~~~~~ charproc.c:989:5: warning: implicit declaration of function ‘TabClear’ [-Wimplicit-function-declaration] 989 | TabClear(term->tabs, screen->cur_col); | ^~~~~~~~ charproc.c:991:5: warning: implicit declaration of function ‘TabZonk’ [-Wimplicit-function-declaration] 991 | TabZonk(term->tabs); | ^~~~~~~ charproc.c:997:4: warning: implicit declaration of function ‘ansi_modes’ [-Wimplicit-function-declaration] 997 | ansi_modes(term, bitset); | ^~~~~~~~~~ charproc.c:1098:8: warning: implicit declaration of function ‘FlushScroll’ [-Wimplicit-function-declaration] 1098 | FlushScroll(screen); | ^~~~~~~~~~~ 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, | ^~~~~~~~~~~ charproc.c:1248:4: warning: implicit declaration of function ‘CursorSave’; did you mean ‘CursorShape’? [-Wimplicit-function-declaration] 1248 | CursorSave(term, &screen->sc); | ^~~~~~~~~~ | CursorShape charproc.c:1254:4: warning: implicit declaration of function ‘CursorRestore’ [-Wimplicit-function-declaration] 1254 | CursorRestore(term, &screen->sc); | ^~~~~~~~~~~~~ charproc.c:1294:4: warning: implicit declaration of function ‘TabSet’ [-Wimplicit-function-declaration] 1294 | TabSet(term->tabs, screen->cur_col); | ^~~~~~ charproc.c:1300:4: warning: implicit declaration of function ‘RevIndex’ [-Wimplicit-function-declaration] 1300 | RevIndex(screen, 1); | ^~~~~~~~ charproc.c:1325:4: warning: implicit declaration of function ‘do_osc’ [-Wimplicit-function-declaration] 1325 | do_osc(finput); | ^~~~~~ charproc.c:1331:4: warning: implicit declaration of function ‘VTReset’ [-Wimplicit-function-declaration] 1331 | VTReset(TRUE); | ^~~~~~~ charproc.c:1366:4: warning: implicit declaration of function ‘savemodes’ [-Wimplicit-function-declaration] 1366 | savemodes(term); | ^~~~~~~~~ charproc.c:1371:4: warning: implicit declaration of function ‘restoremodes’ [-Wimplicit-function-declaration] 1371 | restoremodes(term); | ^~~~~~~~~~~~ charproc.c: At top level: charproc.c:1381:8: warning: return type defaults to ‘int’ [-Wimplicit-int] 1381 | static finput() | ^~~~~~ charproc.c:1401:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 1401 | v_write(f, d, len) | ^~~~~~~ charproc.c: In function ‘in_put’: charproc.c:1571:9: warning: implicit declaration of function ‘init_ttyio’ [-Wimplicit-function-declaration] 1571 | init_ttyio (screen->respond); | ^~~~~~~~~~ charproc.c:1601:17: warning: implicit declaration of function ‘gt_flush’; did you mean ‘fflush’? [-Wimplicit-function-declaration] 1601 | while (!gt_flush()) | ^~~~~~~~ | fflush charproc.c: In function ‘do_read’: charproc.c:1644:2: warning: implicit declaration of function ‘FlushLog’ [-Wimplicit-function-declaration] 1644 | FlushLog(screen); | ^~~~~~~~ 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); | ^~~~~ 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 charproc.c:1682:6: warning: implicit declaration of function ‘WindowScroll’ [-Wimplicit-function-declaration] 1682 | WindowScroll(screen, 0); /* Scroll to bottom */ | ^~~~~~~~~~~~ charproc.c: At top level: charproc.c:1704:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 1704 | init_ttyio (pty) | ^~~~~~~~~~ cc -g -O2 -fdebug-prefix-map=/build/x11iraf-N8tTGQ/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 charproc.c: In function ‘WriteText’: charproc.c:1840:15: warning: implicit declaration of function ‘AddToRefresh’ [-Wimplicit-function-declaration] 1840 | if (!(AddToRefresh(screen))) { | ^~~~~~~~~~~~ charproc.c:1866:2: warning: implicit declaration of function ‘ScreenWrite’ [-Wimplicit-function-declaration] 1866 | ScreenWrite(screen, str, flags, fg, bg, len); | ^~~~~~~~~~~ charproc.c: At top level: charproc.c:1873:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 1873 | ansi_modes(termw, func) | ^~~~~~~~~~ charproc.c:1896:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 1896 | dpmodes(termw, func) | ^~~~~~~ charproc.c: In function ‘dpmodes’: charproc.c:1952:10: warning: implicit declaration of function ‘ScreenResize’ [-Wimplicit-function-declaration] 1952 | ScreenResize (&termw->screen, | ^~~~~~~~~~~~ charproc.c:1975:5: warning: implicit declaration of function ‘ReverseVideo’; did you mean ‘XtCReverseVideo’? [-Wimplicit-function-declaration] 1975 | ReverseVideo(termw); | ^~~~~~~~~~~~ | XtCReverseVideo charproc.c:2010:5: warning: implicit declaration of function ‘switch_modes’ [-Wimplicit-function-declaration] 2010 | switch_modes (0); | ^~~~~~~~~~~~ charproc.c:2011:5: warning: implicit declaration of function ‘gt_set_ginmode_trailers’ [-Wimplicit-function-declaration] 2011 | gt_set_ginmode_trailers (NULL); | ^~~~~~~~~~~~~~~~~~~~~~~ charproc.c: At top level: charproc.c:2078:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 2078 | savemodes(termw) | ^~~~~~~~~ charproc.c:2144:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 2144 | restoremodes(termw) | ^~~~~~~~~~~~ charproc.c:2292:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 2292 | unparseseq(ap, fd) | ^~~~~~~~~~ charproc.c: In function ‘unparseseq’: charproc.c:2302:3: warning: implicit declaration of function ‘unparseputc’ [-Wimplicit-function-declaration] 2302 | unparseputc(ESC, fd); | ^~~~~~~~~~~ charproc.c:2313:4: warning: implicit declaration of function ‘unparseputn’ [-Wimplicit-function-declaration] 2313 | unparseputn((unsigned int) ap->a_param[i], fd); | ^~~~~~~~~~~ charproc.c: At top level: charproc.c:2325:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 2325 | unparseputn(n, fd) | ^~~~~~~~~~~ charproc.c:2337:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 2337 | unparseputc(c, fd) | ^~~~~~~~~~~ charproc.c: In function ‘unparseputc’: charproc.c:2342:11: warning: type defaults to ‘int’ in declaration of ‘i’ [-Wimplicit-int] 2342 | register i = 1; | ^ charproc.c: At top level: charproc.c:2352:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 2352 | unparsefputs (s, fd) | ^~~~~~~~~~~~ charproc.c: In function ‘SwitchBufs’: charproc.c:2399:2: warning: implicit declaration of function ‘SwitchBufPtrs’; did you mean ‘SwitchBufs’? [-Wimplicit-function-declaration] 2399 | SwitchBufPtrs(screen); | ^~~~~~~~~~~~~ | SwitchBufs charproc.c:2400:2: warning: implicit declaration of function ‘TrackText’ [-Wimplicit-function-declaration] 2400 | TrackText(0, 0, 0, 0); /* remove any highlighting */ | ^~~~~~~~~ charproc.c: At top level: charproc.c:2434:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 2434 | SwitchBufPtrs(screen) | ^~~~~~~~~~~~~ charproc.c:2446:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 2446 | VTRun() | ^~~~~ 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); | ^~~~~~~~~~~~~~~~~ In file included from charproc.c:59: menu.h:277:7: warning: implicit declaration of function ‘gt_tekmode’; did you mean ‘vtMenu_tekmode’? [-Wimplicit-function-declaration] 277 | gt_tekmode(2)); } | ^~~~~~~~~~ menu.h:147:3: note: in definition of macro ‘update_menu_item’ 147 | (val) ? \ | ^~~ charproc.c:2459:2: note: in expansion of macro ‘update_vttekmode’ 2459 | update_vttekmode(); | ^~~~~~~~~~~~~~~~ menu.h:267:7: warning: implicit declaration of function ‘gt_activated’ [-Wimplicit-function-declaration] 267 | gt_activated()) | ^~~~~~~~~~~~ menu.h:147:3: note: in definition of macro ‘update_menu_item’ 147 | (val) ? \ | ^~~ charproc.c:2461:2: note: in expansion of macro ‘update_tekshow’ 2461 | update_tekshow(); | ^~~~~~~~~~~~~~ charproc.c: In function ‘VTExpose’: charproc.c:2498:3: warning: implicit declaration of function ‘HandleExposure’; did you mean ‘HandleSecure’? [-Wimplicit-function-declaration] 2498 | HandleExposure (screen, event); | ^~~~~~~~~~~~~~ | HandleSecure charproc.c: In function ‘VTInitialize’: charproc.c:2688:4: warning: implicit declaration of function ‘set_character_class’ [-Wimplicit-function-declaration] 2688 | set_character_class (new->screen.charClass); | ^~~~~~~~~~~~~~~~~~~ charproc.c:2691:4: warning: implicit declaration of function ‘ScrollBarOn’ [-Wimplicit-function-declaration] 2691 | ScrollBarOn (new, TRUE, FALSE); | ^~~~~~~~~~~ charproc.c: In function ‘VTRealize’: charproc.c:2726:2: warning: implicit declaration of function ‘TabReset’ [-Wimplicit-function-declaration] 2726 | TabReset (term->tabs); | ^~~~~~~~ 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 charproc.c:2744:6: warning: implicit declaration of function ‘Exit’; did you mean ‘exit’? [-Wimplicit-function-declaration] 2744 | Exit (1); | ^~~~ | exit charproc.c:2753:4: warning: implicit declaration of function ‘recolor_cursor’; did you mean ‘XRecolorCursor’? [-Wimplicit-function-declaration] 2753 | recolor_cursor (screen->pointer_cursor, | ^~~~~~~~~~~~~~ | XRecolorCursor charproc.c:2849:2: warning: implicit declaration of function ‘set_cursor_gcs’ [-Wimplicit-function-declaration] 2849 | set_cursor_gcs (screen); | ^~~~~~~~~~~~~~ charproc.c:2879:2: warning: implicit declaration of function ‘set_vt_box’ [-Wimplicit-function-declaration] 2879 | set_vt_box (screen); | ^~~~~~~~~~ charproc.c: In function ‘VTSetValues’: charproc.c:3065:10: warning: implicit declaration of function ‘ScrollBarOff’ [-Wimplicit-function-declaration] 3065 | ScrollBarOff (&newvt->screen); | ^~~~~~~~~~~~ charproc.c: At top level: charproc.c:3265:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 3265 | VTReset(full) | ^~~~~~~ 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) { | ^~~~~~~~~~~~~~~~~~~~~~ charproc.c: In function ‘HandleVisualBell’: charproc.c:3487:5: warning: implicit declaration of function ‘VisualBell’; did you mean ‘XtCVisualBell’? [-Wimplicit-function-declaration] 3487 | VisualBell(); | ^~~~~~~~~~ | XtCVisualBell 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 charproc.c: In function ‘update_font_info’: charproc.c:3784:2: warning: implicit declaration of function ‘DoResizeScreen’ [-Wimplicit-function-declaration] 3784 | DoResizeScreen (term); /* set to the new natural size */ | ^~~~~~~~~~~~~~ charproc.c:3787:17: warning: implicit declaration of function ‘ResizeScrollBar’ [-Wimplicit-function-declaration] 3787 | ResizeScrollBar (screen->scrollWidget, | ^~~~~~~~~~~~~~~ charproc.c:3796:2: warning: implicit declaration of function ‘Redraw’ [-Wimplicit-function-declaration] 3796 | Redraw (); | ^~~~~~ charproc.c: At top level: charproc.c:3801:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 3801 | set_vt_box (screen) | ^~~~~~~~~~ charproc.c:3815:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 3815 | set_cursor_gcs (screen) | ^~~~~~~~~~~~~~ gtermio.c: In function ‘gio_processdata’: gtermio.c:1407:43: warning: embedded ‘\0’ in format [-Wformat-contains-nul] 1407 | sprintf (txtbuf, "setValue {%s}\0", tx_buf); | ^~ 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); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -g -O2 -fdebug-prefix-map=/build/x11iraf-N8tTGQ/x11iraf-2.0+2020.06.15+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -I../obm -DALLOWLOGGING -Wdate-time -D_FORTIFY_SOURCE=2 -c -o input.o input.c input.c: In function ‘AdjustAfterInput’: input.c:68:3: warning: implicit declaration of function ‘WindowScroll’ [-Wimplicit-function-declaration] 68 | WindowScroll(screen, 0); | ^~~~~~~~~~~~ input.c:74:5: warning: implicit declaration of function ‘Bell’; did you mean ‘XBell’? [-Wimplicit-function-declaration] 74 | Bell(); | ^~~~ | XBell cc -g -O2 -fdebug-prefix-map=/build/x11iraf-N8tTGQ/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 input.c: In function ‘Input’: input.c:134:3: warning: implicit declaration of function ‘unparseseq’ [-Wimplicit-function-declaration] 134 | unparseseq(&reply, pty); | ^~~~~~~~~~ input.c:135:3: warning: implicit declaration of function ‘unparseputc’ [-Wimplicit-function-declaration] 135 | unparseputc((char)(keysym-XK_KP_F1+'P'), pty); | ^~~~~~~~~~~ input.c: At top level: input.c:189:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 189 | StringInput (screen, string, nbytes) | ^~~~~~~~~~~ fitsio.c: In function ‘isFITS’: fitsio.c:208:6: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] 208 | fscanf (fp, "%6s = %c", keyw, &val); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -g -O2 -fdebug-prefix-map=/build/x11iraf-N8tTGQ/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 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 ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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:1419:2: warning: implicit declaration of function ‘get_terminal’; did you mean ‘get_termcap’? [-Wimplicit-function-declaration] 1419 | get_terminal (); | ^~~~~~~~~~~~ | get_termcap main.c:1420:2: warning: implicit declaration of function ‘spawn’ [-Wimplicit-function-declaration] 1420 | spawn (); | ^~~~~ main.c:1435:2: warning: implicit declaration of function ‘init_ttyio’ [-Wimplicit-function-declaration] 1435 | init_ttyio (pty); | ^~~~~~~~~~ main.c:1439:6: warning: implicit declaration of function ‘gio_setup’ [-Wimplicit-function-declaration] 1439 | gio_setup (app_con, argc, argv, pty); | ^~~~~~~~~ main.c:1440:6: warning: implicit declaration of function ‘gio_postconnectcallback’ [-Wimplicit-function-declaration] 1440 | gio_postconnectcallback (gtermio_connect, NULL); | ^~~~~~~~~~~~~~~~~~~~~~~ main.c:1460:3: warning: implicit declaration of function ‘StartLog’ [-Wimplicit-function-declaration] 1460 | StartLog(screen); | ^~~~~~~~ main.c:1485:3: warning: implicit declaration of function ‘Error’; did you mean ‘xerror’? [-Wimplicit-function-declaration] 1485 | Error(); | ^~~~~ | xerror main.c:1509:6: warning: implicit declaration of function ‘VTRun’ [-Wimplicit-function-declaration] 1509 | VTRun(); | ^~~~~ 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 () | ^~~~~~~~~~~~ main.c:2178:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 2178 | spawn(void) | ^~~~~ 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 main.c:2430:5: warning: implicit declaration of function ‘VTInit’ [-Wimplicit-function-declaration] 2430 | VTInit(); /* realize now so know window size for tty driver */ | ^~~~~~ main.c:2573:3: warning: implicit declaration of function ‘grantpt’ [-Wimplicit-function-declaration] 2573 | grantpt(screen->respond); | ^~~~~~~ main.c:2574:3: warning: implicit declaration of function ‘unlockpt’ [-Wimplicit-function-declaration] 2574 | unlockpt(screen->respond); | ^~~~~~~~ main.c:3494:3: warning: implicit declaration of function ‘remove_termcap_entry’ [-Wimplicit-function-declaration] 3494 | remove_termcap_entry(newtc, "ti="); | ^~~~~~~~~~~~~~~~~~~~ main.c: In function ‘Exit’: main.c:5056:3: warning: implicit declaration of function ‘CloseLog’ [-Wimplicit-function-declaration] 5056 | CloseLog(screen); | ^~~~~~~~ main.c: In function ‘reapchild’: main.c:5166:6: warning: implicit declaration of function ‘Cleanup’ [-Wimplicit-function-declaration] 5166 | Cleanup (0); | ^~~~~~~ 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)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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); | ^~~~~~~~~~~~~~~~~~~ main.c:3145:11: warning: ignoring return value of ‘dup’, declared with attribute warn_unused_result [-Wunused-result] 3145 | (void) dup(tty); | ^~~~~~~~ main.c:3415:13: warning: ignoring return value of ‘setgid’, declared with attribute warn_unused_result [-Wunused-result] 3415 | (void) setgid(screen->gid); | ^~~~~~~~~~~~~~~~~~~ main.c: In function ‘Exit’: main.c:5061:3: warning: ignoring return value of ‘chown’, declared with attribute warn_unused_result [-Wunused-result] 5061 | chown (ttydev, 0, 0); | ^~~~~~~~~~~~~~~~~~~~ main.c:5063:3: warning: ignoring return value of ‘chown’, declared with attribute warn_unused_result [-Wunused-result] 5063 | chown (ptydev, 0, 0); | ^~~~~~~~~~~~~~~~~~~~ fitsio.c: In function ‘getFITSHdr’: fitsio.c:240:47: warning: ‘%s’ directive writing up to 79 bytes into a region of size between 24 and 44 [-Wformat-overflow=] 240 | sprintf (line, "%-16.16s %3d %5dx%-5d %s", | ^~ 241 | fname, bitpix, w,h, fs.title); | ~~~~~~~~ In file included from /usr/include/stdio.h:867, from fitsio.c:23: /usr/include/x86_64-linux-gnu/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output between 37 and 136 bytes into a destination of size 80 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fitsio.c:237:51: warning: ‘%s’ directive writing up to 79 bytes into a region of size between 27 and 44 [-Wformat-overflow=] 237 | sprintf (line, "%-16.16s %3d (%2d extns) %s", | ^~ 238 | fname, bitpix, fs.nextend, fs.title); | ~~~~~~~~ In file included from /usr/include/stdio.h:867, from fitsio.c:23: /usr/include/x86_64-linux-gnu/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output between 37 and 133 bytes into a destination of size 80 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -g -O2 -fdebug-prefix-map=/build/x11iraf-N8tTGQ/x11iraf-2.0+2020.06.15+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -I../obm -DOSI_COMPLIANT -Wdate-time -D_FORTIFY_SOURCE=2 -c -o gifio.o gifio.c gifio.c: In function ‘isGIF’: gifio.c:217:13: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result [-Wunused-result] 217 | fread (tag, sizeof(char), 4, fp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -g -O2 -fdebug-prefix-map=/build/x11iraf-N8tTGQ/x11iraf-2.0+2020.06.15+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -I../obm -DALLOWLOGGING -Wdate-time -D_FORTIFY_SOURCE=2 -c -o menu.o menu.c In file included from menu.c:31: menu.c: In function ‘domenu’: menu.h:262:7: warning: implicit declaration of function ‘gt_enable’ [-Wimplicit-function-declaration] 262 | gt_enable(2)) | ^~~~~~~~~ menu.h:147:3: note: in definition of macro ‘update_menu_item’ 147 | (val) ? \ | ^~~ menu.c:208:6: note: in expansion of macro ‘update_gioenable’ 208 | update_gioenable(); | ^~~~~~~~~~~~~~~~ menu.c:226:15: warning: implicit declaration of function ‘isspace’ [-Wimplicit-function-declaration] 226 | start = isspace(*(op-1)) ? op - 1 : op; | ^~~~~~~ menu.c: At top level: menu.c:371:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 371 | init_menu (menu) | ^~~~~~~~~ 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 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); | ^~~~~~~~ menu.c: In function ‘do_redraw’: menu.c:490:5: warning: implicit declaration of function ‘Redraw’ [-Wimplicit-function-declaration] 490 | Redraw (); | ^~~~~~ menu.c: In function ‘do_quit’: menu.c:556:5: warning: implicit declaration of function ‘Cleanup’; did you mean ‘SmsCleanUp’? [-Wimplicit-function-declaration] 556 | Cleanup (0); | ^~~~~~~ | SmsCleanUp menu.c: In function ‘do_scrollbar’: menu.c:572:2: warning: implicit declaration of function ‘ScrollBarOff’ [-Wimplicit-function-declaration] 572 | ScrollBarOff (screen); | ^~~~~~~~~~~~ menu.c:574:2: warning: implicit declaration of function ‘ScrollBarOn’ [-Wimplicit-function-declaration] 574 | ScrollBarOn (term, FALSE, FALSE); | ^~~~~~~~~~~ menu.c: In function ‘do_jumpscroll’: menu.c:589:26: warning: implicit declaration of function ‘FlushScroll’ [-Wimplicit-function-declaration] 589 | if (screen->scroll_amt) FlushScroll(screen); | ^~~~~~~~~~~ menu.c: In function ‘do_softreset’: menu.c:729:5: warning: implicit declaration of function ‘VTReset’ [-Wimplicit-function-declaration] 729 | VTReset (FALSE); | ^~~~~~~ menu.c: In function ‘do_hardreset’: menu.c:737:5: warning: implicit declaration of function ‘gt_reset’ [-Wimplicit-function-declaration] 737 | gt_reset(); | ^~~~~~~~ menu.c: In function ‘do_clearsavedlines’: menu.c:749:5: warning: implicit declaration of function ‘ScrollBarDrawThumb’ [-Wimplicit-function-declaration] 749 | ScrollBarDrawThumb(screen->scrollWidget); | ^~~~~~~~~~~~~~~~~~ menu.c: In function ‘do_tekmode’: menu.c:767:5: warning: implicit declaration of function ‘switch_modes’ [-Wimplicit-function-declaration] 767 | switch_modes (gt_tekmode(2)); /* switch to tek mode */ | ^~~~~~~~~~~~ cc -g -O2 -fdebug-prefix-map=/build/x11iraf-N8tTGQ/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 menu.c: In function ‘handle_tekshow’: menu.c:777:9: warning: implicit declaration of function ‘set_tek_visibility’ [-Wimplicit-function-declaration] 777 | set_tek_visibility (TRUE); | ^~~~~~~~~~~~~~~~~~ menu.c:781:2: warning: implicit declaration of function ‘Bell’; did you mean ‘XBell’? [-Wimplicit-function-declaration] 781 | Bell(); | ^~~~ | XBell cc -g -O2 -fdebug-prefix-map=/build/x11iraf-N8tTGQ/x11iraf-2.0+2020.06.15+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -I../obm -DALLOWLOGGING -Wdate-time -D_FORTIFY_SOURCE=2 -c -o misc.o misc.c menu.c: In function ‘do_vthide’: menu.c:806:5: warning: implicit declaration of function ‘hide_vt_window’ [-Wimplicit-function-declaration] 806 | hide_vt_window(); | ^~~~~~~~~~~~~~ menu.c: In function ‘do_vtfont’: menu.c:823:6: warning: implicit declaration of function ‘SetVTFont’; did you mean ‘XSetFont’? [-Wimplicit-function-declaration] 823 | SetVTFont (i, True, NULL, NULL); | ^~~~~~~~~ | XSetFont menu.c: In function ‘do_tekpage’: menu.c:840:5: warning: implicit declaration of function ‘gt_clear’ [-Wimplicit-function-declaration] 840 | gt_clear(); | ^~~~~~~~ menu.c: In function ‘handle_vtshow’: menu.c:874:2: warning: implicit declaration of function ‘set_vt_visibility’ [-Wimplicit-function-declaration] 874 | set_vt_visibility (TRUE); | ^~~~~~~~~~~~~~~~~ menu.c:877:2: warning: implicit declaration of function ‘end_vt_mode’; did you mean ‘do_vtmode’? [-Wimplicit-function-declaration] 877 | end_vt_mode (); | ^~~~~~~~~~~ | do_vtmode misc.c: In function ‘xevents’: misc.c:77:17: warning: implicit declaration of function ‘FlushScroll’ [-Wimplicit-function-declaration] 77 | FlushScroll(screen); | ^~~~~~~~~~~ misc.c: In function ‘make_colored_cursor’: misc.c:130:2: warning: implicit declaration of function ‘recolor_cursor’; did you mean ‘XRecolorCursor’? [-Wimplicit-function-declaration] 130 | recolor_cursor (c, fg, bg); | ^~~~~~~~~~~~~~ | XRecolorCursor misc.c: In function ‘HandleKeyPressed’: misc.c:146:2: warning: implicit declaration of function ‘Input’ [-Wimplicit-function-declaration] 146 | Input (&term->keyboard, screen, &event->xkey, False); | ^~~~~ misc.c: In function ‘HandleStringEvent’: misc.c:192:6: warning: implicit declaration of function ‘StringInput’ [-Wimplicit-function-declaration] 192 | StringInput (screen, hexval, 1); | ^~~~~~~~~~~ misc.c: In function ‘HandleFocusChange’: misc.c:274:7: warning: implicit declaration of function ‘ReverseVideo’; did you mean ‘HandleReverseVideo’? [-Wimplicit-function-declaration] 274 | ReverseVideo(term); | ^~~~~~~~~~~~ | HandleReverseVideo 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 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", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ misc.c: In function ‘selectwindow’: misc.c:294:6: warning: implicit declaration of function ‘HideCursor’; did you mean ‘BadCursor’? [-Wimplicit-function-declaration] 294 | HideCursor(); | ^~~~~~~~~~ | BadCursor misc.c:297:3: warning: implicit declaration of function ‘ShowCursor’; did you mean ‘XNCursor’? [-Wimplicit-function-declaration] 297 | ShowCursor(); | ^~~~~~~~~~ | XNCursor misc.c: At top level: misc.c:660:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 660 | do_osc(func) | ^~~~~~ misc.c: In function ‘do_osc’: misc.c:685:3: warning: implicit declaration of function ‘Changename’ [-Wimplicit-function-declaration] 685 | Changename(buf); | ^~~~~~~~~~ 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); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ misc.c:686:3: warning: implicit declaration of function ‘Changetitle’ [-Wimplicit-function-declaration] 686 | Changetitle(buf); | ^~~~~~~~~~~ misc.c:728:3: warning: implicit declaration of function ‘SetVTFont’; did you mean ‘XSetFont’? [-Wimplicit-function-declaration] 728 | SetVTFont (fontMenu_fontescape, True, buf, NULL); | ^~~~~~~~~ | XSetFont misc.c: At top level: misc.c:738:8: warning: return type defaults to ‘int’ [-Wimplicit-int] 738 | static ChangeGroup(attribute, value) | ^~~~~~~~~~~ misc.c:749:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 749 | Changename(name) | ^~~~~~~~~~ misc.c:755:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 755 | Changetitle(name) | ^~~~~~~~~~~ misc.c: In function ‘GetOldColors’: misc.c:781:9: warning: implicit declaration of function ‘GetColors’; did you mean ‘GetOldColors’? [-Wimplicit-function-declaration] 781 | GetColors(pTerm,pOldColors); | ^~~~~~~~~ | GetOldColors misc.c: In function ‘ChangeColorsRequest’: misc.c:933:5: warning: implicit declaration of function ‘ChangeColors’ [-Wimplicit-function-declaration] 933 | ChangeColors(pTerm,&newColors); | ^~~~~~~~~~~~ misc.c: At top level: misc.c:945:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 945 | Panic(s, a) | ^~~~~ misc.c:971:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 971 | SysError (i) | ^~~~~~~~ misc.c: In function ‘SysError’: misc.c:980:2: warning: implicit declaration of function ‘Cleanup’; did you mean ‘SmsCleanUp’? [-Wimplicit-function-declaration] 980 | Cleanup(i); | ^~~~~~~ | SmsCleanUp misc.c: At top level: misc.c:983:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 983 | Error (i) | ^~~~~ misc.c:994:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 994 | Cleanup (code) | ^~~~~~~ misc.c: In function ‘Cleanup’: misc.c:1004:2: warning: implicit declaration of function ‘Exit’; did you mean ‘exit’? [-Wimplicit-function-declaration] 1004 | Exit (code); | ^~~~ | exit misc.c: At top level: misc.c:1067:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 1067 | xerror (display, event) | ^~~~~~ misc.c:1137:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 1137 | xioerror(dpy) | ^~~~~~~~ misc.c:1157:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 1157 | XStrCmp(s1, s2) | ^~~~~~~ misc.c: In function ‘set_vt_visibility’: misc.c:1183:13: warning: implicit declaration of function ‘VTInit’ [-Wimplicit-function-declaration] 1183 | VTInit (); | ^~~~~~ misc.c: In function ‘gtermio_connect’: misc.c:1320:6: warning: implicit declaration of function ‘init_menu’ [-Wimplicit-function-declaration] 1320 | init_menu ("tekMenu"); | ^~~~~~~~~ misc.c: In function ‘set_workstation_state’: misc.c:1329:1: warning: type of ‘state’ defaults to ‘int’ [-Wimplicit-int] 1329 | set_workstation_state (state) | ^~~~~~~~~~~~~~~~~~~~~ misc.c: In function ‘creat_as’: misc.c:472:2: warning: ignoring return value of ‘setgid’, declared with attribute warn_unused_result [-Wunused-result] 472 | setgid(gid); | ^~~~~~~~~~~ misc.c:473:2: warning: ignoring return value of ‘setuid’, declared with attribute warn_unused_result [-Wunused-result] 473 | setuid(uid); | ^~~~~~~~~~~ misc.c: In function ‘StartLog’: misc.c:532:3: warning: ignoring return value of ‘mkstemp’, declared with attribute warn_unused_result [-Wunused-result] 532 | mkstemp(log_default); | ^~~~~~~~~~~~~~~~~~~~ cc -g -O2 -fdebug-prefix-map=/build/x11iraf-N8tTGQ/x11iraf-2.0+2020.06.15+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -I../obm -DALLOWLOGGING -Wdate-time -D_FORTIFY_SOURCE=2 -c -o screen.o screen.c screen.c: In function ‘Allocate’: screen.c:72:3: warning: implicit declaration of function ‘SysError’ [-Wimplicit-function-declaration] 72 | SysError (ERROR_SCALLOC); | ^~~~~~~~ screen.c: At top level: screen.c:90:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 90 | Reallocate(sbuf, sbufaddr, nrow, ncol, oldrow, oldcol) | ^~~~~~~~~~ screen.c:206:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 206 | ScrnInsertLine (sb, last, where, n, size) | ^~~~~~~~~~~~~~ screen.c:246:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 246 | ScrnDeleteLine (sb, last, where, n, size) | ^~~~~~~~~~~~~~ screen.c:277:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 277 | ScrnInsertChar (sb, row, col, n, size) | ^~~~~~~~~~~~~~ screen.c:306:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 306 | ScrnDeleteChar (sb, row, col, n, size) | ^~~~~~~~~~~~~~ screen.c: In function ‘ScrnDeleteChar’: screen.c:316:11: warning: type defaults to ‘int’ in declaration of ‘nbytes’ [-Wimplicit-int] 316 | register nbytes = (size - n - col); | ^~~~~~ screen.c: At top level: screen.c:328:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 328 | ScrnRefresh (screen, toprow, leftcol, nrows, ncols, force) | ^~~~~~~~~~~ screen.c:528:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 528 | ClearBufRows (screen, first, last) | ^~~~~~~~~~~~ screen.c:558:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 558 | ScreenResize (screen, width, height, flags) | ^~~~~~~~~~~~ screen.c: In function ‘ScreenResize’: screen.c:604:4: warning: implicit declaration of function ‘HideCursor’; did you mean ‘BadCursor’? [-Wimplicit-function-declaration] 604 | HideCursor(); | ^~~~~~~~~~ | BadCursor screen.c:608:7: warning: implicit declaration of function ‘SwitchBufPtrs’ [-Wimplicit-function-declaration] 608 | SwitchBufPtrs(screen); | ^~~~~~~~~~~~~ screen.c:632:7: warning: implicit declaration of function ‘ScrollSelection’ [-Wimplicit-function-declaration] 632 | ScrollSelection(screen, move_down_by); | ^~~~~~~~~~~~~~~ screen.c:656:3: warning: implicit declaration of function ‘ResizeScrollBar’ [-Wimplicit-function-declaration] 656 | ResizeScrollBar(screen->scrollWidget, width - | ^~~~~~~~~~~~~~~ screen.c:666:2: warning: implicit declaration of function ‘ResizeSelection’ [-Wimplicit-function-declaration] 666 | ResizeSelection (screen, rows, cols); | ^~~~~~~~~~~~~~~ cc -g -O2 -fdebug-prefix-map=/build/x11iraf-N8tTGQ/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 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); | ^~~~~~~~~~~~~~~ scrollbar.c:305:2: warning: implicit declaration of function ‘ScrnRefresh’ [-Wimplicit-function-declaration] 305 | ScrnRefresh(screen, refreshtop, 0, lines, screen->max_col + 1, False); | ^~~~~~~~~~~ scrollbar.c: In function ‘ScrollBarOn’: scrollbar.c:329:3: warning: implicit declaration of function ‘Bell’; did you mean ‘XBell’? [-Wimplicit-function-declaration] 329 | Bell(); | ^~~~ | XBell scrollbar.c:350:8: warning: implicit declaration of function ‘Error’; did you mean ‘perror’? [-Wimplicit-function-declaration] 350 | Error (ERROR_SBRALLOC); | ^~~~~ | perror scrollbar.c:382:6: warning: implicit declaration of function ‘Redraw’ [-Wimplicit-function-declaration] 382 | Redraw (); | ^~~~~~ scrollbar.c: In function ‘ScrollTextUpDownBy’: scrollbar.c:430:15: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 430 | int pixels = (int) call_data; | ^ scrollbar.c: In function ‘params_to_pixels’: scrollbar.c:481:14: warning: type defaults to ‘int’ in declaration of ‘mult’ [-Wimplicit-int] 481 | register mult = 1; | ^~~~ scrollbar.c: In function ‘HandleScrollForward’: scrollbar.c:519:4: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 519 | (XtPointer)params_to_pixels (screen, params, (int) *nparams)); | ^ scrollbar.c: In function ‘HandleScrollBack’: scrollbar.c:535:4: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 535 | (XtPointer)-params_to_pixels (screen, params, (int) *nparams)); | ^ cc -g -O2 -fdebug-prefix-map=/build/x11iraf-N8tTGQ/x11iraf-2.0+2020.06.15+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -I../obm -DOSI_COMPLIANT -Wdate-time -D_FORTIFY_SOURCE=2 -c -o irafio.o irafio.c cc -g -O2 -fdebug-prefix-map=/build/x11iraf-N8tTGQ/x11iraf-2.0+2020.06.15+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -I../obm -DALLOWLOGGING -Wdate-time -D_FORTIFY_SOURCE=2 -c -o tabs.o tabs.c cc -g -O2 -fdebug-prefix-map=/build/x11iraf-N8tTGQ/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 irafio.c: In function ‘loadIRAF’: irafio.c:128:13: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result [-Wunused-result] 128 | fread ((char *)header_v1, sizeof (char), SZ_V1HDR, hdr); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ irafio.c:156:13: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result [-Wunused-result] 156 | fread ((char *)header_v2, sizeof (char), SZ_V2HDR, hdr); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ irafio.c: In function ‘irafReadPixels’: irafio.c:428:17: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result [-Wunused-result] 428 | fread ((char *)usline, sizeof (unsigned short), px, fd); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ irafio.c:457:17: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result [-Wunused-result] 457 | fread ((char *)sline, sizeof (short), px, fd); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ irafio.c:487:17: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result [-Wunused-result] 487 | fread ((char *)iline, sizeof (int), px, fd); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ irafio.c:516:17: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result [-Wunused-result] 516 | fread ((char *)fline, sizeof (float), px, fd); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ irafio.c:546:17: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result [-Wunused-result] 546 | fread ((char *)dline, sizeof (double), px, fd); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ irafio.c: In function ‘isIRAF’: irafio.c:224:13: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result [-Wunused-result] 224 | fread ((char *)magic, sizeof (char), 12, fp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ irafio.c: In function ‘getIRAFHdr’: irafio.c:266:13: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result [-Wunused-result] 266 | fread ((char *)header_v1, sizeof (char), SZ_V1HDR, hdr); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ irafio.c:285:13: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result [-Wunused-result] 285 | fread ((char *)header_v2, sizeof (char), SZ_V2HDR, hdr); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -g -O2 -fdebug-prefix-map=/build/x11iraf-N8tTGQ/x11iraf-2.0+2020.06.15+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -I../obm -DALLOWLOGGING -Wdate-time -D_FORTIFY_SOURCE=2 -c -o VTPrsTbl.o VTPrsTbl.c tabs.c:40:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 40 | TabReset(tabs) | ^~~~~~~~ tabs.c: In function ‘TabReset’: tabs.c:49:3: warning: implicit declaration of function ‘TabSet’; did you mean ‘TabReset’? [-Wimplicit-function-declaration] 49 | TabSet(tabs, i); | ^~~~~~ | TabReset tabs.c: At top level: tabs.c:56:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 56 | TabSet(tabs, col) | ^~~~~~ tabs.c:66:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 66 | TabClear(tabs, col) | ^~~~~~~~ tabs.c:78:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 78 | TabNext (tabs, col) | ^~~~~~~ tabs.c: In function ‘TabNext’: tabs.c:86:3: warning: implicit declaration of function ‘Index’; did you mean ‘index’? [-Wimplicit-function-declaration] 86 | Index(screen, 1); | ^~~~~ | index tabs.c: At top level: tabs.c:99:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 99 | TabZonk (tabs) | ^~~~~~~ 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/x11iraf-N8tTGQ/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 util.c:113:2: warning: implicit declaration of function ‘ScrollSelection’ [-Wimplicit-function-declaration] 113 | ScrollSelection(screen, -(screen->scroll_amt)); | ^~~~~~~~~~~~~~~ util.c:127:3: warning: implicit declaration of function ‘ScrnRefresh’ [-Wimplicit-function-declaration] 127 | ScrnRefresh(screen, refreshtop, 0, refreshheight, | ^~~~~~~~~~~ util.c: In function ‘Scroll’: util.c:256:3: warning: implicit declaration of function ‘ScrnDeleteLine’; did you mean ‘DeleteLine’? [-Wimplicit-function-declaration] 256 | ScrnDeleteLine(screen->allbuf, screen->bot_marg + | ^~~~~~~~~~~~~~ | DeleteLine util.c: In function ‘RevScroll’: util.c:335:2: warning: implicit declaration of function ‘ScrnInsertLine’; did you mean ‘InsertLine’? [-Wimplicit-function-declaration] 335 | ScrnInsertLine (screen->buf, screen->bot_marg, screen->top_marg, | ^~~~~~~~~~~~~~ | InsertLine util.c: In function ‘InsertChar’: util.c:510:7: warning: implicit declaration of function ‘non_blank_line’ [-Wimplicit-function-declaration] 510 | if (non_blank_line (screen->buf, screen->cur_row, | ^~~~~~~~~~~~~~ util.c:528:2: warning: implicit declaration of function ‘ScrnInsertChar’; did you mean ‘InsertChar’? [-Wimplicit-function-declaration] 528 | ScrnInsertChar(screen->buf, screen->cur_row, screen->cur_col, n, | ^~~~~~~~~~~~~~ | InsertChar util.c: In function ‘DeleteChar’: util.c:569:2: warning: implicit declaration of function ‘ScrnDeleteChar’; did you mean ‘DeleteChar’? [-Wimplicit-function-declaration] 569 | ScrnDeleteChar (screen->buf, screen->cur_row, screen->cur_col, n, | ^~~~~~~~~~~~~~ | DeleteChar util.c: In function ‘ClearAbove’: util.c:601:2: warning: implicit declaration of function ‘ClearBufRows’ [-Wimplicit-function-declaration] 601 | ClearBufRows(screen, 0, screen->cur_row - 1); | ^~~~~~~~~~~~ util.c: In function ‘CopyWait’: util.c:770:4: warning: implicit declaration of function ‘HandleExposure’ [-Wimplicit-function-declaration] 770 | HandleExposure (screen, &reply); | ^~~~~~~~~~~~~~ util.c: In function ‘HandleExposure’: util.c:898:9: warning: implicit declaration of function ‘handle_translated_exposure’ [-Wimplicit-function-declaration] 898 | return handle_translated_exposure (screen, reply->x, reply->y, | ^~~~~~~~~~~~~~~~~~~~~~~~~~ util.c: In function ‘ReverseVideo’: util.c:1026:3: warning: implicit declaration of function ‘ScrollBarReverseVideo’ [-Wimplicit-function-declaration] 1026 | ScrollBarReverseVideo(screen->scrollWidget); | ^~~~~~~~~~~~~~~~~~~~~ cc -g -O2 -fdebug-prefix-map=/build/x11iraf-N8tTGQ/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 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); | ^~~~~~~~~~~~~~ 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); | ^~ cc -g -O2 -fdebug-prefix-map=/build/x11iraf-N8tTGQ/x11iraf-2.0+2020.06.15+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -I../obm -DOSI_COMPLIANT -Wdate-time -D_FORTIFY_SOURCE=2 -c -o load.o load.c cc -g -O2 -fdebug-prefix-map=/build/x11iraf-N8tTGQ/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 load.c: In function ‘xim_initLoad’: load.c:72:33: warning: embedded ‘\0’ in format [-Wformat-contains-nul] 72 | sprintf (buf, "curdir %s\0", flp->curdir); | ^~ load.c:74:34: warning: embedded ‘\0’ in format [-Wformat-contains-nul] 74 | sprintf (buf, "pattern %s\0", flp->pattern); | ^~ load.c:76:31: warning: embedded ‘\0’ in format [-Wformat-contains-nul] 76 | sprintf (buf, "gray %d\0", flp->gray); | ^~ load.c:78:33: warning: embedded ‘\0’ in format [-Wformat-contains-nul] 78 | sprintf (buf, "zscale %d\0", flp->zscale); | ^~ load.c:80:33: warning: embedded ‘\0’ in format [-Wformat-contains-nul] 80 | sprintf (buf, "zrange %d\0", flp->zrange); | ^~ load.c:82:29: warning: embedded ‘\0’ in format [-Wformat-contains-nul] 82 | sprintf (buf, "z1 %g\0", flp->z1); | ^~ load.c:84:29: warning: embedded ‘\0’ in format [-Wformat-contains-nul] 84 | sprintf (buf, "z2 %g\0", flp->z2); | ^~ load.c:86:34: warning: embedded ‘\0’ in format [-Wformat-contains-nul] 86 | sprintf (buf, "nsample %d\0", flp->nsample); | ^~ load.c: In function ‘xim_loadFile’: load.c:139:31: warning: embedded ‘\0’ in format [-Wformat-contains-nul] 139 | sprintf (buf, "warning %s\0", "Error: File not found."); | ^~ load.c:201:31: warning: embedded ‘\0’ in format [-Wformat-contains-nul] 201 | sprintf (buf, "warning %s\0", "Error: Unknown raster file type."); | ^~ load.c:208:15: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘unsigned char *’ [-Wformat=] 208 | "Load: pix=%d w=%d h=%d xnc=%d nc=%d pcm=%d z1=%g z2=%g\n", | ~^ | | | int | %hhn 209 | pix, w, h, xim->ncolors, ncolors, has_private_cmap, z1, z2); | ~~~ | | | unsigned char * load.c:297:36: warning: embedded ‘\0’ in format [-Wformat-contains-nul] 297 | sprintf (buf, "%d %d %d\0", cf->width, cf->height, 8); | ^~ load.c: In function ‘listFiles’: load.c:570:9: warning: ignoring return value of ‘getcwd’, declared with attribute warn_unused_result [-Wunused-result] 570 | (void) getcwd (directory, SZ_FNAME); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ load.c:600:9: warning: ignoring return value of ‘chdir’, declared with attribute warn_unused_result [-Wunused-result] 600 | (void) chdir (directory); | ^~~~~~~~~~~~~~~~~ cc -g -O2 -fdebug-prefix-map=/build/x11iraf-N8tTGQ/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 load.c: In function ‘xim_initLoad’: load.c:72:31: warning: ‘%s’ directive writing up to 256 bytes into a region of size 249 [-Wformat-overflow=] 72 | sprintf (buf, "curdir %s\0", flp->curdir); | ^~ In file included from /usr/include/stdio.h:867, from load.c:4: /usr/include/x86_64-linux-gnu/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output between 8 and 264 bytes into a destination of size 256 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ print.c: In function ‘ximp_rename’: print.c:205:29: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘__off_t’ {aka ‘long int’} [-Wformat=] 205 | sprintf (text, "Wrote %d bytes to %s", fs.st_size, new); | ~^ ~~~~~~~~~~ | | | | int __off_t {aka long int} | %ld print.c: In function ‘xim_print’: print.c:174:6: warning: ignoring return value of ‘system’, declared with attribute warn_unused_result [-Wunused-result] 174 | system (text); /* dispose to printer */ | ^~~~~~~~~~~~~ print.c:173:26: warning: ‘%s’ directive writing up to 255 bytes into a region of size 252 [-Wformat-overflow=] 173 | sprintf (text, "cat %s | %s", tmpfile, pcp->printCmd); | ^~ ~~~~~~~ In file included from /usr/include/stdio.h:867, from print.c:1: /usr/include/x86_64-linux-gnu/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output between 8 and 519 bytes into a destination of size 256 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ print.c:150:23: warning: ‘%s’ directive writing up to 255 bytes into a region of size 235 [-Wformat-overflow=] 150 | sprintf (text, "%s\n%s\n%s", | ^~ In file included from /usr/include/stdio.h:867, from print.c:1: /usr/include/x86_64-linux-gnu/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output between 43 and 298 bytes into a destination of size 256 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ print.c:154:37: warning: ‘%s’ directive writing up to 255 bytes into a region of size 243 [-Wformat-overflow=] 154 | sprintf (ok_action, "print rename %s %s", tmpfile, fname); | ^~ ~~~~~~~ In file included from /usr/include/stdio.h:867, from print.c:1: /usr/include/x86_64-linux-gnu/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output between 15 and 525 bytes into a destination of size 256 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ print.c:155:41: warning: ‘%s’ directive writing up to 255 bytes into a region of size 243 [-Wformat-overflow=] 155 | sprintf (cancel_action, "print cancel %s", tmpfile); | ^~ ~~~~~~~ In file included from /usr/include/stdio.h:867, from print.c:1: /usr/include/x86_64-linux-gnu/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output between 14 and 269 bytes into a destination of size 256 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ print.c:140:52: warning: ‘%s’ directive writing up to 255 bytes into a region of size 228 [-Wformat-overflow=] 140 | sprintf (text, "Cannot open temporary file:\n%s", tmpfile); | ^~ ~~~~~~~ In file included from /usr/include/stdio.h:867, from print.c:1: /usr/include/x86_64-linux-gnu/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output between 29 and 284 bytes into a destination of size 256 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ print.c:109:43: warning: ‘%s’ directive writing up to 255 bytes into a region of size 236 [-Wformat-overflow=] 109 | sprintf (text, "Could not open file %s", fname); | ^~ ~~~~~ In file included from /usr/include/stdio.h:867, from print.c:1: /usr/include/x86_64-linux-gnu/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output between 21 and 276 bytes into a destination of size 256 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ print.c:104:42: warning: ‘%s’ directive writing up to 255 bytes into a region of size between 228 and 238 [-Wformat-overflow=] 104 | sprintf (text, "Wrote %d bytes to '%s'", | ^~ 105 | (int)fs.st_size, fname); | ~~~~~ In file included from /usr/include/stdio.h:867, from print.c:1: /usr/include/x86_64-linux-gnu/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output between 20 and 285 bytes into a destination of size 256 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -Wl,-z,relro -o xgterm button.o charproc.o cursor.o data.o gtermio.o input.o main.o menu.o misc.o screen.o scrollbar.o tabs.o util.o VTPrsTbl.o \ -L../obm -lobm \ -lXpm -ltcl -lXaw3d -lXmu -lXt -lXext -lX11 -lncurses -lm print.c: In function ‘xim_initPrinterOps’: print.c:256:36: warning: ‘%s’ directive writing up to 256 bytes into a region of size 244 [-Wformat-overflow=] 256 | sprintf (buf, "printerName %s", printer_list[0].printerName); | ^~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:867, from print.c:1: /usr/include/x86_64-linux-gnu/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output between 13 and 269 bytes into a destination of size 256 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ print.c:260:33: warning: ‘%s’ directive writing up to 256 bytes into a region of size 247 [-Wformat-overflow=] 260 | sprintf (buf, "printCmd %s", pcp->printCmd); | ^~ In file included from /usr/include/stdio.h:867, from print.c:1: /usr/include/x86_64-linux-gnu/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output between 10 and 266 bytes into a destination of size 256 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -g -O2 -fdebug-prefix-map=/build/x11iraf-N8tTGQ/x11iraf-2.0+2020.06.15+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -I../obm -DOSI_COMPLIANT -Wdate-time -D_FORTIFY_SOURCE=2 -c -o quant.o quant.c cc -g -O2 -fdebug-prefix-map=/build/x11iraf-N8tTGQ/x11iraf-2.0+2020.06.15+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -I../obm -DOSI_COMPLIANT -Wdate-time -D_FORTIFY_SOURCE=2 -c -o rasio.o rasio.c rasio.c: In function ‘loadSunRas’: rasio.c:130:56: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long int’ [-Wformat=] 130 | fprintf (stderr, "Sun rasterfile image has depth %d\n", | ~^ | | | int | %ld 131 | sunhdr.ras_depth); | ~~~~~~~~~~~~~~~~ | | | long int rasio.c:142:60: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long int’ [-Wformat=] 142 | fprintf (stderr, "Sun rasterfile of unsupported type %d\n", | ~^ | | | int | %ld 143 | sunhdr.ras_type); | ~~~~~~~~~~~~~~~ | | | long int rasio.c:152:69: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long int’ [-Wformat=] 152 | fprintf (stderr, "Sun rasterfile colormap of unsupported type %d\n", | ~^ | | | int | %ld 153 | sunhdr.ras_maptype); | ~~~~~~~~~~~~~~~~~~ | | | long int rasio.c:178:13: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long int’ [-Wformat=] 178 | "type %d, maptype %d, isize %d, csize %d, lsize %d, linesize %d\n", | ~^ | | | int | %ld 179 | sunhdr.ras_type, sunhdr.ras_maptype, | ~~~~~~~~~~~~~~~ | | | long int rasio.c:178:25: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘long int’ [-Wformat=] 178 | "type %d, maptype %d, isize %d, csize %d, lsize %d, linesize %d\n", | ~^ | | | int | %ld 179 | sunhdr.ras_type, sunhdr.ras_maptype, | ~~~~~~~~~~~~~~~~~~ | | | long int rasio.c:181:42: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘long int’ [-Wformat=] 181 | fprintf (stderr, "colorstyle=%d nc=%d\n", colorstyle, | ~^ | | | int | %ld 182 | sunhdr.ras_maplength/3); | ~~~~~~~~~~~~~~~~~~~~~~ | | | long int rasio.c: In function ‘getSunRasHdr’: rasio.c:477:37: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘long int’ [-Wformat=] 477 | sprintf (line, "%-16.16s %3d %5dx%-5d %s %s", | ~~^ | | | int | %3ld 478 | fname, hdr.ras_depth, hdr.ras_width, hdr.ras_height, | ~~~~~~~~~~~~~ | | | long int rasio.c:477:42: warning: format ‘%d’ expects argument of type ‘int’, but argument 5 has type ‘long int’ [-Wformat=] 477 | sprintf (line, "%-16.16s %3d %5dx%-5d %s %s", | ~~^ | | | int | %5ld 478 | fname, hdr.ras_depth, hdr.ras_width, hdr.ras_height, | ~~~~~~~~~~~~~ | | | long int rasio.c:477:47: warning: format ‘%d’ expects argument of type ‘int’, but argument 6 has type ‘long int’ [-Wformat=] 477 | sprintf (line, "%-16.16s %3d %5dx%-5d %s %s", | ~~~^ | | | int | %-5ld 478 | fname, hdr.ras_depth, hdr.ras_width, hdr.ras_height, | ~~~~~~~~~~~~~~ | | | long int rasio.c: In function ‘loadSunRas’: rasio.c:189:6: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result [-Wunused-result] 189 | fread (r, 1, nc, fp); | ^~~~~~~~~~~~~~~~~~~~ rasio.c:190:6: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result [-Wunused-result] 190 | fread (g, 1, nc, fp); | ^~~~~~~~~~~~~~~~~~~~ rasio.c:191:6: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result [-Wunused-result] 191 | fread (b, 1, nc, fp); | ^~~~~~~~~~~~~~~~~~~~ /usr/bin/ld: gtermio.o: in function `gio_connect_cb': ./xgterm/gtermio.c:465: warning: the use of `mktemp' is dangerous, better use `mkstemp' or `mkdtemp' make[2]: Leaving directory '/build/x11iraf-N8tTGQ/x11iraf-2.0+2020.06.15+dfsg/xgterm' cc -g -O2 -fdebug-prefix-map=/build/x11iraf-N8tTGQ/x11iraf-2.0+2020.06.15+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -I../obm -DOSI_COMPLIANT -Wdate-time -D_FORTIFY_SOURCE=2 -c -o raster.o raster.c cc -g -O2 -fdebug-prefix-map=/build/x11iraf-N8tTGQ/x11iraf-2.0+2020.06.15+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -I../obm -DOSI_COMPLIANT -Wdate-time -D_FORTIFY_SOURCE=2 -c -o save.o save.c cc -g -O2 -fdebug-prefix-map=/build/x11iraf-N8tTGQ/x11iraf-2.0+2020.06.15+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -I../obm -DOSI_COMPLIANT -Wdate-time -D_FORTIFY_SOURCE=2 -c -o tiffio.o tiffio.c cc -g -O2 -fdebug-prefix-map=/build/x11iraf-N8tTGQ/x11iraf-2.0+2020.06.15+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -I../obm -DOSI_COMPLIANT -Wdate-time -D_FORTIFY_SOURCE=2 -c -o util.o util.c raster.c: In function ‘xim_initialize’: raster.c:188:26: warning: iteration 15 invokes undefined behavior [-Waggressive-loop-optimizations] 188 | xim->frames[i].frameno = 0; | ~~~~~~~~~~~~~~~~~~~~~~~^~~ raster.c:187:6: note: within this loop 187 | for (i=1; i <= MAX_FRAMES; i++) | ^~~ save.c: In function ‘xim_saveFile’: save.c:170:26: warning: ‘%s’ directive writing up to 255 bytes into a region of size 221 [-Wformat-overflow=] 170 | sprintf (text, "%s\n%s\n%s", | ^~ 171 | "The following file already exists:", fname, | ~~~~~ In file included from /usr/include/stdio.h:867, from save.c:1: /usr/include/x86_64-linux-gnu/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output between 72 and 327 bytes into a destination of size 256 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ save.c:174:39: warning: ‘%s’ directive writing up to 255 bytes into a region of size 244 [-Wformat-overflow=] 174 | sprintf (ok_action, "save rename %s %s", tmpfile, fname); | ^~ ~~~~~~~ In file included from /usr/include/stdio.h:867, from save.c:1: /usr/include/x86_64-linux-gnu/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output between 14 and 524 bytes into a destination of size 256 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ save.c:175:43: warning: ‘%s’ directive writing up to 255 bytes into a region of size 244 [-Wformat-overflow=] 175 | sprintf (cancel_action, "save cancel %s", tmpfile); | ^~ ~~~~~~~ In file included from /usr/include/stdio.h:867, from save.c:1: /usr/include/x86_64-linux-gnu/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output between 13 and 268 bytes into a destination of size 256 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ save.c:163:48: warning: ‘%s’ directive writing up to 255 bytes into a region of size 228 [-Wformat-overflow=] 163 | sprintf (text, "Cannot open temporary file:\n%s", tmpfile); | ^~ ~~~~~~~ In file included from /usr/include/stdio.h:867, from save.c:1: /usr/include/x86_64-linux-gnu/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output between 29 and 284 bytes into a destination of size 256 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ save.c:138:46: warning: ‘%s’ directive writing up to 255 bytes into a region of size between 221 and 231 [-Wformat-overflow=] 138 | sprintf (text, "Error %d\nCannot open file %s", errno, fname); | ^~ ~~~~~ In file included from /usr/include/stdio.h:867, from save.c:1: /usr/include/x86_64-linux-gnu/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output between 26 and 291 bytes into a destination of size 256 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ save.c:134:37: warning: ‘%s’ directive writing up to 255 bytes into a region of size between 229 and 239 [-Wformat-overflow=] 134 | sprintf (text, "Wrote %d bytes to %s", (int)fs.st_size, fname); | ^~ ~~~~~ In file included from /usr/include/stdio.h:867, from save.c:1: /usr/include/x86_64-linux-gnu/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output between 18 and 283 bytes into a destination of size 256 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -g -O2 -fdebug-prefix-map=/build/x11iraf-N8tTGQ/x11iraf-2.0+2020.06.15+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -I../obm -DOSI_COMPLIANT -Wdate-time -D_FORTIFY_SOURCE=2 -c -o ximclient.o ximclient.c sed -f gui2c.sed ximtool.gui > ximtool.gui.h cc -g -O2 -fdebug-prefix-map=/build/x11iraf-N8tTGQ/x11iraf-2.0+2020.06.15+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -I../obm -DOSI_COMPLIANT -Wdate-time -D_FORTIFY_SOURCE=2 -c -o zscale.o zscale.c cd clients && mkpkg || true Warning, hlib$mkpkg.inc line 5: macro `IRAFARCH' not found warning: library `libpkg.a' not found xc -c -x idxstr.x ism.x wcsgfterm.x ximclient.c: In function ‘ism_start’: ximclient.c:2495:13: warning: ignoring return value of ‘system’, declared with attribute warn_unused_result [-Wunused-result] 2495 | system (ism->command); | ^~~~~~~~~~~~~~~~~~~~~ ximclient.c: In function ‘load’: ximclient.c:2013:39: warning: ‘%s’ directive writing up to 256 bytes into a region of size 249 [-Wformat-overflow=] 2013 | sprintf (buf, "curdir %s", flp->curdir); | ^~ In file included from /usr/include/stdio.h:867, from ximclient.c:1: /usr/include/x86_64-linux-gnu/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output between 8 and 264 bytes into a destination of size 256 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ximclient.c:2001:35: warning: ‘%s’ directive writing up to 256 bytes into a region of size 249 [-Wformat-overflow=] 2001 | sprintf (buf, "curdir %s", flp->curdir); | ^~ In file included from /usr/include/stdio.h:867, from ximclient.c:1: /usr/include/x86_64-linux-gnu/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output between 8 and 264 bytes into a destination of size 256 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ximclient.c: In function ‘info_server’: ximclient.c:2165:25: warning: ‘%s’ directive writing up to 256 bytes into a region of size 233 [-Wformat-overflow=] 2165 | sprintf (line, "%20s: %s\n", "Printer File", xim->pcp->printFile); | ^~ In file included from /usr/include/stdio.h:867, from ximclient.c:1: /usr/include/x86_64-linux-gnu/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output between 25 and 281 bytes into a destination of size 256 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ximclient.c:2167:25: warning: ‘%s’ directive writing up to 256 bytes into a region of size 233 [-Wformat-overflow=] 2167 | sprintf (line, "%20s: %s\n", "Printer Cmd", xim->pcp->printCmd); | ^~ In file included from /usr/include/stdio.h:867, from ximclient.c:1: /usr/include/x86_64-linux-gnu/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output between 25 and 281 bytes into a destination of size 256 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -g -O2 -fdebug-prefix-map=/build/x11iraf-N8tTGQ/x11iraf-2.0+2020.06.15+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -I../obm -DOSI_COMPLIANT -Wdate-time -D_FORTIFY_SOURCE=2 -c -o ximtool.o ximtool.c ximclient.c: In function ‘setSaveOption’: ximclient.c:1749:26: warning: ‘__builtin___sprintf_chk’ may write a terminating nul past the end of the destination [-Wformat-overflow=] 1749 | sprintf (buf, "%s %s", option, strval); | ^ In file included from /usr/include/stdio.h:867, from ximclient.c:1: /usr/include/x86_64-linux-gnu/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output 2 or more bytes (assuming 257) into a destination of size 256 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ximclient.c:1744:26: warning: ‘__builtin___sprintf_chk’ may write a terminating nul past the end of the destination [-Wformat-overflow=] 1744 | sprintf (buf, "%s %s", option, strval); | ^ In file included from /usr/include/stdio.h:867, from ximclient.c:1: /usr/include/x86_64-linux-gnu/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output 2 or more bytes (assuming 257) into a destination of size 256 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ximclient.c:1732:26: warning: ‘__builtin___sprintf_chk’ may write a terminating nul past the end of the destination [-Wformat-overflow=] 1732 | sprintf (buf, "%s %s", option, strval); | ^ In file included from /usr/include/stdio.h:867, from ximclient.c:1: /usr/include/x86_64-linux-gnu/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output 2 or more bytes (assuming 257) into a destination of size 256 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ximclient.c:1734:34: warning: ‘%s’ directive writing up to 256 bytes into a region of size 250 [-Wformat-overflow=] 1734 | sprintf (buf, "fname %s", fsp->fname); | ^~ In file included from /usr/include/stdio.h:867, from ximclient.c:1: /usr/include/x86_64-linux-gnu/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output between 7 and 263 bytes into a destination of size 256 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ximclient.c: In function ‘setLoadOption’: ximclient.c:1816:28: warning: ‘%s’ directive writing up to 256 bytes into a region of size 249 [-Wformat-overflow=] 1816 | sprintf (buf, "curdir %s", flp->curdir); | ^~ In file included from /usr/include/stdio.h:867, from ximclient.c:1: /usr/include/x86_64-linux-gnu/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output between 8 and 264 bytes into a destination of size 256 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ximclient.c:1810:28: warning: ‘%s’ directive writing up to 256 bytes into a region of size 249 [-Wformat-overflow=] 1810 | sprintf (buf, "curdir %s", flp->curdir); | ^~ In file included from /usr/include/stdio.h:867, from ximclient.c:1: /usr/include/x86_64-linux-gnu/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output between 8 and 264 bytes into a destination of size 256 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ximclient.c:1803:32: warning: ‘%s’ directive writing up to 256 bytes into a region of size 249 [-Wformat-overflow=] 1803 | sprintf (buf, "curdir %s", flp->curdir); | ^~ In file included from /usr/include/stdio.h:867, from ximclient.c:1: /usr/include/x86_64-linux-gnu/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output between 8 and 264 bytes into a destination of size 256 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ximtool.c: In function ‘main’: ximtool.c:104:41: warning: embedded ‘\0’ in format [-Wformat-contains-nul] 104 | sprintf (argv[i], "XImtool*cmapName:%s\0", str); | ^~ ximtool.c:111:42: warning: embedded ‘\0’ in format [-Wformat-contains-nul] 111 | sprintf (argv[i], "XImtool*maxColors:%d\0", ncolors); | ^~ ximtool.c:376:13: warning: ignoring return value of ‘system’, declared with attribute warn_unused_result [-Wunused-result] 376 | system (ism->command); | ^~~~~~~~~~~~~~~~~~~~~ ar r /build/x11iraf-N8tTGQ/x11iraf-2.0+2020.06.15+dfsg/ximtool/clients/libpkg.a idxstr.o ism.o wcsgfterm.o ar: creating /build/x11iraf-N8tTGQ/x11iraf-2.0+2020.06.15+dfsg/ximtool/clients/libpkg.a xc -c -x t_wcspix.x wcimage.x wcmef.x wcmspec.x wcunknown.x Warning on line 304 of t_wcspix.x: inconsistent calling sequences for zcall4, arg 4: here real variable, previously integer variable. arg 5: here real variable, previously integer*2 variable. ximclient.c: In function ‘setPrintOption’: ximclient.c:1644:38: warning: ‘%s’ directive writing up to 255 bytes into a region of size 246 [-Wformat-overflow=] 1644 | sprintf (buf, "printFile %s", strval); | ^~ ~~~~~~ In file included from /usr/include/stdio.h:867, from ximclient.c:1: /usr/include/x86_64-linux-gnu/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output between 11 and 266 bytes into a destination of size 256 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ximclient.c:1639:37: warning: ‘%s’ directive writing up to 255 bytes into a region of size 247 [-Wformat-overflow=] 1639 | sprintf (buf, "printCmd %s", strval); | ^~ ~~~~~~ In file included from /usr/include/stdio.h:867, from ximclient.c:1: /usr/include/x86_64-linux-gnu/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output between 10 and 265 bytes into a destination of size 256 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ximclient.c:1631:33: warning: ‘%s’ directive writing up to 255 bytes into a region of size 244 [-Wformat-overflow=] 1631 | sprintf (buf, "printerName %s", strval); | ^~ ~~~~~~ In file included from /usr/include/stdio.h:867, from ximclient.c:1: /usr/include/x86_64-linux-gnu/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output between 13 and 268 bytes into a destination of size 256 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ximclient.c:1634:30: warning: ‘%s’ directive writing up to 256 bytes into a region of size 247 [-Wformat-overflow=] 1634 | sprintf (buf, "printCmd %s", pcp->printCmd); | ^~ In file included from /usr/include/stdio.h:867, from ximclient.c:1: /usr/include/x86_64-linux-gnu/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output between 10 and 266 bytes into a destination of size 256 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ximclient.c:1619:35: warning: ‘%s’ directive writing up to 256 bytes into a region of size 246 [-Wformat-overflow=] 1619 | sprintf (buf, "printFile %s", pcp->printFile); | ^~ In file included from /usr/include/stdio.h:867, from ximclient.c:1: /usr/include/x86_64-linux-gnu/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output between 11 and 267 bytes into a destination of size 256 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ximclient.c:1610:34: warning: ‘%s’ directive writing up to 256 bytes into a region of size 247 [-Wformat-overflow=] 1610 | sprintf (buf, "printCmd %s", pcp->printCmd); | ^~ In file included from /usr/include/stdio.h:867, from ximclient.c:1: /usr/include/x86_64-linux-gnu/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output between 10 and 266 bytes into a destination of size 256 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ximclient.c:1601:26: warning: ‘__builtin___sprintf_chk’ may write a terminating nul past the end of the destination [-Wformat-overflow=] 1601 | sprintf (buf, "%s %s", option, strval); | ^ In file included from /usr/include/stdio.h:867, from ximclient.c:1: /usr/include/x86_64-linux-gnu/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output 2 or more bytes (assuming 257) into a destination of size 256 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ximclient.c:1583:26: warning: ‘__builtin___sprintf_chk’ may write a terminating nul past the end of the destination [-Wformat-overflow=] 1583 | sprintf (buf, "%s %s", option, strval); | ^ In file included from /usr/include/stdio.h:867, from ximclient.c:1: /usr/include/x86_64-linux-gnu/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output 2 or more bytes (assuming 257) into a destination of size 256 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ximclient.c:1571:26: warning: ‘__builtin___sprintf_chk’ may write a terminating nul past the end of the destination [-Wformat-overflow=] 1571 | sprintf (buf, "%s %s", option, strval); | ^ In file included from /usr/include/stdio.h:867, from ximclient.c:1: /usr/include/x86_64-linux-gnu/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output 2 or more bytes (assuming 257) into a destination of size 256 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ximclient.c:1537:38: warning: ‘%s’ directive writing up to 255 bytes into a region of size 250 [-Wformat-overflow=] 1537 | sprintf (buf, "title %s", strval); | ^~ ~~~~~~ In file included from /usr/include/stdio.h:867, from ximclient.c:1: /usr/include/x86_64-linux-gnu/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output between 7 and 262 bytes into a destination of size 256 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:495, from /usr/include/X11/Intrinsic.h:61, from raster.c:9: In function ‘strncpy’, inlined from ‘get_fbconfig’ at raster.c:2390:3, inlined from ‘xim_initialize’ at raster.c:173:6: /usr/include/x86_64-linux-gnu/bits/string_fortified.h:106:10: warning: ‘__builtin_strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ raster.c: In function ‘xim_initialize’: raster.c:2390:3: note: length computed here 2390 | strncpy (xim->imtoolrc, fname, strlen(fname)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:495, from /usr/include/X11/Intrinsic.h:61, from raster.c:9: In function ‘strncpy’, inlined from ‘get_fbconfig’ at raster.c:2398:3, inlined from ‘xim_initialize’ at raster.c:173:6: /usr/include/x86_64-linux-gnu/bits/string_fortified.h:106:10: warning: ‘__builtin_strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ raster.c: In function ‘xim_initialize’: raster.c:2398:3: note: length computed here 2398 | strncpy (xim->imtoolrc, fb_paths[i],strlen(fb_paths[i])); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -Wl,-z,relro -o ximtool eps.o fitsio.o gifio.o iis.o irafio.o ism.o ism_wcspix.o load.o logo.o print.o quant.o rasio.o raster.o save.o tiffio.o util.o ximclient.o ximtool.o zscale.o \ -L../obm -lobm \ -lXpm -ltcl -lXaw3d -lXmu -lXt -lXext -lX11 -lncurses -lm /usr/bin/ld: print.o: in function `xim_print': ./ximtool/print.c:136: warning: the use of `mktemp' is dangerous, better use `mkstemp' or `mkdtemp' ar r /build/x11iraf-N8tTGQ/x11iraf-2.0+2020.06.15+dfsg/ximtool/clients/libpkg.a t_wcspix.o wcimage.o wcmef.o wcmspec.o wcunknown.o ranlib libpkg.a Updated 8 files in libpkg.a xc -c -x x_ism.x xc -Nz -z x_ism.o libpkg.a -o ism_wcspix.e -lds -lxtools -liminterp -lslalib make[2]: Leaving directory '/build/x11iraf-N8tTGQ/x11iraf-2.0+2020.06.15+dfsg/ximtool' make[1]: Leaving directory '/build/x11iraf-N8tTGQ/x11iraf-2.0+2020.06.15+dfsg' dh_auto_test -a create-stamp debian/debhelper-build-stamp dh_testroot -a dh_prep -a debian/rules override_dh_auto_install make[1]: Entering directory '/build/x11iraf-N8tTGQ/x11iraf-2.0+2020.06.15+dfsg' # do nothing make[1]: Leaving directory '/build/x11iraf-N8tTGQ/x11iraf-2.0+2020.06.15+dfsg' dh_install -a dh_installdocs -a dh_installchangelogs -a dh_installman -a dh_perl -a dh_link -a dh_strip_nondeterminism -a dh_compress -a dh_fixperms -a dh_missing -a dh_dwz -a -a dwz: debian/ximtool/usr/bin/ximtool: DWARF compression not beneficial - old size 767122 new size 785441 dh_strip -a -a dh_makeshlibs -a -a dh_shlibdeps -a -a dh_installdeb -a dh_gencontrol -a dh_md5sums -a dh_builddeb -a 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-dbgsym' in '../xgterm-dbgsym_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-genbuildinfo --build=any dpkg-genchanges --build=any >../x11iraf_2.0+2020.06.15+dfsg-1_amd64.changes dpkg-genchanges: info: binary-only arch-specific upload (source code and arch-indep packages not included) dpkg-source --after-build . dpkg-buildpackage: info: binary-only upload (no source included) I: running special hook: sync-out /build/x11iraf-N8tTGQ /tmp/x11iraf-2.0+2020.06.15+dfsg-1kg73ja56 I: cleaning package lists and apt cache... I: creating tarball... I: done I: removing tempdir /tmp/mmdebstrap.HhQo815fkn... I: success in 433.3156 seconds md5: xgterm-dbgsym_2.0+2020.06.15+dfsg-1_amd64.deb: OK md5: xgterm_2.0+2020.06.15+dfsg-1_amd64.deb: OK md5: ximtool-dbgsym_2.0+2020.06.15+dfsg-1_amd64.deb: OK md5: ximtool_2.0+2020.06.15+dfsg-1_amd64.deb: OK sha1: xgterm-dbgsym_2.0+2020.06.15+dfsg-1_amd64.deb: OK sha1: xgterm_2.0+2020.06.15+dfsg-1_amd64.deb: OK sha1: ximtool-dbgsym_2.0+2020.06.15+dfsg-1_amd64.deb: OK sha1: ximtool_2.0+2020.06.15+dfsg-1_amd64.deb: OK sha256: xgterm-dbgsym_2.0+2020.06.15+dfsg-1_amd64.deb: OK sha256: xgterm_2.0+2020.06.15+dfsg-1_amd64.deb: OK sha256: ximtool-dbgsym_2.0+2020.06.15+dfsg-1_amd64.deb: OK sha256: ximtool_2.0+2020.06.15+dfsg-1_amd64.deb: OK Checksums: OK