Diff of the two buildlogs: -- --- b1/build.log 2021-08-15 14:49:53.436489003 +0000 +++ b2/build.log 2021-08-15 14:51:52.564005686 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Sun Aug 15 02:45:23 -12 2021 -I: pbuilder-time-stamp: 1629038723 +I: Current time: Sun Sep 18 11:13:01 +14 2022 +I: pbuilder-time-stamp: 1663449181 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/buster-reproducible-base.tgz] I: copying local configuration @@ -17,7 +17,7 @@ I: Extracting source gpgv: unknown type of key resource 'trustedkeys.kbx' gpgv: keyblock resource '/root/.gnupg/trustedkeys.kbx': General error -gpgv: Signature made Thu Apr 11 01:51:03 2019 -12 +gpgv: Signature made Fri Apr 12 03:51:03 2019 +14 gpgv: using RSA key 5C48FE6157F49179597087C64C5A6BAB12D2A7AE gpgv: Can't check signature: No public key dpkg-source: warning: failed to verify signature on ./xastir_2.1.0-5.dsc @@ -34,136 +34,170 @@ dpkg-source: info: applying no-magick-implementation I: using fakeroot in build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/3412/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/37530/tmp/hooks/D01_modify_environment starting +debug: Running on ionos5-amd64. +I: Changing host+domainname to test build reproducibility +I: Adding a custom variable just for the fun of it... +I: Changing /bin/sh to bash +Removing 'diversion of /bin/sh to /bin/sh.distrib by dash' +Adding 'diversion of /bin/sh to /bin/sh.distrib by bash' +Removing 'diversion of /usr/share/man/man1/sh.1.gz to /usr/share/man/man1/sh.distrib.1.gz by dash' +Adding 'diversion of /usr/share/man/man1/sh.1.gz to /usr/share/man/man1/sh.distrib.1.gz by bash' +I: Setting pbuilder2's login shell to /bin/bash +I: Setting pbuilder2's GECOS to second user,second room,second work-phone,second home-phone,second other +I: user script /srv/workspace/pbuilder/37530/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/37530/tmp/hooks/D02_print_environment starting I: set - BUILDDIR='/build' - BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' - BUILDUSERNAME='pbuilder1' - BUILD_ARCH='amd64' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=15' - DISTRIBUTION='' - HOME='/root' - HOST_ARCH='amd64' + BASH=/bin/sh + BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:hostcomplete:interactive_comments:progcomp:promptvars:sourcepath + BASH_ALIASES=() + BASH_ARGC=() + BASH_ARGV=() + BASH_CMDS=() + BASH_LINENO=([0]="12" [1]="0") + BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") + BASH_VERSINFO=([0]="5" [1]="0" [2]="3" [3]="1" [4]="release" [5]="x86_64-pc-linux-gnu") + BASH_VERSION='5.0.3(1)-release' + BUILDDIR=/build + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=amd64 + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=16' + DIRSTACK=() + DISTRIBUTION= + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=x86_64 + HOST_ARCH=amd64 IFS=' ' - INVOCATION_ID='bcd5616add94420fb96d78accc6e3ce6' - LANG='C' - LANGUAGE='en_US:en' - LC_ALL='C' - MAIL='/var/mail/root' - OPTIND='1' - PATH='/usr/sbin:/usr/bin:/sbin:/bin:/usr/games' - PBCURRENTCOMMANDLINEOPERATION='build' - PBUILDER_OPERATION='build' - PBUILDER_PKGDATADIR='/usr/share/pbuilder' - PBUILDER_PKGLIBDIR='/usr/lib/pbuilder' - PBUILDER_SYSCONFDIR='/etc' - PPID='3412' - PS1='# ' - PS2='> ' + INVOCATION_ID=5493ada3789642d1a9969d79f9bda86d + LANG=C + LANGUAGE=et_EE:et + LC_ALL=C + MACHTYPE=x86_64-pc-linux-gnu + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnu + PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path + PBCURRENTCOMMANDLINEOPERATION=build + PBUILDER_OPERATION=build + PBUILDER_PKGDATADIR=/usr/share/pbuilder + PBUILDER_PKGLIBDIR=/usr/lib/pbuilder + PBUILDER_SYSCONFDIR=/etc + PIPESTATUS=([0]="0") + POSIXLY_CORRECT=y + PPID=37530 PS4='+ ' - PWD='/' - SHELL='/bin/bash' - SHLVL='2' - SUDO_COMMAND='/usr/bin/timeout -k 18.1h 18h /usr/bin/ionice -c 3 /usr/bin/nice /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/tmp.ZN0qXLL0Qy/pbuilderrc_Hygb --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/buster-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/tmp.ZN0qXLL0Qy/b1 --logfile b1/build.log xastir_2.1.0-5.dsc' - SUDO_GID='111' - SUDO_UID='106' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://78.137.99.97:3128' + PWD=/ + SHELL=/bin/bash + SHELLOPTS=braceexpand:errexit:hashall:interactive-comments:posix + SHLVL=3 + SUDO_COMMAND='/usr/bin/timeout -k 24.1h 24h /usr/bin/ionice -c 3 /usr/bin/nice -n 11 /usr/bin/unshare --uts -- /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/tmp.ZN0qXLL0Qy/pbuilderrc_fEdA --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/buster-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/tmp.ZN0qXLL0Qy/b2 --logfile b2/build.log xastir_2.1.0-5.dsc' + SUDO_GID=110 + SUDO_UID=105 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://85.184.249.68:3128 I: uname -a - Linux ionos11-amd64 4.19.0-17-amd64 #1 SMP Debian 4.19.194-3 (2021-07-18) x86_64 GNU/Linux + Linux i-capture-the-hostname 5.10.0-0.bpo.8-amd64 #1 SMP Debian 5.10.46-2~bpo10+1 (2021-07-22) x86_64 GNU/Linux I: ls -l /bin total 5116 - -rwxr-xr-x 1 root root 1168776 Apr 17 2019 bash - -rwxr-xr-x 3 root root 38984 Jul 10 2019 bunzip2 - -rwxr-xr-x 3 root root 38984 Jul 10 2019 bzcat - lrwxrwxrwx 1 root root 6 Jul 10 2019 bzcmp -> bzdiff - -rwxr-xr-x 1 root root 2227 Jul 10 2019 bzdiff - lrwxrwxrwx 1 root root 6 Jul 10 2019 bzegrep -> bzgrep - -rwxr-xr-x 1 root root 4877 Jun 24 2019 bzexe - lrwxrwxrwx 1 root root 6 Jul 10 2019 bzfgrep -> bzgrep - -rwxr-xr-x 1 root root 3641 Jul 10 2019 bzgrep - -rwxr-xr-x 3 root root 38984 Jul 10 2019 bzip2 - -rwxr-xr-x 1 root root 14328 Jul 10 2019 bzip2recover - lrwxrwxrwx 1 root root 6 Jul 10 2019 bzless -> bzmore - -rwxr-xr-x 1 root root 1297 Jul 10 2019 bzmore - -rwxr-xr-x 1 root root 43744 Feb 28 2019 cat - -rwxr-xr-x 1 root root 64320 Feb 28 2019 chgrp - -rwxr-xr-x 1 root root 64288 Feb 28 2019 chmod - -rwxr-xr-x 1 root root 72512 Feb 28 2019 chown - -rwxr-xr-x 1 root root 146880 Feb 28 2019 cp - -rwxr-xr-x 1 root root 121464 Jan 17 2019 dash - -rwxr-xr-x 1 root root 109408 Feb 28 2019 date - -rwxr-xr-x 1 root root 76712 Feb 28 2019 dd - -rwxr-xr-x 1 root root 93744 Feb 28 2019 df - -rwxr-xr-x 1 root root 138856 Feb 28 2019 dir - -rwxr-xr-x 1 root root 84288 Jan 9 2019 dmesg - lrwxrwxrwx 1 root root 8 Sep 26 2018 dnsdomainname -> hostname - lrwxrwxrwx 1 root root 8 Sep 26 2018 domainname -> hostname - -rwxr-xr-x 1 root root 39520 Feb 28 2019 echo - -rwxr-xr-x 1 root root 28 Jan 7 2019 egrep - -rwxr-xr-x 1 root root 35424 Feb 28 2019 false - -rwxr-xr-x 1 root root 28 Jan 7 2019 fgrep - -rwxr-xr-x 1 root root 68880 Jan 9 2019 findmnt - -rwsr-xr-x 1 root root 34896 Apr 22 2020 fusermount - -rwxr-xr-x 1 root root 198976 Jan 7 2019 grep - -rwxr-xr-x 2 root root 2345 Jan 5 2019 gunzip - -rwxr-xr-x 1 root root 6375 Jan 5 2019 gzexe - -rwxr-xr-x 1 root root 98048 Jan 5 2019 gzip - -rwxr-xr-x 1 root root 26696 Sep 26 2018 hostname - -rwxr-xr-x 1 root root 68552 Feb 28 2019 ln - -rwxr-xr-x 1 root root 56760 Jul 26 2018 login - -rwxr-xr-x 1 root root 138856 Feb 28 2019 ls - -rwxr-xr-x 1 root root 108624 Jan 9 2019 lsblk - -rwxr-xr-x 1 root root 89088 Feb 28 2019 mkdir - -rwxr-xr-x 1 root root 68544 Feb 28 2019 mknod - -rwxr-xr-x 1 root root 43808 Feb 28 2019 mktemp - -rwxr-xr-x 1 root root 43008 Jan 9 2019 more - -rwsr-xr-x 1 root root 51280 Jan 9 2019 mount - -rwxr-xr-x 1 root root 14408 Jan 9 2019 mountpoint - -rwxr-xr-x 1 root root 138728 Feb 28 2019 mv - lrwxrwxrwx 1 root root 8 Sep 26 2018 nisdomainname -> hostname - lrwxrwxrwx 1 root root 14 Feb 14 2019 pidof -> /sbin/killall5 - -rwxr-xr-x 1 root root 39616 Feb 28 2019 pwd - lrwxrwxrwx 1 root root 4 Apr 17 2019 rbash -> bash - -rwxr-xr-x 1 root root 47776 Feb 28 2019 readlink - -rwxr-xr-x 1 root root 68416 Feb 28 2019 rm - -rwxr-xr-x 1 root root 47776 Feb 28 2019 rmdir - -rwxr-xr-x 1 root root 23312 Jan 21 2019 run-parts - -rwxr-xr-x 1 root root 122224 Dec 22 2018 sed - lrwxrwxrwx 1 root root 4 Aug 6 20:24 sh -> dash - -rwxr-xr-x 1 root root 39552 Feb 28 2019 sleep - -rwxr-xr-x 1 root root 80672 Feb 28 2019 stty - -rwsr-xr-x 1 root root 63568 Jan 9 2019 su - -rwxr-xr-x 1 root root 35488 Feb 28 2019 sync - -rwxr-xr-x 1 root root 445560 Apr 23 2019 tar - -rwxr-xr-x 1 root root 14440 Jan 21 2019 tempfile - -rwxr-xr-x 1 root root 97152 Feb 28 2019 touch - -rwxr-xr-x 1 root root 35424 Feb 28 2019 true - -rwxr-xr-x 1 root root 14328 Apr 22 2020 ulockmgr_server - -rwsr-xr-x 1 root root 34888 Jan 9 2019 umount - -rwxr-xr-x 1 root root 39584 Feb 28 2019 uname - -rwxr-xr-x 2 root root 2345 Jan 5 2019 uncompress - -rwxr-xr-x 1 root root 138856 Feb 28 2019 vdir - -rwxr-xr-x 1 root root 34896 Jan 9 2019 wdctl - -rwxr-xr-x 1 root root 946 Jan 21 2019 which - lrwxrwxrwx 1 root root 8 Sep 26 2018 ypdomainname -> hostname - -rwxr-xr-x 1 root root 1983 Jan 5 2019 zcat - -rwxr-xr-x 1 root root 1677 Jan 5 2019 zcmp - -rwxr-xr-x 1 root root 5879 Jan 5 2019 zdiff - -rwxr-xr-x 1 root root 29 Jan 5 2019 zegrep - -rwxr-xr-x 1 root root 29 Jan 5 2019 zfgrep - -rwxr-xr-x 1 root root 2080 Jan 5 2019 zforce - -rwxr-xr-x 1 root root 7584 Jan 5 2019 zgrep - -rwxr-xr-x 1 root root 2205 Jan 5 2019 zless - -rwxr-xr-x 1 root root 1841 Jan 5 2019 zmore - -rwxr-xr-x 1 root root 4552 Jan 5 2019 znew -I: user script /srv/workspace/pbuilder/3412/tmp/hooks/D02_print_environment finished + -rwxr-xr-x 1 root root 1168776 Apr 18 2019 bash + -rwxr-xr-x 3 root root 38984 Jul 11 2019 bunzip2 + -rwxr-xr-x 3 root root 38984 Jul 11 2019 bzcat + lrwxrwxrwx 1 root root 6 Jul 11 2019 bzcmp -> bzdiff + -rwxr-xr-x 1 root root 2227 Jul 11 2019 bzdiff + lrwxrwxrwx 1 root root 6 Jul 11 2019 bzegrep -> bzgrep + -rwxr-xr-x 1 root root 4877 Jun 25 2019 bzexe + lrwxrwxrwx 1 root root 6 Jul 11 2019 bzfgrep -> bzgrep + -rwxr-xr-x 1 root root 3641 Jul 11 2019 bzgrep + -rwxr-xr-x 3 root root 38984 Jul 11 2019 bzip2 + -rwxr-xr-x 1 root root 14328 Jul 11 2019 bzip2recover + lrwxrwxrwx 1 root root 6 Jul 11 2019 bzless -> bzmore + -rwxr-xr-x 1 root root 1297 Jul 11 2019 bzmore + -rwxr-xr-x 1 root root 43744 Mar 1 2019 cat + -rwxr-xr-x 1 root root 64320 Mar 1 2019 chgrp + -rwxr-xr-x 1 root root 64288 Mar 1 2019 chmod + -rwxr-xr-x 1 root root 72512 Mar 1 2019 chown + -rwxr-xr-x 1 root root 146880 Mar 1 2019 cp + -rwxr-xr-x 1 root root 121464 Jan 18 2019 dash + -rwxr-xr-x 1 root root 109408 Mar 1 2019 date + -rwxr-xr-x 1 root root 76712 Mar 1 2019 dd + -rwxr-xr-x 1 root root 93744 Mar 1 2019 df + -rwxr-xr-x 1 root root 138856 Mar 1 2019 dir + -rwxr-xr-x 1 root root 84288 Jan 10 2019 dmesg + lrwxrwxrwx 1 root root 8 Sep 27 2018 dnsdomainname -> hostname + lrwxrwxrwx 1 root root 8 Sep 27 2018 domainname -> hostname + -rwxr-xr-x 1 root root 39520 Mar 1 2019 echo + -rwxr-xr-x 1 root root 28 Jan 8 2019 egrep + -rwxr-xr-x 1 root root 35424 Mar 1 2019 false + -rwxr-xr-x 1 root root 28 Jan 8 2019 fgrep + -rwxr-xr-x 1 root root 68880 Jan 10 2019 findmnt + -rwsr-xr-x 1 root root 34896 Apr 23 2020 fusermount + -rwxr-xr-x 1 root root 198976 Jan 8 2019 grep + -rwxr-xr-x 2 root root 2345 Jan 6 2019 gunzip + -rwxr-xr-x 1 root root 6375 Jan 6 2019 gzexe + -rwxr-xr-x 1 root root 98048 Jan 6 2019 gzip + -rwxr-xr-x 1 root root 26696 Sep 27 2018 hostname + -rwxr-xr-x 1 root root 68552 Mar 1 2019 ln + -rwxr-xr-x 1 root root 56760 Jul 27 2018 login + -rwxr-xr-x 1 root root 138856 Mar 1 2019 ls + -rwxr-xr-x 1 root root 108624 Jan 10 2019 lsblk + -rwxr-xr-x 1 root root 89088 Mar 1 2019 mkdir + -rwxr-xr-x 1 root root 68544 Mar 1 2019 mknod + -rwxr-xr-x 1 root root 43808 Mar 1 2019 mktemp + -rwxr-xr-x 1 root root 43008 Jan 10 2019 more + -rwsr-xr-x 1 root root 51280 Jan 10 2019 mount + -rwxr-xr-x 1 root root 14408 Jan 10 2019 mountpoint + -rwxr-xr-x 1 root root 138728 Mar 1 2019 mv + lrwxrwxrwx 1 root root 8 Sep 27 2018 nisdomainname -> hostname + lrwxrwxrwx 1 root root 14 Feb 15 2019 pidof -> /sbin/killall5 + -rwxr-xr-x 1 root root 39616 Mar 1 2019 pwd + lrwxrwxrwx 1 root root 4 Apr 18 2019 rbash -> bash + -rwxr-xr-x 1 root root 47776 Mar 1 2019 readlink + -rwxr-xr-x 1 root root 68416 Mar 1 2019 rm + -rwxr-xr-x 1 root root 47776 Mar 1 2019 rmdir + -rwxr-xr-x 1 root root 23312 Jan 22 2019 run-parts + -rwxr-xr-x 1 root root 122224 Dec 23 2018 sed + lrwxrwxrwx 1 root root 4 Sep 18 11:13 sh -> bash + lrwxrwxrwx 1 root root 4 Sep 10 04:46 sh.distrib -> dash + -rwxr-xr-x 1 root root 39552 Mar 1 2019 sleep + -rwxr-xr-x 1 root root 80672 Mar 1 2019 stty + -rwsr-xr-x 1 root root 63568 Jan 10 2019 su + -rwxr-xr-x 1 root root 35488 Mar 1 2019 sync + -rwxr-xr-x 1 root root 445560 Apr 24 2019 tar + -rwxr-xr-x 1 root root 14440 Jan 22 2019 tempfile + -rwxr-xr-x 1 root root 97152 Mar 1 2019 touch + -rwxr-xr-x 1 root root 35424 Mar 1 2019 true + -rwxr-xr-x 1 root root 14328 Apr 23 2020 ulockmgr_server + -rwsr-xr-x 1 root root 34888 Jan 10 2019 umount + -rwxr-xr-x 1 root root 39584 Mar 1 2019 uname + -rwxr-xr-x 2 root root 2345 Jan 6 2019 uncompress + -rwxr-xr-x 1 root root 138856 Mar 1 2019 vdir + -rwxr-xr-x 1 root root 34896 Jan 10 2019 wdctl + -rwxr-xr-x 1 root root 946 Jan 22 2019 which + lrwxrwxrwx 1 root root 8 Sep 27 2018 ypdomainname -> hostname + -rwxr-xr-x 1 root root 1983 Jan 6 2019 zcat + -rwxr-xr-x 1 root root 1677 Jan 6 2019 zcmp + -rwxr-xr-x 1 root root 5879 Jan 6 2019 zdiff + -rwxr-xr-x 1 root root 29 Jan 6 2019 zegrep + -rwxr-xr-x 1 root root 29 Jan 6 2019 zfgrep + -rwxr-xr-x 1 root root 2080 Jan 6 2019 zforce + -rwxr-xr-x 1 root root 7584 Jan 6 2019 zgrep + -rwxr-xr-x 1 root root 2205 Jan 6 2019 zless + -rwxr-xr-x 1 root root 1841 Jan 6 2019 zmore + -rwxr-xr-x 1 root root 4552 Jan 6 2019 znew +I: user script /srv/workspace/pbuilder/37530/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -523,7 +557,7 @@ Get: 284 http://deb.debian.org/debian buster/main amd64 uil amd64 2.3.8-2 [38.5 kB] Get: 285 http://deb.debian.org/debian buster/main amd64 libmotif-dev amd64 2.3.8-2 [2475 kB] Get: 286 http://deb.debian.org/debian buster/main amd64 libshp-dev amd64 1.4.1-3 [48.7 kB] -Fetched 146 MB in 8s (19.3 MB/s) +Fetched 146 MB in 2s (77.5 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package libbsd0: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 ... 19195 files and directories currently installed.) @@ -1703,7 +1737,7 @@ fakeroot is already the newest version (1.23-1). 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. I: Building the package -I: Running cd /build/xastir-2.1.0/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-buildpackage -us -uc -b +I: Running cd /build/xastir-2.1.0/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-buildpackage -us -uc -b dpkg-buildpackage: info: source package xastir dpkg-buildpackage: info: source version 2.1.0-5 dpkg-buildpackage: info: source distribution unstable @@ -2059,7 +2093,7 @@ xastir will be installed in /usr/bin. Type 'make' to build Xastir (Use 'gmake' instead on some systems). dh_auto_build - make -j15 + make -j16 make[1]: Entering directory '/build/xastir-2.1.0' make all-recursive make[2]: Entering directory '/build/xastir-2.1.0' @@ -2097,24 +2131,18 @@ gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/GraphicsMagick -I/usr/local/include -I/usr/include/geotiff -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/gdal -DXASTIR_DATA_BASE=\"/usr/share/xastir\" -fopenmp -g -O2 -fdebug-prefix-map=/build/graphicsmagick-FG5eMj/graphicsmagick-1.4+really1.3.35=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pthread -ffile-prefix-map=/build/xastir-2.1.0=. -pipe -Wpointer-arith -Wstrict-prototypes -Wno-unused-parameter -c -o forked_getaddrinfo.o forked_getaddrinfo.c gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/GraphicsMagick -I/usr/local/include -I/usr/include/geotiff -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/gdal -DXASTIR_DATA_BASE=\"/usr/share/xastir\" -fopenmp -g -O2 -fdebug-prefix-map=/build/graphicsmagick-FG5eMj/graphicsmagick-1.4+really1.3.35=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pthread -ffile-prefix-map=/build/xastir-2.1.0=. -pipe -Wpointer-arith -Wstrict-prototypes -Wno-unused-parameter -c -o geo-find.o geo-find.c gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/GraphicsMagick -I/usr/local/include -I/usr/include/geotiff -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/gdal -DXASTIR_DATA_BASE=\"/usr/share/xastir\" -fopenmp -g -O2 -fdebug-prefix-map=/build/graphicsmagick-FG5eMj/graphicsmagick-1.4+really1.3.35=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pthread -ffile-prefix-map=/build/xastir-2.1.0=. -pipe -Wpointer-arith -Wstrict-prototypes -Wno-unused-parameter -c -o geocoder_gui.o geocoder_gui.c -alert.c: In function 'alert_build_list': -alert.c:1952:27: warning: argument to 'sizeof' in 'snprintf' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] - sizeof(&title[jj][0]), - ^ -alert.c:1958:23: warning: argument to 'sizeof' in 'snprintf' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] - sizeof(&title[0][0]), - ^ -datum.c: In function 'wgs84_datum_shift': -datum.c:359:16: warning: variable 'b1' set but not used [-Wunused-but-set-variable] - double a1, b1, es1, f1; /* Reference ellipsoid of output data */ - ^~ -datum.c: In function 'utm_ups_to_ll': -datum.c:686:9: warning: variable 'NorthernHemisphere' set but not used [-Wunused-but-set-variable] - int NorthernHemisphere; // 1=northern hemisphere, 0=southern - ^~~~~~~~~~~~~~~~~~ -datum.c:682:16: warning: variable 'phi1' set but not used [-Wunused-but-set-variable] - double mu, phi1, phi1Rad; - ^~~~ +gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/GraphicsMagick -I/usr/local/include -I/usr/include/geotiff -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/gdal -DXASTIR_DATA_BASE=\"/usr/share/xastir\" -fopenmp -g -O2 -fdebug-prefix-map=/build/graphicsmagick-FG5eMj/graphicsmagick-1.4+really1.3.35=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pthread -ffile-prefix-map=/build/xastir-2.1.0=. -pipe -Wpointer-arith -Wstrict-prototypes -Wno-unused-parameter -c -o gps.o gps.c +fcc_data.c: In function 'build_fcc_index': +fcc_data.c:146:15: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] + (void)fgets(fccdata, (int)sizeof(fccdata), fdb); + ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +fcc_data.c: In function 'search_fcc_data_appl': +fcc_data.c:295:15: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] + (void)fgets(index,(int)sizeof(index),fndx); + ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +fcc_data.c:303:19: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] + (void)fgets(index,(int)sizeof(index),fndx); + ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ color.c: In function 'load_color_file': color.c:83:30: warning: '%s' directive output may be truncated writing up to 49 bytes into a region of size 40 [-Wformat-truncation=] "%s", @@ -2129,15 +2157,166 @@ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +datum.c: In function 'wgs84_datum_shift': +datum.c:359:16: warning: variable 'b1' set but not used [-Wunused-but-set-variable] + double a1, b1, es1, f1; /* Reference ellipsoid of output data */ + ^~ +draw_symbols.c: In function 'draw_pod_circle': +draw_symbols.c:388:14: warning: variable 'b' set but not used [-Wunused-but-set-variable] + double a,b; + ^ +draw_symbols.c:388:12: warning: variable 'a' set but not used [-Wunused-but-set-variable] + double a,b; + ^ +draw_symbols.c: In function 'draw_phg_rng': +draw_symbols.c:520:14: warning: variable 'b' set but not used [-Wunused-but-set-variable] + double a,b; + ^ +draw_symbols.c:520:12: warning: variable 'a' set but not used [-Wunused-but-set-variable] + double a,b; + ^ +draw_symbols.c:519:12: warning: variable 'tilt' set but not used [-Wunused-but-set-variable] + double tilt; + ^~~~ +draw_symbols.c:518:28: warning: variable 'fyy' set but not used [-Wunused-but-set-variable] + long xx,yy,xx1,yy1,fxx,fyy; + ^~~ +draw_symbols.c:518:24: warning: variable 'fxx' set but not used [-Wunused-but-set-variable] + long xx,yy,xx1,yy1,fxx,fyy; + ^~~ +draw_symbols.c:518:20: warning: variable 'yy1' set but not used [-Wunused-but-set-variable] + long xx,yy,xx1,yy1,fxx,fyy; + ^~~ +draw_symbols.c:518:16: warning: variable 'xx1' set but not used [-Wunused-but-set-variable] + long xx,yy,xx1,yy1,fxx,fyy; + ^~~ +draw_symbols.c:518:13: warning: variable 'yy' set but not used [-Wunused-but-set-variable] + long xx,yy,xx1,yy1,fxx,fyy; + ^~ +draw_symbols.c:518:10: warning: variable 'xx' set but not used [-Wunused-but-set-variable] + long xx,yy,xx1,yy1,fxx,fyy; + ^~ +draw_symbols.c: In function 'draw_DF_circle': +draw_symbols.c:703:14: warning: variable 'b' set but not used [-Wunused-but-set-variable] + double a,b; + ^ +draw_symbols.c:703:12: warning: variable 'a' set but not used [-Wunused-but-set-variable] + double a,b; + ^ +draw_symbols.c:702:12: warning: variable 'tilt' set but not used [-Wunused-but-set-variable] + double tilt; + ^~~~ +draw_symbols.c:701:28: warning: variable 'fyy' set but not used [-Wunused-but-set-variable] + long xx,yy,xx1,yy1,fxx,fyy; + ^~~ +draw_symbols.c:701:24: warning: variable 'fxx' set but not used [-Wunused-but-set-variable] + long xx,yy,xx1,yy1,fxx,fyy; + ^~~ +draw_symbols.c:701:20: warning: variable 'yy1' set but not used [-Wunused-but-set-variable] + long xx,yy,xx1,yy1,fxx,fyy; + ^~~ +draw_symbols.c:701:16: warning: variable 'xx1' set but not used [-Wunused-but-set-variable] + long xx,yy,xx1,yy1,fxx,fyy; + ^~~ +draw_symbols.c:701:13: warning: variable 'yy' set but not used [-Wunused-but-set-variable] + long xx,yy,xx1,yy1,fxx,fyy; + ^~ +draw_symbols.c:701:10: warning: variable 'xx' set but not used [-Wunused-but-set-variable] + long xx,yy,xx1,yy1,fxx,fyy; + ^~ +draw_symbols.c: In function 'draw_aloha_circle': +draw_symbols.c:955:14: warning: variable 'b' set but not used [-Wunused-but-set-variable] + double a,b; + ^ +draw_symbols.c:955:12: warning: variable 'a' set but not used [-Wunused-but-set-variable] + double a,b; + ^ +datum.c: In function 'utm_ups_to_ll': +datum.c:686:9: warning: variable 'NorthernHemisphere' set but not used [-Wunused-but-set-variable] + int NorthernHemisphere; // 1=northern hemisphere, 0=southern + ^~~~~~~~~~~~~~~~~~ +datum.c:682:16: warning: variable 'phi1' set but not used [-Wunused-but-set-variable] + double mu, phi1, phi1Rad; + ^~~~ +draw_symbols.c: In function 'Select_symbol': +draw_symbols.c:3187:36: warning: variable 'label2' set but not used [-Wunused-but-set-variable] + frame, frame2, label1, label2, b1; + ^~~~~~ +draw_symbols.c:3187:28: warning: variable 'label1' set but not used [-Wunused-but-set-variable] + frame, frame2, label1, label2, b1; + ^~~~~~ +alert.c: In function 'alert_build_list': +alert.c:1952:27: warning: argument to 'sizeof' in 'snprintf' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] + sizeof(&title[jj][0]), + ^ +alert.c:1958:23: warning: argument to 'sizeof' in 'snprintf' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] + sizeof(&title[0][0]), + ^ +forked_getaddrinfo.c: In function 'forked_getaddrinfo': +forked_getaddrinfo.c:195:23: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] + (void)write(fp[1],&rc, sizeof(int)); + ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +forked_getaddrinfo.c:217:19: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] + (void)write(fp[1], &rc, sizeof(int)); // Send status + ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +forked_getaddrinfo.c:222:23: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] + (void)write(fp[1], &rc, sizeof(int)); + ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +forked_getaddrinfo.c:224:23: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] + (void)write(fp[1], res, sizeof(struct addrinfo)); + ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +forked_getaddrinfo.c:225:23: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] + (void)write(fp[1], res->ai_addr, res->ai_addrlen); + ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +forked_getaddrinfo.c:229:19: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] + (void)write(fp[1], &rc, sizeof(int)); + ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +forked_getaddrinfo.c:265:19: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] + (void)read(fp[0],&rc,sizeof(int)); + ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +forked_getaddrinfo.c:272:19: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] + (void)read(fp[0], &status, sizeof(int)); + ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +forked_getaddrinfo.c:277:23: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] + (void)read(fp[0], res, sizeof(struct addrinfo)); + ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +forked_getaddrinfo.c:279:23: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] + (void)read(fp[0], res->ai_addr, res->ai_addrlen); + ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +forked_getaddrinfo.c:284:23: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] + (void)read(fp[0], &status, sizeof(int)); + ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ db.c: In function 'sort_reset_pointers': db.c:2225:10: warning: variable 'cp' set but not used [-Wunused-but-set-variable] long cp; ^~ +gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/GraphicsMagick -I/usr/local/include -I/usr/include/geotiff -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/gdal -DXASTIR_DATA_BASE=\"/usr/share/xastir\" -fopenmp -g -O2 -fdebug-prefix-map=/build/graphicsmagick-FG5eMj/graphicsmagick-1.4+really1.3.35=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pthread -ffile-prefix-map=/build/xastir-2.1.0=. -pipe -Wpointer-arith -Wstrict-prototypes -Wno-unused-parameter -c -o hashtable.o hashtable.c +fcc_data.c:296:58: warning: '%s' directive output may be truncated writing up to 31 bytes into a region of size 16 [-Wformat-truncation=] + xastir_snprintf(char_offset,sizeof(char_offset),"%s",&index[6]); + ^~ +In file included from /usr/include/stdio.h:873, + from snprintf.h:27, + from fcc_data.c:28: +/usr/include/x86_64-linux-gnu/bits/stdio2.h:67:10: note: '__builtin_snprintf' output between 1 and 32 bytes into a destination of size 16 + return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, + ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + __bos (__s), __fmt, __va_arg_pack ()); + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +fcc_data.c:302:62: warning: '%s' directive output may be truncated writing up to 31 bytes into a region of size 16 [-Wformat-truncation=] + xastir_snprintf(char_offset,sizeof(char_offset),"%s",&index[6]); + ^~ +In file included from /usr/include/stdio.h:873, + from snprintf.h:27, + from fcc_data.c:28: +/usr/include/x86_64-linux-gnu/bits/stdio2.h:67:10: note: '__builtin_snprintf' output between 1 and 32 bytes into a destination of size 16 + return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, + ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + __bos (__s), __fmt, __va_arg_pack ()); + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ db.c: In function 'Station_data': db.c:5593:9: warning: variable 'restore_position' set but not used [-Wunused-but-set-variable] int restore_position = 0; ^~~~~~~~~~~~~~~~ -gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/GraphicsMagick -I/usr/local/include -I/usr/include/geotiff -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/gdal -DXASTIR_DATA_BASE=\"/usr/share/xastir\" -fopenmp -g -O2 -fdebug-prefix-map=/build/graphicsmagick-FG5eMj/graphicsmagick-1.4+really1.3.35=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pthread -ffile-prefix-map=/build/xastir-2.1.0=. -pipe -Wpointer-arith -Wstrict-prototypes -Wno-unused-parameter -c -o gps.o gps.c db.c: In function 'is_trailpoint_echo': db.c:7853:38: warning: comparison between pointer and zero character constant [-Wpointer-compare] && (p_station->speed == '\0' || ptr->speed < 0 @@ -2151,14 +2330,41 @@ db.c:7856:21: note: did you mean to dereference the pointer? && (p_station->course == '\0' || ptr->course <= 0 ^ -fcc_data.c: In function 'build_fcc_index': -fcc_data.c:146:15: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] - (void)fgets(fccdata, (int)sizeof(fccdata), fdb); - ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -bulletin_gui.c: In function 'bulletin_message': db.c:7859:41: warning: comparison between pointer and zero character constant [-Wpointer-compare] && (p_station->altitude == '\0' || ptr->altitude <= -99999l ^~ +db.c:7859:21: note: did you mean to dereference the pointer? + && (p_station->altitude == '\0' || ptr->altitude <= -99999l + ^ +In file included from gps.c:56: +gps.c: In function 'gps_data_find': +main.h:453:1: warning: ignoring return value of 'seteuid', declared with attribute warn_unused_result [-Wunused-result] + seteuid(euid); \ + ^~~~~~~~~~~~~ +gps.c:632:1: note: in expansion of macro 'ENABLE_SETUID_PRIVILEGE' + ENABLE_SETUID_PRIVILEGE; + ^~~~~~~~~~~~~~~~~~~~~~~ +main.h:454:1: warning: ignoring return value of 'setegid', declared with attribute warn_unused_result [-Wunused-result] + setegid(egid); \ + ^~~~~~~~~~~~~ +gps.c:632:1: note: in expansion of macro 'ENABLE_SETUID_PRIVILEGE' + ENABLE_SETUID_PRIVILEGE; + ^~~~~~~~~~~~~~~~~~~~~~~ +main.h:448:1: warning: ignoring return value of 'seteuid', declared with attribute warn_unused_result [-Wunused-result] + seteuid(getuid()); \ + ^~~~~~~~~~~~~~~~~ +gps.c:634:1: note: in expansion of macro 'DISABLE_SETUID_PRIVILEGE' + DISABLE_SETUID_PRIVILEGE; + ^~~~~~~~~~~~~~~~~~~~~~~~ +main.h:449:1: warning: ignoring return value of 'setegid', declared with attribute warn_unused_result [-Wunused-result] + setegid(getgid()); \ + ^~~~~~~~~~~~~~~~~ +gps.c:634:1: note: in expansion of macro 'DISABLE_SETUID_PRIVILEGE' + DISABLE_SETUID_PRIVILEGE; + ^~~~~~~~~~~~~~~~~~~~~~~~ +gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/GraphicsMagick -I/usr/local/include -I/usr/include/geotiff -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/gdal -DXASTIR_DATA_BASE=\"/usr/share/xastir\" -fopenmp -g -O2 -fdebug-prefix-map=/build/graphicsmagick-FG5eMj/graphicsmagick-1.4+really1.3.35=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pthread -ffile-prefix-map=/build/xastir-2.1.0=. -pipe -Wpointer-arith -Wstrict-prototypes -Wno-unused-parameter -c -o hashtable_itr.o hashtable_itr.c +gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/GraphicsMagick -I/usr/local/include -I/usr/include/geotiff -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/gdal -DXASTIR_DATA_BASE=\"/usr/share/xastir\" -fopenmp -g -O2 -fdebug-prefix-map=/build/graphicsmagick-FG5eMj/graphicsmagick-1.4+really1.3.35=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pthread -ffile-prefix-map=/build/xastir-2.1.0=. -pipe -Wpointer-arith -Wstrict-prototypes -Wno-unused-parameter -c -o igate.o igate.c +bulletin_gui.c: In function 'bulletin_message': bulletin_gui.c:171:18: warning: '%s' directive output may be truncated writing up to 199 bytes into a region of size 30 [-Wformat-truncation=] "%s", ^~ @@ -2172,18 +2378,28 @@ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -db.c:7859:21: note: did you mean to dereference the pointer? - && (p_station->altitude == '\0' || ptr->altitude <= -99999l - ^ -gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/GraphicsMagick -I/usr/local/include -I/usr/include/geotiff -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/gdal -DXASTIR_DATA_BASE=\"/usr/share/xastir\" -fopenmp -g -O2 -fdebug-prefix-map=/build/graphicsmagick-FG5eMj/graphicsmagick-1.4+really1.3.35=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pthread -ffile-prefix-map=/build/xastir-2.1.0=. -pipe -Wpointer-arith -Wstrict-prototypes -Wno-unused-parameter -c -o hashtable.o hashtable.c -fcc_data.c: In function 'search_fcc_data_appl': -fcc_data.c:295:15: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] - (void)fgets(index,(int)sizeof(index),fndx); - ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -fcc_data.c:303:19: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] - (void)fgets(index,(int)sizeof(index),fndx); - ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/GraphicsMagick -I/usr/local/include -I/usr/include/geotiff -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/gdal -DXASTIR_DATA_BASE=\"/usr/share/xastir\" -fopenmp -g -O2 -fdebug-prefix-map=/build/graphicsmagick-FG5eMj/graphicsmagick-1.4+really1.3.35=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pthread -ffile-prefix-map=/build/xastir-2.1.0=. -pipe -Wpointer-arith -Wstrict-prototypes -Wno-unused-parameter -c -o hashtable_itr.o hashtable_itr.c +gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/GraphicsMagick -I/usr/local/include -I/usr/include/geotiff -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/gdal -DXASTIR_DATA_BASE=\"/usr/share/xastir\" -fopenmp -g -O2 -fdebug-prefix-map=/build/graphicsmagick-FG5eMj/graphicsmagick-1.4+really1.3.35=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pthread -ffile-prefix-map=/build/xastir-2.1.0=. -pipe -Wpointer-arith -Wstrict-prototypes -Wno-unused-parameter -c -o interface.o interface.c +db.c: In function 'extract_comp_position': +db.c:10358:11: warning: variable 'range' set but not used [-Wunused-but-set-variable] + float range; + ^~~~~ +db.c: In function 'extract_omnidf': +db.c:10756:11: warning: variable 'found' set but not used [-Wunused-but-set-variable] + int i,found,len; + ^~~~~ +gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/GraphicsMagick -I/usr/local/include -I/usr/include/geotiff -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/gdal -DXASTIR_DATA_BASE=\"/usr/share/xastir\" -fopenmp -g -O2 -fdebug-prefix-map=/build/graphicsmagick-FG5eMj/graphicsmagick-1.4+really1.3.35=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pthread -ffile-prefix-map=/build/xastir-2.1.0=. -pipe -Wpointer-arith -Wstrict-prototypes -Wno-unused-parameter -c -o interface_gui.o interface_gui.c +gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/GraphicsMagick -I/usr/local/include -I/usr/include/geotiff -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/gdal -DXASTIR_DATA_BASE=\"/usr/share/xastir\" -fopenmp -g -O2 -fdebug-prefix-map=/build/graphicsmagick-FG5eMj/graphicsmagick-1.4+really1.3.35=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pthread -ffile-prefix-map=/build/xastir-2.1.0=. -pipe -Wpointer-arith -Wstrict-prototypes -Wno-unused-parameter -c -o io-common.o io-common.c +gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/GraphicsMagick -I/usr/local/include -I/usr/include/geotiff -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/gdal -DXASTIR_DATA_BASE=\"/usr/share/xastir\" -fopenmp -g -O2 -fdebug-prefix-map=/build/graphicsmagick-FG5eMj/graphicsmagick-1.4+really1.3.35=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pthread -ffile-prefix-map=/build/xastir-2.1.0=. -pipe -Wpointer-arith -Wstrict-prototypes -Wno-unused-parameter -c -o io-mmap.o io-mmap.c +gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/GraphicsMagick -I/usr/local/include -I/usr/include/geotiff -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/gdal -DXASTIR_DATA_BASE=\"/usr/share/xastir\" -fopenmp -g -O2 -fdebug-prefix-map=/build/graphicsmagick-FG5eMj/graphicsmagick-1.4+really1.3.35=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pthread -ffile-prefix-map=/build/xastir-2.1.0=. -pipe -Wpointer-arith -Wstrict-prototypes -Wno-unused-parameter -c -o lang.o lang.c +igate.c: In function 'output_igate_rf': +igate.c:946:48: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses] + && ( !heard_via_tnc_in_past_hour(call)==1 // Haven't heard destination call in previous hour + ^~ +igate.c:946:15: note: add parentheses around left hand side expression to silence this warning + && ( !heard_via_tnc_in_past_hour(call)==1 // Haven't heard destination call in previous hour + ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + ( ) +gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/GraphicsMagick -I/usr/local/include -I/usr/include/geotiff -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/gdal -DXASTIR_DATA_BASE=\"/usr/share/xastir\" -fopenmp -g -O2 -fdebug-prefix-map=/build/graphicsmagick-FG5eMj/graphicsmagick-1.4+really1.3.35=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pthread -ffile-prefix-map=/build/xastir-2.1.0=. -pipe -Wpointer-arith -Wstrict-prototypes -Wno-unused-parameter -c -o list_gui.o list_gui.c alert.c:1959:18: warning: '%s' directive output may be truncated writing up to 20 bytes into a region of size 8 [-Wformat-truncation=] "%s", ^~ @@ -2282,204 +2498,57 @@ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -db.c: In function 'extract_comp_position': -db.c:10358:11: warning: variable 'range' set but not used [-Wunused-but-set-variable] - float range; - ^~~~~ -db.c: In function 'extract_omnidf': -forked_getaddrinfo.c: In function 'forked_getaddrinfo': -forked_getaddrinfo.c:195:23: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] - (void)write(fp[1],&rc, sizeof(int)); - ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -forked_getaddrinfo.c:217:19: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] - (void)write(fp[1], &rc, sizeof(int)); // Send status - ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -forked_getaddrinfo.c:222:23: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] - (void)write(fp[1], &rc, sizeof(int)); - ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -forked_getaddrinfo.c:224:23: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] - (void)write(fp[1], res, sizeof(struct addrinfo)); - ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -forked_getaddrinfo.c:225:23: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] - (void)write(fp[1], res->ai_addr, res->ai_addrlen); - ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -forked_getaddrinfo.c:229:19: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] - (void)write(fp[1], &rc, sizeof(int)); - ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -forked_getaddrinfo.c:265:19: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] - (void)read(fp[0],&rc,sizeof(int)); - ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -forked_getaddrinfo.c:272:19: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] - (void)read(fp[0], &status, sizeof(int)); - ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -forked_getaddrinfo.c:277:23: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] - (void)read(fp[0], res, sizeof(struct addrinfo)); - ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -forked_getaddrinfo.c:279:23: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] - (void)read(fp[0], res->ai_addr, res->ai_addrlen); - ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -forked_getaddrinfo.c:284:23: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] - (void)read(fp[0], &status, sizeof(int)); - ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -db.c:10756:11: warning: variable 'found' set but not used [-Wunused-but-set-variable] - int i,found,len; - ^~~~~ -fcc_data.c:296:58: warning: '%s' directive output may be truncated writing up to 31 bytes into a region of size 16 [-Wformat-truncation=] - xastir_snprintf(char_offset,sizeof(char_offset),"%s",&index[6]); - ^~ -In file included from /usr/include/stdio.h:873, - from snprintf.h:27, - from fcc_data.c:28: -/usr/include/x86_64-linux-gnu/bits/stdio2.h:67:10: note: '__builtin_snprintf' output between 1 and 32 bytes into a destination of size 16 - return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, - ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - __bos (__s), __fmt, __va_arg_pack ()); - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -fcc_data.c:302:62: warning: '%s' directive output may be truncated writing up to 31 bytes into a region of size 16 [-Wformat-truncation=] - xastir_snprintf(char_offset,sizeof(char_offset),"%s",&index[6]); - ^~ -In file included from /usr/include/stdio.h:873, - from snprintf.h:27, - from fcc_data.c:28: -/usr/include/x86_64-linux-gnu/bits/stdio2.h:67:10: note: '__builtin_snprintf' output between 1 and 32 bytes into a destination of size 16 - return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, - ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - __bos (__s), __fmt, __va_arg_pack ()); - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/GraphicsMagick -I/usr/local/include -I/usr/include/geotiff -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/gdal -DXASTIR_DATA_BASE=\"/usr/share/xastir\" -fopenmp -g -O2 -fdebug-prefix-map=/build/graphicsmagick-FG5eMj/graphicsmagick-1.4+really1.3.35=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pthread -ffile-prefix-map=/build/xastir-2.1.0=. -pipe -Wpointer-arith -Wstrict-prototypes -Wno-unused-parameter -c -o igate.o igate.c -gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/GraphicsMagick -I/usr/local/include -I/usr/include/geotiff -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/gdal -DXASTIR_DATA_BASE=\"/usr/share/xastir\" -fopenmp -g -O2 -fdebug-prefix-map=/build/graphicsmagick-FG5eMj/graphicsmagick-1.4+really1.3.35=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pthread -ffile-prefix-map=/build/xastir-2.1.0=. -pipe -Wpointer-arith -Wstrict-prototypes -Wno-unused-parameter -c -o interface.o interface.c -In file included from gps.c:56: -gps.c: In function 'gps_data_find': -main.h:453:1: warning: ignoring return value of 'seteuid', declared with attribute warn_unused_result [-Wunused-result] - seteuid(euid); \ - ^~~~~~~~~~~~~ -gps.c:632:1: note: in expansion of macro 'ENABLE_SETUID_PRIVILEGE' - ENABLE_SETUID_PRIVILEGE; - ^~~~~~~~~~~~~~~~~~~~~~~ -main.h:454:1: warning: ignoring return value of 'setegid', declared with attribute warn_unused_result [-Wunused-result] - setegid(egid); \ - ^~~~~~~~~~~~~ -gps.c:632:1: note: in expansion of macro 'ENABLE_SETUID_PRIVILEGE' - ENABLE_SETUID_PRIVILEGE; - ^~~~~~~~~~~~~~~~~~~~~~~ -main.h:448:1: warning: ignoring return value of 'seteuid', declared with attribute warn_unused_result [-Wunused-result] - seteuid(getuid()); \ - ^~~~~~~~~~~~~~~~~ -gps.c:634:1: note: in expansion of macro 'DISABLE_SETUID_PRIVILEGE' - DISABLE_SETUID_PRIVILEGE; - ^~~~~~~~~~~~~~~~~~~~~~~~ -main.h:449:1: warning: ignoring return value of 'setegid', declared with attribute warn_unused_result [-Wunused-result] - setegid(getgid()); \ - ^~~~~~~~~~~~~~~~~ -gps.c:634:1: note: in expansion of macro 'DISABLE_SETUID_PRIVILEGE' - DISABLE_SETUID_PRIVILEGE; - ^~~~~~~~~~~~~~~~~~~~~~~~ -draw_symbols.c: In function 'draw_pod_circle': -draw_symbols.c:388:14: warning: variable 'b' set but not used [-Wunused-but-set-variable] - double a,b; - ^ -draw_symbols.c:388:12: warning: variable 'a' set but not used [-Wunused-but-set-variable] - double a,b; - ^ -draw_symbols.c: In function 'draw_phg_rng': -draw_symbols.c:520:14: warning: variable 'b' set but not used [-Wunused-but-set-variable] - double a,b; - ^ -draw_symbols.c:520:12: warning: variable 'a' set but not used [-Wunused-but-set-variable] - double a,b; - ^ -draw_symbols.c:519:12: warning: variable 'tilt' set but not used [-Wunused-but-set-variable] - double tilt; - ^~~~ -draw_symbols.c:518:28: warning: variable 'fyy' set but not used [-Wunused-but-set-variable] - long xx,yy,xx1,yy1,fxx,fyy; - ^~~ -draw_symbols.c:518:24: warning: variable 'fxx' set but not used [-Wunused-but-set-variable] - long xx,yy,xx1,yy1,fxx,fyy; - ^~~ -draw_symbols.c:518:20: warning: variable 'yy1' set but not used [-Wunused-but-set-variable] - long xx,yy,xx1,yy1,fxx,fyy; - ^~~ -draw_symbols.c:518:16: warning: variable 'xx1' set but not used [-Wunused-but-set-variable] - long xx,yy,xx1,yy1,fxx,fyy; - ^~~ -draw_symbols.c:518:13: warning: variable 'yy' set but not used [-Wunused-but-set-variable] - long xx,yy,xx1,yy1,fxx,fyy; - ^~ -draw_symbols.c:518:10: warning: variable 'xx' set but not used [-Wunused-but-set-variable] - long xx,yy,xx1,yy1,fxx,fyy; - ^~ -gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/GraphicsMagick -I/usr/local/include -I/usr/include/geotiff -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/gdal -DXASTIR_DATA_BASE=\"/usr/share/xastir\" -fopenmp -g -O2 -fdebug-prefix-map=/build/graphicsmagick-FG5eMj/graphicsmagick-1.4+really1.3.35=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pthread -ffile-prefix-map=/build/xastir-2.1.0=. -pipe -Wpointer-arith -Wstrict-prototypes -Wno-unused-parameter -c -o interface_gui.o interface_gui.c -draw_symbols.c: In function 'draw_DF_circle': -draw_symbols.c:703:14: warning: variable 'b' set but not used [-Wunused-but-set-variable] - double a,b; - ^ -draw_symbols.c:703:12: warning: variable 'a' set but not used [-Wunused-but-set-variable] - double a,b; - ^ -draw_symbols.c:702:12: warning: variable 'tilt' set but not used [-Wunused-but-set-variable] - double tilt; - ^~~~ -draw_symbols.c:701:28: warning: variable 'fyy' set but not used [-Wunused-but-set-variable] - long xx,yy,xx1,yy1,fxx,fyy; - ^~~ -draw_symbols.c:701:24: warning: variable 'fxx' set but not used [-Wunused-but-set-variable] - long xx,yy,xx1,yy1,fxx,fyy; - ^~~ -draw_symbols.c:701:20: warning: variable 'yy1' set but not used [-Wunused-but-set-variable] - long xx,yy,xx1,yy1,fxx,fyy; - ^~~ -draw_symbols.c:701:16: warning: variable 'xx1' set but not used [-Wunused-but-set-variable] - long xx,yy,xx1,yy1,fxx,fyy; - ^~~ -draw_symbols.c:701:13: warning: variable 'yy' set but not used [-Wunused-but-set-variable] - long xx,yy,xx1,yy1,fxx,fyy; - ^~ -draw_symbols.c:701:10: warning: variable 'xx' set but not used [-Wunused-but-set-variable] - long xx,yy,xx1,yy1,fxx,fyy; - ^~ -draw_symbols.c: In function 'draw_aloha_circle': -draw_symbols.c:955:14: warning: variable 'b' set but not used [-Wunused-but-set-variable] - double a,b; - ^ -draw_symbols.c:955:12: warning: variable 'a' set but not used [-Wunused-but-set-variable] - double a,b; - ^ -gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/GraphicsMagick -I/usr/local/include -I/usr/include/geotiff -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/gdal -DXASTIR_DATA_BASE=\"/usr/share/xastir\" -fopenmp -g -O2 -fdebug-prefix-map=/build/graphicsmagick-FG5eMj/graphicsmagick-1.4+really1.3.35=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pthread -ffile-prefix-map=/build/xastir-2.1.0=. -pipe -Wpointer-arith -Wstrict-prototypes -Wno-unused-parameter -c -o io-common.o io-common.c -gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/GraphicsMagick -I/usr/local/include -I/usr/include/geotiff -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/gdal -DXASTIR_DATA_BASE=\"/usr/share/xastir\" -fopenmp -g -O2 -fdebug-prefix-map=/build/graphicsmagick-FG5eMj/graphicsmagick-1.4+really1.3.35=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pthread -ffile-prefix-map=/build/xastir-2.1.0=. -pipe -Wpointer-arith -Wstrict-prototypes -Wno-unused-parameter -c -o io-mmap.o io-mmap.c -draw_symbols.c: In function 'Select_symbol': -draw_symbols.c:3187:36: warning: variable 'label2' set but not used [-Wunused-but-set-variable] - frame, frame2, label1, label2, b1; - ^~~~~~ -draw_symbols.c:3187:28: warning: variable 'label1' set but not used [-Wunused-but-set-variable] - frame, frame2, label1, label2, b1; - ^~~~~~ db.c: In function 'decode_Mic_E': -gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/GraphicsMagick -I/usr/local/include -I/usr/include/geotiff -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/gdal -DXASTIR_DATA_BASE=\"/usr/share/xastir\" -fopenmp -g -O2 -fdebug-prefix-map=/build/graphicsmagick-FG5eMj/graphicsmagick-1.4+really1.3.35=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pthread -ffile-prefix-map=/build/xastir-2.1.0=. -pipe -Wpointer-arith -Wstrict-prototypes -Wno-unused-parameter -c -o lang.o lang.c db.c:14675:19: warning: variable 's_b7' set but not used [-Wunused-but-set-variable] unsigned char s_b7; ^~~~ -gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/GraphicsMagick -I/usr/local/include -I/usr/include/geotiff -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/gdal -DXASTIR_DATA_BASE=\"/usr/share/xastir\" -fopenmp -g -O2 -fdebug-prefix-map=/build/graphicsmagick-FG5eMj/graphicsmagick-1.4+really1.3.35=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pthread -ffile-prefix-map=/build/xastir-2.1.0=. -pipe -Wpointer-arith -Wstrict-prototypes -Wno-unused-parameter -c -o list_gui.o list_gui.c gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/GraphicsMagick -I/usr/local/include -I/usr/include/geotiff -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/gdal -DXASTIR_DATA_BASE=\"/usr/share/xastir\" -fopenmp -g -O2 -fdebug-prefix-map=/build/graphicsmagick-FG5eMj/graphicsmagick-1.4+really1.3.35=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pthread -ffile-prefix-map=/build/xastir-2.1.0=. -pipe -Wpointer-arith -Wstrict-prototypes -Wno-unused-parameter -c -o locate_gui.o locate_gui.c +interface.c: In function 'ui_connect': +interface.c:1647:15: warning: comparison between pointer and zero character constant [-Wpointer-compare] + if (to[0] == '\0') + ^~ +interface.c:1647:9: note: did you mean to dereference the pointer? + if (to[0] == '\0') + ^ +interface.c: In function 'process_ax25_packet': +interface.c:3721:19: warning: variable 'k' set but not used [-Wunused-but-set-variable] + unsigned int k,l; + ^ gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/GraphicsMagick -I/usr/local/include -I/usr/include/geotiff -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/gdal -DXASTIR_DATA_BASE=\"/usr/share/xastir\" -fopenmp -g -O2 -fdebug-prefix-map=/build/graphicsmagick-FG5eMj/graphicsmagick-1.4+really1.3.35=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pthread -ffile-prefix-map=/build/xastir-2.1.0=. -pipe -Wpointer-arith -Wstrict-prototypes -Wno-unused-parameter -c -o location.o location.c -db.c: In function 'decode_info_field': -db.c:17179:13: warning: variable 'rdf_type' set but not used [-Wunused-but-set-variable] - int rdf_type; - ^~~~~~~~ +interface.c: In function 'serial_init': +interface.c:4674:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] + if (end_critical_section(&port_data_lock, "interface.c:serial_init(6)" ) > 0) + ^~ +interface.c:4677:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' + if (debug_level & 2) + ^~ +interface.c:4688:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] + if (end_critical_section(&port_data_lock, "interface.c:serial_init(7)" ) > 0) + ^~ +interface.c:4691:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' + if (debug_level & 2) + ^~ +igate.c: In function 'not_a_dupe.part.0': +igate.c:405:18: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 527 [-Wformat-truncation=] + "%s", + ^~ + match_line); + ~~~~~~~~~~ +In file included from /usr/include/stdio.h:873, + from snprintf.h:27, + from igate.c:28: +/usr/include/x86_64-linux-gnu/bits/stdio2.h:67:10: note: '__builtin_snprintf' output between 1 and 1024 bytes into a destination of size 527 + return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, + ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + __bos (__s), __fmt, __va_arg_pack ()); + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/GraphicsMagick -I/usr/local/include -I/usr/include/geotiff -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/gdal -DXASTIR_DATA_BASE=\"/usr/share/xastir\" -fopenmp -g -O2 -fdebug-prefix-map=/build/graphicsmagick-FG5eMj/graphicsmagick-1.4+really1.3.35=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pthread -ffile-prefix-map=/build/xastir-2.1.0=. -pipe -Wpointer-arith -Wstrict-prototypes -Wno-unused-parameter -c -o location_gui.o location_gui.c -igate.c: In function 'output_igate_rf': -igate.c:946:48: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses] - && ( !heard_via_tnc_in_past_hour(call)==1 // Haven't heard destination call in previous hour - ^~ -igate.c:946:15: note: add parentheses around left hand side expression to silence this warning - && ( !heard_via_tnc_in_past_hour(call)==1 // Haven't heard destination call in previous hour - ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - ( ) -gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/GraphicsMagick -I/usr/local/include -I/usr/include/geotiff -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/gdal -DXASTIR_DATA_BASE=\"/usr/share/xastir\" -fopenmp -g -O2 -fdebug-prefix-map=/build/graphicsmagick-FG5eMj/graphicsmagick-1.4+really1.3.35=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pthread -ffile-prefix-map=/build/xastir-2.1.0=. -pipe -Wpointer-arith -Wstrict-prototypes -Wno-unused-parameter -c -o main.o main.c -db.c: In function 'locate_station': -db.c:18984:9: warning: variable 'call_len' set but not used [-Wunused-but-set-variable] - int call_len; - ^~~~~~~~ +interface.c:4750:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] + if (end_critical_section(&port_data_lock, "interface.c:serial_init(8)" ) > 0) + ^~ +interface.c:4753:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' + if (debug_level & 2) + ^~ gps.c: In function 'create_garmin_waypoint': gps.c:864:12: warning: '%s' directive output may be truncated writing up to 2 bytes into a region of size between 1 and 80 [-Wformat-truncation=] "%s%s", @@ -2495,40 +2564,8 @@ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/GraphicsMagick -I/usr/local/include -I/usr/include/geotiff -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/gdal -DXASTIR_DATA_BASE=\"/usr/share/xastir\" -fopenmp -g -O2 -fdebug-prefix-map=/build/graphicsmagick-FG5eMj/graphicsmagick-1.4+really1.3.35=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pthread -ffile-prefix-map=/build/xastir-2.1.0=. -pipe -Wpointer-arith -Wstrict-prototypes -Wno-unused-parameter -c -o main.o main.c gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/GraphicsMagick -I/usr/local/include -I/usr/include/geotiff -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/gdal -DXASTIR_DATA_BASE=\"/usr/share/xastir\" -fopenmp -g -O2 -fdebug-prefix-map=/build/graphicsmagick-FG5eMj/graphicsmagick-1.4+really1.3.35=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pthread -ffile-prefix-map=/build/xastir-2.1.0=. -pipe -Wpointer-arith -Wstrict-prototypes -Wno-unused-parameter -c -o maps.o maps.c -db.c: In function 'sort_input_database': -db.c:2325:27: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] - (void)fread(&data_ptr,(size_t)ptr_size,1,pointer); - ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -db.c:2342:35: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] - (void)fread(&data_ptr,(size_t)ptr_size,1,pointer); - ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -db.c:2369:47: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] - (void)fread(&data_ptr,(size_t)ptr_size,1,pointer); - ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -igate.c: In function 'not_a_dupe.part.0': -igate.c:405:18: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 527 [-Wformat-truncation=] - "%s", - ^~ - match_line); - ~~~~~~~~~~ -In file included from /usr/include/stdio.h:873, - from snprintf.h:27, - from igate.c:28: -/usr/include/x86_64-linux-gnu/bits/stdio2.h:67:10: note: '__builtin_snprintf' output between 1 and 1024 bytes into a destination of size 527 - return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, - ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - __bos (__s), __fmt, __va_arg_pack ()); - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/GraphicsMagick -I/usr/local/include -I/usr/include/geotiff -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/gdal -DXASTIR_DATA_BASE=\"/usr/share/xastir\" -fopenmp -g -O2 -fdebug-prefix-map=/build/graphicsmagick-FG5eMj/graphicsmagick-1.4+really1.3.35=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pthread -ffile-prefix-map=/build/xastir-2.1.0=. -pipe -Wpointer-arith -Wstrict-prototypes -Wno-unused-parameter -c -o map_cache.o map_cache.c -lang.c: In function 'load_language_file': -lang.c:231:29: warning: this 'if' clause does not guard... [-Wmisleading-indentation] - if (debug_level & 32) - ^~ -lang.c:235:33: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' - lang_code_number++; - ^~~~~~~~~~~~~~~~ -gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/GraphicsMagick -I/usr/local/include -I/usr/include/geotiff -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/gdal -DXASTIR_DATA_BASE=\"/usr/share/xastir\" -fopenmp -g -O2 -fdebug-prefix-map=/build/graphicsmagick-FG5eMj/graphicsmagick-1.4+really1.3.35=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pthread -ffile-prefix-map=/build/xastir-2.1.0=. -pipe -Wpointer-arith -Wstrict-prototypes -Wno-unused-parameter -c -o map_dos.o map_dos.c interface_gui.c: In function 'Config_TNC': interface_gui.c:621:17: warning: variable 'igate' set but not used [-Wunused-but-set-variable] igate, igate_box, @@ -2545,6 +2582,14 @@ interface_gui.c:612:17: warning: variable 'setup' set but not used [-Wunused-but-set-variable] setup, setup1, setup2, setup3, setup4, ^~~~~ +interface.c: In function 'port_read': +interface.c:5820:24: warning: variable 'last' set but not used [-Wunused-but-set-variable] + unsigned char cin, last; + ^~~~ +db.c: In function 'decode_info_field': +db.c:17179:13: warning: variable 'rdf_type' set but not used [-Wunused-but-set-variable] + int rdf_type; + ^~~~~~~~ interface_gui.c: In function 'Config_GPS': interface_gui.c:2100:19: warning: variable 'style' set but not used [-Wunused-but-set-variable] static Widget style, style_box, @@ -2552,87 +2597,6 @@ interface_gui.c:2094:34: warning: variable 'speed' set but not used [-Wunused-but-set-variable] device, comment, speed, speed_box, ^~~~~ -interface_gui.c: In function 'Config_WX': -interface_gui.c:2685:17: warning: variable 'gauge_type' set but not used [-Wunused-but-set-variable] - gauge_type, gauge_box, - ^~~~~~~~~~ -interface_gui.c:2683:17: warning: variable 'data_type' set but not used [-Wunused-but-set-variable] - data_type, data_box, - ^~~~~~~~~ -interface_gui.c:2681:19: warning: variable 'style' set but not used [-Wunused-but-set-variable] - static Widget style, style_box, - ^~~~~ -interface_gui.c:2675:34: warning: variable 'speed' set but not used [-Wunused-but-set-variable] - device, comment, speed, speed_box, - ^~~~~ -interface_gui.c: In function 'Config_NWX': -interface_gui.c:3378:17: warning: variable 'gauge_type' set but not used [-Wunused-but-set-variable] - gauge_type, gauge_box, - ^~~~~~~~~~ -interface_gui.c:3376:17: warning: variable 'data_type' set but not used [-Wunused-but-set-variable] - data_type, data_box, - ^~~~~~~~~ -interface.c: In function 'ui_connect': -interface.c:1647:15: warning: comparison between pointer and zero character constant [-Wpointer-compare] - if (to[0] == '\0') - ^~ -interface.c:1647:9: note: did you mean to dereference the pointer? - if (to[0] == '\0') - ^ -interface_gui.c: In function 'Config_AX25': -interface_gui.c:4381:17: warning: variable 'igate' set but not used [-Wunused-but-set-variable] - igate, igate_box, - ^~~~~ -interface_gui.c: In function 'Config_Inet': -interface_gui.c:5016:41: warning: variable 'password_fl' set but not used [-Wunused-but-set-variable] - ihost, iport, password, password_fl, - ^~~~~~~~~~~ -interface.c: In function 'process_ax25_packet': -interface.c:3721:19: warning: variable 'k' set but not used [-Wunused-but-set-variable] - unsigned int k,l; - ^ -interface_gui.c: In function 'Config_Database': -interface.c: In function 'serial_init': -interface_gui.c:5519:41: warning: variable 'password_fl' set but not used [-Wunused-but-set-variable] - ihost, iport, password, password_fl, - ^~~~~~~~~~~ -interface.c:4674:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] - if (end_critical_section(&port_data_lock, "interface.c:serial_init(6)" ) > 0) - ^~ -interface.c:4677:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' - if (debug_level & 2) - ^~ -interface.c:4688:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] - if (end_critical_section(&port_data_lock, "interface.c:serial_init(7)" ) > 0) - ^~ -interface.c:4691:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' - if (debug_level & 2) - ^~ -interface.c:4750:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] - if (end_critical_section(&port_data_lock, "interface.c:serial_init(8)" ) > 0) - ^~ -interface.c:4753:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' - if (debug_level & 2) - ^~ -gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/GraphicsMagick -I/usr/local/include -I/usr/include/geotiff -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/gdal -DXASTIR_DATA_BASE=\"/usr/share/xastir\" -fopenmp -g -O2 -fdebug-prefix-map=/build/graphicsmagick-FG5eMj/graphicsmagick-1.4+really1.3.35=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pthread -ffile-prefix-map=/build/xastir-2.1.0=. -pipe -Wpointer-arith -Wstrict-prototypes -Wno-unused-parameter -c -o map_gdal.o map_gdal.c -interface_gui.c: In function 'Config_AGWPE': -interface_gui.c:7180:17: warning: variable 'igate' set but not used [-Wunused-but-set-variable] - igate, igate_box, igate_o_0, igate_o_1, igate_o_2, - ^~~~~ -interface_gui.c:7179:41: warning: variable 'password_fl' set but not used [-Wunused-but-set-variable] - ihost, iport, password, password_fl, sep, - ^~~~~~~~~~~ -interface.c: In function 'port_read': -interface.c:5820:24: warning: variable 'last' set but not used [-Wunused-but-set-variable] - unsigned char cin, last; - ^~~~ -interface_gui.c: In function 'interface_option': -interface_gui.c:8333:17: warning: variable 'pos' set but not used [-Wunused-but-set-variable] - int data_on,pos; - ^~~ -interface_gui.c:8333:9: warning: variable 'data_on' set but not used [-Wunused-but-set-variable] - int data_on,pos; - ^~~~~~~ interface.c: In function 'del_device': interface.c:7044:21: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (debug_level & 2) @@ -2640,7 +2604,6 @@ interface.c:7046:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' break; ^~~~~ -gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/GraphicsMagick -I/usr/local/include -I/usr/include/geotiff -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/gdal -DXASTIR_DATA_BASE=\"/usr/share/xastir\" -fopenmp -g -O2 -fdebug-prefix-map=/build/graphicsmagick-FG5eMj/graphicsmagick-1.4+really1.3.35=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pthread -ffile-prefix-map=/build/xastir-2.1.0=. -pipe -Wpointer-arith -Wstrict-prototypes -Wno-unused-parameter -c -o map_geo.o map_geo.c interface.c:7049:21: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (debug_level & 2) ^~ @@ -2665,30 +2628,54 @@ interface.c:7086:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (using_gps_position) { ^~ +interface_gui.c: In function 'Config_WX': +interface_gui.c:2685:17: warning: variable 'gauge_type' set but not used [-Wunused-but-set-variable] + gauge_type, gauge_box, + ^~~~~~~~~~ +interface_gui.c:2683:17: warning: variable 'data_type' set but not used [-Wunused-but-set-variable] + data_type, data_box, + ^~~~~~~~~ +interface_gui.c:2681:19: warning: variable 'style' set but not used [-Wunused-but-set-variable] + static Widget style, style_box, + ^~~~~ +interface_gui.c:2675:34: warning: variable 'speed' set but not used [-Wunused-but-set-variable] + device, comment, speed, speed_box, + ^~~~~ interface.c:7146:21: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (debug_level & 2) ^~ interface.c:7148:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (using_gps_position) { ^~ -gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/GraphicsMagick -I/usr/local/include -I/usr/include/geotiff -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/gdal -DXASTIR_DATA_BASE=\"/usr/share/xastir\" -fopenmp -g -O2 -fdebug-prefix-map=/build/graphicsmagick-FG5eMj/graphicsmagick-1.4+really1.3.35=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pthread -ffile-prefix-map=/build/xastir-2.1.0=. -pipe -Wpointer-arith -Wstrict-prototypes -Wno-unused-parameter -c -o map_gnis.o map_gnis.c -location_gui.c: In function 'location_view': -location_gui.c:136:30: warning: '%s' directive output may be truncated writing up to 199 bytes into a region of size 100 [-Wformat-truncation=] - "%s", - ^~ - temp); - ~~~~ -In file included from /usr/include/stdio.h:873, - from location_gui.c:28: -/usr/include/x86_64-linux-gnu/bits/stdio2.h:67:10: note: '__builtin_snprintf' output between 1 and 200 bytes into a destination of size 100 - return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, - ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - __bos (__s), __fmt, __va_arg_pack ()); - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +interface_gui.c: In function 'Config_NWX': +interface_gui.c:3378:17: warning: variable 'gauge_type' set but not used [-Wunused-but-set-variable] + gauge_type, gauge_box, + ^~~~~~~~~~ +interface_gui.c:3376:17: warning: variable 'data_type' set but not used [-Wunused-but-set-variable] + data_type, data_box, + ^~~~~~~~~ +db.c: In function 'locate_station': +db.c:18984:9: warning: variable 'call_len' set but not used [-Wunused-but-set-variable] + int call_len; + ^~~~~~~~ +interface_gui.c: In function 'Config_AX25': +interface_gui.c:4381:17: warning: variable 'igate' set but not used [-Wunused-but-set-variable] + igate, igate_box, + ^~~~~ +gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/GraphicsMagick -I/usr/local/include -I/usr/include/geotiff -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/gdal -DXASTIR_DATA_BASE=\"/usr/share/xastir\" -fopenmp -g -O2 -fdebug-prefix-map=/build/graphicsmagick-FG5eMj/graphicsmagick-1.4+really1.3.35=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pthread -ffile-prefix-map=/build/xastir-2.1.0=. -pipe -Wpointer-arith -Wstrict-prototypes -Wno-unused-parameter -c -o map_cache.o map_cache.c +interface_gui.c: In function 'Config_Inet': +interface_gui.c:5016:41: warning: variable 'password_fl' set but not used [-Wunused-but-set-variable] + ihost, iport, password, password_fl, + ^~~~~~~~~~~ +interface_gui.c: In function 'Config_Database': +interface_gui.c:5519:41: warning: variable 'password_fl' set but not used [-Wunused-but-set-variable] + ihost, iport, password, password_fl, + ^~~~~~~~~~~ interface.c: In function 'output_waypoint_data': interface.c:9904:10: warning: variable 'data_txt_save' set but not used [-Wunused-but-set-variable] char data_txt_save[MAX_LINE_SIZE+5]; ^~~~~~~~~~~~~ +gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/GraphicsMagick -I/usr/local/include -I/usr/include/geotiff -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/gdal -DXASTIR_DATA_BASE=\"/usr/share/xastir\" -fopenmp -g -O2 -fdebug-prefix-map=/build/graphicsmagick-FG5eMj/graphicsmagick-1.4+really1.3.35=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pthread -ffile-prefix-map=/build/xastir-2.1.0=. -pipe -Wpointer-arith -Wstrict-prototypes -Wno-unused-parameter -c -o map_dos.o map_dos.c In file included from interface.c:92: interface.c: In function 'ui_connect': main.h:453:1: warning: ignoring return value of 'seteuid', declared with attribute warn_unused_result [-Wunused-result] @@ -2721,12 +2708,30 @@ interface.c:1704:5: note: in expansion of macro 'DISABLE_SETUID_PRIVILEGE' DISABLE_SETUID_PRIVILEGE; ^~~~~~~~~~~~~~~~~~~~~~~~ +interface_gui.c: In function 'Config_AGWPE': main.h:449:1: warning: ignoring return value of 'setegid', declared with attribute warn_unused_result [-Wunused-result] setegid(getgid()); \ ^~~~~~~~~~~~~~~~~ interface.c:1704:5: note: in expansion of macro 'DISABLE_SETUID_PRIVILEGE' DISABLE_SETUID_PRIVILEGE; ^~~~~~~~~~~~~~~~~~~~~~~~ +interface_gui.c:7180:17: warning: variable 'igate' set but not used [-Wunused-but-set-variable] + igate, igate_box, igate_o_0, igate_o_1, igate_o_2, + ^~~~~ +interface_gui.c:7179:41: warning: variable 'password_fl' set but not used [-Wunused-but-set-variable] + ihost, iport, password, password_fl, sep, + ^~~~~~~~~~~ +gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/GraphicsMagick -I/usr/local/include -I/usr/include/geotiff -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/gdal -DXASTIR_DATA_BASE=\"/usr/share/xastir\" -fopenmp -g -O2 -fdebug-prefix-map=/build/graphicsmagick-FG5eMj/graphicsmagick-1.4+really1.3.35=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pthread -ffile-prefix-map=/build/xastir-2.1.0=. -pipe -Wpointer-arith -Wstrict-prototypes -Wno-unused-parameter -c -o map_gdal.o map_gdal.c +db.c: In function 'sort_input_database': +db.c:2325:27: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] + (void)fread(&data_ptr,(size_t)ptr_size,1,pointer); + ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +db.c:2342:35: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] + (void)fread(&data_ptr,(size_t)ptr_size,1,pointer); + ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +db.c:2369:47: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] + (void)fread(&data_ptr,(size_t)ptr_size,1,pointer); + ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ interface.c: In function 'ax25_init': main.h:453:1: warning: ignoring return value of 'seteuid', declared with attribute warn_unused_result [-Wunused-result] seteuid(euid); \ @@ -2825,6 +2830,13 @@ interface.c:4280:13: note: in expansion of macro 'DISABLE_SETUID_PRIVILEGE' DISABLE_SETUID_PRIVILEGE; ^~~~~~~~~~~~~~~~~~~~~~~~ +lang.c: In function 'load_language_file': +lang.c:231:29: warning: this 'if' clause does not guard... [-Wmisleading-indentation] + if (debug_level & 32) + ^~ +lang.c:235:33: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' + lang_code_number++; + ^~~~~~~~~~~~~~~~ interface.c: In function 'serial_detach': main.h:453:1: warning: ignoring return value of 'seteuid', declared with attribute warn_unused_result [-Wunused-result] seteuid(euid); \ @@ -2923,10 +2935,31 @@ interface.c:4641:5: note: in expansion of macro 'DISABLE_SETUID_PRIVILEGE' DISABLE_SETUID_PRIVILEGE; ^~~~~~~~~~~~~~~~~~~~~~~~ +interface_gui.c: In function 'interface_option': interface.c: In function 'data_out_ax25': +interface_gui.c:8333:17: warning: variable 'pos' set but not used [-Wunused-but-set-variable] + int data_on,pos; + ^~~ interface.c:1855:19: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] (void)write(port_data[port].channel2, string, strlen((char *)string)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +interface_gui.c:8333:9: warning: variable 'data_on' set but not used [-Wunused-but-set-variable] + int data_on,pos; + ^~~~~~~ +location_gui.c: In function 'location_view': +location_gui.c:136:30: warning: '%s' directive output may be truncated writing up to 199 bytes into a region of size 100 [-Wformat-truncation=] + "%s", + ^~ + temp); + ~~~~ +In file included from /usr/include/stdio.h:873, + from location_gui.c:28: +/usr/include/x86_64-linux-gnu/bits/stdio2.h:67:10: note: '__builtin_snprintf' output between 1 and 200 bytes into a destination of size 100 + return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, + ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + __bos (__s), __fmt, __va_arg_pack ()); + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/GraphicsMagick -I/usr/local/include -I/usr/include/geotiff -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/gdal -DXASTIR_DATA_BASE=\"/usr/share/xastir\" -fopenmp -g -O2 -fdebug-prefix-map=/build/graphicsmagick-FG5eMj/graphicsmagick-1.4+really1.3.35=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pthread -ffile-prefix-map=/build/xastir-2.1.0=. -pipe -Wpointer-arith -Wstrict-prototypes -Wno-unused-parameter -c -o map_geo.o map_geo.c location_gui.c: In function 'location_delete': location_gui.c:254:34: warning: '%s' directive output may be truncated writing up to 199 bytes into a region of size 100 [-Wformat-truncation=] "%s", @@ -2940,6 +2973,61 @@ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +location_gui.c: In function 'jump_sort': +location_gui.c:190:26: warning: '%s' directive output may be truncated writing up to 199 bytes into a region of size 100 [-Wformat-truncation=] + "%s", + ^~ + temp); + ~~~~ +In file included from /usr/include/stdio.h:873, + from location_gui.c:28: +/usr/include/x86_64-linux-gnu/bits/stdio2.h:67:10: note: '__builtin_snprintf' output between 1 and 200 bytes into a destination of size 100 + return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, + ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + __bos (__s), __fmt, __va_arg_pack ()); + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/GraphicsMagick -I/usr/local/include -I/usr/include/geotiff -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/gdal -DXASTIR_DATA_BASE=\"/usr/share/xastir\" -fopenmp -g -O2 -fdebug-prefix-map=/build/graphicsmagick-FG5eMj/graphicsmagick-1.4+really1.3.35=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pthread -ffile-prefix-map=/build/xastir-2.1.0=. -pipe -Wpointer-arith -Wstrict-prototypes -Wno-unused-parameter -c -o map_gnis.o map_gnis.c +list_gui.c: In function 'Station_List_fill': +list_gui.c:579:46: warning: '%d' directive output may be truncated writing between 1 and 10 bytes into a region of size 8 [-Wformat-truncation=] + xastir_snprintf(temp, sizeof(temp), "%d", (rows+new_offset)); // calculate needed string width + ^~ +list_gui.c:579:45: note: directive argument in the range [1, 2147483647] + xastir_snprintf(temp, sizeof(temp), "%d", (rows+new_offset)); // calculate needed string width + ^~~~ +In file included from /usr/include/stdio.h:873, + from snprintf.h:27, + from list_gui.c:28: +/usr/include/x86_64-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 2 and 11 bytes into a destination of size 8 + return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, + ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + __bos (__s), __fmt, __va_arg_pack ()); + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +maps.c: In function 'draw_complete_lat_lon_grid': +maps.c:1329:9: warning: variable 'screen_height_xastir' set but not used [-Wunused-but-set-variable] + int screen_height_xastir; // screen height in xastir units (1/100 of a second) + ^~~~~~~~~~~~~~~~~~~~ +maps.c: In function 'draw_major_utm_mgrs_grid': +maps.c:1781:9: warning: variable 'mgrs_single_digraph' set but not used [-Wunused-but-set-variable] + int mgrs_single_digraph = FALSE; // mgrs_ul_digraph and mgrs_ur_digraph are the same. + ^~~~~~~~~~~~~~~~~~~ +maps.c: In function 'Print_postscript_destroy_shell': +maps.c:3898:17: warning: zero-length gnu_printf format string [-Wformat-zero-length] + ""); + ^~ +gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/GraphicsMagick -I/usr/local/include -I/usr/include/geotiff -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/gdal -DXASTIR_DATA_BASE=\"/usr/share/xastir\" -fopenmp -g -O2 -fdebug-prefix-map=/build/graphicsmagick-FG5eMj/graphicsmagick-1.4+really1.3.35=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pthread -ffile-prefix-map=/build/xastir-2.1.0=. -pipe -Wpointer-arith -Wstrict-prototypes -Wno-unused-parameter -c -o map_OSM.o map_OSM.c +interface.c: In function 'net_connect_thread': +interface.c:4901:8: warning: 'result' may be used uninitialized in this function [-Wmaybe-uninitialized] + if (result != -1){ + ^ +maps.c: In function 'index_save_to_file': +maps.c:7420:23: warning: variable 'last' set but not used [-Wunused-but-set-variable] + map_index_record *last; + ^~~~ +maps.c: In function 'fill_in_new_alert_entries': +maps.c:8289:37: warning: variable 'dir_ptr' set but not used [-Wunused-but-set-variable] + char alert_scan[MAX_FILENAME], *dir_ptr; + ^~~~~~~ +gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/GraphicsMagick -I/usr/local/include -I/usr/include/geotiff -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/gdal -DXASTIR_DATA_BASE=\"/usr/share/xastir\" -fopenmp -g -O2 -fdebug-prefix-map=/build/graphicsmagick-FG5eMj/graphicsmagick-1.4+really1.3.35=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pthread -ffile-prefix-map=/build/xastir-2.1.0=. -pipe -Wpointer-arith -Wstrict-prototypes -Wno-unused-parameter -c -o map_pop.o map_pop.c map_dos.c: In function 'draw_dos_map': map_dos.c:401:19: warning: variable 'symbol_ptr' set but not used [-Wunused-but-set-variable] symbol_label *symbol_ptr; @@ -3076,50 +3164,78 @@ map_dos.c:1339:31: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] (void)fread (label_text, 29, 1, f); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -location_gui.c: In function 'jump_sort': -location_gui.c:190:26: warning: '%s' directive output may be truncated writing up to 199 bytes into a region of size 100 [-Wformat-truncation=] - "%s", - ^~ - temp); - ~~~~ -In file included from /usr/include/stdio.h:873, - from location_gui.c:28: -/usr/include/x86_64-linux-gnu/bits/stdio2.h:67:10: note: '__builtin_snprintf' output between 1 and 200 bytes into a destination of size 100 - return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, - ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - __bos (__s), __fmt, __va_arg_pack ()); - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -maps.c: In function 'draw_complete_lat_lon_grid': -maps.c:1329:9: warning: variable 'screen_height_xastir' set but not used [-Wunused-but-set-variable] - int screen_height_xastir; // screen height in xastir units (1/100 of a second) - ^~~~~~~~~~~~~~~~~~~~ -list_gui.c: In function 'Station_List_fill': -list_gui.c:579:46: warning: '%d' directive output may be truncated writing between 1 and 10 bytes into a region of size 8 [-Wformat-truncation=] - xastir_snprintf(temp, sizeof(temp), "%d", (rows+new_offset)); // calculate needed string width - ^~ -list_gui.c:579:45: note: directive argument in the range [1, 2147483647] - xastir_snprintf(temp, sizeof(temp), "%d", (rows+new_offset)); // calculate needed string width - ^~~~ +map_geo.c: In function 'draw_geo_image_map': +map_geo.c:2034:9: warning: implicit declaration of function 'DestroyImagePixels'; did you mean 'SetImagePixels'? [-Wimplicit-function-declaration] + DestroyImagePixels(image); + ^~~~~~~~~~~~~~~~~~ + SetImagePixels +map_geo.c:2077:5: warning: 'GetIndexes' is deprecated [-Wdeprecated-declarations] + index_pack = GetIndexes(image); + ^~~~~~~~~~ +In file included from /usr/include/GraphicsMagick/magick/api.h:93, + from map_geo.c:137: +/usr/include/GraphicsMagick/magick/pixel_cache.h:105:4: note: declared here + *GetIndexes(const Image *image) + ^~~~~~~~~~ +map_geo.c:2398:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] + if (check_interrupt( + ^~ +map_geo.c:2407:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' + scr_y = (c_y - NW_corner_latitude) / scale_y; + ^~~~~ +map_geo.c:648:49: warning: variable 'map_height' set but not used [-Wunused-but-set-variable] + double left, right, top, bottom, map_width, map_height; + ^~~~~~~~~~ +map_geo.c:648:38: warning: variable 'map_width' set but not used [-Wunused-but-set-variable] + double left, right, top, bottom, map_width, map_height; + ^~~~~~~~~ +map_geo.c:613:10: warning: variable 'scr_x_mc' set but not used [-Wunused-but-set-variable] + long scr_x_mc; // map center in screen units + ^~~~~~~~ +map_geo.c:600:10: warning: variable 'map_y_ctr' set but not used [-Wunused-but-set-variable] + long map_y_ctr; // half map height in pixel + ^~~~~~~~~ +map_geo.c:590:19: warning: variable 'c_y_max' set but not used [-Wunused-but-set-variable] + unsigned long c_y_max; // bottom right coordinates of map inside screen + ^~~~~~~ +map_geo.c:587:9: warning: variable 'test' set but not used [-Wunused-but-set-variable] + int test; // temporary debugging + ^~~~ +gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/GraphicsMagick -I/usr/local/include -I/usr/include/geotiff -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/gdal -DXASTIR_DATA_BASE=\"/usr/share/xastir\" -fopenmp -g -O2 -fdebug-prefix-map=/build/graphicsmagick-FG5eMj/graphicsmagick-1.4+really1.3.35=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pthread -ffile-prefix-map=/build/xastir-2.1.0=. -pipe -Wpointer-arith -Wstrict-prototypes -Wno-unused-parameter -c -o map_pdb.o map_pdb.c +gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/GraphicsMagick -I/usr/local/include -I/usr/include/geotiff -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/gdal -DXASTIR_DATA_BASE=\"/usr/share/xastir\" -fopenmp -g -O2 -fdebug-prefix-map=/build/graphicsmagick-FG5eMj/graphicsmagick-1.4+really1.3.35=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pthread -ffile-prefix-map=/build/xastir-2.1.0=. -pipe -Wpointer-arith -Wstrict-prototypes -Wno-unused-parameter -c -o map_shp.o map_shp.c +map_OSM.c: In function 'draw_image': +map_OSM.c:525:5: warning: 'GetIndexes' is deprecated [-Wdeprecated-declarations] + index_pack = GetIndexes(image); + ^~~~~~~~~~ +In file included from /usr/include/GraphicsMagick/magick/api.h:93, + from map_OSM.c:118: +/usr/include/GraphicsMagick/magick/pixel_cache.h:105:4: note: declared here + *GetIndexes(const Image *image) + ^~~~~~~~~~ +map_OSM.c: In function 'draw_OSM_image': +map_OSM.c:717:5: warning: 'GetIndexes' is deprecated [-Wdeprecated-declarations] + index_pack = GetIndexes(image); + ^~~~~~~~~~ +In file included from /usr/include/GraphicsMagick/magick/api.h:93, + from map_OSM.c:118: +/usr/include/GraphicsMagick/magick/pixel_cache.h:105:4: note: declared here + *GetIndexes(const Image *image) + ^~~~~~~~~~ +map_OSM.c:673:9: warning: variable 'map_done' set but not used [-Wunused-but-set-variable] + int map_done; + ^~~~~~~~ +gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/GraphicsMagick -I/usr/local/include -I/usr/include/geotiff -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/gdal -DXASTIR_DATA_BASE=\"/usr/share/xastir\" -fopenmp -g -O2 -fdebug-prefix-map=/build/graphicsmagick-FG5eMj/graphicsmagick-1.4+really1.3.35=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pthread -ffile-prefix-map=/build/xastir-2.1.0=. -pipe -Wpointer-arith -Wstrict-prototypes -Wno-unused-parameter -c -o map_tif.o map_tif.c +map_geo.c:743:58: warning: '__builtin_snprintf' output may be truncated before the last format character [-Wformat-truncation=] + xastir_snprintf(temp,sizeof(temp),"%s",file); + ^ In file included from /usr/include/stdio.h:873, from snprintf.h:27, - from list_gui.c:28: -/usr/include/x86_64-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 2 and 11 bytes into a destination of size 8 + from map_geo.c:30: +/usr/include/x86_64-linux-gnu/bits/stdio2.h:67:10: note: '__builtin_snprintf' output between 1 and 2001 bytes into a destination of size 2000 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -maps.c: In function 'draw_major_utm_mgrs_grid': -maps.c:1781:9: warning: variable 'mgrs_single_digraph' set but not used [-Wunused-but-set-variable] - int mgrs_single_digraph = FALSE; // mgrs_ul_digraph and mgrs_ur_digraph are the same. - ^~~~~~~~~~~~~~~~~~~ -maps.c: In function 'Print_postscript_destroy_shell': -maps.c:3898:17: warning: zero-length gnu_printf format string [-Wformat-zero-length] - ""); - ^~ -maps.c: In function 'index_save_to_file': -maps.c:7420:23: warning: variable 'last' set but not used [-Wunused-but-set-variable] - map_index_record *last; - ^~~~ map_dos.c:534:74: warning: '%s' directive output may be truncated writing up to 2048 bytes into a region of size 5 [-Wformat-truncation=] xastir_snprintf(map_version,sizeof(map_version),"%s",Buffer); ^~ ~~~~~~ @@ -3153,71 +3269,25 @@ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -maps.c: In function 'fill_in_new_alert_entries': -interface.c: In function 'net_connect_thread': -interface.c:4901:8: warning: 'result' may be used uninitialized in this function [-Wmaybe-uninitialized] - if (result != -1){ - ^ -maps.c:8289:37: warning: variable 'dir_ptr' set but not used [-Wunused-but-set-variable] - char alert_scan[MAX_FILENAME], *dir_ptr; - ^~~~~~~ -gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/GraphicsMagick -I/usr/local/include -I/usr/include/geotiff -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/gdal -DXASTIR_DATA_BASE=\"/usr/share/xastir\" -fopenmp -g -O2 -fdebug-prefix-map=/build/graphicsmagick-FG5eMj/graphicsmagick-1.4+really1.3.35=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pthread -ffile-prefix-map=/build/xastir-2.1.0=. -pipe -Wpointer-arith -Wstrict-prototypes -Wno-unused-parameter -c -o map_OSM.o map_OSM.c -gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/GraphicsMagick -I/usr/local/include -I/usr/include/geotiff -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/gdal -DXASTIR_DATA_BASE=\"/usr/share/xastir\" -fopenmp -g -O2 -fdebug-prefix-map=/build/graphicsmagick-FG5eMj/graphicsmagick-1.4+really1.3.35=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pthread -ffile-prefix-map=/build/xastir-2.1.0=. -pipe -Wpointer-arith -Wstrict-prototypes -Wno-unused-parameter -c -o map_pop.o map_pop.c -gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/GraphicsMagick -I/usr/local/include -I/usr/include/geotiff -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/gdal -DXASTIR_DATA_BASE=\"/usr/share/xastir\" -fopenmp -g -O2 -fdebug-prefix-map=/build/graphicsmagick-FG5eMj/graphicsmagick-1.4+really1.3.35=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pthread -ffile-prefix-map=/build/xastir-2.1.0=. -pipe -Wpointer-arith -Wstrict-prototypes -Wno-unused-parameter -c -o map_pdb.o map_pdb.c -map_geo.c: In function 'draw_geo_image_map': -map_geo.c:2034:9: warning: implicit declaration of function 'DestroyImagePixels'; did you mean 'SetImagePixels'? [-Wimplicit-function-declaration] - DestroyImagePixels(image); - ^~~~~~~~~~~~~~~~~~ - SetImagePixels -map_geo.c:2077:5: warning: 'GetIndexes' is deprecated [-Wdeprecated-declarations] - index_pack = GetIndexes(image); - ^~~~~~~~~~ -In file included from /usr/include/GraphicsMagick/magick/api.h:93, - from map_geo.c:137: -/usr/include/GraphicsMagick/magick/pixel_cache.h:105:4: note: declared here - *GetIndexes(const Image *image) - ^~~~~~~~~~ -map_geo.c:2398:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] - if (check_interrupt( - ^~ -map_geo.c:2407:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' - scr_y = (c_y - NW_corner_latitude) / scale_y; - ^~~~~ -map_geo.c:648:49: warning: variable 'map_height' set but not used [-Wunused-but-set-variable] - double left, right, top, bottom, map_width, map_height; - ^~~~~~~~~~ -map_geo.c:648:38: warning: variable 'map_width' set but not used [-Wunused-but-set-variable] - double left, right, top, bottom, map_width, map_height; - ^~~~~~~~~ -map_geo.c:613:10: warning: variable 'scr_x_mc' set but not used [-Wunused-but-set-variable] - long scr_x_mc; // map center in screen units - ^~~~~~~~ -map_geo.c:600:10: warning: variable 'map_y_ctr' set but not used [-Wunused-but-set-variable] - long map_y_ctr; // half map height in pixel - ^~~~~~~~~ -map_geo.c:590:19: warning: variable 'c_y_max' set but not used [-Wunused-but-set-variable] - unsigned long c_y_max; // bottom right coordinates of map inside screen - ^~~~~~~ -map_geo.c:587:9: warning: variable 'test' set but not used [-Wunused-but-set-variable] - int test; // temporary debugging - ^~~~ -main.c: In function 'Smart_Beacon': -main.c:1393:33: warning: variable 'label7' set but not used [-Wunused-but-set-variable] - label4, label5, label6, label7, - ^~~~~~ -main.c: In function 'Coordinate_calc': -main.c:2806:25: warning: variable 'label6' set but not used [-Wunused-but-set-variable] - label4, label5, label6, - ^~~~~~ -main.c:2806:17: warning: variable 'label5' set but not used [-Wunused-but-set-variable] - label4, label5, label6, - ^~~~~~ -main.c:2805:48: warning: variable 'label3' set but not used [-Wunused-but-set-variable] - static Widget pane, form, label1, label2, label3, - ^~~~~~ -main.c:2805:40: warning: variable 'label2' set but not used [-Wunused-but-set-variable] - static Widget pane, form, label1, label2, label3, - ^~~~~~ +map_pdb.c: In function 'draw_palm_image_map': +map_pdb.c:223:5: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] + fread(&pdb_hdr, sizeof(pdb_hdr), 1, fn); + ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +map_pdb.c:234:5: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] + fread(&prl, sizeof(prl), 1, fn); + ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +map_pdb.c:251:5: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] + fread(&pmf_hdr, sizeof(pmf_hdr), 1, fn); + ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +map_pdb.c:345:9: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] + fread(&prl, sizeof(prl), 1, fn); + ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +map_pdb.c:358:9: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] + fread(&record_hdr, sizeof(record_hdr), 1, fn); + ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +map_pdb.c:404:25: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] + fread(&vector_point, sizeof(vector_point), 1, fn); + ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ map_gdal.c: In function 'map_gdal_init': map_gdal.c:157:18: warning: variable 'gDriver' set but not used [-Wunused-but-set-variable] GDALDriverH gDriver; // GDAL driver @@ -3244,6 +3314,10 @@ map_gdal.c:276:30: warning: variable 'map_x_max' set but not used [-Wunused-but-set-variable] unsigned long map_x_min, map_x_max; // xastir units ^~~~~~~~~ +main.c: In function 'Smart_Beacon': +main.c:1393:33: warning: variable 'label7' set but not used [-Wunused-but-set-variable] + label4, label5, label6, label7, + ^~~~~~ map_gdal.c: In function 'Draw_OGR_Points': map_gdal.c:1219:16: warning: variable 'xpoint' set but not used [-Wunused-but-set-variable] XPoint xpoint; @@ -3252,13 +3326,19 @@ map_gdal.c:2372:21: warning: variable 'temp' set but not used [-Wunused-but-set-variable] const char *temp; ^~~~ -main.c: In function 'create_appshell': -main.c:6983:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] - if (index_maps_on_startup) - ^~ -main.c:6987:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' - map_indexer_button = XtVaCreateManagedWidget(langcode("PULDNMP023"), - ^~~~~~~~~~~~~~~~~~ +main.c: In function 'Coordinate_calc': +main.c:2806:25: warning: variable 'label6' set but not used [-Wunused-but-set-variable] + label4, label5, label6, + ^~~~~~ +main.c:2806:17: warning: variable 'label5' set but not used [-Wunused-but-set-variable] + label4, label5, label6, + ^~~~~~ +main.c:2805:48: warning: variable 'label3' set but not used [-Wunused-but-set-variable] + static Widget pane, form, label1, label2, label3, + ^~~~~~ +main.c:2805:40: warning: variable 'label2' set but not used [-Wunused-but-set-variable] + static Widget pane, form, label1, label2, label3, + ^~~~~~ map_gdal.c: In function 'draw_ogr_map': map_gdal.c:4835:17: warning: variable 'num' set but not used [-Wunused-but-set-variable] int num = 0; @@ -3274,6 +3354,37 @@ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 0, 0 ); ~~~~~~ +main.c: In function 'create_appshell': +main.c:6983:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] + if (index_maps_on_startup) + ^~ +main.c:6987:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' + map_indexer_button = XtVaCreateManagedWidget(langcode("PULDNMP023"), + ^~~~~~~~~~~~~~~~~~ +map_shp.c: In function 'draw_shapefile_map': +map_shp.c:3391:37: warning: variable 'nVertStart' set but not used [-Wunused-but-set-variable] + int nVertStart; + ^~~~~~~~~~ +map_shp.c:733:21: warning: variable 'search_param2' set but not used [-Wunused-but-set-variable] + char search_param2[10]; + ^~~~~~~~~~~~~ +map_shp.c:728:21: warning: variable 'search_param1' set but not used [-Wunused-but-set-variable] + char search_param1[10]; + ^~~~~~~~~~~~~ +maps.c: In function 'draw_complete_lat_lon_grid.part.14': +maps.c:1384:17: warning: '%s' directive output may be truncated writing up to 24 bytes into a region of size between 0 and 24 [-Wformat-truncation=] + "%s %s", + ^~ + grid_label1,grid_label2); + ~~~~~~~~~~~ +In file included from /usr/include/stdio.h:873, + from snprintf.h:27, + from maps.c:32: +/usr/include/x86_64-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 2 and 50 bytes into a destination of size 25 + return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, + ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + __bos (__s), __fmt, __va_arg_pack ()); + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:5277:26: warning: variable 'store_data_button' set but not used [-Wunused-but-set-variable] store_data_pane, store_data_button, store_all_kml_button, ^~~~~~~~~~~~~~~~~ @@ -3350,70 +3461,50 @@ main.c:10253:9: warning: variable 'x_distance' set but not used [-Wunused-but-set-variable] int x_distance; ^~~~~~~~~~ +map_OSM.c: In function 'draw_OSM_map': +map_OSM.c:1488:48: warning: '%s' directive output may be truncated writing up to 3999 bytes into a region of size 2000 [-Wformat-truncation=] + xastir_snprintf(fileimg, sizeof(fileimg), "%s", OSMtmp); + ^~ ~~~~~~ +In file included from /usr/include/stdio.h:873, + from snprintf.h:27, + from map_OSM.c:34: +/usr/include/x86_64-linux-gnu/bits/stdio2.h:67:10: note: '__builtin_snprintf' output between 1 and 4000 bytes into a destination of size 2000 + return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, + ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + __bos (__s), __fmt, __va_arg_pack ()); + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c: In function 'UpdateTime': main.c:11316:9: warning: variable 'do_time' set but not used [-Wunused-but-set-variable] int do_time; ^~~~~~~ -map_geo.c:743:58: warning: '__builtin_snprintf' output may be truncated before the last format character [-Wformat-truncation=] - xastir_snprintf(temp,sizeof(temp),"%s",file); - ^ +map_tif.c: In function 'draw_geotiff_image_map': +map_tif.c:1729:13: warning: this 'if' clause does not guard... [-Wmisleading-indentation] + if (debug_level & 16) + ^~ +map_tif.c:1732:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' + if (SE_x < 0 || SE_y < 0 || SE_x >= (int)width || SE_y >= (int)height) { + ^~ +map_shp.c: In function 'create_shapefile_map': +map_shp.c:249:24: warning: '.prj' directive output may be truncated writing 4 bytes into a region of size between 1 and 2000 [-Wformat-truncation=] + "%s.prj", + ^~~~ In file included from /usr/include/stdio.h:873, from snprintf.h:27, - from map_geo.c:30: -/usr/include/x86_64-linux-gnu/bits/stdio2.h:67:10: note: '__builtin_snprintf' output between 1 and 2001 bytes into a destination of size 2000 + from map_shp.c:42: +/usr/include/x86_64-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 5 and 2004 bytes into a destination of size 2000 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -map_pdb.c: In function 'draw_palm_image_map': -map_pdb.c:223:5: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] - fread(&pdb_hdr, sizeof(pdb_hdr), 1, fn); - ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -map_pdb.c:234:5: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] - fread(&prl, sizeof(prl), 1, fn); - ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -map_pdb.c:251:5: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] - fread(&pmf_hdr, sizeof(pmf_hdr), 1, fn); - ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -map_pdb.c:345:9: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] - fread(&prl, sizeof(prl), 1, fn); - ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -map_pdb.c:358:9: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] - fread(&record_hdr, sizeof(record_hdr), 1, fn); - ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -map_pdb.c:404:25: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] - fread(&vector_point, sizeof(vector_point), 1, fn); - ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -map_OSM.c: In function 'draw_image': -map_OSM.c:525:5: warning: 'GetIndexes' is deprecated [-Wdeprecated-declarations] - index_pack = GetIndexes(image); - ^~~~~~~~~~ -In file included from /usr/include/GraphicsMagick/magick/api.h:93, - from map_OSM.c:118: -/usr/include/GraphicsMagick/magick/pixel_cache.h:105:4: note: declared here - *GetIndexes(const Image *image) - ^~~~~~~~~~ -map_OSM.c: In function 'draw_OSM_image': -map_OSM.c:717:5: warning: 'GetIndexes' is deprecated [-Wdeprecated-declarations] - index_pack = GetIndexes(image); - ^~~~~~~~~~ -In file included from /usr/include/GraphicsMagick/magick/api.h:93, - from map_OSM.c:118: -/usr/include/GraphicsMagick/magick/pixel_cache.h:105:4: note: declared here - *GetIndexes(const Image *image) - ^~~~~~~~~~ -map_OSM.c:673:9: warning: variable 'map_done' set but not used [-Wunused-but-set-variable] - int map_done; - ^~~~~~~~ -gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/GraphicsMagick -I/usr/local/include -I/usr/include/geotiff -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/gdal -DXASTIR_DATA_BASE=\"/usr/share/xastir\" -fopenmp -g -O2 -fdebug-prefix-map=/build/graphicsmagick-FG5eMj/graphicsmagick-1.4+really1.3.35=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pthread -ffile-prefix-map=/build/xastir-2.1.0=. -pipe -Wpointer-arith -Wstrict-prototypes -Wno-unused-parameter -c -o map_shp.o map_shp.c -main.c: In function 'process_RINO_waypoints': -main.c:14798:11: warning: variable 'UTC_Offset' set but not used [-Wunused-but-set-variable] - float UTC_Offset; - ^~~~~~~~~~ -main.c: In function 'GPS_transfer_select': -main.c:15398:27: warning: variable 'color_type' set but not used [-Wunused-but-set-variable] - frame, color_type, type_box, ctyp0, ctyp1, - ^~~~~~~~~~ +map_tif.c:583:12: warning: variable 'current_line_width' set but not used [-Wunused-but-set-variable] + uint32 current_line_width; + ^~~~~~~~~~~~~~~~~~ +map_tif.c:576:11: warning: variable 'xastir_avg_y_increment' set but not used [-Wunused-but-set-variable] + float xastir_avg_y_increment; + ^~~~~~~~~~~~~~~~~~~~~~ +gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/GraphicsMagick -I/usr/local/include -I/usr/include/geotiff -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/gdal -DXASTIR_DATA_BASE=\"/usr/share/xastir\" -fopenmp -g -O2 -fdebug-prefix-map=/build/graphicsmagick-FG5eMj/graphicsmagick-1.4+really1.3.35=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pthread -ffile-prefix-map=/build/xastir-2.1.0=. -pipe -Wpointer-arith -Wstrict-prototypes -Wno-unused-parameter -c -o map_tiger.o map_tiger.c +gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/GraphicsMagick -I/usr/local/include -I/usr/include/geotiff -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/gdal -DXASTIR_DATA_BASE=\"/usr/share/xastir\" -fopenmp -g -O2 -fdebug-prefix-map=/build/graphicsmagick-FG5eMj/graphicsmagick-1.4+really1.3.35=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pthread -ffile-prefix-map=/build/xastir-2.1.0=. -pipe -Wpointer-arith -Wstrict-prototypes -Wno-unused-parameter -c -o map_WMS.o map_WMS.c +gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/GraphicsMagick -I/usr/local/include -I/usr/include/geotiff -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/gdal -DXASTIR_DATA_BASE=\"/usr/share/xastir\" -fopenmp -g -O2 -fdebug-prefix-map=/build/graphicsmagick-FG5eMj/graphicsmagick-1.4+really1.3.35=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pthread -ffile-prefix-map=/build/xastir-2.1.0=. -pipe -Wpointer-arith -Wstrict-prototypes -Wno-unused-parameter -c -o messages.o messages.c db.c: In function 'is_tracked_station.part.3': db.c:403:14: warning: '%s' directive output may be truncated writing up to 29 bytes into a region of size 10 [-Wformat-truncation=] "%s", @@ -3428,93 +3519,15 @@ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -main.c: In function 'map_properties_fill_in': -main.c:18367:11: warning: variable 'i' set but not used [-Wunused-but-set-variable] - int n,i; - ^ -main.c: In function 'map_properties': -main.c:19415:68: warning: variable 'label5' set but not used [-Wunused-but-set-variable] - rowcol1, rowcol2, rowcol3, label1, label2, label3, label4, label5, - ^~~~~~ -main.c:19415:60: warning: variable 'label4' set but not used [-Wunused-but-set-variable] - rowcol1, rowcol2, rowcol3, label1, label2, label3, label4, label5, - ^~~~~~ -main.c:19415:52: warning: variable 'label3' set but not used [-Wunused-but-set-variable] - rowcol1, rowcol2, rowcol3, label1, label2, label3, label4, label5, - ^~~~~~ -main.c:19410:9: warning: variable 'i' set but not used [-Wunused-but-set-variable] - int i; - ^ -gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/GraphicsMagick -I/usr/local/include -I/usr/include/geotiff -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/gdal -DXASTIR_DATA_BASE=\"/usr/share/xastir\" -fopenmp -g -O2 -fdebug-prefix-map=/build/graphicsmagick-FG5eMj/graphicsmagick-1.4+really1.3.35=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pthread -ffile-prefix-map=/build/xastir-2.1.0=. -pipe -Wpointer-arith -Wstrict-prototypes -Wno-unused-parameter -c -o map_tif.o map_tif.c -main.c: In function 'sort_list': -main.c:20426:10: warning: variable 'ptr' set but not used [-Wunused-but-set-variable] - long ptr; - ^~~ -gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/GraphicsMagick -I/usr/local/include -I/usr/include/geotiff -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/gdal -DXASTIR_DATA_BASE=\"/usr/share/xastir\" -fopenmp -g -O2 -fdebug-prefix-map=/build/graphicsmagick-FG5eMj/graphicsmagick-1.4+really1.3.35=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pthread -ffile-prefix-map=/build/xastir-2.1.0=. -pipe -Wpointer-arith -Wstrict-prototypes -Wno-unused-parameter -c -o map_tiger.o map_tiger.c -maps.c: In function 'draw_complete_lat_lon_grid.part.14': -maps.c:1384:17: warning: '%s' directive output may be truncated writing up to 24 bytes into a region of size between 0 and 24 [-Wformat-truncation=] - "%s %s", - ^~ - grid_label1,grid_label2); - ~~~~~~~~~~~ -In file included from /usr/include/stdio.h:873, - from snprintf.h:27, - from maps.c:32: -/usr/include/x86_64-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 2 and 50 bytes into a destination of size 25 - return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, - ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - __bos (__s), __fmt, __va_arg_pack ()); - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -main.c: In function 'Map_chooser': -main.c:21844:9: warning: variable 'i' set but not used [-Wunused-but-set-variable] - int i; - ^ -main.c: In function 'Configure_defaults': -main.c:22581:10: warning: unused variable 'temp_base_dir' [-Wunused-variable] - char temp_base_dir[MAX_VALUE]; - ^~~~~~~~~~~~~ -main.c:22565:17: warning: variable 'igate_option' set but not used [-Wunused-but-set-variable] - igate_option, igate_box, - ^~~~~~~~~~~~ -gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/GraphicsMagick -I/usr/local/include -I/usr/include/geotiff -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/gdal -DXASTIR_DATA_BASE=\"/usr/share/xastir\" -fopenmp -g -O2 -fdebug-prefix-map=/build/graphicsmagick-FG5eMj/graphicsmagick-1.4+really1.3.35=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pthread -ffile-prefix-map=/build/xastir-2.1.0=. -pipe -Wpointer-arith -Wstrict-prototypes -Wno-unused-parameter -c -o map_WMS.o map_WMS.c -main.c:22563:17: warning: variable 'station_type' set but not used [-Wunused-but-set-variable] - station_type, type_box, - ^~~~~~~~~~~~ -main.c: In function 'Configure_coordinates': -main.c:23885:17: warning: variable 'label' set but not used [-Wunused-but-set-variable] - label, coord_box, coord_0, coord_1, coord_2, - ^~~~~ -main.c: In function 'Configure_audio_alarms': -main.c:24256:31: warning: variable 'maxb1' set but not used [-Wunused-but-set-variable] - minb1, minb2, maxb1, maxb2, - ^~~~~ -main.c:24256:24: warning: variable 'minb2' set but not used [-Wunused-but-set-variable] - minb1, minb2, maxb1, maxb2, - ^~~~~ -main.c:24255:35: warning: variable 'max2' set but not used [-Wunused-but-set-variable] - min1, min2, max1, max2, - ^~~~ -main.c:24255:23: warning: variable 'min2' set but not used [-Wunused-but-set-variable] - min1, min2, max1, max2, - ^~~~ -map_shp.c: In function 'draw_shapefile_map': -map_shp.c:3391:37: warning: variable 'nVertStart' set but not used [-Wunused-but-set-variable] - int nVertStart; - ^~~~~~~~~~ -map_shp.c:733:21: warning: variable 'search_param2' set but not used [-Wunused-but-set-variable] - char search_param2[10]; - ^~~~~~~~~~~~~ -map_shp.c:728:21: warning: variable 'search_param1' set but not used [-Wunused-but-set-variable] - char search_param1[10]; - ^~~~~~~~~~~~~ -gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/GraphicsMagick -I/usr/local/include -I/usr/include/geotiff -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/gdal -DXASTIR_DATA_BASE=\"/usr/share/xastir\" -fopenmp -g -O2 -fdebug-prefix-map=/build/graphicsmagick-FG5eMj/graphicsmagick-1.4+really1.3.35=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pthread -ffile-prefix-map=/build/xastir-2.1.0=. -pipe -Wpointer-arith -Wstrict-prototypes -Wno-unused-parameter -c -o messages.o messages.c -main.c: In function 'Configure_station': -main.c:25760:17: warning: variable 'posamb' set but not used [-Wunused-but-set-variable] - posamb,option_box, - ^~~~~~ -main.c:25759:17: warning: variable 'sts' set but not used [-Wunused-but-set-variable] - sts, group, st_symbol, comment, - ^~~ +main.c: In function 'process_RINO_waypoints': +main.c:14798:11: warning: variable 'UTC_Offset' set but not used [-Wunused-but-set-variable] + float UTC_Offset; + ^~~~~~~~~~ +main.c: In function 'GPS_transfer_select': +main.c:15398:27: warning: variable 'color_type' set but not used [-Wunused-but-set-variable] + frame, color_type, type_box, ctyp0, ctyp1, + ^~~~~~~~~~ +gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/GraphicsMagick -I/usr/local/include -I/usr/include/geotiff -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/gdal -DXASTIR_DATA_BASE=\"/usr/share/xastir\" -fopenmp -g -O2 -fdebug-prefix-map=/build/graphicsmagick-FG5eMj/graphicsmagick-1.4+really1.3.35=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pthread -ffile-prefix-map=/build/xastir-2.1.0=. -pipe -Wpointer-arith -Wstrict-prototypes -Wno-unused-parameter -c -o messages_gui.o messages_gui.c maps.c: In function 'draw_major_utm_mgrs_grid': maps.c:1907:34: warning: '__builtin___snprintf_chk' output may be truncated before the last format character [-Wformat-truncation=] "%s %07.0f %07.0f", @@ -3538,101 +3551,51 @@ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -main.c:25757:17: warning: variable 'slong' set but not used [-Wunused-but-set-variable] - slong, - ^~~~~ -main.c:25756:38: warning: variable 'slat_ns' set but not used [-Wunused-but-set-variable] - slat_deg, slat_min, slat_ns, - ^~~~~~~ -main.c:25750:27: warning: variable 'pg2' set but not used [-Wunused-but-set-variable] - framephg, pg2, formphg, - ^~~ -map_tif.c: In function 'draw_geotiff_image_map': -map_tif.c:1729:13: warning: this 'if' clause does not guard... [-Wmisleading-indentation] - if (debug_level & 16) - ^~ -map_tif.c:1732:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' - if (SE_x < 0 || SE_y < 0 || SE_x >= (int)width || SE_y >= (int)height) { - ^~ -map_tif.c:583:12: warning: variable 'current_line_width' set but not used [-Wunused-but-set-variable] - uint32 current_line_width; - ^~~~~~~~~~~~~~~~~~ -map_tif.c:576:11: warning: variable 'xastir_avg_y_increment' set but not used [-Wunused-but-set-variable] - float xastir_avg_y_increment; - ^~~~~~~~~~~~~~~~~~~~~~ -gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/GraphicsMagick -I/usr/local/include -I/usr/include/geotiff -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/gdal -DXASTIR_DATA_BASE=\"/usr/share/xastir\" -fopenmp -g -O2 -fdebug-prefix-map=/build/graphicsmagick-FG5eMj/graphicsmagick-1.4+really1.3.35=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pthread -ffile-prefix-map=/build/xastir-2.1.0=. -pipe -Wpointer-arith -Wstrict-prototypes -Wno-unused-parameter -c -o messages_gui.o messages_gui.c -map_OSM.c: In function 'draw_OSM_map': -map_OSM.c:1488:48: warning: '%s' directive output may be truncated writing up to 3999 bytes into a region of size 2000 [-Wformat-truncation=] - xastir_snprintf(fileimg, sizeof(fileimg), "%s", OSMtmp); - ^~ ~~~~~~ +main.c: In function 'map_properties_fill_in': +main.c:18367:11: warning: variable 'i' set but not used [-Wunused-but-set-variable] + int n,i; + ^ +main.c: In function 'map_properties': +main.c:19415:68: warning: variable 'label5' set but not used [-Wunused-but-set-variable] + rowcol1, rowcol2, rowcol3, label1, label2, label3, label4, label5, + ^~~~~~ +main.c:19415:60: warning: variable 'label4' set but not used [-Wunused-but-set-variable] + rowcol1, rowcol2, rowcol3, label1, label2, label3, label4, label5, + ^~~~~~ +gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/GraphicsMagick -I/usr/local/include -I/usr/include/geotiff -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/gdal -DXASTIR_DATA_BASE=\"/usr/share/xastir\" -fopenmp -g -O2 -fdebug-prefix-map=/build/graphicsmagick-FG5eMj/graphicsmagick-1.4+really1.3.35=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pthread -ffile-prefix-map=/build/xastir-2.1.0=. -pipe -Wpointer-arith -Wstrict-prototypes -Wno-unused-parameter -c -o objects.o objects.c +main.c:19415:52: warning: variable 'label3' set but not used [-Wunused-but-set-variable] + rowcol1, rowcol2, rowcol3, label1, label2, label3, label4, label5, + ^~~~~~ +main.c:19410:9: warning: variable 'i' set but not used [-Wunused-but-set-variable] + int i; + ^ +main.c: In function 'sort_list': +main.c:20426:10: warning: variable 'ptr' set but not used [-Wunused-but-set-variable] + long ptr; + ^~~ +map_shp.c: In function 'draw_shapefile_map': +map_shp.c:1705:57: warning: '%s' directive output may be truncated writing up to 1999 bytes into a region of size between 1600 and 1999 [-Wformat-truncation=] + xastir_snprintf(xbm_path, sizeof(xbm_path), "%s/%s.xbm", SYMBOLS_DIR, xbm_filename); + ^~ ~~~~~~~~~~~~ In file included from /usr/include/stdio.h:873, from snprintf.h:27, - from map_OSM.c:34: -/usr/include/x86_64-linux-gnu/bits/stdio2.h:67:10: note: '__builtin_snprintf' output between 1 and 4000 bytes into a destination of size 2000 + from map_shp.c:42: +/usr/include/x86_64-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 6 and 2404 bytes into a destination of size 2000 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -main.c: In function 'Query_xfontsel_pipe': -main.c:4585:13: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] - fgets(xfontsel_font[i],sizeof(xfontsel_font[0]),f_xfontsel_pipe[i]); - ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -map_tiger.c: In function 'draw_tiger_map': -map_tiger.c:681:5: warning: 'GetIndexes' is deprecated [-Wdeprecated-declarations] - index_pack = GetIndexes(image); - ^~~~~~~~~~ -In file included from /usr/include/GraphicsMagick/magick/api.h:93, - from map_tiger.c:114: -/usr/include/GraphicsMagick/magick/pixel_cache.h:105:4: note: declared here - *GetIndexes(const Image *image) - ^~~~~~~~~~ -map_tiger.c:305:12: warning: variable 'scale_x_nm' set but not used [-Wunused-but-set-variable] - double scale_x_nm; // nm per Xastir coordinate unit - ^~~~~~~~~~ -map_tiger.c:304:10: warning: variable 'scale_xa' set but not used [-Wunused-but-set-variable] - long scale_xa; // adjusted for topo maps - ^~~~~~~~ -map_tiger.c:302:10: warning: variable 'scr_c_xr' set but not used [-Wunused-but-set-variable] - long scr_c_xr; - ^~~~~~~~ -map_tiger.c:300:10: warning: variable 'scr_x_mc' set but not used [-Wunused-but-set-variable] - long scr_x_mc; // map center in screen units - ^~~~~~~~ -map_tiger.c:290:9: warning: variable 'map_done' set but not used [-Wunused-but-set-variable] - int map_done; - ^~~~~~~~ -map_tiger.c:287:10: warning: variable 'map_y_ctr' set but not used [-Wunused-but-set-variable] - long map_y_ctr; // half map height in pixel - ^~~~~~~~~ -map_tiger.c:286:10: warning: variable 'map_x_ctr' set but not used [-Wunused-but-set-variable] - long map_x_ctr; // half map width in pixel - ^~~~~~~~~ -map_tiger.c:278:19: warning: variable 'c_y_max' set but not used [-Wunused-but-set-variable] - unsigned long c_y_max; // bottom right coordinates of map inside screen - ^~~~~~~ -map_shp.c: In function 'create_shapefile_map': -map_shp.c:249:24: warning: '.prj' directive output may be truncated writing 4 bytes into a region of size between 1 and 2000 [-Wformat-truncation=] - "%s.prj", - ^~~~ +map_shp.c:3045:82: warning: '%s' directive output may be truncated writing up to 99 bytes into a region of size 50 [-Wformat-truncation=] + xastir_snprintf(ptr2->label,sizeof(ptr2->label),"%s",temp); + ^~ In file included from /usr/include/stdio.h:873, from snprintf.h:27, from map_shp.c:42: -/usr/include/x86_64-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 5 and 2004 bytes into a destination of size 2000 +/usr/include/x86_64-linux-gnu/bits/stdio2.h:67:10: note: '__builtin_snprintf' output between 1 and 100 bytes into a destination of size 50 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -main.c: In function 'Read_File_Selection': -main.c:22205:9: warning: ignoring return value of 'chdir', declared with attribute warn_unused_result [-Wunused-result] - chdir( get_user_base_dir("logs", temp_base_dir, sizeof(temp_base_dir)) ); - ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -main.c:22224:9: warning: ignoring return value of 'chdir', declared with attribute warn_unused_result [-Wunused-result] - chdir( get_user_base_dir("", temp_base_dir, sizeof(temp_base_dir)) ); - ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -main.c: In function 'gps_transfer_thread': -main.c:16064:1: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] - system(temp); - ^~~~~~~~~~~~ maps.c: In function 'actually_draw_utm_minor_grid': maps.c:2321:42: warning: '__builtin___snprintf_chk' output may be truncated before the last format character [-Wformat-truncation=] "%s %07.0f %07.0f", @@ -3656,109 +3619,62 @@ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/GraphicsMagick -I/usr/local/include -I/usr/include/geotiff -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/gdal -DXASTIR_DATA_BASE=\"/usr/share/xastir\" -fopenmp -g -O2 -fdebug-prefix-map=/build/graphicsmagick-FG5eMj/graphicsmagick-1.4+really1.3.35=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pthread -ffile-prefix-map=/build/xastir-2.1.0=. -pipe -Wpointer-arith -Wstrict-prototypes -Wno-unused-parameter -c -o objects.o objects.c -map_WMS.c: In function 'draw_WMS_map': -map_WMS.c:736:5: warning: 'GetIndexes' is deprecated [-Wdeprecated-declarations] +messages_gui.c: In function 'Send_message_change_path': +messages_gui.c:416:10: warning: variable 'delw' set but not used [-Wunused-but-set-variable] + Atom delw; + ^~~~ +gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/GraphicsMagick -I/usr/local/include -I/usr/include/geotiff -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/gdal -DXASTIR_DATA_BASE=\"/usr/share/xastir\" -fopenmp -g -O2 -fdebug-prefix-map=/build/graphicsmagick-FG5eMj/graphicsmagick-1.4+really1.3.35=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pthread -ffile-prefix-map=/build/xastir-2.1.0=. -pipe -Wpointer-arith -Wstrict-prototypes -Wno-unused-parameter -c -o popup_gui.o popup_gui.c +map_tiger.c: In function 'draw_tiger_map': +map_tiger.c:681:5: warning: 'GetIndexes' is deprecated [-Wdeprecated-declarations] index_pack = GetIndexes(image); ^~~~~~~~~~ In file included from /usr/include/GraphicsMagick/magick/api.h:93, - from map_WMS.c:114: + from map_tiger.c:114: /usr/include/GraphicsMagick/magick/pixel_cache.h:105:4: note: declared here *GetIndexes(const Image *image) ^~~~~~~~~~ -map_WMS.c:189:12: warning: variable 'scale_x_nm' set but not used [-Wunused-but-set-variable] +map_tiger.c:305:12: warning: variable 'scale_x_nm' set but not used [-Wunused-but-set-variable] double scale_x_nm; // nm per Xastir coordinate unit ^~~~~~~~~~ -map_WMS.c:188:10: warning: variable 'scale_xa' set but not used [-Wunused-but-set-variable] +map_tiger.c:304:10: warning: variable 'scale_xa' set but not used [-Wunused-but-set-variable] long scale_xa; // adjusted for topo maps ^~~~~~~~ -map_WMS.c:186:10: warning: variable 'scr_c_xr' set but not used [-Wunused-but-set-variable] +map_tiger.c:302:10: warning: variable 'scr_c_xr' set but not used [-Wunused-but-set-variable] long scr_c_xr; ^~~~~~~~ -map_WMS.c:184:10: warning: variable 'scr_x_mc' set but not used [-Wunused-but-set-variable] +map_tiger.c:300:10: warning: variable 'scr_x_mc' set but not used [-Wunused-but-set-variable] long scr_x_mc; // map center in screen units ^~~~~~~~ -map_WMS.c:174:9: warning: variable 'map_done' set but not used [-Wunused-but-set-variable] +map_tiger.c:290:9: warning: variable 'map_done' set but not used [-Wunused-but-set-variable] int map_done; ^~~~~~~~ -map_WMS.c:171:10: warning: variable 'map_y_ctr' set but not used [-Wunused-but-set-variable] +map_tiger.c:287:10: warning: variable 'map_y_ctr' set but not used [-Wunused-but-set-variable] long map_y_ctr; // half map height in pixel ^~~~~~~~~ -map_WMS.c:170:10: warning: variable 'map_x_ctr' set but not used [-Wunused-but-set-variable] +map_tiger.c:286:10: warning: variable 'map_x_ctr' set but not used [-Wunused-but-set-variable] long map_x_ctr; // half map width in pixel ^~~~~~~~~ -map_WMS.c:162:19: warning: variable 'c_y_max' set but not used [-Wunused-but-set-variable] +map_tiger.c:278:19: warning: variable 'c_y_max' set but not used [-Wunused-but-set-variable] unsigned long c_y_max; // bottom right coordinates of map inside screen ^~~~~~~ -In file included from main.c:175: -main.c: In function 'main': -objects.h:70:1: warning: ignoring return value of 'seteuid', declared with attribute warn_unused_result [-Wunused-result] - seteuid(getuid()); \ - ^~~~~~~~~~~~~~~~~ -main.c:27460:5: note: in expansion of macro 'DISABLE_SETUID_PRIVILEGE' - DISABLE_SETUID_PRIVILEGE; - ^~~~~~~~~~~~~~~~~~~~~~~~ -objects.h:71:1: warning: ignoring return value of 'setegid', declared with attribute warn_unused_result [-Wunused-result] - setegid(getgid()); \ - ^~~~~~~~~~~~~~~~~ -main.c:27460:5: note: in expansion of macro 'DISABLE_SETUID_PRIVILEGE' - DISABLE_SETUID_PRIVILEGE; - ^~~~~~~~~~~~~~~~~~~~~~~~ -map_WMS.c:466:48: warning: '%s' directive output may be truncated writing up to 3999 bytes into a region of size 2000 [-Wformat-truncation=] - xastir_snprintf(fileimg, sizeof(fileimg), "%s", WMStmp); - ^~ ~~~~~~ -In file included from /usr/include/stdio.h:873, - from snprintf.h:27, - from map_WMS.c:29: -/usr/include/x86_64-linux-gnu/bits/stdio2.h:67:10: note: '__builtin_snprintf' output between 1 and 4000 bytes into a destination of size 2000 - return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, - ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - __bos (__s), __fmt, __va_arg_pack ()); - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -map_tiger.c:493:48: warning: '%s' directive output may be truncated writing up to 3999 bytes into a region of size 2000 [-Wformat-truncation=] - xastir_snprintf(fileimg, sizeof(fileimg), "%s", tigertmp); - ^~ ~~~~~~~~ -In file included from /usr/include/stdio.h:873, - from snprintf.h:27, - from map_tiger.c:29: -/usr/include/x86_64-linux-gnu/bits/stdio2.h:67:10: note: '__builtin_snprintf' output between 1 and 4000 bytes into a destination of size 2000 - return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, - ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - __bos (__s), __fmt, __va_arg_pack ()); - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/GraphicsMagick -I/usr/local/include -I/usr/include/geotiff -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/gdal -DXASTIR_DATA_BASE=\"/usr/share/xastir\" -fopenmp -g -O2 -fdebug-prefix-map=/build/graphicsmagick-FG5eMj/graphicsmagick-1.4+really1.3.35=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pthread -ffile-prefix-map=/build/xastir-2.1.0=. -pipe -Wpointer-arith -Wstrict-prototypes -Wno-unused-parameter -c -o popup_gui.o popup_gui.c -map_shp.c: In function 'draw_shapefile_map': -map_shp.c:1705:57: warning: '%s' directive output may be truncated writing up to 1999 bytes into a region of size between 1600 and 1999 [-Wformat-truncation=] - xastir_snprintf(xbm_path, sizeof(xbm_path), "%s/%s.xbm", SYMBOLS_DIR, xbm_filename); - ^~ ~~~~~~~~~~~~ -In file included from /usr/include/stdio.h:873, - from snprintf.h:27, - from map_shp.c:42: -/usr/include/x86_64-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 6 and 2404 bytes into a destination of size 2000 - return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, - ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - __bos (__s), __fmt, __va_arg_pack ()); - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -map_shp.c:3045:82: warning: '%s' directive output may be truncated writing up to 99 bytes into a region of size 50 [-Wformat-truncation=] - xastir_snprintf(ptr2->label,sizeof(ptr2->label),"%s",temp); - ^~ -In file included from /usr/include/stdio.h:873, - from snprintf.h:27, - from map_shp.c:42: -/usr/include/x86_64-linux-gnu/bits/stdio2.h:67:10: note: '__builtin_snprintf' output between 1 and 100 bytes into a destination of size 50 - return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, - ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - __bos (__s), __fmt, __va_arg_pack ()); - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -messages_gui.c: In function 'Send_message_change_path': -messages_gui.c:416:10: warning: variable 'delw' set but not used [-Wunused-but-set-variable] - Atom delw; - ^~~~ -messages.c: In function 'group_build_list': -messages.c:193:19: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] - (void)fgets(&group_data_list[group_data_count*10], 10, f); - ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/GraphicsMagick -I/usr/local/include -I/usr/include/geotiff -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/gdal -DXASTIR_DATA_BASE=\"/usr/share/xastir\" -fopenmp -g -O2 -fdebug-prefix-map=/build/graphicsmagick-FG5eMj/graphicsmagick-1.4+really1.3.35=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pthread -ffile-prefix-map=/build/xastir-2.1.0=. -pipe -Wpointer-arith -Wstrict-prototypes -Wno-unused-parameter -c -o rac_data.o rac_data.c +main.c: In function 'Map_chooser': +main.c:21844:9: warning: variable 'i' set but not used [-Wunused-but-set-variable] + int i; + ^ +main.c: In function 'Configure_defaults': +main.c:22581:10: warning: unused variable 'temp_base_dir' [-Wunused-variable] + char temp_base_dir[MAX_VALUE]; + ^~~~~~~~~~~~~ +main.c:22565:17: warning: variable 'igate_option' set but not used [-Wunused-but-set-variable] + igate_option, igate_box, + ^~~~~~~~~~~~ +main.c:22563:17: warning: variable 'station_type' set but not used [-Wunused-but-set-variable] + station_type, type_box, + ^~~~~~~~~~~~ +main.c: In function 'Configure_coordinates': +main.c:23885:17: warning: variable 'label' set but not used [-Wunused-but-set-variable] + label, coord_box, coord_0, coord_1, coord_2, + ^~~~~ messages_gui.c: In function 'Send_message_now': messages_gui.c:1053:23: warning: '%-12s' directive output may be truncated writing between 12 and 22 bytes into a region of size between 1 and 56 [-Wformat-truncation=] "%-12s%-12s%-12s%-9s", @@ -3816,11 +3732,67 @@ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/GraphicsMagick -I/usr/local/include -I/usr/include/geotiff -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/gdal -DXASTIR_DATA_BASE=\"/usr/share/xastir\" -fopenmp -g -O2 -fdebug-prefix-map=/build/graphicsmagick-FG5eMj/graphicsmagick-1.4+really1.3.35=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pthread -ffile-prefix-map=/build/xastir-2.1.0=. -pipe -Wpointer-arith -Wstrict-prototypes -Wno-unused-parameter -c -o rotated.o rotated.c -objects.c: In function 'Populate_predefined_objects': -objects.c:6866:10: warning: unused variable 'temp_file_path' [-Wunused-variable] - char temp_file_path[MAX_VALUE]; - ^~~~~~~~~~~~~~ +main.c: In function 'Configure_audio_alarms': +main.c:24256:31: warning: variable 'maxb1' set but not used [-Wunused-but-set-variable] + minb1, minb2, maxb1, maxb2, + ^~~~~ +main.c:24256:24: warning: variable 'minb2' set but not used [-Wunused-but-set-variable] + minb1, minb2, maxb1, maxb2, + ^~~~~ +main.c:24255:35: warning: variable 'max2' set but not used [-Wunused-but-set-variable] + min1, min2, max1, max2, + ^~~~ +main.c:24255:23: warning: variable 'min2' set but not used [-Wunused-but-set-variable] + min1, min2, max1, max2, + ^~~~ +map_tiger.c:493:48: warning: '%s' directive output may be truncated writing up to 3999 bytes into a region of size 2000 [-Wformat-truncation=] + xastir_snprintf(fileimg, sizeof(fileimg), "%s", tigertmp); + ^~ ~~~~~~~~ +In file included from /usr/include/stdio.h:873, + from snprintf.h:27, + from map_tiger.c:29: +/usr/include/x86_64-linux-gnu/bits/stdio2.h:67:10: note: '__builtin_snprintf' output between 1 and 4000 bytes into a destination of size 2000 + return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, + ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + __bos (__s), __fmt, __va_arg_pack ()); + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +map_WMS.c: In function 'draw_WMS_map': +map_WMS.c:736:5: warning: 'GetIndexes' is deprecated [-Wdeprecated-declarations] + index_pack = GetIndexes(image); + ^~~~~~~~~~ +In file included from /usr/include/GraphicsMagick/magick/api.h:93, + from map_WMS.c:114: +/usr/include/GraphicsMagick/magick/pixel_cache.h:105:4: note: declared here + *GetIndexes(const Image *image) + ^~~~~~~~~~ +map_WMS.c:189:12: warning: variable 'scale_x_nm' set but not used [-Wunused-but-set-variable] + double scale_x_nm; // nm per Xastir coordinate unit + ^~~~~~~~~~ +map_WMS.c:188:10: warning: variable 'scale_xa' set but not used [-Wunused-but-set-variable] + long scale_xa; // adjusted for topo maps + ^~~~~~~~ +map_WMS.c:186:10: warning: variable 'scr_c_xr' set but not used [-Wunused-but-set-variable] + long scr_c_xr; + ^~~~~~~~ +map_WMS.c:184:10: warning: variable 'scr_x_mc' set but not used [-Wunused-but-set-variable] + long scr_x_mc; // map center in screen units + ^~~~~~~~ +map_WMS.c:174:9: warning: variable 'map_done' set but not used [-Wunused-but-set-variable] + int map_done; + ^~~~~~~~ +map_WMS.c:171:10: warning: variable 'map_y_ctr' set but not used [-Wunused-but-set-variable] + long map_y_ctr; // half map height in pixel + ^~~~~~~~~ +map_WMS.c:170:10: warning: variable 'map_x_ctr' set but not used [-Wunused-but-set-variable] + long map_x_ctr; // half map width in pixel + ^~~~~~~~~ +map_WMS.c:162:19: warning: variable 'c_y_max' set but not used [-Wunused-but-set-variable] + unsigned long c_y_max; // bottom right coordinates of map inside screen + ^~~~~~~ +messages.c: In function 'group_build_list': +messages.c:193:19: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] + (void)fgets(&group_data_list[group_data_count*10], 10, f); + ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ messages_gui.c: In function 'Auto_msg_set_now': messages_gui.c:2524:10: warning: '%s' directive output may be truncated writing up to 109 bytes into a region of size 100 [-Wformat-truncation=] "%s", @@ -3835,6 +3807,27 @@ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +main.c: In function 'Configure_station': +main.c:25760:17: warning: variable 'posamb' set but not used [-Wunused-but-set-variable] + posamb,option_box, + ^~~~~~ +objects.c: In function 'Populate_predefined_objects': +main.c:25759:17: warning: variable 'sts' set but not used [-Wunused-but-set-variable] + sts, group, st_symbol, comment, + ^~~ +objects.c:6866:10: warning: unused variable 'temp_file_path' [-Wunused-variable] + char temp_file_path[MAX_VALUE]; + ^~~~~~~~~~~~~~ +main.c:25757:17: warning: variable 'slong' set but not used [-Wunused-but-set-variable] + slong, + ^~~~~ +main.c:25756:38: warning: variable 'slat_ns' set but not used [-Wunused-but-set-variable] + slat_deg, slat_min, slat_ns, + ^~~~~~~ +main.c:25750:27: warning: variable 'pg2' set but not used [-Wunused-but-set-variable] + framephg, pg2, formphg, + ^~~ +gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/GraphicsMagick -I/usr/local/include -I/usr/include/geotiff -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/gdal -DXASTIR_DATA_BASE=\"/usr/share/xastir\" -fopenmp -g -O2 -fdebug-prefix-map=/build/graphicsmagick-FG5eMj/graphicsmagick-1.4+really1.3.35=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pthread -ffile-prefix-map=/build/xastir-2.1.0=. -pipe -Wpointer-arith -Wstrict-prototypes -Wno-unused-parameter -c -o rac_data.o rac_data.c objects.c: In function 'Set_Del_Object': objects.c:7429:17: warning: variable 'beamlabel' set but not used [-Wunused-but-set-variable] beamlabel,formbeam, @@ -3863,23 +3856,46 @@ objects.c:7411:56: warning: variable 'ob_latlon_ts' set but not used [-Wunused-but-set-variable] ob_name,ob_latlon_frame,ob_latlon_form,ob_latlon_ts, ^~~~~~~~~~~~ -gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/GraphicsMagick -I/usr/local/include -I/usr/include/geotiff -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/gdal -DXASTIR_DATA_BASE=\"/usr/share/xastir\" -fopenmp -g -O2 -fdebug-prefix-map=/build/graphicsmagick-FG5eMj/graphicsmagick-1.4+really1.3.35=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pthread -ffile-prefix-map=/build/xastir-2.1.0=. -pipe -Wpointer-arith -Wstrict-prototypes -Wno-unused-parameter -c -o rpl_malloc.o rpl_malloc.c -rac_data.c: In function 'search_rac_data': -rac_data.c:209:11: warning: variable 'rc' set but not used [-Wunused-but-set-variable] - char *rc; - ^~ -maps.c: In function 'map_search': -maps.c:6222:50: warning: '%s' directive output may be truncated writing up to 255 bytes into a region of size 64 [-Wformat-truncation=] - "%s", - ^~ +map_WMS.c:466:48: warning: '%s' directive output may be truncated writing up to 3999 bytes into a region of size 2000 [-Wformat-truncation=] + xastir_snprintf(fileimg, sizeof(fileimg), "%s", WMStmp); + ^~ ~~~~~~ In file included from /usr/include/stdio.h:873, from snprintf.h:27, - from maps.c:32: -/usr/include/x86_64-linux-gnu/bits/stdio2.h:67:10: note: '__builtin_snprintf' output between 1 and 256 bytes into a destination of size 64 + from map_WMS.c:29: +/usr/include/x86_64-linux-gnu/bits/stdio2.h:67:10: note: '__builtin_snprintf' output between 1 and 4000 bytes into a destination of size 2000 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +main.c: In function 'Query_xfontsel_pipe': +main.c:4585:13: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] + fgets(xfontsel_font[i],sizeof(xfontsel_font[0]),f_xfontsel_pipe[i]); + ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +main.c: In function 'Read_File_Selection': +main.c:22205:9: warning: ignoring return value of 'chdir', declared with attribute warn_unused_result [-Wunused-result] + chdir( get_user_base_dir("logs", temp_base_dir, sizeof(temp_base_dir)) ); + ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +main.c:22224:9: warning: ignoring return value of 'chdir', declared with attribute warn_unused_result [-Wunused-result] + chdir( get_user_base_dir("", temp_base_dir, sizeof(temp_base_dir)) ); + ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +main.c: In function 'gps_transfer_thread': +main.c:16064:1: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] + system(temp); + ^~~~~~~~~~~~ +In file included from main.c:175: +main.c: In function 'main': +objects.h:70:1: warning: ignoring return value of 'seteuid', declared with attribute warn_unused_result [-Wunused-result] + seteuid(getuid()); \ + ^~~~~~~~~~~~~~~~~ +main.c:27460:5: note: in expansion of macro 'DISABLE_SETUID_PRIVILEGE' + DISABLE_SETUID_PRIVILEGE; + ^~~~~~~~~~~~~~~~~~~~~~~~ +objects.h:71:1: warning: ignoring return value of 'setegid', declared with attribute warn_unused_result [-Wunused-result] + setegid(getgid()); \ + ^~~~~~~~~~~~~~~~~ +main.c:27460:5: note: in expansion of macro 'DISABLE_SETUID_PRIVILEGE' + DISABLE_SETUID_PRIVILEGE; + ^~~~~~~~~~~~~~~~~~~~~~~~ messages.c: In function 'output_message': messages.c:743:22: warning: '%s' directive output may be truncated writing up to 73 bytes into a region of size 68 [-Wformat-truncation=] "%s", @@ -3894,6 +3910,27 @@ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/GraphicsMagick -I/usr/local/include -I/usr/include/geotiff -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/gdal -DXASTIR_DATA_BASE=\"/usr/share/xastir\" -fopenmp -g -O2 -fdebug-prefix-map=/build/graphicsmagick-FG5eMj/graphicsmagick-1.4+really1.3.35=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pthread -ffile-prefix-map=/build/xastir-2.1.0=. -pipe -Wpointer-arith -Wstrict-prototypes -Wno-unused-parameter -c -o rotated.o rotated.c +messages.c: In function 'check_delayed_transmit_queue': +messages.c:1107:22: warning: '%s' directive output may be truncated writing up to 512 bytes into a region of size 200 [-Wformat-truncation=] + "%s", + ^~ + new_path); + ~~~~~~~~ +In file included from /usr/include/stdio.h:873, + from snprintf.h:27, + from messages.c:28: +/usr/include/x86_64-linux-gnu/bits/stdio2.h:67:10: note: '__builtin_snprintf' output between 1 and 513 bytes into a destination of size 200 + return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, + ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + __bos (__s), __fmt, __va_arg_pack ()); + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +rac_data.c: In function 'search_rac_data': +rac_data.c:209:11: warning: variable 'rc' set but not used [-Wunused-but-set-variable] + char *rc; + ^~ +gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/GraphicsMagick -I/usr/local/include -I/usr/include/geotiff -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/gdal -DXASTIR_DATA_BASE=\"/usr/share/xastir\" -fopenmp -g -O2 -fdebug-prefix-map=/build/graphicsmagick-FG5eMj/graphicsmagick-1.4+really1.3.35=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pthread -ffile-prefix-map=/build/xastir-2.1.0=. -pipe -Wpointer-arith -Wstrict-prototypes -Wno-unused-parameter -c -o rpl_malloc.o rpl_malloc.c +gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/GraphicsMagick -I/usr/local/include -I/usr/include/geotiff -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/gdal -DXASTIR_DATA_BASE=\"/usr/share/xastir\" -fopenmp -g -O2 -fdebug-prefix-map=/build/graphicsmagick-FG5eMj/graphicsmagick-1.4+really1.3.35=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pthread -ffile-prefix-map=/build/xastir-2.1.0=. -pipe -Wpointer-arith -Wstrict-prototypes -Wno-unused-parameter -c -o shp_hash.o shp_hash.c rac_data.c:231:60: warning: '%s' directive output may be truncated writing up to 31 bytes into a region of size 16 [-Wformat-truncation=] xastir_snprintf(char_offset, sizeof(char_offset), "%s", &index[6]); ^~ @@ -3914,55 +3951,23 @@ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/GraphicsMagick -I/usr/local/include -I/usr/include/geotiff -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/gdal -DXASTIR_DATA_BASE=\"/usr/share/xastir\" -fopenmp -g -O2 -fdebug-prefix-map=/build/graphicsmagick-FG5eMj/graphicsmagick-1.4+really1.3.35=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pthread -ffile-prefix-map=/build/xastir-2.1.0=. -pipe -Wpointer-arith -Wstrict-prototypes -Wno-unused-parameter -c -o shp_hash.o shp_hash.c gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/GraphicsMagick -I/usr/local/include -I/usr/include/geotiff -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/gdal -DXASTIR_DATA_BASE=\"/usr/share/xastir\" -fopenmp -g -O2 -fdebug-prefix-map=/build/graphicsmagick-FG5eMj/graphicsmagick-1.4+really1.3.35=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pthread -ffile-prefix-map=/build/xastir-2.1.0=. -pipe -Wpointer-arith -Wstrict-prototypes -Wno-unused-parameter -c -o snprintf.o snprintf.c -gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/GraphicsMagick -I/usr/local/include -I/usr/include/geotiff -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/gdal -DXASTIR_DATA_BASE=\"/usr/share/xastir\" -fopenmp -g -O2 -fdebug-prefix-map=/build/graphicsmagick-FG5eMj/graphicsmagick-1.4+really1.3.35=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pthread -ffile-prefix-map=/build/xastir-2.1.0=. -pipe -Wpointer-arith -Wstrict-prototypes -Wno-unused-parameter -c -o sound.o sound.c -messages.c: In function 'check_delayed_transmit_queue': -messages.c:1107:22: warning: '%s' directive output may be truncated writing up to 512 bytes into a region of size 200 [-Wformat-truncation=] - "%s", - ^~ - new_path); - ~~~~~~~~ -In file included from /usr/include/stdio.h:873, - from snprintf.h:27, - from messages.c:28: -/usr/include/x86_64-linux-gnu/bits/stdio2.h:67:10: note: '__builtin_snprintf' output between 1 and 513 bytes into a destination of size 200 - return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, - ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - __bos (__s), __fmt, __va_arg_pack ()); - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -main.c: In function 'Flush_Entire_Map_Queue': -main.c:1943:17: warning: '%s' directive output may be truncated writing up to 255 bytes into a region of size between 0 and 1999 [-Wformat-truncation=] - "%s/%s", - ^~ +maps.c: In function 'map_search': +maps.c:6222:50: warning: '%s' directive output may be truncated writing up to 255 bytes into a region of size 64 [-Wformat-truncation=] + "%s", + ^~ In file included from /usr/include/stdio.h:873, from snprintf.h:27, - from main.c:38: -/usr/include/x86_64-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 2 and 2256 bytes into a destination of size 2000 + from maps.c:32: +/usr/include/x86_64-linux-gnu/bits/stdio2.h:67:10: note: '__builtin_snprintf' output between 1 and 256 bytes into a destination of size 64 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/GraphicsMagick -I/usr/local/include -I/usr/include/geotiff -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/gdal -DXASTIR_DATA_BASE=\"/usr/share/xastir\" -fopenmp -g -O2 -fdebug-prefix-map=/build/graphicsmagick-FG5eMj/graphicsmagick-1.4+really1.3.35=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pthread -ffile-prefix-map=/build/xastir-2.1.0=. -pipe -Wpointer-arith -Wstrict-prototypes -Wno-unused-parameter -c -o sound.o sound.c gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/GraphicsMagick -I/usr/local/include -I/usr/include/geotiff -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/gdal -DXASTIR_DATA_BASE=\"/usr/share/xastir\" -fopenmp -g -O2 -fdebug-prefix-map=/build/graphicsmagick-FG5eMj/graphicsmagick-1.4+really1.3.35=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pthread -ffile-prefix-map=/build/xastir-2.1.0=. -pipe -Wpointer-arith -Wstrict-prototypes -Wno-unused-parameter -c -o tile_mgmnt.o tile_mgmnt.c gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/GraphicsMagick -I/usr/local/include -I/usr/include/geotiff -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/gdal -DXASTIR_DATA_BASE=\"/usr/share/xastir\" -fopenmp -g -O2 -fdebug-prefix-map=/build/graphicsmagick-FG5eMj/graphicsmagick-1.4+really1.3.35=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pthread -ffile-prefix-map=/build/xastir-2.1.0=. -pipe -Wpointer-arith -Wstrict-prototypes -Wno-unused-parameter -c -o track_gui.o track_gui.c gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/GraphicsMagick -I/usr/local/include -I/usr/include/geotiff -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/gdal -DXASTIR_DATA_BASE=\"/usr/share/xastir\" -fopenmp -g -O2 -fdebug-prefix-map=/build/graphicsmagick-FG5eMj/graphicsmagick-1.4+really1.3.35=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pthread -ffile-prefix-map=/build/xastir-2.1.0=. -pipe -Wpointer-arith -Wstrict-prototypes -Wno-unused-parameter -c -o util.o util.c -sound.c: In function 'play_sound': -sound.c:87:27: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] - (void)system(command); // Note we're not caring about whether it succeeded or not - ^~~~~~~~~~~~~~~ -gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/GraphicsMagick -I/usr/local/include -I/usr/include/geotiff -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/gdal -DXASTIR_DATA_BASE=\"/usr/share/xastir\" -fopenmp -g -O2 -fdebug-prefix-map=/build/graphicsmagick-FG5eMj/graphicsmagick-1.4+really1.3.35=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pthread -ffile-prefix-map=/build/xastir-2.1.0=. -pipe -Wpointer-arith -Wstrict-prototypes -Wno-unused-parameter -c -o view_message_gui.o view_message_gui.c -main.c: In function 'TrackMouse': -main.c:3812:72: warning: '__builtin___snprintf_chk' output may be truncated before the last format character [-Wformat-truncation=] - xastir_snprintf(temp_my_course, sizeof(temp_my_course), "%s\xB0",temp1_my_course); - ^ -In file included from /usr/include/stdio.h:873, - from snprintf.h:27, - from main.c:38: -/usr/include/x86_64-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 2 and 21 bytes into a destination of size 20 - return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, - ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - __bos (__s), __fmt, __va_arg_pack ()); - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ objects.c: In function 'Create_object_item_tx_string': objects.c:440:82: warning: '%s' directive output may be truncated writing up to 49 bytes into a region of size 10 [-Wformat-truncation=] xastir_snprintf(p_station->call_sign, sizeof(p_station->call_sign), "%s ",tempstr); @@ -4078,13 +4083,13 @@ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +sound.c: In function 'play_sound': +sound.c:87:27: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] + (void)system(command); // Note we're not caring about whether it succeeded or not + ^~~~~~~~~~~~~~~ +gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/GraphicsMagick -I/usr/local/include -I/usr/include/geotiff -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/gdal -DXASTIR_DATA_BASE=\"/usr/share/xastir\" -fopenmp -g -O2 -fdebug-prefix-map=/build/graphicsmagick-FG5eMj/graphicsmagick-1.4+really1.3.35=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pthread -ffile-prefix-map=/build/xastir-2.1.0=. -pipe -Wpointer-arith -Wstrict-prototypes -Wno-unused-parameter -c -o view_message_gui.o view_message_gui.c gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/GraphicsMagick -I/usr/local/include -I/usr/include/geotiff -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/gdal -DXASTIR_DATA_BASE=\"/usr/share/xastir\" -fopenmp -g -O2 -fdebug-prefix-map=/build/graphicsmagick-FG5eMj/graphicsmagick-1.4+really1.3.35=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pthread -ffile-prefix-map=/build/xastir-2.1.0=. -pipe -Wpointer-arith -Wstrict-prototypes -Wno-unused-parameter -c -o wx.o wx.c gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/GraphicsMagick -I/usr/local/include -I/usr/include/geotiff -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/gdal -DXASTIR_DATA_BASE=\"/usr/share/xastir\" -fopenmp -g -O2 -fdebug-prefix-map=/build/graphicsmagick-FG5eMj/graphicsmagick-1.4+really1.3.35=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pthread -ffile-prefix-map=/build/xastir-2.1.0=. -pipe -Wpointer-arith -Wstrict-prototypes -Wno-unused-parameter -c -o wx_gui.o wx_gui.c -gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/GraphicsMagick -I/usr/local/include -I/usr/include/geotiff -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/gdal -DXASTIR_DATA_BASE=\"/usr/share/xastir\" -fopenmp -g -O2 -fdebug-prefix-map=/build/graphicsmagick-FG5eMj/graphicsmagick-1.4+really1.3.35=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pthread -ffile-prefix-map=/build/xastir-2.1.0=. -pipe -Wpointer-arith -Wstrict-prototypes -Wno-unused-parameter -c -o x_spider.o x_spider.c -tile_mgmnt.c: In function 'mkOSMmapDirs': -tile_mgmnt.c:319:10: warning: unused variable 'errmsg' [-Wunused-variable] - char errmsg[1024]; - ^~~~~~ track_gui.c: In function 'findu_transfer_thread': track_gui.c:497:5: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] system(sys_cmd); @@ -4113,6 +4118,11 @@ track_gui.c:556:5: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] system(sys_cmd); ^~~~~~~~~~~~~~~ +tile_mgmnt.c: In function 'mkOSMmapDirs': +tile_mgmnt.c:319:10: warning: unused variable 'errmsg' [-Wunused-variable] + char errmsg[1024]; + ^~~~~~ +gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/GraphicsMagick -I/usr/local/include -I/usr/include/geotiff -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/gdal -DXASTIR_DATA_BASE=\"/usr/share/xastir\" -fopenmp -g -O2 -fdebug-prefix-map=/build/graphicsmagick-FG5eMj/graphicsmagick-1.4+really1.3.35=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pthread -ffile-prefix-map=/build/xastir-2.1.0=. -pipe -Wpointer-arith -Wstrict-prototypes -Wno-unused-parameter -c -o x_spider.o x_spider.c util.c: In function 'phg_decode': util.c:966:9: warning: variable 'len' set but not used [-Wunused-but-set-variable] int len; @@ -4125,10 +4135,6 @@ util.c:1320:9: warning: variable 'len' set but not used [-Wunused-but-set-variable] int len; ^~~ -util.c: In function 'valid_call': -util.c:4416:17: warning: variable 'has_num' set but not used [-Wunused-but-set-variable] - int i, del, has_num, has_chr; - ^~~~~~~ track_gui.c: In function 'Download_trail_now': track_gui.c:666:10: warning: '%s' directive output may be truncated writing up to 299 bytes into a region of size 200 [-Wformat-truncation=] "%s/map.log", @@ -4143,10 +4149,37 @@ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/GraphicsMagick -I/usr/local/include -I/usr/include/geotiff -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/gdal -DXASTIR_DATA_BASE=\"/usr/share/xastir\" -fopenmp -g -O2 -fdebug-prefix-map=/build/graphicsmagick-FG5eMj/graphicsmagick-1.4+really1.3.35=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pthread -ffile-prefix-map=/build/xastir-2.1.0=. -pipe -Wpointer-arith -Wstrict-prototypes -Wno-unused-parameter -c -o xa_config.o xa_config.c +view_message_gui.c: In function 'view_message_print_record': +view_message_gui.c:146:20: warning: '__builtin_snprintf' output may be truncated before the last format character [-Wformat-truncation=] + "%s", + ^ +In file included from /usr/include/stdio.h:873, + from snprintf.h:27, + from view_message_gui.c:28: +/usr/include/x86_64-linux-gnu/bits/stdio2.h:67:10: note: '__builtin_snprintf' output between 1 and 10 bytes into a destination of size 9 + return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, + ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + __bos (__s), __fmt, __va_arg_pack ()); + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +util.c: In function 'valid_call': +util.c:4416:17: warning: variable 'has_num' set but not used [-Wunused-but-set-variable] + int i, del, has_num, has_chr; + ^~~~~~~ +rm -f compiledate.c compiledate.o +echo 'char compiledate[] = "'"Compiled: `date`"'";' > compiledate.c util.c: In function 'get_line': util.c:1489:11: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] (void)fgets(linedata, maxline, f); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +if test -n "$SOURCE_DATE_EPOCH"; then \ + echo 'char compiledate[] = "'"Compiled: `LC_ALL=C date --utc --date="@$SOURCE_DATE_EPOCH"`"'";' > compiledate.c; \ +fi +wx.c: In function 'decode_U2000_L': +wx.c:537:10: warning: variable 'format' set but not used [-Wunused-but-set-variable] + char format; + ^~~~~~ +gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/GraphicsMagick -I/usr/local/include -I/usr/include/geotiff -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/gdal -DXASTIR_DATA_BASE=\"/usr/share/xastir\" -fopenmp -g -O2 -fdebug-prefix-map=/build/graphicsmagick-FG5eMj/graphicsmagick-1.4+really1.3.35=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pthread -ffile-prefix-map=/build/xastir-2.1.0=. -pipe -Wpointer-arith -Wstrict-prototypes -Wno-unused-parameter -c -o xastir_udp_client.o xastir_udp_client.c In file included from util.c:61: util.c: In function 'log_data': main.h:448:1: warning: ignoring return value of 'seteuid', declared with attribute warn_unused_result [-Wunused-result] @@ -4173,6 +4206,234 @@ util.c:3941:13: note: in expansion of macro 'ENABLE_SETUID_PRIVILEGE' ENABLE_SETUID_PRIVILEGE; ^~~~~~~~~~~~~~~~~~~~~~~ +echo 'char gitstring[] = "'"`../scripts/XastirGitStamp.sh ..`"'";' >> compiledate.c +wx.c: In function 'wx_fill_data': +wx.c:1115:10: warning: variable 'format' set but not used [-Wunused-but-set-variable] + char format; + ^~~~~~ +gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/GraphicsMagick -I/usr/local/include -I/usr/include/geotiff -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/gdal -DXASTIR_DATA_BASE=\"/usr/share/xastir\" -fopenmp -g -O2 -fdebug-prefix-map=/build/graphicsmagick-FG5eMj/graphicsmagick-1.4+really1.3.35=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pthread -ffile-prefix-map=/build/xastir-2.1.0=. -pipe -Wpointer-arith -Wstrict-prototypes -Wno-unused-parameter -c -o testdbfawk.o testdbfawk.c +view_message_gui.c: In function 'all_messages': +view_message_gui.c:259:20: warning: '__builtin_snprintf' output may be truncated before the last format character [-Wformat-truncation=] + "%s", + ^ +In file included from /usr/include/stdio.h:873, + from snprintf.h:27, + from view_message_gui.c:28: +/usr/include/x86_64-linux-gnu/bits/stdio2.h:67:10: note: '__builtin_snprintf' output between 1 and 10 bytes into a destination of size 9 + return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, + ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + __bos (__s), __fmt, __va_arg_pack ()); + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +view_message_gui.c:317:37: warning: '%s' directive output may be truncated writing up to 96 bytes into a region of size between 93 and 189 [-Wformat-truncation=] + "%s to %s via:%c\t%s%s\n", + ^~ +view_message_gui.c:322:17: + data2); + ~~~~~ +In file included from /usr/include/stdio.h:873, + from snprintf.h:27, + from view_message_gui.c:28: +/usr/include/x86_64-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 13 or more bytes (assuming 205) into a destination of size 200 + return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, + ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + __bos (__s), __fmt, __va_arg_pack ()); + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/GraphicsMagick -I/usr/local/include -I/usr/include/geotiff -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/gdal -DXASTIR_DATA_BASE=\"/usr/share/xastir\" -fopenmp -g -O2 -fdebug-prefix-map=/build/graphicsmagick-FG5eMj/graphicsmagick-1.4+really1.3.35=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pthread -ffile-prefix-map=/build/xastir-2.1.0=. -pipe -Wpointer-arith -Wstrict-prototypes -Wno-unused-parameter -c -o compiledate.o compiledate.c +wx_gui.c: In function 'WX_station': +wx_gui.c:804:13: warning: variable 'sts' set but not used [-Wunused-but-set-variable] + sts; + ^~~ +wx_gui.c:803:22: warning: variable 'low_temp' set but not used [-Wunused-but-set-variable] + hi_temp, low_temp, + ^~~~~~~~ +wx_gui.c:799:23: warning: variable 'humidity_n' set but not used [-Wunused-but-set-variable] + humidity, humidity_n, + ^~~~~~~~~~ +wx_gui.c:799:13: warning: variable 'humidity' set but not used [-Wunused-but-set-variable] + humidity, humidity_n, + ^~~~~~~~ +wx_gui.c:797:38: warning: variable 'wind_deg' set but not used [-Wunused-but-set-variable] + WX_type, temp, wind_cse, wind_deg, wind_spd, wind_gst, + ^~~~~~~~ +main.c: In function 'Flush_Entire_Map_Queue': +main.c:1943:17: warning: '%s' directive output may be truncated writing up to 255 bytes into a region of size between 0 and 1999 [-Wformat-truncation=] + "%s/%s", + ^~ +In file included from /usr/include/stdio.h:873, + from snprintf.h:27, + from main.c:38: +/usr/include/x86_64-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 2 and 2256 bytes into a destination of size 2000 + return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, + ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + __bos (__s), __fmt, __va_arg_pack ()); + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +interface.c: In function 'output_my_aprs_data': +interface.c:8462:24: warning: '%s' directive output may be truncated writing up to 80 bytes into a region of size 71 [-Wformat-truncation=] + "EMERGENCY %s", + ^~ + my_comment); + ~~~~~~~~~~ +In file included from /usr/include/stdio.h:873, + from snprintf.h:27, + from interface.c:34: +/usr/include/x86_64-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 11 and 91 bytes into a destination of size 81 + return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, + ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + __bos (__s), __fmt, __va_arg_pack ()); + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +interface.c:8782:24: warning: '%s' directive output may be truncated writing up to 516 bytes into a region of size between 262 and 517 [-Wformat-truncation=] + "%s%s", + ^~ +interface.c:8784:21: + data_txt_save); + ~~~~~~~~~~~~~ +In file included from /usr/include/stdio.h:873, + from snprintf.h:27, + from interface.c:34: +/usr/include/x86_64-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 1 and 772 bytes into a destination of size 517 + return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, + ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + __bos (__s), __fmt, __va_arg_pack ()); + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +interface.c:9193:31: warning: '%s' directive output may be truncated writing up to 516 bytes into a region of size between 496 and 514 [-Wformat-truncation=] + "%s>%s,%s:%s", + ^~ +interface.c:9197:21: + data_txt); + ~~~~~~~~ +In file included from /usr/include/stdio.h:873, + from snprintf.h:27, + from interface.c:34: +/usr/include/x86_64-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 4 or more bytes (assuming 538) into a destination of size 517 + return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, + ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + __bos (__s), __fmt, __va_arg_pack ()); + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +interface.c:9246:67: warning: '%s' directive output may be truncated writing up to 516 bytes into a region of size between 490 and 508 [-Wformat-truncation=] + xastir_snprintf(data_txt, sizeof(data_txt), "%s>%s,TCPIP*:%s", my_callsign, + ^~ + VERSIONFRM, data_txt_save); + ~~~~~~~~~~~~~ +In file included from /usr/include/stdio.h:873, + from snprintf.h:27, + from interface.c:34: +/usr/include/x86_64-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 10 and 544 bytes into a destination of size 517 + return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, + ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + __bos (__s), __fmt, __va_arg_pack ()); + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +interface.c:9257:67: warning: '%s' directive output may be truncated writing up to 516 bytes into a region of size between 490 and 508 [-Wformat-truncation=] + xastir_snprintf(data_txt, sizeof(data_txt), "%s>%s,TCPIP*:%s", my_callsign, + ^~ + VERSIONFRM, data_txt_save); + ~~~~~~~~~~~~~ +In file included from /usr/include/stdio.h:873, + from snprintf.h:27, + from interface.c:34: +/usr/include/x86_64-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 10 and 544 bytes into a destination of size 517 + return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, + ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + __bos (__s), __fmt, __va_arg_pack ()); + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +interface.c:9283:60: warning: '%s' directive output may be truncated writing up to 516 bytes into a region of size between 1 and 517 [-Wformat-truncation=] + xastir_snprintf(data_txt, sizeof(data_txt), "%s%s", header_txt_save, data_txt_save); + ^~ ~~~~~~~~~~~~~ +In file included from /usr/include/stdio.h:873, + from snprintf.h:27, + from interface.c:34: +/usr/include/x86_64-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 1 and 1033 bytes into a destination of size 517 + return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, + ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + __bos (__s), __fmt, __va_arg_pack ()); + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +xa_config.c: In function 'load_data_or_default': +xa_config.c:1421:58: warning: zero-length gnu_printf format string [-Wformat-zero-length] + xastir_snprintf (my_comment, sizeof(my_comment), ""); + ^~ +gcc -fopenmp -g -O2 -fdebug-prefix-map=/build/graphicsmagick-FG5eMj/graphicsmagick-1.4+really1.3.35=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pthread -ffile-prefix-map=/build/xastir-2.1.0=. -pipe -Wpointer-arith -Wstrict-prototypes -Wno-unused-parameter -Wl,--no-keep-memory -L/usr/lib -Wl,-z,relro -Wl,-z,now -L/usr/lib/X11 -L/usr/local/lib -lgdal -o xastir_udp_client xastir_udp_client.o -lXm -lXt -lX11 -lGraphicsMagick -ljbig -lwebp -lwebpmux -llcms2 -ltiff -lfreetype -ljpeg -lpng16 -lwmflite -lXext -lSM -lICE -lX11 -llzma -lbz2 -lxml2 -lz -lzstd -lm -lpthread -lgomp -ldb -lrt -lXm -lXt -lXext -lm -lSM -lICE -lX11 -lcurl -lproj -lshp -lpcre -ltiff -lgeotiff -lax25 -lgdal +main.c: In function 'TrackMouse': +main.c:3812:72: warning: '__builtin___snprintf_chk' output may be truncated before the last format character [-Wformat-truncation=] + xastir_snprintf(temp_my_course, sizeof(temp_my_course), "%s\xB0",temp1_my_course); + ^ +In file included from /usr/include/stdio.h:873, + from snprintf.h:27, + from main.c:38: +/usr/include/x86_64-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 2 and 21 bytes into a destination of size 20 + return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, + ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + __bos (__s), __fmt, __va_arg_pack ()); + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +gcc -fopenmp -g -O2 -fdebug-prefix-map=/build/graphicsmagick-FG5eMj/graphicsmagick-1.4+really1.3.35=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pthread -ffile-prefix-map=/build/xastir-2.1.0=. -pipe -Wpointer-arith -Wstrict-prototypes -Wno-unused-parameter -Wl,--no-keep-memory -L/usr/lib -Wl,-z,relro -Wl,-z,now -L/usr/lib/X11 -L/usr/local/lib -lgdal -o testdbfawk testdbfawk.o awk.o dbfawk.o rpl_malloc.o -lXm -lXt -lX11 -lGraphicsMagick -ljbig -lwebp -lwebpmux -llcms2 -ltiff -lfreetype -ljpeg -lpng16 -lwmflite -lXext -lSM -lICE -lX11 -llzma -lbz2 -lxml2 -lz -lzstd -lm -lpthread -lgomp -ldb -lrt -lXm -lXt -lXext -lm -lSM -lICE -lX11 -lcurl -lproj -lshp -lpcre -ltiff -lgeotiff -lax25 -lgdal +objects.c: In function 'Setup_object_data': +objects.c:4503:65: warning: '%06ld' directive output may be truncated writing between 6 and 11 bytes into a region of size 7 [-Wformat-truncation=] + xastir_snprintf(altitude, sizeof(altitude), "/A=%06ld", temp2); + ^~~~~ +objects.c:4503:61: note: directive argument in the range [-2147483648, 2147483647] + xastir_snprintf(altitude, sizeof(altitude), "/A=%06ld", temp2); + ^~~~~~~~~~ +In file included from /usr/include/stdio.h:873, + from snprintf.h:27, + from objects.c:29: +/usr/include/x86_64-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 10 and 15 bytes into a destination of size 10 + return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, + ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + __bos (__s), __fmt, __va_arg_pack ()); + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +objects.c:4518:80: warning: '%02d' directive output may be truncated writing between 2 and 11 bytes into a region of size 3 [-Wformat-truncation=] + xastir_snprintf(complete_area_color, sizeof(complete_area_color), "%02d", + ^~~~ +objects.c:4518:79: note: directive argument in the range [-2147483640, 2147483647] + xastir_snprintf(complete_area_color, sizeof(complete_area_color), "%02d", + ^~~~~~ +In file included from /usr/include/stdio.h:873, + from snprintf.h:27, + from objects.c:29: +/usr/include/x86_64-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 3 and 12 bytes into a destination of size 3 + return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, + ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + __bos (__s), __fmt, __va_arg_pack ()); + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +x_spider.c: In function 'UDP_Server': +x_spider.c:1456:46: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 512 [-Wformat-truncation=] + xastir_snprintf(buf2, sizeof(buf2), "%s", buf); + ^~ ~~~ +In file included from /usr/include/stdio.h:873, + from snprintf.h:27, + from x_spider.c:108: +/usr/include/x86_64-linux-gnu/bits/stdio2.h:67:10: note: '__builtin_snprintf' output between 1 and 1024 bytes into a destination of size 512 + return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, + ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + __bos (__s), __fmt, __va_arg_pack ()); + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +util.c: In function 'shg_decode': +util.c:1292:44: warning: '%s' directive output may be truncated writing up to 63 bytes into a region of size between 51 and 59 [-Wformat-truncation=] + "%.1fm %s, %ddB%s, %s: %.1fkm, %s", + ^~ +util.c:1299:13: + signal); + ~~~~~~ +In file included from /usr/include/stdio.h:873, + from snprintf.h:27, + from util.c:29: +/usr/include/x86_64-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 22 or more bytes (assuming 93) into a destination of size 80 + return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, + ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + __bos (__s), __fmt, __va_arg_pack ()); + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +util.c:1281:45: warning: '%s' directive output may be truncated writing up to 63 bytes into a region of size between 52 and 60 [-Wformat-truncation=] + "%.0fft %s, %ddB%s, %s: %.1fmi, %s", + ^~ +util.c:1288:13: + signal); + ~~~~~~ +In file included from /usr/include/stdio.h:873, + from snprintf.h:27, + from util.c:29: +/usr/include/x86_64-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 21 or more bytes (assuming 92) into a destination of size 80 + return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, + ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + __bos (__s), __fmt, __va_arg_pack ()); + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c: In function 'gps_transfer_thread': main.c:15900:26: warning: '%s' directive output may be truncated writing up to 299 bytes into a region of size 84 [-Wformat-truncation=] "Shapefile dim=2 %s/", @@ -4201,18 +4462,6 @@ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -view_message_gui.c: In function 'view_message_print_record': -view_message_gui.c:146:20: warning: '__builtin_snprintf' output may be truncated before the last format character [-Wformat-truncation=] - "%s", - ^ -In file included from /usr/include/stdio.h:873, - from snprintf.h:27, - from view_message_gui.c:28: -/usr/include/x86_64-linux-gnu/bits/stdio2.h:67:10: note: '__builtin_snprintf' output between 1 and 10 bytes into a destination of size 9 - return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, - ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - __bos (__s), __fmt, __va_arg_pack ()); - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:15995:35: warning: '%s' directive output may be truncated writing up to 1999 bytes into a region of size between 289 and 487 [-Wformat-truncation=] "%s getwrite WP %s%s", ^~ @@ -4255,16 +4504,11 @@ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -wx.c: In function 'decode_U2000_L': -wx.c:537:10: warning: variable 'format' set but not used [-Wunused-but-set-variable] - char format; - ^~~~~~ -gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/GraphicsMagick -I/usr/local/include -I/usr/include/geotiff -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/gdal -DXASTIR_DATA_BASE=\"/usr/share/xastir\" -fopenmp -g -O2 -fdebug-prefix-map=/build/graphicsmagick-FG5eMj/graphicsmagick-1.4+really1.3.35=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pthread -ffile-prefix-map=/build/xastir-2.1.0=. -pipe -Wpointer-arith -Wstrict-prototypes -Wno-unused-parameter -c -o xa_config.o xa_config.c -wx.c: In function 'wx_fill_data': -wx.c:1115:10: warning: variable 'format' set but not used [-Wunused-but-set-variable] - char format; - ^~~~~~ +objects.c: In function 'Setup_item_data': main.c: In function 'GPS_operations_change_data': +objects.c:5297:65: warning: '%06ld' directive output may be truncated writing between 6 and 11 bytes into a region of size 7 [-Wformat-truncation=] + xastir_snprintf(altitude, sizeof(altitude), "/A=%06ld",temp2); + ^~~~~ main.c:15322:17: warning: '%s' directive output may be truncated writing up to 29 bytes into a region of size between 0 and 1999 [-Wformat-truncation=] "%s_%s_%s.shp", ^~ @@ -4279,6 +4523,20 @@ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +objects.c:5297:61: note: directive argument in the range [-2147483648, 2147483647] + xastir_snprintf(altitude, sizeof(altitude), "/A=%06ld",temp2); + ^~~~~~~~~~ +In file included from /usr/include/stdio.h:873, + from snprintf.h:27, + from objects.c:29: +/usr/include/x86_64-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 10 and 15 bytes into a destination of size 10 + return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, + ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + __bos (__s), __fmt, __va_arg_pack ()); + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +objects.c:5310:80: warning: '%02d' directive output may be truncated writing between 2 and 11 bytes into a region of size 3 [-Wformat-truncation=] + xastir_snprintf(complete_area_color, sizeof(complete_area_color), "%02d", + ^~~~ main.c:15330:17: warning: '%s' directive output may be truncated writing up to 29 bytes into a region of size between 0 and 1999 [-Wformat-truncation=] "%s_%s_%s", ^~ @@ -4293,6 +4551,17 @@ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +objects.c:5310:79: note: directive argument in the range [-2147483640, 2147483647] + xastir_snprintf(complete_area_color, sizeof(complete_area_color), "%02d", + ^~~~~~ +In file included from /usr/include/stdio.h:873, + from snprintf.h:27, + from objects.c:29: +/usr/include/x86_64-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 3 and 12 bytes into a destination of size 3 + return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, + ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + __bos (__s), __fmt, __va_arg_pack ()); + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:15338:17: warning: '%s' directive output may be truncated writing up to 29 bytes into a region of size between 0 and 1999 [-Wformat-truncation=] "%s_%s", ^~ @@ -4335,57 +4604,65 @@ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -rm -f compiledate.c compiledate.o -view_message_gui.c: In function 'all_messages': -view_message_gui.c:259:20: warning: '__builtin_snprintf' output may be truncated before the last format character [-Wformat-truncation=] - "%s", - ^ +wx.c: In function 'decode_Peet_Bros': +wx.c:1024:14: warning: '%03d' directive output may be truncated writing between 3 and 11 bytes into a region of size 5 [-Wformat-truncation=] + "%03d", + ^~~~ +wx.c:1024:13: note: directive argument in the range [-2147483648, 2147483591] + "%03d", + ^~~~~~ In file included from /usr/include/stdio.h:873, from snprintf.h:27, - from view_message_gui.c:28: -/usr/include/x86_64-linux-gnu/bits/stdio2.h:67:10: note: '__builtin_snprintf' output between 1 and 10 bytes into a destination of size 9 + from wx.c:57: +/usr/include/x86_64-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 4 and 12 bytes into a destination of size 5 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -view_message_gui.c:317:37: warning: '%s' directive output may be truncated writing up to 96 bytes into a region of size between 93 and 189 [-Wformat-truncation=] - "%s to %s via:%c\t%s%s\n", - ^~ -view_message_gui.c:322:17: - data2); - ~~~~~ +wx.c: In function 'wx_fill_data': +wx.c:1357:22: warning: '%03d' directive output may be truncated writing between 3 and 11 bytes into a region of size 5 [-Wformat-truncation=] + "%03d", + ^~~~ +wx.c:1357:21: note: directive argument in the range [-2147483648, 2147483591] + "%03d", + ^~~~~~ In file included from /usr/include/stdio.h:873, from snprintf.h:27, - from view_message_gui.c:28: -/usr/include/x86_64-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 13 or more bytes (assuming 205) into a destination of size 200 + from wx.c:57: +/usr/include/x86_64-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 4 and 12 bytes into a destination of size 5 + return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, + ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + __bos (__s), __fmt, __va_arg_pack ()); + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +wx.c:2585:34: warning: '%01d' directive output may be truncated writing between 1 and 2 bytes into a region of size between 1 and 2 [-Wformat-truncation=] + "%02d%01d", + ^~~~ +wx.c:2585:29: note: directive argument in the range [0, 15] + "%02d%01d", + ^~~~~~~~~~ +In file included from /usr/include/stdio.h:873, + from snprintf.h:27, + from wx.c:57: +/usr/include/x86_64-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 4 and 6 bytes into a destination of size 4 + return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, + ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + __bos (__s), __fmt, __va_arg_pack ()); + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +objects.c: In function 'Populate_predefined_objects': +objects.c:6892:34: warning: '%s' directive output may be truncated writing up to 262 bytes into a region of size 242 [-Wformat-truncation=] + "Loading from %s/%s \n", + ^~ +objects.c:6898:17: + predefined_object_definition_file); + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from /usr/include/stdio.h:873, + from snprintf.h:27, + from objects.c:29: +/usr/include/x86_64-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 17 or more bytes (assuming 279) into a destination of size 256 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -echo 'char compiledate[] = "'"Compiled: `date`"'";' > compiledate.c -if test -n "$SOURCE_DATE_EPOCH"; then \ - echo 'char compiledate[] = "'"Compiled: `LC_ALL=C date --utc --date="@$SOURCE_DATE_EPOCH"`"'";' > compiledate.c; \ -fi -gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/GraphicsMagick -I/usr/local/include -I/usr/include/geotiff -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/gdal -DXASTIR_DATA_BASE=\"/usr/share/xastir\" -fopenmp -g -O2 -fdebug-prefix-map=/build/graphicsmagick-FG5eMj/graphicsmagick-1.4+really1.3.35=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pthread -ffile-prefix-map=/build/xastir-2.1.0=. -pipe -Wpointer-arith -Wstrict-prototypes -Wno-unused-parameter -c -o xastir_udp_client.o xastir_udp_client.c -wx_gui.c: In function 'WX_station': -wx_gui.c:804:13: warning: variable 'sts' set but not used [-Wunused-but-set-variable] - sts; - ^~~ -wx_gui.c:803:22: warning: variable 'low_temp' set but not used [-Wunused-but-set-variable] - hi_temp, low_temp, - ^~~~~~~~ -wx_gui.c:799:23: warning: variable 'humidity_n' set but not used [-Wunused-but-set-variable] - humidity, humidity_n, - ^~~~~~~~~~ -wx_gui.c:799:13: warning: variable 'humidity' set but not used [-Wunused-but-set-variable] - humidity, humidity_n, - ^~~~~~~~ -wx_gui.c:797:38: warning: variable 'wind_deg' set but not used [-Wunused-but-set-variable] - WX_type, temp, wind_cse, wind_deg, wind_spd, wind_gst, - ^~~~~~~~ -echo 'char gitstring[] = "'"`../scripts/XastirGitStamp.sh ..`"'";' >> compiledate.c -gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/GraphicsMagick -I/usr/local/include -I/usr/include/geotiff -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/gdal -DXASTIR_DATA_BASE=\"/usr/share/xastir\" -fopenmp -g -O2 -fdebug-prefix-map=/build/graphicsmagick-FG5eMj/graphicsmagick-1.4+really1.3.35=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pthread -ffile-prefix-map=/build/xastir-2.1.0=. -pipe -Wpointer-arith -Wstrict-prototypes -Wno-unused-parameter -c -o testdbfawk.o testdbfawk.c -gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/GraphicsMagick -I/usr/local/include -I/usr/include/geotiff -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/gdal -DXASTIR_DATA_BASE=\"/usr/share/xastir\" -fopenmp -g -O2 -fdebug-prefix-map=/build/graphicsmagick-FG5eMj/graphicsmagick-1.4+really1.3.35=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pthread -ffile-prefix-map=/build/xastir-2.1.0=. -pipe -Wpointer-arith -Wstrict-prototypes -Wno-unused-parameter -c -o compiledate.o compiledate.c main.c: In function 'Coordinate_calc_output': main.c:2181:14: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 4 [-Wformat-truncation=] "%s", @@ -4441,35 +4718,34 @@ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -xa_config.c: In function 'load_data_or_default': -xa_config.c:1421:58: warning: zero-length gnu_printf format string [-Wformat-zero-length] - xastir_snprintf (my_comment, sizeof(my_comment), ""); - ^~ -util.c: In function 'shg_decode': -util.c:1292:44: warning: '%s' directive output may be truncated writing up to 63 bytes into a region of size between 51 and 59 [-Wformat-truncation=] - "%.1fm %s, %ddB%s, %s: %.1fkm, %s", - ^~ -util.c:1299:13: - signal); - ~~~~~~ +util.c: In function 'convert_lat_s2l': +util.c:4668:36: warning: '%s' directive output may be truncated writing up to 14 bytes into a region of size 3 [-Wformat-truncation=] +util.c:2716:19: + substr(n, copy, 2); // degrees + ~~~~ +util.c:4668:36: + xastir_snprintf(dest, size+1, "%s", src); + ^~ In file included from /usr/include/stdio.h:873, from snprintf.h:27, from util.c:29: -/usr/include/x86_64-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 22 or more bytes (assuming 93) into a destination of size 80 +/usr/include/x86_64-linux-gnu/bits/stdio2.h:67:10: note: '__builtin_snprintf' output between 1 and 15 bytes into a destination of size 3 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -util.c:1281:45: warning: '%s' directive output may be truncated writing up to 63 bytes into a region of size between 52 and 60 [-Wformat-truncation=] - "%.0fft %s, %ddB%s, %s: %.1fmi, %s", - ^~ -util.c:1288:13: - signal); - ~~~~~~ +util.c: In function 'convert_lon_s2l': +util.c:4668:36: warning: '%s' directive output may be truncated writing up to 15 bytes into a region of size 4 [-Wformat-truncation=] +util.c:2834:18: + substr(n,copy,3); // degrees 013 + ~~~~ +util.c:4668:36: + xastir_snprintf(dest, size+1, "%s", src); + ^~ In file included from /usr/include/stdio.h:873, from snprintf.h:27, from util.c:29: -/usr/include/x86_64-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 21 or more bytes (assuming 92) into a destination of size 80 +/usr/include/x86_64-linux-gnu/bits/stdio2.h:67:10: note: '__builtin_snprintf' output between 1 and 16 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); @@ -4486,80 +4762,6 @@ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -objects.c: In function 'Setup_object_data': -objects.c:4503:65: warning: '%06ld' directive output may be truncated writing between 6 and 11 bytes into a region of size 7 [-Wformat-truncation=] - xastir_snprintf(altitude, sizeof(altitude), "/A=%06ld", temp2); - ^~~~~ -objects.c:4503:61: note: directive argument in the range [-2147483648, 2147483647] - xastir_snprintf(altitude, sizeof(altitude), "/A=%06ld", temp2); - ^~~~~~~~~~ -In file included from /usr/include/stdio.h:873, - from snprintf.h:27, - from objects.c:29: -/usr/include/x86_64-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 10 and 15 bytes into a destination of size 10 - return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, - ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - __bos (__s), __fmt, __va_arg_pack ()); - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -objects.c:4518:80: warning: '%02d' directive output may be truncated writing between 2 and 11 bytes into a region of size 3 [-Wformat-truncation=] - xastir_snprintf(complete_area_color, sizeof(complete_area_color), "%02d", - ^~~~ -objects.c:4518:79: note: directive argument in the range [-2147483640, 2147483647] - xastir_snprintf(complete_area_color, sizeof(complete_area_color), "%02d", - ^~~~~~ -In file included from /usr/include/stdio.h:873, - from snprintf.h:27, - from objects.c:29: -/usr/include/x86_64-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 3 and 12 bytes into a destination of size 3 - return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, - ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - __bos (__s), __fmt, __va_arg_pack ()); - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -x_spider.c: In function 'UDP_Server': -x_spider.c:1456:46: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 512 [-Wformat-truncation=] - xastir_snprintf(buf2, sizeof(buf2), "%s", buf); - ^~ ~~~ -In file included from /usr/include/stdio.h:873, - from snprintf.h:27, - from x_spider.c:108: -/usr/include/x86_64-linux-gnu/bits/stdio2.h:67:10: note: '__builtin_snprintf' output between 1 and 1024 bytes into a destination of size 512 - return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, - ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - __bos (__s), __fmt, __va_arg_pack ()); - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -gcc -fopenmp -g -O2 -fdebug-prefix-map=/build/graphicsmagick-FG5eMj/graphicsmagick-1.4+really1.3.35=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pthread -ffile-prefix-map=/build/xastir-2.1.0=. -pipe -Wpointer-arith -Wstrict-prototypes -Wno-unused-parameter -Wl,--no-keep-memory -L/usr/lib -Wl,-z,relro -Wl,-z,now -L/usr/lib/X11 -L/usr/local/lib -lgdal -o xastir_udp_client xastir_udp_client.o -lXm -lXt -lX11 -lGraphicsMagick -ljbig -lwebp -lwebpmux -llcms2 -ltiff -lfreetype -ljpeg -lpng16 -lwmflite -lXext -lSM -lICE -lX11 -llzma -lbz2 -lxml2 -lz -lzstd -lm -lpthread -lgomp -ldb -lrt -lXm -lXt -lXext -lm -lSM -lICE -lX11 -lcurl -lproj -lshp -lpcre -ltiff -lgeotiff -lax25 -lgdal -gcc -fopenmp -g -O2 -fdebug-prefix-map=/build/graphicsmagick-FG5eMj/graphicsmagick-1.4+really1.3.35=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pthread -ffile-prefix-map=/build/xastir-2.1.0=. -pipe -Wpointer-arith -Wstrict-prototypes -Wno-unused-parameter -Wl,--no-keep-memory -L/usr/lib -Wl,-z,relro -Wl,-z,now -L/usr/lib/X11 -L/usr/local/lib -lgdal -o testdbfawk testdbfawk.o awk.o dbfawk.o rpl_malloc.o -lXm -lXt -lX11 -lGraphicsMagick -ljbig -lwebp -lwebpmux -llcms2 -ltiff -lfreetype -ljpeg -lpng16 -lwmflite -lXext -lSM -lICE -lX11 -llzma -lbz2 -lxml2 -lz -lzstd -lm -lpthread -lgomp -ldb -lrt -lXm -lXt -lXext -lm -lSM -lICE -lX11 -lcurl -lproj -lshp -lpcre -ltiff -lgeotiff -lax25 -lgdal -wx.c: In function 'decode_Peet_Bros': -wx.c:1024:14: warning: '%03d' directive output may be truncated writing between 3 and 11 bytes into a region of size 5 [-Wformat-truncation=] - "%03d", - ^~~~ -wx.c:1024:13: note: directive argument in the range [-2147483648, 2147483591] - "%03d", - ^~~~~~ -In file included from /usr/include/stdio.h:873, - from snprintf.h:27, - from wx.c:57: -/usr/include/x86_64-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 4 and 12 bytes into a destination of size 5 - return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, - ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - __bos (__s), __fmt, __va_arg_pack ()); - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -util.c: In function 'convert_lat_s2l': -util.c:4668:36: warning: '%s' directive output may be truncated writing up to 14 bytes into a region of size 3 [-Wformat-truncation=] -util.c:2716:19: - substr(n, copy, 2); // degrees - ~~~~ -util.c:4668:36: - xastir_snprintf(dest, size+1, "%s", src); - ^~ -In file included from /usr/include/stdio.h:873, - from snprintf.h:27, - from util.c:29: -/usr/include/x86_64-linux-gnu/bits/stdio2.h:67:10: note: '__builtin_snprintf' output between 1 and 15 bytes into a destination of size 3 - return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, - ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - __bos (__s), __fmt, __va_arg_pack ()); - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c: In function 'display_zoom_status': main.c:4113:52: warning: '%ld' directive output may be truncated writing between 1 and 16 bytes into a region of size 6 [-Wformat-truncation=] xastir_snprintf(siz_str, sizeof(siz_str), "%ldk", scale_y/1024); @@ -4589,22 +4791,6 @@ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -util.c: In function 'convert_lon_s2l': -util.c:4668:36: warning: '%s' directive output may be truncated writing up to 15 bytes into a region of size 4 [-Wformat-truncation=] -util.c:2834:18: - substr(n,copy,3); // degrees 013 - ~~~~ -util.c:4668:36: - xastir_snprintf(dest, size+1, "%s", src); - ^~ -In file included from /usr/include/stdio.h:873, - from snprintf.h:27, - from util.c:29: -/usr/include/x86_64-linux-gnu/bits/stdio2.h:67:10: note: '__builtin_snprintf' output between 1 and 16 bytes into a destination of size 4 - return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, - ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - __bos (__s), __fmt, __va_arg_pack ()); - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c: In function 'Load_station_font': main.c:4508:32: warning: '%s' directive output may be truncated writing up to 255 bytes into a region of size 82 [-Wformat-truncation=] "Couldn't get font %s. Loading default font instead.", @@ -4619,169 +4805,47 @@ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -objects.c: In function 'Setup_item_data': -objects.c:5297:65: warning: '%06ld' directive output may be truncated writing between 6 and 11 bytes into a region of size 7 [-Wformat-truncation=] - xastir_snprintf(altitude, sizeof(altitude), "/A=%06ld",temp2); - ^~~~~ -objects.c:5297:61: note: directive argument in the range [-2147483648, 2147483647] - xastir_snprintf(altitude, sizeof(altitude), "/A=%06ld",temp2); - ^~~~~~~~~~ +main.c: In function 'Help_About': +main.c:17610:52: warning: ', Version ' directive output may be truncated writing 10 bytes into a region of size between 0 and 199 [-Wformat-truncation=] + xastir_snprintf(string2, sizeof(string2), "\n%s, Version %0.2f", string1, version); + ^~~~~~~~~~ +main.c:17610:47: note: assuming directive output of 4 bytes + xastir_snprintf(string2, sizeof(string2), "\n%s, Version %0.2f", string1, version); + ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:873, from snprintf.h:27, - from objects.c:29: -/usr/include/x86_64-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 10 and 15 bytes into a destination of size 10 + from main.c:38: +/usr/include/x86_64-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 15 and 524 bytes into a destination of size 200 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -objects.c:5310:80: warning: '%02d' directive output may be truncated writing between 2 and 11 bytes into a region of size 3 [-Wformat-truncation=] - xastir_snprintf(complete_area_color, sizeof(complete_area_color), "%02d", - ^~~~ -objects.c:5310:79: note: directive argument in the range [-2147483640, 2147483647] - xastir_snprintf(complete_area_color, sizeof(complete_area_color), "%02d", - ^~~~~~ +objects.c: In function 'Create_SAR_Object': +objects.c:7332:16: warning: '%d' directive output may be truncated writing between 1 and 10 bytes into a region of size between 1 and 10 [-Wformat-truncation=] + "%s%d", + ^~ +objects.c:7332:13: note: directive argument in the range [2, 2147483647] + "%s%d", + ^~~~~~ In file included from /usr/include/stdio.h:873, from snprintf.h:27, from objects.c:29: -/usr/include/x86_64-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 3 and 12 bytes into a destination of size 3 - return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, - ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - __bos (__s), __fmt, __va_arg_pack ()); - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -wx.c: In function 'wx_fill_data': -wx.c:1357:22: warning: '%03d' directive output may be truncated writing between 3 and 11 bytes into a region of size 5 [-Wformat-truncation=] - "%03d", - ^~~~ -wx.c:1357:21: note: directive argument in the range [-2147483648, 2147483591] - "%03d", - ^~~~~~ -In file included from /usr/include/stdio.h:873, - from snprintf.h:27, - from wx.c:57: -/usr/include/x86_64-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 4 and 12 bytes into a destination of size 5 - return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, - ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - __bos (__s), __fmt, __va_arg_pack ()); - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -wx.c:2585:34: warning: '%01d' directive output may be truncated writing between 1 and 2 bytes into a region of size between 1 and 2 [-Wformat-truncation=] - "%02d%01d", - ^~~~ -wx.c:2585:29: note: directive argument in the range [0, 15] - "%02d%01d", - ^~~~~~~~~~ -In file included from /usr/include/stdio.h:873, - from snprintf.h:27, - from wx.c:57: -/usr/include/x86_64-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 4 and 6 bytes into a destination of size 4 - return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, - ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - __bos (__s), __fmt, __va_arg_pack ()); - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -interface.c: In function 'output_my_aprs_data': -interface.c:8462:24: warning: '%s' directive output may be truncated writing up to 80 bytes into a region of size 71 [-Wformat-truncation=] - "EMERGENCY %s", - ^~ - my_comment); - ~~~~~~~~~~ -In file included from /usr/include/stdio.h:873, - from snprintf.h:27, - from interface.c:34: -/usr/include/x86_64-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 11 and 91 bytes into a destination of size 81 - return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, - ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - __bos (__s), __fmt, __va_arg_pack ()); - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -interface.c:8782:24: warning: '%s' directive output may be truncated writing up to 516 bytes into a region of size between 262 and 517 [-Wformat-truncation=] - "%s%s", - ^~ -interface.c:8784:21: - data_txt_save); - ~~~~~~~~~~~~~ -In file included from /usr/include/stdio.h:873, - from snprintf.h:27, - from interface.c:34: -/usr/include/x86_64-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 1 and 772 bytes into a destination of size 517 - return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, - ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - __bos (__s), __fmt, __va_arg_pack ()); - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -interface.c:9193:31: warning: '%s' directive output may be truncated writing up to 516 bytes into a region of size between 496 and 514 [-Wformat-truncation=] - "%s>%s,%s:%s", - ^~ -interface.c:9197:21: - data_txt); - ~~~~~~~~ -In file included from /usr/include/stdio.h:873, - from snprintf.h:27, - from interface.c:34: -/usr/include/x86_64-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 4 or more bytes (assuming 538) into a destination of size 517 - return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, - ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - __bos (__s), __fmt, __va_arg_pack ()); - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -interface.c:9246:67: warning: '%s' directive output may be truncated writing up to 516 bytes into a region of size between 490 and 508 [-Wformat-truncation=] - xastir_snprintf(data_txt, sizeof(data_txt), "%s>%s,TCPIP*:%s", my_callsign, - ^~ - VERSIONFRM, data_txt_save); - ~~~~~~~~~~~~~ -In file included from /usr/include/stdio.h:873, - from snprintf.h:27, - from interface.c:34: -/usr/include/x86_64-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 10 and 544 bytes into a destination of size 517 - return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, - ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - __bos (__s), __fmt, __va_arg_pack ()); - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -interface.c:9257:67: warning: '%s' directive output may be truncated writing up to 516 bytes into a region of size between 490 and 508 [-Wformat-truncation=] - xastir_snprintf(data_txt, sizeof(data_txt), "%s>%s,TCPIP*:%s", my_callsign, - ^~ - VERSIONFRM, data_txt_save); - ~~~~~~~~~~~~~ -In file included from /usr/include/stdio.h:873, - from snprintf.h:27, - from interface.c:34: -/usr/include/x86_64-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 10 and 544 bytes into a destination of size 517 - return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, - ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - __bos (__s), __fmt, __va_arg_pack ()); - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -interface.c:9283:60: warning: '%s' directive output may be truncated writing up to 516 bytes into a region of size between 1 and 517 [-Wformat-truncation=] - xastir_snprintf(data_txt, sizeof(data_txt), "%s%s", header_txt_save, data_txt_save); - ^~ ~~~~~~~~~~~~~ -In file included from /usr/include/stdio.h:873, - from snprintf.h:27, - from interface.c:34: -/usr/include/x86_64-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 1 and 1033 bytes into a destination of size 517 +/usr/include/x86_64-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 2 and 20 bytes into a destination of size 10 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -objects.c: In function 'Populate_predefined_objects': -objects.c:6892:34: warning: '%s' directive output may be truncated writing up to 262 bytes into a region of size 242 [-Wformat-truncation=] - "Loading from %s/%s \n", - ^~ -objects.c:6898:17: - predefined_object_definition_file); - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +objects.c: In function 'reload_object_item': +objects.c:11079:28: warning: '%s' directive output may be truncated writing up to 300 bytes into a region of size between 281 and 299 [-Wformat-truncation=] + "%s>%s:%s", + ^~ +objects.c:11082:21: + line); + ~~~~ In file included from /usr/include/stdio.h:873, from snprintf.h:27, from objects.c:29: -/usr/include/x86_64-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 17 or more bytes (assuming 279) into a destination of size 256 - return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, - ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - __bos (__s), __fmt, __va_arg_pack ()); - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -main.c: In function 'Help_About': -main.c:17610:52: warning: ', Version ' directive output may be truncated writing 10 bytes into a region of size between 0 and 199 [-Wformat-truncation=] - xastir_snprintf(string2, sizeof(string2), "\n%s, Version %0.2f", string1, version); - ^~~~~~~~~~ -main.c:17610:47: note: assuming directive output of 4 bytes - xastir_snprintf(string2, sizeof(string2), "\n%s, Version %0.2f", string1, version); - ^~~~~~~~~~~~~~~~~~~~~ -In file included from /usr/include/stdio.h:873, - from snprintf.h:27, - from main.c:38: -/usr/include/x86_64-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 15 and 524 bytes into a destination of size 200 +/usr/include/x86_64-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 3 and 321 bytes into a destination of size 301 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); @@ -4843,36 +4907,6 @@ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -objects.c: In function 'Create_SAR_Object': -objects.c:7332:16: warning: '%d' directive output may be truncated writing between 1 and 10 bytes into a region of size between 1 and 10 [-Wformat-truncation=] - "%s%d", - ^~ -objects.c:7332:13: note: directive argument in the range [2, 2147483647] - "%s%d", - ^~~~~~ -In file included from /usr/include/stdio.h:873, - from snprintf.h:27, - from objects.c:29: -/usr/include/x86_64-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 2 and 20 bytes into a destination of size 10 - return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, - ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - __bos (__s), __fmt, __va_arg_pack ()); - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -objects.c: In function 'reload_object_item': -objects.c:11079:28: warning: '%s' directive output may be truncated writing up to 300 bytes into a region of size between 281 and 299 [-Wformat-truncation=] - "%s>%s:%s", - ^~ -objects.c:11082:21: - line); - ~~~~ -In file included from /usr/include/stdio.h:873, - from snprintf.h:27, - from objects.c:29: -/usr/include/x86_64-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 3 and 321 bytes into a destination of size 301 - return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, - ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - __bos (__s), __fmt, __va_arg_pack ()); - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ db.c: In function 'decode_ax25_header': db.c:18064:10: warning: '%s' directive output may be truncated writing up to 611 bytes into a region of size 512 [-Wformat-truncation=] "%s", @@ -5052,7 +5086,7 @@ make[2]: Leaving directory '/build/xastir-2.1.0' make[1]: Leaving directory '/build/xastir-2.1.0' dh_auto_test - make -j15 check VERBOSE=1 + make -j16 check VERBOSE=1 make[1]: Entering directory '/build/xastir-2.1.0' Making check in src make[2]: Entering directory '/build/xastir-2.1.0/src' @@ -5105,7 +5139,7 @@ dh_prep dh_installdirs dh_auto_install - make -j15 install DESTDIR=/build/xastir-2.1.0/debian/tmp AM_UPDATE_INFO_DIR=no + make -j16 install DESTDIR=/build/xastir-2.1.0/debian/tmp AM_UPDATE_INFO_DIR=no make[1]: Entering directory '/build/xastir-2.1.0' Making install in src make[2]: Entering directory '/build/xastir-2.1.0/src' @@ -5153,8 +5187,8 @@ make install-exec-hook make[4]: Entering directory '/build/xastir-2.1.0/config' rm -f /build/xastir-2.1.0/debian/tmp/usr/share/xastir/config/nwsfz_ddmmyy.dbfawk - /bin/mkdir -p '/build/xastir-2.1.0/debian/tmp/usr/share/xastir/config' make[4]: Leaving directory '/build/xastir-2.1.0/config' + /bin/mkdir -p '/build/xastir-2.1.0/debian/tmp/usr/share/xastir/config' /usr/bin/install -c -m 644 language-Dutch.sys language-English.sys language-French.sys language-German.sys language-Italian.sys language-Portuguese.sys language-Spanish.sys language-ElmerFudd.sys language-MuppetsChef.sys language-OldeEnglish.sys language-PigLatin.sys language-PirateEnglish.sys xastir.rgb gps_wpt.dbfawk 24kgrid.dbfawk stored_track.dbfawk tgr2shp.dbfawk tgr2shppoly.dbfawk tgr2shppoly_2006.dbfawk tgrcty.dbfawk tgrkgl.dbfawk tgrlk.dbfawk tgrlpt.dbfawk tgrlpy.dbfawk tgrplc00.dbfawk tgrwat.dbfawk nwsc_ddmmyy.dbfawk nwsc_ddmmyy_09.dbfawk nwsc_ddmmyy_09b.dbfawk nwsc_ddmmyy_10.dbfawk nwsc_ddmmyy_10a.dbfawk nwsc_ddmmyy_13.dbfawk nwsc_ddmmyy_15.dbfawk nwsmzddmmyy.dbfawk nwsmzddmmyy_09.dbfawk nwsmzddmmyy_11.dbfawk nwsmzddmmyy_16.dbfawk nwsmzddmmyy_17.dbfawk nwsmzoddmmyy.dbfawk nwsozddmmyy.dbfawk '/build/xastir-2.1.0/debian/tmp/usr/share/xastir/config' /usr/bin/install -c -m 644 nwsozddmmyy_09.dbfawk nwsozddmmyy_14.dbfawk nwsozddap12.dbfawk nwsw_ddmmyy.dbfawk nwsw_ddmmyy_09.dbfawk nwsw_ddmmyy_10.dbfawk nwsw_ddmmyy_13.dbfawk nwsw_ddmmyy_14.dbfawk nwsw_ddmmyy_14a.dbfawk nwsw_ddmmyy_17.dbfawk nwsw_ddjn12.dbfawk nwsz_ddmmyy.dbfawk nwsz_ddmmyy_09.dbfawk nwsz_ddmmyy_10.dbfawk nwsz_ddmmyy_10b.dbfawk nwsz_ddmmyy_10c.dbfawk nwsz_ddmmyy_11.dbfawk nwsz_ddmmyy_13.dbfawk nwsz1ddmmyy.dbfawk nwszoddmmyy.dbfawk nwshzddmmyy.dbfawk OSM_Cloudmade_administrative.dbfawk OSM_Cloudmade_highway.dbfawk OSM_Cloudmade_natural.dbfawk OSM_Cloudmade_poi.dbfawk OSM_Cloudmade_water_and_coastline.dbfawk OSM_geofabrik_roads.dbfawk OSM_geofabrik_waterways.dbfawk predefined_EVENT.sys predefined_SAR.sys tl_2009_aiannh.dbfawk tl_2009_aits.dbfawk tl_2009_arealm.dbfawk tl_2009_areawater.dbfawk tl_2009_county.dbfawk tl_2009_cousub.dbfawk tl_2009_edges.dbfawk tl_2009_mil.dbfawk tl_2009_nn_county.dbfawk tl_2009_pointlm.dbfawk '/build/xastir-2.1.0/debian/tmp/usr/share/xastir/config' /usr/bin/install -c -m 644 tl_2009_zcta5.dbfawk tnc-startup.aea tnc-startup.d700 tnc-startup.d72_d710 tnc-startup.kam tnc-startup.kpc2 tnc-startup.kpc3 tnc-startup.null tnc-startup.paccomm tnc-startup.pico tnc-startup.sys tnc-startup.thd7 tnc-startup.tnc2 tnc-startup.tnc2-ui tnc-stop.d700 tnc-stop.d72_d710 tnc-stop.sys tnc-stop.thd7 tnc-stop.tnc2-ui areawater.dbfawk arealm.dbfawk tabblock.dbfawk cousub.dbfawk cousub00.dbfawk edge.dbfawk featnames.dbfawk pointlm.dbfawk gfe_public_weather.dbfawk gfe_metro_areas.dbfawk gfe_fire_weather.dbfawk gfe_coastal_waters_warnings.dbfawk gfe_coastal_waters.dbfawk '/build/xastir-2.1.0/debian/tmp/usr/share/xastir/config' @@ -5201,31 +5235,31 @@ make[2]: Entering directory '/build/xastir-2.1.0' make[3]: Entering directory '/build/xastir-2.1.0' make install-exec-hook -make[4]: Entering directory '/build/xastir-2.1.0' -rm -rf /build/xastir-2.1.0/debian/tmp/usr/share/xastir/doc /bin/mkdir -p '/build/xastir-2.1.0/debian/tmp/usr/share/xastir/Counties' -make[4]: Leaving directory '/build/xastir-2.1.0' /bin/mkdir -p '/build/xastir-2.1.0/debian/tmp/usr/share/doc/xastir' /bin/mkdir -p '/build/xastir-2.1.0/debian/tmp/usr/share/xastir/fcc' +make[4]: Entering directory '/build/xastir-2.1.0' +rm -rf /build/xastir-2.1.0/debian/tmp/usr/share/xastir/doc /bin/mkdir -p '/build/xastir-2.1.0/debian/tmp/usr/share/xastir/maps/Online/geogratis.gc.ca' - /usr/bin/install -c -m 644 placeholder '/build/xastir-2.1.0/debian/tmp/usr/share/xastir/fcc' +make[4]: Leaving directory '/build/xastir-2.1.0' /bin/mkdir -p '/build/xastir-2.1.0/debian/tmp/usr/share/xastir/GNIS' /bin/mkdir -p '/build/xastir-2.1.0/debian/tmp/usr/share/xastir/maps/GPS' /usr/bin/install -c -m 644 placeholder '/build/xastir-2.1.0/debian/tmp/usr/share/xastir/Counties' /bin/mkdir -p '/build/xastir-2.1.0/debian/tmp/usr/share/man/man1' + /bin/mkdir -p '/build/xastir-2.1.0/debian/tmp/usr/share/xastir/maps' /usr/bin/install -c -m 644 National.geo Regional.geo Sub_national.geo Sub_regional.geo '/build/xastir-2.1.0/debian/tmp/usr/share/xastir/maps/Online/geogratis.gc.ca' - /usr/bin/install -c -m 644 placeholder '/build/xastir-2.1.0/debian/tmp/usr/share/xastir/maps/GPS' + /usr/bin/install -c -m 644 placeholder '/build/xastir-2.1.0/debian/tmp/usr/share/xastir/fcc' /usr/bin/install -c -m 644 placeholder '/build/xastir-2.1.0/debian/tmp/usr/share/xastir/GNIS' - /bin/mkdir -p '/build/xastir-2.1.0/debian/tmp/usr/share/xastir/maps' - /usr/bin/install -c -m 644 AUTHORS FAQ ChangeLog LICENSE README README.GIT README.CYGWIN README.MAPS README.sudo COPYING INSTALL UPGRADE README.Getting-Started README.OSM_maps CONTRIBUTING.md COPYING.LIB.LESSTIF '/build/xastir-2.1.0/debian/tmp/usr/share/doc/xastir' - /usr/bin/install -c -m 644 xastir.1 callpass.1 xastir_udp_client.1 testdbfawk.1 '/build/xastir-2.1.0/debian/tmp/usr/share/man/man1' + /usr/bin/install -c -m 644 placeholder '/build/xastir-2.1.0/debian/tmp/usr/share/xastir/maps/GPS' /bin/mkdir -p '/build/xastir-2.1.0/debian/tmp/usr/share/xastir/maps/Online/nationalmap.gov' /usr/bin/install -c -m 644 worldhi.map CC_OpenStreetMap_logo.png CC_OpenStreetMap_txt.png '/build/xastir-2.1.0/debian/tmp/usr/share/xastir/maps' /bin/mkdir -p '/build/xastir-2.1.0/debian/tmp/usr/share/xastir/maps/Online' /bin/mkdir -p '/build/xastir-2.1.0/debian/tmp/usr/share/xastir/sounds' - /usr/bin/install -c -m 644 Aerial.geo Contours.geo Hydrography.geo ShadedRelief.geo Topo1-10.geo TopoRelief1-7.geo Transportation.geo '/build/xastir-2.1.0/debian/tmp/usr/share/xastir/maps/Online/nationalmap.gov' + /usr/bin/install -c -m 644 AUTHORS FAQ ChangeLog LICENSE README README.GIT README.CYGWIN README.MAPS README.sudo COPYING INSTALL UPGRADE README.Getting-Started README.OSM_maps CONTRIBUTING.md COPYING.LIB.LESSTIF '/build/xastir-2.1.0/debian/tmp/usr/share/doc/xastir' + /usr/bin/install -c -m 644 xastir.1 callpass.1 xastir_udp_client.1 testdbfawk.1 '/build/xastir-2.1.0/debian/tmp/usr/share/man/man1' /usr/bin/install -c -m 644 placeholder '/build/xastir-2.1.0/debian/tmp/usr/share/xastir/sounds' /usr/bin/install -c -m 644 OSM_tiled_cycle.geo OSM_tiled_mapnik.geo OSM_tiled_fosm.geo '/build/xastir-2.1.0/debian/tmp/usr/share/xastir/maps/Online' + /usr/bin/install -c -m 644 Aerial.geo Contours.geo Hydrography.geo ShadedRelief.geo Topo1-10.geo TopoRelief1-7.geo Transportation.geo '/build/xastir-2.1.0/debian/tmp/usr/share/xastir/maps/Online/nationalmap.gov' make install-data-hook make[4]: Entering directory '/build/xastir-2.1.0' echo cd /build/xastir-2.1.0/debian/tmp/usr/share/xastir/maps && \ @@ -5279,32 +5313,32 @@ dh_strip dh_makeshlibs dh_shlibdeps -dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/xastir/usr/bin/callpass debian/xastir/usr/bin/xastir_udp_client debian/xastir/usr/bin/xastir debian/xastir/usr/bin/testdbfawk were not linked against libfreetype.so.6 (they use none of the library's symbols) -dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/xastir/usr/bin/callpass debian/xastir/usr/bin/xastir_udp_client debian/xastir/usr/bin/xastir debian/xastir/usr/bin/testdbfawk were not linked against libbz2.so.1.0 (they use none of the library's symbols) -dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/xastir/usr/bin/callpass debian/xastir/usr/bin/xastir_udp_client debian/xastir/usr/bin/xastir debian/xastir/usr/bin/testdbfawk were not linked against librt.so.1 (they use none of the library's symbols) -dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/xastir/usr/bin/callpass debian/xastir/usr/bin/xastir_udp_client debian/xastir/usr/bin/xastir debian/xastir/usr/bin/testdbfawk were not linked against libxml2.so.2 (they use none of the library's symbols) -dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/xastir/usr/bin/callpass debian/xastir/usr/bin/xastir_udp_client debian/xastir/usr/bin/xastir debian/xastir/usr/bin/testdbfawk were not linked against libpng16.so.16 (they use none of the library's symbols) -dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/xastir/usr/bin/callpass debian/xastir/usr/bin/xastir_udp_client debian/xastir/usr/bin/xastir debian/xastir/usr/bin/testdbfawk were not linked against libICE.so.6 (they use none of the library's symbols) -dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/xastir/usr/bin/callpass debian/xastir/usr/bin/xastir_udp_client debian/xastir/usr/bin/xastir debian/xastir/usr/bin/testdbfawk were not linked against liblcms2.so.2 (they use none of the library's symbols) -dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/xastir/usr/bin/callpass debian/xastir/usr/bin/xastir_udp_client debian/xastir/usr/bin/xastir debian/xastir/usr/bin/testdbfawk were not linked against libXext.so.6 (they use none of the library's symbols) -dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/xastir/usr/bin/callpass debian/xastir/usr/bin/xastir_udp_client debian/xastir/usr/bin/xastir debian/xastir/usr/bin/testdbfawk were not linked against liblzma.so.5 (they use none of the library's symbols) -dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/xastir/usr/bin/callpass debian/xastir/usr/bin/xastir_udp_client debian/xastir/usr/bin/xastir debian/xastir/usr/bin/testdbfawk were not linked against libwebpmux.so.3 (they use none of the library's symbols) -dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/xastir/usr/bin/callpass debian/xastir/usr/bin/xastir_udp_client debian/xastir/usr/bin/xastir debian/xastir/usr/bin/testdbfawk were not linked against libgomp.so.1 (they use none of the library's symbols) -dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/xastir/usr/bin/callpass debian/xastir/usr/bin/xastir_udp_client debian/xastir/usr/bin/xastir debian/xastir/usr/bin/testdbfawk were not linked against libzstd.so.1 (they use none of the library's symbols) -dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/xastir/usr/bin/callpass debian/xastir/usr/bin/xastir_udp_client debian/xastir/usr/bin/xastir debian/xastir/usr/bin/testdbfawk were not linked against libwebp.so.6 (they use none of the library's symbols) -dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/xastir/usr/bin/callpass debian/xastir/usr/bin/xastir_udp_client debian/xastir/usr/bin/xastir debian/xastir/usr/bin/testdbfawk were not linked against libz.so.1 (they use none of the library's symbols) -dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/xastir/usr/bin/callpass debian/xastir/usr/bin/xastir_udp_client debian/xastir/usr/bin/xastir debian/xastir/usr/bin/testdbfawk were not linked against libwmflite-0.2.so.7 (they use none of the library's symbols) -dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/xastir/usr/bin/callpass debian/xastir/usr/bin/xastir_udp_client debian/xastir/usr/bin/xastir debian/xastir/usr/bin/testdbfawk were not linked against libjpeg.so.62 (they use none of the library's symbols) -dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/xastir/usr/bin/callpass debian/xastir/usr/bin/xastir_udp_client debian/xastir/usr/bin/xastir debian/xastir/usr/bin/testdbfawk were not linked against libSM.so.6 (they use none of the library's symbols) -dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/xastir/usr/bin/callpass debian/xastir/usr/bin/xastir_udp_client debian/xastir/usr/bin/xastir debian/xastir/usr/bin/testdbfawk were not linked against libjbig.so.0 (they use none of the library's symbols) +dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/xastir/usr/bin/callpass debian/xastir/usr/bin/testdbfawk debian/xastir/usr/bin/xastir debian/xastir/usr/bin/xastir_udp_client were not linked against libwebp.so.6 (they use none of the library's symbols) +dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/xastir/usr/bin/callpass debian/xastir/usr/bin/testdbfawk debian/xastir/usr/bin/xastir debian/xastir/usr/bin/xastir_udp_client were not linked against libwmflite-0.2.so.7 (they use none of the library's symbols) +dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/xastir/usr/bin/callpass debian/xastir/usr/bin/testdbfawk debian/xastir/usr/bin/xastir debian/xastir/usr/bin/xastir_udp_client were not linked against libXext.so.6 (they use none of the library's symbols) +dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/xastir/usr/bin/callpass debian/xastir/usr/bin/testdbfawk debian/xastir/usr/bin/xastir debian/xastir/usr/bin/xastir_udp_client were not linked against libSM.so.6 (they use none of the library's symbols) +dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/xastir/usr/bin/callpass debian/xastir/usr/bin/testdbfawk debian/xastir/usr/bin/xastir debian/xastir/usr/bin/xastir_udp_client were not linked against libjbig.so.0 (they use none of the library's symbols) +dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/xastir/usr/bin/callpass debian/xastir/usr/bin/testdbfawk debian/xastir/usr/bin/xastir debian/xastir/usr/bin/xastir_udp_client were not linked against liblcms2.so.2 (they use none of the library's symbols) +dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/xastir/usr/bin/callpass debian/xastir/usr/bin/testdbfawk debian/xastir/usr/bin/xastir debian/xastir/usr/bin/xastir_udp_client were not linked against libpng16.so.16 (they use none of the library's symbols) +dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/xastir/usr/bin/callpass debian/xastir/usr/bin/testdbfawk debian/xastir/usr/bin/xastir debian/xastir/usr/bin/xastir_udp_client were not linked against libzstd.so.1 (they use none of the library's symbols) +dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/xastir/usr/bin/callpass debian/xastir/usr/bin/testdbfawk debian/xastir/usr/bin/xastir debian/xastir/usr/bin/xastir_udp_client were not linked against libwebpmux.so.3 (they use none of the library's symbols) +dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/xastir/usr/bin/callpass debian/xastir/usr/bin/testdbfawk debian/xastir/usr/bin/xastir debian/xastir/usr/bin/xastir_udp_client were not linked against libICE.so.6 (they use none of the library's symbols) +dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/xastir/usr/bin/callpass debian/xastir/usr/bin/testdbfawk debian/xastir/usr/bin/xastir debian/xastir/usr/bin/xastir_udp_client were not linked against libjpeg.so.62 (they use none of the library's symbols) +dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/xastir/usr/bin/callpass debian/xastir/usr/bin/testdbfawk debian/xastir/usr/bin/xastir debian/xastir/usr/bin/xastir_udp_client were not linked against libz.so.1 (they use none of the library's symbols) +dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/xastir/usr/bin/callpass debian/xastir/usr/bin/testdbfawk debian/xastir/usr/bin/xastir debian/xastir/usr/bin/xastir_udp_client were not linked against libbz2.so.1.0 (they use none of the library's symbols) +dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/xastir/usr/bin/callpass debian/xastir/usr/bin/testdbfawk debian/xastir/usr/bin/xastir debian/xastir/usr/bin/xastir_udp_client were not linked against liblzma.so.5 (they use none of the library's symbols) +dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/xastir/usr/bin/callpass debian/xastir/usr/bin/testdbfawk debian/xastir/usr/bin/xastir debian/xastir/usr/bin/xastir_udp_client were not linked against libgomp.so.1 (they use none of the library's symbols) +dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/xastir/usr/bin/callpass debian/xastir/usr/bin/testdbfawk debian/xastir/usr/bin/xastir debian/xastir/usr/bin/xastir_udp_client were not linked against libxml2.so.2 (they use none of the library's symbols) +dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/xastir/usr/bin/callpass debian/xastir/usr/bin/testdbfawk debian/xastir/usr/bin/xastir debian/xastir/usr/bin/xastir_udp_client were not linked against librt.so.1 (they use none of the library's symbols) +dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/xastir/usr/bin/callpass debian/xastir/usr/bin/testdbfawk debian/xastir/usr/bin/xastir debian/xastir/usr/bin/xastir_udp_client were not linked against libfreetype.so.6 (they use none of the library's symbols) dh_installdeb dh_gencontrol dpkg-gencontrol: warning: Depends field of package xastir-data: substitution variable ${shlibs:Depends} used, but is not defined dpkg-gencontrol: warning: package xastir-data: substitution variable ${perl:Depends} unused, but is defined dh_md5sums dh_builddeb -dpkg-deb: building package 'xastir-data' in '../xastir-data_2.1.0-5_amd64.deb'. dpkg-deb: building package 'xastir-dbgsym' in '../xastir-dbgsym_2.1.0-5_amd64.deb'. +dpkg-deb: building package 'xastir-data' in '../xastir-data_2.1.0-5_amd64.deb'. dpkg-deb: building package 'xastir' in '../xastir_2.1.0-5_amd64.deb'. dpkg-genbuildinfo --build=binary dpkg-genchanges --build=binary >../xastir_2.1.0-5_amd64.changes @@ -5312,12 +5346,14 @@ dpkg-source --after-build . dpkg-buildpackage: info: binary-only upload (no source included) I: copying local configuration +I: user script /srv/workspace/pbuilder/37530/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/37530/tmp/hooks/B01_cleanup finished I: unmounting dev/ptmx filesystem I: unmounting dev/pts filesystem I: unmounting dev/shm filesystem I: unmounting proc filesystem I: unmounting sys filesystem I: cleaning the build env -I: removing directory /srv/workspace/pbuilder/3412 and its subdirectories -I: Current time: Sun Aug 15 02:49:53 -12 2021 -I: pbuilder-time-stamp: 1629038993 +I: removing directory /srv/workspace/pbuilder/37530 and its subdirectories +I: Current time: Sun Sep 18 11:14:58 +14 2022 +I: pbuilder-time-stamp: 1663449298