Diff of the two buildlogs: -- --- b1/build.log 2020-05-16 01:35:08.143741265 +0000 +++ b2/build.log 2020-05-16 01:45:28.207633868 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Thu Jun 17 19:56:51 -12 2021 -I: pbuilder-time-stamp: 1624003011 +I: Current time: Sat May 16 15:35:13 +14 2020 +I: pbuilder-time-stamp: 1589592913 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/buster-reproducible-base.tgz] I: copying local configuration @@ -18,7 +18,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 @@ -35,6 +35,172 @@ dpkg-source: info: applying no-magick-implementation I: using fakeroot in build. I: Installing the build-deps +I: user script /srv/workspace/pbuilder/13695/tmp/hooks/D01_modify_environment starting +debug: Running on profitbricks-build12-i386. +I: Changing host+domainname to test build reproducibility +I: Adding a custom variable just for the fun of it... +I: Changing /bin/sh to bash +Removing 'diversion of /bin/sh to /bin/sh.distrib by dash' +Adding 'diversion of /bin/sh to /bin/sh.distrib by bash' +Removing 'diversion of /usr/share/man/man1/sh.1.gz to /usr/share/man/man1/sh.distrib.1.gz by dash' +Adding 'diversion of /usr/share/man/man1/sh.1.gz to /usr/share/man/man1/sh.distrib.1.gz by bash' +I: Setting pbuilder2's login shell to /bin/bash +I: Setting pbuilder2's GECOS to second user,second room,second work-phone,second home-phone,second other +I: user script /srv/workspace/pbuilder/13695/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/13695/tmp/hooks/D02_print_environment starting +I: set + 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]="i686-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=i386 + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=10' + DIRSTACK=() + DISTRIBUTION= + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=i686 + HOST_ARCH=i386 + IFS=' + ' + INVOCATION_ID=74dfbf34650d4d8aa76eead5bf3c6055 + LANG=C + LANGUAGE=de_CH:de + LC_ALL=C + LD_LIBRARY_PATH=/usr/lib/libeatmydata + LD_PRELOAD=libeatmydata.so + MACHTYPE=i686-pc-linux-gnu + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnu + PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path + PBCURRENTCOMMANDLINEOPERATION=build + PBUILDER_OPERATION=build + PBUILDER_PKGDATADIR=/usr/share/pbuilder + PBUILDER_PKGLIBDIR=/usr/lib/pbuilder + PBUILDER_SYSCONFDIR=/etc + PIPESTATUS=([0]="0") + POSIXLY_CORRECT=y + PPID=13695 + PS4='+ ' + 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.12mWM4YB6i/pbuilderrc_Dtw0 --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/buster-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/tmp.12mWM4YB6i/b2 --logfile b2/build.log xastir_2.1.0-5.dsc' + SUDO_GID=112 + SUDO_UID=107 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://78.137.99.97:3128 +I: uname -a + Linux i-capture-the-hostname 4.19.0-9-686-pae #1 SMP Debian 4.19.118-2 (2020-04-29) i686 GNU/Linux +I: ls -l /bin + total 5524 + -rwxr-xr-x 1 root root 1302248 Apr 18 2019 bash + -rwxr-xr-x 3 root root 38280 Jul 11 2019 bunzip2 + -rwxr-xr-x 3 root root 38280 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 38280 Jul 11 2019 bzip2 + -rwxr-xr-x 1 root root 17768 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 38692 Mar 1 2019 cat + -rwxr-xr-x 1 root root 75588 Mar 1 2019 chgrp + -rwxr-xr-x 1 root root 63268 Mar 1 2019 chmod + -rwxr-xr-x 1 root root 75588 Mar 1 2019 chown + -rwxr-xr-x 1 root root 153732 Mar 1 2019 cp + -rwxr-xr-x 1 root root 132820 Jan 18 2019 dash + -rwxr-xr-x 1 root root 120676 Mar 1 2019 date + -rwxr-xr-x 1 root root 92040 Mar 1 2019 dd + -rwxr-xr-x 1 root root 100620 Mar 1 2019 df + -rwxr-xr-x 1 root root 149736 Mar 1 2019 dir + -rwxr-xr-x 1 root root 79412 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 34532 Mar 1 2019 echo + -rwxr-xr-x 1 root root 28 Jan 8 2019 egrep + -rwxr-xr-x 1 root root 34532 Mar 1 2019 false + -rwxr-xr-x 1 root root 28 Jan 8 2019 fgrep + -rwxr-xr-x 1 root root 67700 Jan 10 2019 findmnt + -rwsr-xr-x 1 root root 30112 Apr 23 09:38 fusermount + -rwxr-xr-x 1 root root 206392 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 100952 Jan 6 2019 gzip + -rwxr-xr-x 1 root root 21916 Sep 27 2018 hostname + -rwxr-xr-x 1 root root 79752 Mar 1 2019 ln + -rwxr-xr-x 1 root root 55400 Jul 27 2018 login + -rwxr-xr-x 1 root root 149736 Mar 1 2019 ls + -rwxr-xr-x 1 root root 112032 Jan 10 2019 lsblk + -rwxr-xr-x 1 root root 87972 Mar 1 2019 mkdir + -rwxr-xr-x 1 root root 79748 Mar 1 2019 mknod + -rwxr-xr-x 1 root root 46916 Mar 1 2019 mktemp + -rwxr-xr-x 1 root root 42348 Jan 10 2019 more + -rwsr-xr-x 1 root root 50592 Jan 10 2019 mount + -rwxr-xr-x 1 root root 13724 Jan 10 2019 mountpoint + -rwxr-xr-x 1 root root 157832 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 38660 Mar 1 2019 pwd + lrwxrwxrwx 1 root root 4 Apr 18 2019 rbash -> bash + -rwxr-xr-x 1 root root 46852 Mar 1 2019 readlink + -rwxr-xr-x 1 root root 75588 Mar 1 2019 rm + -rwxr-xr-x 1 root root 42756 Mar 1 2019 rmdir + -rwxr-xr-x 1 root root 22276 Jan 22 2019 run-parts + -rwxr-xr-x 1 root root 125036 Dec 23 2018 sed + lrwxrwxrwx 1 root root 4 May 16 15:38 sh -> bash + lrwxrwxrwx 1 root root 4 May 15 22:26 sh.distrib -> dash + -rwxr-xr-x 1 root root 34532 Mar 1 2019 sleep + -rwxr-xr-x 1 root root 79652 Mar 1 2019 stty + -rwsr-xr-x 1 root root 71072 Jan 10 2019 su + -rwxr-xr-x 1 root root 34564 Mar 1 2019 sync + -rwxr-xr-x 1 root root 504024 Apr 24 2019 tar + -rwxr-xr-x 1 root root 13860 Jan 22 2019 tempfile + -rwxr-xr-x 1 root root 104292 Mar 1 2019 touch + -rwxr-xr-x 1 root root 34532 Mar 1 2019 true + -rwxr-xr-x 1 root root 17768 Apr 23 09:38 ulockmgr_server + -rwsr-xr-x 1 root root 30108 Jan 10 2019 umount + -rwxr-xr-x 1 root root 34532 Mar 1 2019 uname + -rwxr-xr-x 2 root root 2345 Jan 6 2019 uncompress + -rwxr-xr-x 1 root root 149736 Mar 1 2019 vdir + -rwxr-xr-x 1 root root 34208 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/13695/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -394,7 +560,7 @@ Get: 284 http://deb.debian.org/debian buster/main i386 uil i386 2.3.8-2 [38.6 kB] Get: 285 http://deb.debian.org/debian buster/main i386 libmotif-dev i386 2.3.8-2 [2581 kB] Get: 286 http://deb.debian.org/debian buster/main i386 libshp-dev i386 1.4.1-3 [52.4 kB] -Fetched 150 MB in 5s (31.2 MB/s) +Fetched 150 MB in 50s (3020 kB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package libbsd0:i386. (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 ... 19234 files and directories currently installed.) @@ -1575,7 +1741,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 @@ -1931,7 +2097,7 @@ xastir will be installed in /usr/bin. Type 'make' to build Xastir (Use 'gmake' instead on some systems). dh_auto_build - make -j18 + make -j10 make[1]: Entering directory '/build/xastir-2.1.0' make all-recursive make[2]: Entering directory '/build/xastir-2.1.0' @@ -1964,14 +2130,17 @@ 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-rZYUKp/graphicsmagick-1.4~hg15978=. -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 dbfawk.o dbfawk.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-rZYUKp/graphicsmagick-1.4~hg15978=. -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 draw_symbols.o draw_symbols.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-rZYUKp/graphicsmagick-1.4~hg15978=. -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 fcc_data.o fcc_data.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-rZYUKp/graphicsmagick-1.4~hg15978=. -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 festival.o festival.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-rZYUKp/graphicsmagick-1.4~hg15978=. -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 fetch_remote.o fetch_remote.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-rZYUKp/graphicsmagick-1.4~hg15978=. -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-rZYUKp/graphicsmagick-1.4~hg15978=. -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-rZYUKp/graphicsmagick-1.4~hg15978=. -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 -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-rZYUKp/graphicsmagick-1.4~hg15978=. -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 -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-rZYUKp/graphicsmagick-1.4~hg15978=. -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 -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-rZYUKp/graphicsmagick-1.4~hg15978=. -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 +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; + ^~~~ 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); @@ -1990,77 +2159,6 @@ 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; - ^~~~ -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; - ^~~~~~~~~~~~~~~~~~~~~~~~ -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)); - ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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; @@ -2068,6 +2166,20 @@ draw_symbols.c:388:12: warning: variable 'a' set but not used [-Wunused-but-set-variable] double a,b; ^ +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", + ^~ + colorname); + ~~~~~~~~~ +In file included from /usr/include/stdio.h:873, + from snprintf.h:27, + from color.c:28: +/usr/include/i386-linux-gnu/bits/stdio2.h:67:10: note: '__builtin_snprintf' output between 1 and 50 bytes into a destination of size 40 + return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, + ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + __bos (__s), __fmt, __va_arg_pack ()); + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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; @@ -2131,7 +2243,6 @@ 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-rZYUKp/graphicsmagick-1.4~hg15978=. -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 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; @@ -2139,52 +2250,16 @@ draw_symbols.c:3187:28: warning: variable 'label1' set but not used [-Wunused-but-set-variable] frame, frame2, label1, label2, b1; ^~~~~~ -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", - ^~ - colorname); - ~~~~~~~~~ -In file included from /usr/include/stdio.h:873, - from snprintf.h:27, - from color.c:28: -/usr/include/i386-linux-gnu/bits/stdio2.h:67:10: note: '__builtin_snprintf' output between 1 and 50 bytes into a destination of size 40 - return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, - ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - __bos (__s), __fmt, __va_arg_pack ()); - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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-rZYUKp/graphicsmagick-1.4~hg15978=. -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 -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/i386-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/i386-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-rZYUKp/graphicsmagick-1.4~hg15978=. -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 festival.o festival.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-rZYUKp/graphicsmagick-1.4~hg15978=. -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 fetch_remote.o fetch_remote.c 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-rZYUKp/graphicsmagick-1.4~hg15978=. -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 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 @@ -2204,10 +2279,28 @@ 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-rZYUKp/graphicsmagick-1.4~hg15978=. -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-rZYUKp/graphicsmagick-1.4~hg15978=. -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-rZYUKp/graphicsmagick-1.4~hg15978=. -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 -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-rZYUKp/graphicsmagick-1.4~hg15978=. -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 +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/i386-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/i386-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 'extract_comp_position': db.c:10358:11: warning: variable 'range' set but not used [-Wunused-but-set-variable] float range; @@ -2216,16 +2309,6 @@ 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-rZYUKp/graphicsmagick-1.4~hg15978=. -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 -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-rZYUKp/graphicsmagick-1.4~hg15978=. -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 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", @@ -2338,29 +2421,109 @@ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __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-rZYUKp/graphicsmagick-1.4~hg15978=. -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 -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') - ^ -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-rZYUKp/graphicsmagick-1.4~hg15978=. -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 -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/i386-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-rZYUKp/graphicsmagick-1.4~hg15978=. -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-rZYUKp/graphicsmagick-1.4~hg15978=. -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 +db.c: In function 'decode_Mic_E': +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-rZYUKp/graphicsmagick-1.4~hg15978=. -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 +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-rZYUKp/graphicsmagick-1.4~hg15978=. -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 +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-rZYUKp/graphicsmagick-1.4~hg15978=. -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 +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; + ^~~~~~~~ +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; + ^~~~~~~~ +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); + ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +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)); + ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +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-rZYUKp/graphicsmagick-1.4~hg15978=. -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 +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-rZYUKp/graphicsmagick-1.4~hg15978=. -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-rZYUKp/graphicsmagick-1.4~hg15978=. -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 +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-rZYUKp/graphicsmagick-1.4~hg15978=. -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-rZYUKp/graphicsmagick-1.4~hg15978=. -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-rZYUKp/graphicsmagick-1.4~hg15978=. -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-rZYUKp/graphicsmagick-1.4~hg15978=. -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-rZYUKp/graphicsmagick-1.4~hg15978=. -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 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, @@ -2377,25 +2540,6 @@ interface_gui.c:612:17: warning: variable 'setup' set but not used [-Wunused-but-set-variable] setup, setup1, setup2, setup3, setup4, ^~~~~ -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", - ^~ -gps.c:866:9: - checksum); - ~~~~~~~~ -In file included from /usr/include/stdio.h:873, - from snprintf.h:27, - from gps.c:28: -/usr/include/i386-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 1 and 82 bytes into a destination of size 80 - return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, - ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - __bos (__s), __fmt, __va_arg_pack ()); - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -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_GPS': interface_gui.c:2100:19: warning: variable 'style' set but not used [-Wunused-but-set-variable] static Widget style, style_box, @@ -2416,6 +2560,72 @@ 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, + ^~~~~~~~~ +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/i386-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 ()); + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +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_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 '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_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, + ^~~~~~~~~~~ +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", + ^~ +gps.c:866:9: + checksum); + ~~~~~~~~ +In file included from /usr/include/stdio.h:873, + from snprintf.h:27, + from gps.c:28: +/usr/include/i386-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 1 and 82 bytes into a destination of size 80 + return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, + ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + __bos (__s), __fmt, __va_arg_pack ()); + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +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.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) @@ -2429,20 +2639,19 @@ 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_gui.c: In function 'interface_option': 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) ^~ -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, - ^~~~~~~~~ -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-rZYUKp/graphicsmagick-1.4~hg15978=. -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 +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; + ^~~~~~~ lang.c: In function 'load_language_file': lang.c:231:29: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (debug_level & 32) @@ -2450,35 +2659,10 @@ 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_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': -db.c: In function 'decode_Mic_E': -interface_gui.c:5016:41: warning: variable 'password_fl' set but not used [-Wunused-but-set-variable] - ihost, iport, password, password_fl, - ^~~~~~~~~~~ -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-rZYUKp/graphicsmagick-1.4~hg15978=. -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_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 'port_read': interface.c:5820:24: warning: variable 'last' set but not used [-Wunused-but-set-variable] unsigned char cin, last; ^~~~ -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-rZYUKp/graphicsmagick-1.4~hg15978=. -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_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 'del_device': interface.c:7044:21: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (debug_level & 2) @@ -2516,14 +2700,7 @@ 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) { ^~ -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; - ^~~~~~~ -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-rZYUKp/graphicsmagick-1.4~hg15978=. -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 +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-rZYUKp/graphicsmagick-1.4~hg15978=. -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 '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]; @@ -2566,11 +2743,6 @@ interface.c:1704:5: note: in expansion of macro 'DISABLE_SETUID_PRIVILEGE' DISABLE_SETUID_PRIVILEGE; ^~~~~~~~~~~~~~~~~~~~~~~~ -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; - ^~~~~~~~ -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-rZYUKp/graphicsmagick-1.4~hg15978=. -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: In function 'ax25_init': main.h:453:1: warning: ignoring return value of 'seteuid', declared with attribute warn_unused_result [-Wunused-result] seteuid(euid); \ @@ -2725,19 +2897,6 @@ interface.c:4540:5: note: in expansion of macro 'ENABLE_SETUID_PRIVILEGE' ENABLE_SETUID_PRIVILEGE; ^~~~~~~~~~~~~~~~~~~~~~~ -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/i386-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 ()); - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.h:454:1: warning: ignoring return value of 'setegid', declared with attribute warn_unused_result [-Wunused-result] setegid(egid); \ ^~~~~~~~~~~~~ @@ -2780,17 +2939,59 @@ interface.c:4641:5: 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-rZYUKp/graphicsmagick-1.4~hg15978=. -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 interface.c: In function 'data_out_ax25': 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)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -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-rZYUKp/graphicsmagick-1.4~hg15978=. -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-rZYUKp/graphicsmagick-1.4~hg15978=. -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 -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; - ^~~~~~~~ +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", + ^~ + tracking_station_call); + ~~~~~~~~~~~~~~~~~~~~~ +In file included from /usr/include/stdio.h:873, + from snprintf.h:27, + from db.c:44: +/usr/include/i386-linux-gnu/bits/stdio2.h:67:10: note: '__builtin_snprintf' output between 1 and 30 bytes into a destination of size 10 + 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-rZYUKp/graphicsmagick-1.4~hg15978=. -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 +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-rZYUKp/graphicsmagick-1.4~hg15978=. -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 +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/i386-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 ()); + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +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-rZYUKp/graphicsmagick-1.4~hg15978=. -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 +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){ + ^ +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/i386-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 ()); + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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", @@ -2804,16 +3005,6 @@ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -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); - ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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", @@ -2827,6 +3018,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-rZYUKp/graphicsmagick-1.4~hg15978=. -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 +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-rZYUKp/graphicsmagick-1.4~hg15978=. -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 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) @@ -2839,33 +3032,21 @@ maps.c:3898:17: warning: zero-length gnu_printf format string [-Wformat-zero-length] ""); ^~ -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/i386-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 ()); - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +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-rZYUKp/graphicsmagick-1.4~hg15978=. -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 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: 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; - ^~~~~~~~~~ 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-rZYUKp/graphicsmagick-1.4~hg15978=. -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 +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-rZYUKp/graphicsmagick-1.4~hg15978=. -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 +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; + ^~~~~~~~~~ map_dos.c:400:17: warning: variable 'text_ptr' set but not used [-Wunused-but-set-variable] text_label *text_ptr; ^~~~~~~~ @@ -2998,6 +3179,39 @@ 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); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ +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); + ^~ ~~~~~~ +In file included from /usr/include/stdio.h:873, + from snprintf.h:27, + from map_dos.c:28: +/usr/include/i386-linux-gnu/bits/stdio2.h:67:10: note: '__builtin_snprintf' output between 1 and 2049 bytes into a destination of size 5 + return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, + ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + __bos (__s), __fmt, __va_arg_pack ()); + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +map_dos.c:940:87: warning: '__builtin_snprintf' output truncated before the last format character [-Wformat-truncation=] + xastir_snprintf(map_version,sizeof(map_version),"ASCII"); + ^ +In file included from /usr/include/stdio.h:873, + from snprintf.h:27, + from map_dos.c:28: +/usr/include/i386-linux-gnu/bits/stdio2.h:67:10: note: '__builtin_snprintf' output 6 bytes into a destination of size 5 + return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, + ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + __bos (__s), __fmt, __va_arg_pack ()); + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +map_dos.c:1094:72: warning: '%s' directive output may be truncated writing up to 2048 bytes into a region of size 50 [-Wformat-truncation=] + xastir_snprintf(label_text,sizeof(label_text),"%s",Buffer); + ^~ ~~~~~~ +In file included from /usr/include/stdio.h:873, + from snprintf.h:27, + from map_dos.c:28: +/usr/include/i386-linux-gnu/bits/stdio2.h:67:10: note: '__builtin_snprintf' output between 1 and 2049 bytes into a destination of size 50 + return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, + ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + __bos (__s), __fmt, __va_arg_pack ()); + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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); @@ -3011,6 +3225,7 @@ /usr/include/GraphicsMagick/magick/pixel_cache.h:105:4: note: declared here *GetIndexes(const Image *image) ^~~~~~~~~~ +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-rZYUKp/graphicsmagick-1.4~hg15978=. -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 map_geo.c:2398:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (check_interrupt( ^~ @@ -3035,116 +3250,24 @@ map_geo.c:587:9: warning: variable 'test' set but not used [-Wunused-but-set-variable] int test; // temporary debugging ^~~~ -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-rZYUKp/graphicsmagick-1.4~hg15978=. -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 -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){ - ^ -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-rZYUKp/graphicsmagick-1.4~hg15978=. -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_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 map_geo.c:30: -/usr/include/i386-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 ()); - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -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); - ^~ ~~~~~~ -In file included from /usr/include/stdio.h:873, - from snprintf.h:27, - from map_dos.c:28: -/usr/include/i386-linux-gnu/bits/stdio2.h:67:10: note: '__builtin_snprintf' output between 1 and 2049 bytes into a destination of size 5 - return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, - ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - __bos (__s), __fmt, __va_arg_pack ()); - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -map_dos.c:940:87: warning: '__builtin_snprintf' output truncated before the last format character [-Wformat-truncation=] - xastir_snprintf(map_version,sizeof(map_version),"ASCII"); - ^ -In file included from /usr/include/stdio.h:873, - from snprintf.h:27, - from map_dos.c:28: -/usr/include/i386-linux-gnu/bits/stdio2.h:67:10: note: '__builtin_snprintf' output 6 bytes into a destination of size 5 - return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, - ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - __bos (__s), __fmt, __va_arg_pack ()); - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -map_dos.c:1094:72: warning: '%s' directive output may be truncated writing up to 2048 bytes into a region of size 50 [-Wformat-truncation=] - xastir_snprintf(label_text,sizeof(label_text),"%s",Buffer); - ^~ ~~~~~~ +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 map_dos.c:28: -/usr/include/i386-linux-gnu/bits/stdio2.h:67:10: note: '__builtin_snprintf' output between 1 and 2049 bytes into a destination of size 50 + from maps.c:32: +/usr/include/i386-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 ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -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-rZYUKp/graphicsmagick-1.4~hg15978=. -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 -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-rZYUKp/graphicsmagick-1.4~hg15978=. -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 -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); - ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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, ^~~~~~ -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-rZYUKp/graphicsmagick-1.4~hg15978=. -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: 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 'map_gdal_init': map_gdal.c:157:18: warning: variable 'gDriver' set but not used [-Wunused-but-set-variable] GDALDriverH gDriver; // GDAL driver @@ -3175,6 +3298,30 @@ map_gdal.c:1219:16: warning: variable 'xpoint' set but not used [-Wunused-but-set-variable] XPoint xpoint; ^~~~~~ +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 map_geo.c:30: +/usr/include/i386-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 ()); + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +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 'setup_coord_translation': map_gdal.c:2372:21: warning: variable 'temp' set but not used [-Wunused-but-set-variable] const char *temp; @@ -3201,29 +3348,8 @@ 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]; - ^~~~~~~~~~~~~ -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-rZYUKp/graphicsmagick-1.4~hg15978=. -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-rZYUKp/graphicsmagick-1.4~hg15978=. -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 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, ^~~~~~~~~~~~~~~~~ @@ -3281,7 +3407,6 @@ main.c:5218:34: warning: variable 'exitpane' set but not used [-Wunused-but-set-variable] Widget filepane, configpane, exitpane, mappane, viewpane, ^~~~~~~~ -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-rZYUKp/graphicsmagick-1.4~hg15978=. -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:5212:25: warning: variable 'move_my_menu' set but not used [-Wunused-but-set-variable] Widget move_my_sub, move_my_menu; ^~~~~~~~~~~~ @@ -3294,41 +3419,40 @@ main.c:5207:41: warning: variable 'zoom_level' set but not used [-Wunused-but-set-variable] Widget zoom_in, zoom_out, zoom_sub, zoom_level, zl1, zl2, zl3, ^~~~~~~~~~ -main.c: In function 'da_input': -main.c:10254:9: warning: variable 'y_distance' set but not used [-Wunused-but-set-variable] - int y_distance; - ^~~~~~~~~~ -main.c:10253:9: warning: variable 'x_distance' set but not used [-Wunused-but-set-variable] - int x_distance; - ^~~~~~~~~~ -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", - ^~~~ +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", + ^ In file included from /usr/include/stdio.h:873, from snprintf.h:27, - from map_shp.c:42: -/usr/include/i386-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 5 and 2004 bytes into a destination of size 2000 + from maps.c:32: +/usr/include/i386-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 17 and 632 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 'UpdateTime': -main.c:11316:9: warning: variable 'do_time' set but not used [-Wunused-but-set-variable] - int do_time; - ^~~~~~~ -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); - ^~ ~~~~~~ +maps.c:1938:34: warning: '__builtin___snprintf_chk' output may be truncated before the last format character [-Wformat-truncation=] + "%s %07.0f %07.0f", + ^ In file included from /usr/include/stdio.h:873, from snprintf.h:27, - from map_OSM.c:34: -/usr/include/i386-linux-gnu/bits/stdio2.h:67:10: note: '__builtin_snprintf' output between 1 and 4000 bytes into a destination of size 2000 + from maps.c:32: +/usr/include/i386-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 17 and 632 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 'da_input': +main.c:10254:9: warning: variable 'y_distance' set but not used [-Wunused-but-set-variable] + int y_distance; + ^~~~~~~~~~ +main.c:10253:9: warning: variable 'x_distance' set but not used [-Wunused-but-set-variable] + int x_distance; + ^~~~~~~~~~ +main.c: In function 'UpdateTime': +main.c:11316:9: warning: variable 'do_time' set but not used [-Wunused-but-set-variable] + int do_time; + ^~~~~~~ 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; @@ -3337,72 +3461,6 @@ main.c:15398:27: warning: variable 'color_type' set but not used [-Wunused-but-set-variable] frame, color_type, type_box, ctyp0, ctyp1, ^~~~~~~~~~ -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_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 - ^~~~~~~ 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; @@ -3424,75 +3482,45 @@ 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-rZYUKp/graphicsmagick-1.4~hg15978=. -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_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/i386-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); - ^~ ~~~~~~~~ +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", + ^ In file included from /usr/include/stdio.h:873, from snprintf.h:27, - from map_tiger.c:29: -/usr/include/i386-linux-gnu/bits/stdio2.h:67:10: note: '__builtin_snprintf' output between 1 and 4000 bytes into a destination of size 2000 + from maps.c:32: +/usr/include/i386-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 17 and 632 bytes into a destination of size 25 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.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); - ~~~~~~~~~~~ +maps.c:2352:42: warning: '__builtin___snprintf_chk' output may be truncated before the last format character [-Wformat-truncation=] + "%s %07.0f %07.0f", + ^ In file included from /usr/include/stdio.h:873, from snprintf.h:27, from maps.c:32: -/usr/include/i386-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 2 and 50 bytes into a destination of size 25 +/usr/include/i386-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 17 and 632 bytes into a destination of size 25 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -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); - ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c: In function 'Map_chooser': main.c:21844:9: warning: variable 'i' set but not used [-Wunused-but-set-variable] int i; ^ -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/i386-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); - ^~ +db.c: In function 'station_data_fill_in': +db.c:5257: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 map_shp.c:42: -/usr/include/i386-linux-gnu/bits/stdio2.h:67:10: note: '__builtin_snprintf' output between 1 and 100 bytes into a destination of size 50 + from db.c:44: +/usr/include/i386-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 -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-rZYUKp/graphicsmagick-1.4~hg15978=. -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: In function 'Configure_defaults': main.c:22581:10: warning: unused variable 'temp_base_dir' [-Wunused-variable] char temp_base_dir[MAX_VALUE]; @@ -3507,20 +3535,6 @@ main.c:23885:17: warning: variable 'label' set but not used [-Wunused-but-set-variable] label, coord_box, coord_0, coord_1, coord_2, ^~~~~ -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", - ^~ - tracking_station_call); - ~~~~~~~~~~~~~~~~~~~~~ -In file included from /usr/include/stdio.h:873, - from snprintf.h:27, - from db.c:44: -/usr/include/i386-linux-gnu/bits/stdio2.h:67:10: note: '__builtin_snprintf' output between 1 and 30 bytes into a destination of size 10 - return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, - ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - __bos (__s), __fmt, __va_arg_pack ()); - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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, @@ -3534,16 +3548,110 @@ main.c:24255:23: warning: variable 'min2' set but not used [-Wunused-but-set-variable] min1, min2, max1, max2, ^~~~ -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-rZYUKp/graphicsmagick-1.4~hg15978=. -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 -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-rZYUKp/graphicsmagick-1.4~hg15978=. -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 +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/i386-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/i386-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/i386-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/i386-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/i386-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/i386-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 ()); + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +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; + ^~~~~~~~ main.c: In function 'Configure_station': main.c:25760:17: warning: variable 'posamb' set but not used [-Wunused-but-set-variable] posamb,option_box, ^~~~~~ -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; - ^~~~ main.c:25759:17: warning: variable 'sts' set but not used [-Wunused-but-set-variable] sts, group, st_symbol, comment, ^~~ @@ -3556,56 +3664,268 @@ main.c:25750:27: warning: variable 'pg2' set but not used [-Wunused-but-set-variable] framephg, pg2, formphg, ^~~ -messages_gui.c: In function 'Send_message': -messages_gui.c:2380:58: warning: format '%ld' expects argument of type 'long int', but argument 4 has type 'intptr_t' {aka 'int'} [-Wformat=] - xastir_snprintf(mw[i].win, sizeof(mw[i].win), "%ld", i); - ~~^ ~ - %d -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", - ^ +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-rZYUKp/graphicsmagick-1.4~hg15978=. -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 +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; + ^~~~~~~~~~~~~~~~~~~~~~~~ +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); + ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +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-rZYUKp/graphicsmagick-1.4~hg15978=. -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 +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 maps.c:32: -/usr/include/i386-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 17 and 632 bytes into a destination of size 25 +/usr/include/i386-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 ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -maps.c:1938:34: warning: '__builtin___snprintf_chk' output may be truncated before the last format character [-Wformat-truncation=] - "%s %07.0f %07.0f", - ^ +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-rZYUKp/graphicsmagick-1.4~hg15978=. -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_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 maps.c:32: -/usr/include/i386-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 17 and 632 bytes into a destination of size 25 + from map_OSM.c:34: +/usr/include/i386-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]); - ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -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", - ^~ - message_out); - ~~~~~~~~~~~ +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]; + ^~~~~~~~~~~~~ +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 messages.c:28: -/usr/include/i386-linux-gnu/bits/stdio2.h:67:10: note: '__builtin_snprintf' output between 1 and 74 bytes into a destination of size 68 + from map_shp.c:42: +/usr/include/i386-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 ()); + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +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-rZYUKp/graphicsmagick-1.4~hg15978=. -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 +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; + ^~~~~~~~~~~~~~~~~~~~~~ +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/i386-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/i386-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 ()); + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +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-rZYUKp/graphicsmagick-1.4~hg15978=. -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-rZYUKp/graphicsmagick-1.4~hg15978=. -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 +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 + ^~~~~~~ +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-rZYUKp/graphicsmagick-1.4~hg15978=. -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_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/i386-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 '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/i386-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 ()); + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +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); + ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +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_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_gui.c: In function 'Send_message': +messages_gui.c:2380:58: warning: format '%ld' expects argument of type 'long int', but argument 4 has type 'intptr_t' {aka 'int'} [-Wformat=] + xastir_snprintf(mw[i].win, sizeof(mw[i].win), "%ld", i); + ~~^ ~ + %d +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/i386-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 '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/i386-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 ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -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)) ); - ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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", @@ -3649,9 +3969,6 @@ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -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)) ); - ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ messages_gui.c:1138:28: warning: '%s' directive output may be truncated writing up to 199 bytes into a region of size between 90 and 99 [-Wformat-truncation=] "%s>%s,%s:%s", ^~ @@ -3666,28 +3983,6 @@ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -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); - ^~~~~~~~~~~~ -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; - ^~ -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_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", @@ -3702,6 +3997,20 @@ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +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", + ^~ + message_out); + ~~~~~~~~~~~ +In file included from /usr/include/stdio.h:873, + from snprintf.h:27, + from messages.c:28: +/usr/include/i386-linux-gnu/bits/stdio2.h:67:10: note: '__builtin_snprintf' output between 1 and 74 bytes into a destination of size 68 + return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, + ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + __bos (__s), __fmt, __va_arg_pack ()); + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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", @@ -3716,6 +4025,125 @@ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __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-rZYUKp/graphicsmagick-1.4~hg15978=. -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 +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-rZYUKp/graphicsmagick-1.4~hg15978=. -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 +db.c: In function 'extract_weather': +db.c:6888:18: warning: '%s' directive output may be truncated writing up to 9 bytes into a region of size 4 [-Wformat-truncation=] + "%s", + ^~ +In file included from /usr/include/stdio.h:873, + from snprintf.h:27, + from db.c:44: +/usr/include/i386-linux-gnu/bits/stdio2.h:67:10: note: '__builtin_snprintf' output between 1 and 10 bytes into a destination of size 4 + return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, + ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + __bos (__s), __fmt, __va_arg_pack ()); + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +db.c:6892:18: warning: '%s' directive output may be truncated writing up to 7 bytes into a region of size 4 [-Wformat-truncation=] + "%s", + ^~ +In file included from /usr/include/stdio.h:873, + from snprintf.h:27, + from db.c:44: +/usr/include/i386-linux-gnu/bits/stdio2.h:67:10: note: '__builtin_snprintf' output between 1 and 8 bytes into a destination of size 4 + return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, + ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + __bos (__s), __fmt, __va_arg_pack ()); + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +db.c:6911:18: warning: '%s' directive output may be truncated writing up to 9 bytes into a region of size 4 [-Wformat-truncation=] + "%s", + ^~ +In file included from /usr/include/stdio.h:873, + from snprintf.h:27, + from db.c:44: +/usr/include/i386-linux-gnu/bits/stdio2.h:67:10: note: '__builtin_snprintf' output between 1 and 10 bytes into a destination of size 4 + return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, + ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + __bos (__s), __fmt, __va_arg_pack ()); + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +db.c:6915:18: warning: '%s' directive output may be truncated writing up to 7 bytes into a region of size 4 [-Wformat-truncation=] + "%s", + ^~ +In file included from /usr/include/stdio.h:873, + from snprintf.h:27, + from db.c:44: +/usr/include/i386-linux-gnu/bits/stdio2.h:67:10: note: '__builtin_snprintf' output between 1 and 8 bytes into a destination of size 4 + 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-rZYUKp/graphicsmagick-1.4~hg15978=. -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 +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-rZYUKp/graphicsmagick-1.4~hg15978=. -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 +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/", + ^~ + gps_base_dir); + ~~~~~~~~~~~~ +In file included from /usr/include/stdio.h:873, + from snprintf.h:27, + from main.c:38: +/usr/include/i386-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 18 and 317 bytes into a destination of size 100 + return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, + ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + __bos (__s), __fmt, __va_arg_pack ()); + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +main.c:16058:46: warning: '%s' directive output may be truncated writing up to 1999 bytes into a region of size between 78 and 476 [-Wformat-truncation=] + "(%s getwrite WP GPStrans %s/%s 2>&1) >/dev/null", + ^~ +main.c:16061:17: + gps_temp_map_filename); + ~~~~~~~~~~~~~~~~~~~~~ +In file included from /usr/include/stdio.h:873, + from snprintf.h:27, + from main.c:38: +/usr/include/i386-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 42 and 2439 bytes into a destination of size 500 + 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", + ^~ +main.c:15998:17: + gps_temp_map_filename); + ~~~~~~~~~~~~~~~~~~~~~ +In file included from /usr/include/stdio.h:873, + from snprintf.h:27, + from main.c:38: +/usr/include/i386-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 14 and 2211 bytes into a destination of size 500 + return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, + ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + __bos (__s), __fmt, __va_arg_pack ()); + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +main.c:15963: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 RT %s%s", + ^~ +main.c:15966:17: + gps_temp_map_filename); + ~~~~~~~~~~~~~~~~~~~~~ +In file included from /usr/include/stdio.h:873, + from snprintf.h:27, + from main.c:38: +/usr/include/i386-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 14 and 2211 bytes into a destination of size 500 + return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, + ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + __bos (__s), __fmt, __va_arg_pack ()); + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +main.c:15931: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 TR %s%s", + ^~ +main.c:15934:17: + gps_temp_map_filename); + ~~~~~~~~~~~~~~~~~~~~~ +In file included from /usr/include/stdio.h:873, + from snprintf.h:27, + from main.c:38: +/usr/include/i386-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 14 and 2211 bytes into a destination of size 500 + 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:6866:10: warning: unused variable 'temp_file_path' [-Wunused-variable] char temp_file_path[MAX_VALUE]; @@ -3728,50 +4156,77 @@ objects.c:7192:14: (intptr_t)clientData); ~~~~~~~~~~~~~~~~~~~~ -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]); - ^~ +main.c: In function 'GPS_operations_change_data': +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", + ^~ +main.c:15324:13: + gps_map_type, + ~~~~~~~~~~~~ In file included from /usr/include/stdio.h:873, - from rac_data.c:37: -/usr/include/i386-linux-gnu/bits/stdio2.h:67:10: note: '__builtin_snprintf' output between 1 and 32 bytes into a destination of size 16 + from snprintf.h:27, + from main.c:38: +/usr/include/i386-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 7 and 2084 bytes into a destination of size 2000 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -rac_data.c:233:64: 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]); - ^~ +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", + ^~ +main.c:15332:13: + gps_map_type, + ~~~~~~~~~~~~ In file included from /usr/include/stdio.h:873, - from rac_data.c:37: -/usr/include/i386-linux-gnu/bits/stdio2.h:67:10: note: '__builtin_snprintf' output between 1 and 32 bytes into a destination of size 16 + from snprintf.h:27, + from main.c:38: +/usr/include/i386-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 3 and 2080 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 '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", - ^ +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", + ^~ +main.c:15340:13: + gps_map_type); + ~~~~~~~~~~~~ In file included from /usr/include/stdio.h:873, from snprintf.h:27, - from maps.c:32: -/usr/include/i386-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 17 and 632 bytes into a destination of size 25 + from main.c:38: +/usr/include/i386-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 2 and 2030 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:2352:42: warning: '__builtin___snprintf_chk' output may be truncated before the last format character [-Wformat-truncation=] - "%s %07.0f %07.0f", - ^ +main.c:15308: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.shp", + ^~ +main.c:15310:13: + gps_map_type); + ~~~~~~~~~~~~ In file included from /usr/include/stdio.h:873, from snprintf.h:27, - from maps.c:32: -/usr/include/i386-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 17 and 632 bytes into a destination of size 25 + from main.c:38: +/usr/include/i386-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 6 and 2034 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:15315: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", + ^~ +main.c:15317:13: + gps_map_type); + ~~~~~~~~~~~~ +In file included from /usr/include/stdio.h:873, + from snprintf.h:27, + from main.c:38: +/usr/include/i386-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 2 and 2030 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-rZYUKp/graphicsmagick-1.4~hg15978=. -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 'Set_Del_Object': objects.c:7429:17: warning: variable 'beamlabel' set but not used [-Wunused-but-set-variable] beamlabel,formbeam, @@ -3800,24 +4255,121 @@ 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, ^~~~~~~~~~~~ +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-rZYUKp/graphicsmagick-1.4~hg15978=. -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: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]); + ^~ +In file included from /usr/include/stdio.h:873, + from rac_data.c:37: +/usr/include/i386-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 ()); + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +rac_data.c:233:64: 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 rac_data.c:37: +/usr/include/i386-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 ()); + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +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", + ^~ + temp_string); + ~~~~~~~~~~~ +In file included from /usr/include/stdio.h:873, + from snprintf.h:27, + from main.c:38: +/usr/include/i386-linux-gnu/bits/stdio2.h:67:10: note: '__builtin_snprintf' output between 1 and 1024 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:2171:14: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 4 [-Wformat-truncation=] + "%s", + ^~ + temp_string); + ~~~~~~~~~~~ +In file included from /usr/include/stdio.h:873, + from snprintf.h:27, + from main.c:38: +/usr/include/i386-linux-gnu/bits/stdio2.h:67:10: note: '__builtin_snprintf' output between 1 and 1024 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:2211:14: warning: '__builtin___snprintf_chk' output may be truncated before the last format character [-Wformat-truncation=] + "%02d", lat_deg_int); + ^ +In file included from /usr/include/stdio.h:873, + from snprintf.h:27, + from main.c:38: +/usr/include/i386-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 3 and 6 bytes into a destination of size 5 + return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, + ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + __bos (__s), __fmt, __va_arg_pack ()); + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +main.c:2217:14: warning: '__builtin___snprintf_chk' output may be truncated before the last format character [-Wformat-truncation=] + "%03d", lon_deg_int); + ^ +In file included from /usr/include/stdio.h:873, + from snprintf.h:27, + from main.c:38: +/usr/include/i386-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 4 and 6 bytes into a destination of size 5 + 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-rZYUKp/graphicsmagick-1.4~hg15978=. -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-rZYUKp/graphicsmagick-1.4~hg15978=. -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-rZYUKp/graphicsmagick-1.4~hg15978=. -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 +db.c: In function 'packet_data_add': +db.c:14632:16: 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 db.c:44: +/usr/include/i386-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 ()); + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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-rZYUKp/graphicsmagick-1.4~hg15978=. -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-rZYUKp/graphicsmagick-1.4~hg15978=. -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-rZYUKp/graphicsmagick-1.4~hg15978=. -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-rZYUKp/graphicsmagick-1.4~hg15978=. -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-rZYUKp/graphicsmagick-1.4~hg15978=. -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 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-rZYUKp/graphicsmagick-1.4~hg15978=. -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 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-rZYUKp/graphicsmagick-1.4~hg15978=. -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-rZYUKp/graphicsmagick-1.4~hg15978=. -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 +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", + ^~ + result); + ~~~~~~ +In file included from /usr/include/stdio.h:873, + from snprintf.h:27, + from db.c:44: +/usr/include/i386-linux-gnu/bits/stdio2.h:67:10: note: '__builtin_snprintf' output between 1 and 612 bytes into a destination of size 512 + return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, + ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + __bos (__s), __fmt, __va_arg_pack ()); + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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); @@ -3846,20 +4398,6 @@ track_gui.c:556:5: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] system(sys_cmd); ^~~~~~~~~~~~~~~ -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", - ^~ - tmp_base_dir); - ~~~~~~~~~~~~ -In file included from /usr/include/stdio.h:873, - from snprintf.h:27, - from track_gui.c:28: -/usr/include/i386-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 9 and 308 bytes into a destination of size 200 - return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, - ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - __bos (__s), __fmt, __va_arg_pack ()); - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ util.c: In function 'phg_decode': util.c:966:9: warning: variable 'len' set but not used [-Wunused-but-set-variable] int len; @@ -3872,89 +4410,6 @@ util.c:1320:9: warning: variable 'len' set but not used [-Wunused-but-set-variable] int len; ^~~ -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/i386-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 ()); - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -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-rZYUKp/graphicsmagick-1.4~hg15978=. -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 -wx.c: In function 'decode_U2000_L': -wx.c:537:10: warning: variable 'format' set but not used [-Wunused-but-set-variable] - char format; - ^~~~~~ -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; - ^~~~~~~ -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-rZYUKp/graphicsmagick-1.4~hg15978=. -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 -rm -f compiledate.c compiledate.o -wx.c: In function 'wx_fill_data': -wx.c:1115:10: warning: variable 'format' set but not used [-Wunused-but-set-variable] - char format; - ^~~~~~ -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); - ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -echo 'char compiledate[] = "'"Compiled: `date`"'";' > compiledate.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] - seteuid(getuid()); \ - ^~~~~~~~~~~~~~~~~ -util.c:3927:13: 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()); \ - ^~~~~~~~~~~~~~~~~ -util.c:3927:13: note: in expansion of macro 'DISABLE_SETUID_PRIVILEGE' - DISABLE_SETUID_PRIVILEGE; - ^~~~~~~~~~~~~~~~~~~~~~~~ -main.h:453:1: warning: ignoring return value of 'seteuid', declared with attribute warn_unused_result [-Wunused-result] - seteuid(euid); \ - ^~~~~~~~~~~~~ -util.c:3941:13: 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); \ - ^~~~~~~~~~~~~ -util.c:3941:13: note: in expansion of macro 'ENABLE_SETUID_PRIVILEGE' - ENABLE_SETUID_PRIVILEGE; - ^~~~~~~~~~~~~~~~~~~~~~~ -if test -n "$SOURCE_DATE_EPOCH"; then \ - echo 'char compiledate[] = "'"Compiled: `LC_ALL=C date --utc --date="@$SOURCE_DATE_EPOCH"`"'";' > compiledate.c; \ -fi -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 -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 -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-rZYUKp/graphicsmagick-1.4~hg15978=. -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 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); @@ -3967,13 +4422,9 @@ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -view_message_gui.c: In function 'all_messages': objects.c:438: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); ^~ ~~~~~~~ -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 objects.c:29: @@ -3982,26 +4433,12 @@ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from /usr/include/stdio.h:873, - from snprintf.h:27, - from view_message_gui.c:28: -/usr/include/i386-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 ()); - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ objects.c:503:42: warning: '%s' directive output may be truncated writing up to 43 bytes into a region of size between 29 and 39 [-Wformat-truncation=] sizeof(comment2),"Pmax%s,%s", ^~ objects.c:505:17: comment); ~~~~~~~ -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 objects.c:29: @@ -4010,14 +4447,6 @@ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from /usr/include/stdio.h:873, - from snprintf.h:27, - from view_message_gui.c:28: -/usr/include/i386-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 ()); - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ objects.c:509:49: warning: '%s' directive output may be truncated writing up to 43 bytes into a region of size between 14 and 34 [-Wformat-truncation=] sizeof(comment2),"Pmin%s,Pmax%s,%s", ^~ @@ -4082,68 +4511,174 @@ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __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-rZYUKp/graphicsmagick-1.4~hg15978=. -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-rZYUKp/graphicsmagick-1.4~hg15978=. -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 -testdbfawk.c: In function 'print_symtbl': -testdbfawk.c:81:33: warning: format '%lx' expects argument of type 'long unsigned int', but argument 3 has type 'unsigned int' [-Wformat=] - fprintf(stderr,"symtbl 0x%0lx dump:\n", - ~~~^ - %0x - (uintptr_t)this); - ~~~~~~~~~~~~~~~ -gcc -fopenmp -g -O2 -fdebug-prefix-map=/build/graphicsmagick-rZYUKp/graphicsmagick-1.4~hg15978=. -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-rZYUKp/graphicsmagick-1.4~hg15978=. -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 -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); - ^~ ~~~ +main.c: In function 'display_zoom_status': +main.c:4113:52: warning: '%ld' directive output may be truncated writing between 1 and 7 bytes into a region of size 6 [-Wformat-truncation=] + xastir_snprintf(siz_str, sizeof(siz_str), "%ldk", scale_y/1024); + ^~~ +main.c:4113:51: note: directive argument in the range [8, 2097151] + xastir_snprintf(siz_str, sizeof(siz_str), "%ldk", scale_y/1024); + ^~~~~~ In file included from /usr/include/stdio.h:873, from snprintf.h:27, - from x_spider.c:108: -/usr/include/i386-linux-gnu/bits/stdio2.h:67:10: note: '__builtin_snprintf' output between 1 and 1024 bytes into a destination of size 512 + from main.c:38: +/usr/include/i386-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 3 and 9 bytes into a destination of size 6 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", - ^~ +main.c:4111:52: warning: '%ld' directive output may be truncated writing between 1 and 11 bytes into a region of size 6 [-Wformat-truncation=] + xastir_snprintf(siz_str, sizeof(siz_str), "%ld", scale_y); + ^~~ +main.c:4111:51: note: directive argument in the range [-2147483648, 8999] + xastir_snprintf(siz_str, sizeof(siz_str), "%ld", scale_y); + ^~~~~ In file included from /usr/include/stdio.h:873, from snprintf.h:27, from main.c:38: -/usr/include/i386-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 2 and 2256 bytes into a destination of size 2000 +/usr/include/i386-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 2 and 12 bytes into a destination of size 6 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -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", - ^~ +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; + ^~~~~~~ +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.", + ^~ + rotated_label_fontname[FONT_STATION]); + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:873, from snprintf.h:27, - from maps.c:32: -/usr/include/i386-linux-gnu/bits/stdio2.h:67:10: note: '__builtin_snprintf' output between 1 and 256 bytes into a destination of size 64 + from main.c:38: +/usr/include/i386-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 51 and 306 bytes into a destination of size 100 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -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", - ^~~~~~ +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); + ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +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] + seteuid(getuid()); \ + ^~~~~~~~~~~~~~~~~ +util.c:3927:13: 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()); \ + ^~~~~~~~~~~~~~~~~ +util.c:3927:13: note: in expansion of macro 'DISABLE_SETUID_PRIVILEGE' + DISABLE_SETUID_PRIVILEGE; + ^~~~~~~~~~~~~~~~~~~~~~~~ +main.h:453:1: warning: ignoring return value of 'seteuid', declared with attribute warn_unused_result [-Wunused-result] + seteuid(euid); \ + ^~~~~~~~~~~~~ +util.c:3941:13: 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); \ + ^~~~~~~~~~~~~ +util.c:3941:13: note: in expansion of macro 'ENABLE_SETUID_PRIVILEGE' + ENABLE_SETUID_PRIVILEGE; + ^~~~~~~~~~~~~~~~~~~~~~~ +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", + ^~ + tmp_base_dir); + ~~~~~~~~~~~~ In file included from /usr/include/stdio.h:873, from snprintf.h:27, - from wx.c:57: -/usr/include/i386-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 4 and 12 bytes into a destination of size 5 + from track_gui.c:28: +/usr/include/i386-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 9 and 308 bytes into a destination of size 200 + return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, + ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + __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/i386-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 ()); + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +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-rZYUKp/graphicsmagick-1.4~hg15978=. -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-rZYUKp/graphicsmagick-1.4~hg15978=. -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-rZYUKp/graphicsmagick-1.4~hg15978=. -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 +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-rZYUKp/graphicsmagick-1.4~hg15978=. -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 'decode_U2000_L': +wx.c:537:10: warning: variable 'format' set but not used [-Wunused-but-set-variable] + char format; + ^~~~~~ +wx.c: In function 'wx_fill_data': +wx.c:1115:10: warning: variable 'format' set but not used [-Wunused-but-set-variable] + char format; + ^~~~~~ +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/i386-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/i386-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 ()); + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +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), ""); + ^~ +rm -f compiledate.c compiledate.o +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-rZYUKp/graphicsmagick-1.4~hg15978=. -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 +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 +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 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", @@ -4173,6 +4708,31 @@ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __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-rZYUKp/graphicsmagick-1.4~hg15978=. -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 +testdbfawk.c: In function 'print_symtbl': +testdbfawk.c:81:33: warning: format '%lx' expects argument of type 'long unsigned int', but argument 3 has type 'unsigned int' [-Wformat=] + fprintf(stderr,"symtbl 0x%0lx dump:\n", + ~~~^ + %0x + (uintptr_t)this); + ~~~~~~~~~~~~~~~ +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/i386-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 ()); + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +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-rZYUKp/graphicsmagick-1.4~hg15978=. -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 +gcc -fopenmp -g -O2 -fdebug-prefix-map=/build/graphicsmagick-rZYUKp/graphicsmagick-1.4~hg15978=. -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 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", @@ -4202,14 +4762,29 @@ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -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); - ^ +objects.c: In function 'Setup_object_data': +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 main.c:38: -/usr/include/i386-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 2 and 21 bytes into a destination of size 20 + from objects.c:29: +/usr/include/i386-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/i386-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 ()); @@ -4230,85 +4805,7 @@ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __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/i386-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/i386-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/i386-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/i386-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/i386-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/i386-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 ()); - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +gcc -fopenmp -g -O2 -fdebug-prefix-map=/build/graphicsmagick-rZYUKp/graphicsmagick-1.4~hg15978=. -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 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: @@ -4325,174 +4822,6 @@ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __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/", - ^~ - gps_base_dir); - ~~~~~~~~~~~~ -In file included from /usr/include/stdio.h:873, - from snprintf.h:27, - from main.c:38: -/usr/include/i386-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 18 and 317 bytes into a destination of size 100 - return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, - ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - __bos (__s), __fmt, __va_arg_pack ()); - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -main.c:16058:46: warning: '%s' directive output may be truncated writing up to 1999 bytes into a region of size between 78 and 476 [-Wformat-truncation=] - "(%s getwrite WP GPStrans %s/%s 2>&1) >/dev/null", - ^~ -main.c:16061:17: - gps_temp_map_filename); - ~~~~~~~~~~~~~~~~~~~~~ -In file included from /usr/include/stdio.h:873, - from snprintf.h:27, - from main.c:38: -/usr/include/i386-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 42 and 2439 bytes into a destination of size 500 - 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", - ^~ -main.c:15998:17: - gps_temp_map_filename); - ~~~~~~~~~~~~~~~~~~~~~ -In file included from /usr/include/stdio.h:873, - from snprintf.h:27, - from main.c:38: -/usr/include/i386-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 14 and 2211 bytes into a destination of size 500 - return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, - ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - __bos (__s), __fmt, __va_arg_pack ()); - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -main.c:15963: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 RT %s%s", - ^~ -main.c:15966:17: - gps_temp_map_filename); - ~~~~~~~~~~~~~~~~~~~~~ -In file included from /usr/include/stdio.h:873, - from snprintf.h:27, - from main.c:38: -/usr/include/i386-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 14 and 2211 bytes into a destination of size 500 - return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, - ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - __bos (__s), __fmt, __va_arg_pack ()); - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -main.c:15931: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 TR %s%s", - ^~ -main.c:15934:17: - gps_temp_map_filename); - ~~~~~~~~~~~~~~~~~~~~~ -In file included from /usr/include/stdio.h:873, - from snprintf.h:27, - from main.c:38: -/usr/include/i386-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 14 and 2211 bytes into a destination of size 500 - return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, - ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - __bos (__s), __fmt, __va_arg_pack ()); - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -objects.c: In function 'Setup_object_data': -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/i386-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: In function 'GPS_operations_change_data': -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", - ^~ -main.c:15324:13: - gps_map_type, - ~~~~~~~~~~~~ -In file included from /usr/include/stdio.h:873, - from snprintf.h:27, - from main.c:38: -/usr/include/i386-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 7 and 2084 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: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", - ^~ -main.c:15332:13: - gps_map_type, - ~~~~~~~~~~~~ -In file included from /usr/include/stdio.h:873, - from snprintf.h:27, - from main.c:38: -/usr/include/i386-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 3 and 2080 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: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", - ^~ -main.c:15340:13: - gps_map_type); - ~~~~~~~~~~~~ -In file included from /usr/include/stdio.h:873, - from snprintf.h:27, - from main.c:38: -/usr/include/i386-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 2 and 2030 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:15308: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.shp", - ^~ -main.c:15310:13: - gps_map_type); - ~~~~~~~~~~~~ -In file included from /usr/include/stdio.h:873, - from snprintf.h:27, - from main.c:38: -/usr/include/i386-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 6 and 2034 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:15315: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", - ^~ -main.c:15317:13: - gps_map_type); - ~~~~~~~~~~~~ -In file included from /usr/include/stdio.h:873, - from snprintf.h:27, - from main.c:38: -/usr/include/i386-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 2 and 2030 bytes into a destination of size 2000 - return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, - ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - __bos (__s), __fmt, __va_arg_pack ()); - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -db.c: In function 'station_data_fill_in': -db.c:5257: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 db.c:44: -/usr/include/i386-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 'Setup_item_data': 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", @@ -4508,55 +4837,6 @@ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -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", - ^~ - temp_string); - ~~~~~~~~~~~ -In file included from /usr/include/stdio.h:873, - from snprintf.h:27, - from main.c:38: -/usr/include/i386-linux-gnu/bits/stdio2.h:67:10: note: '__builtin_snprintf' output between 1 and 1024 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:2171:14: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 4 [-Wformat-truncation=] - "%s", - ^~ - temp_string); - ~~~~~~~~~~~ -In file included from /usr/include/stdio.h:873, - from snprintf.h:27, - from main.c:38: -/usr/include/i386-linux-gnu/bits/stdio2.h:67:10: note: '__builtin_snprintf' output between 1 and 1024 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:2211:14: warning: '__builtin___snprintf_chk' output may be truncated before the last format character [-Wformat-truncation=] - "%02d", lat_deg_int); - ^ -In file included from /usr/include/stdio.h:873, - from snprintf.h:27, - from main.c:38: -/usr/include/i386-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 3 and 6 bytes into a destination of size 5 - return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, - ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - __bos (__s), __fmt, __va_arg_pack ()); - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -main.c:2217:14: warning: '__builtin___snprintf_chk' output may be truncated before the last format character [-Wformat-truncation=] - "%03d", lon_deg_int); - ^ -In file included from /usr/include/stdio.h:873, - from snprintf.h:27, - from main.c:38: -/usr/include/i386-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 4 and 6 bytes into a destination of size 5 - 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", @@ -4572,94 +4852,6 @@ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __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 7 bytes into a region of size 6 [-Wformat-truncation=] - xastir_snprintf(siz_str, sizeof(siz_str), "%ldk", scale_y/1024); - ^~~ -main.c:4113:51: note: directive argument in the range [8, 2097151] - xastir_snprintf(siz_str, sizeof(siz_str), "%ldk", scale_y/1024); - ^~~~~~ -In file included from /usr/include/stdio.h:873, - from snprintf.h:27, - from main.c:38: -/usr/include/i386-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 3 and 9 bytes into a destination of size 6 - return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, - ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - __bos (__s), __fmt, __va_arg_pack ()); - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -main.c:4111:52: warning: '%ld' directive output may be truncated writing between 1 and 11 bytes into a region of size 6 [-Wformat-truncation=] - xastir_snprintf(siz_str, sizeof(siz_str), "%ld", scale_y); - ^~~ -main.c:4111:51: note: directive argument in the range [-2147483648, 8999] - xastir_snprintf(siz_str, sizeof(siz_str), "%ld", scale_y); - ^~~~~ -In file included from /usr/include/stdio.h:873, - from snprintf.h:27, - from main.c:38: -/usr/include/i386-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 2 and 12 bytes into a destination of size 6 - 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.", - ^~ - rotated_label_fontname[FONT_STATION]); - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from /usr/include/stdio.h:873, - from snprintf.h:27, - from main.c:38: -/usr/include/i386-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 51 and 306 bytes into a destination of size 100 - return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, - ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - __bos (__s), __fmt, __va_arg_pack ()); - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -db.c: In function 'extract_weather': -db.c:6888:18: warning: '%s' directive output may be truncated writing up to 9 bytes into a region of size 4 [-Wformat-truncation=] - "%s", - ^~ -In file included from /usr/include/stdio.h:873, - from snprintf.h:27, - from db.c:44: -/usr/include/i386-linux-gnu/bits/stdio2.h:67:10: note: '__builtin_snprintf' output between 1 and 10 bytes into a destination of size 4 - return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, - ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - __bos (__s), __fmt, __va_arg_pack ()); - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -db.c:6892:18: warning: '%s' directive output may be truncated writing up to 7 bytes into a region of size 4 [-Wformat-truncation=] - "%s", - ^~ -In file included from /usr/include/stdio.h:873, - from snprintf.h:27, - from db.c:44: -/usr/include/i386-linux-gnu/bits/stdio2.h:67:10: note: '__builtin_snprintf' output between 1 and 8 bytes into a destination of size 4 - return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, - ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - __bos (__s), __fmt, __va_arg_pack ()); - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -db.c:6911:18: warning: '%s' directive output may be truncated writing up to 9 bytes into a region of size 4 [-Wformat-truncation=] - "%s", - ^~ -In file included from /usr/include/stdio.h:873, - from snprintf.h:27, - from db.c:44: -/usr/include/i386-linux-gnu/bits/stdio2.h:67:10: note: '__builtin_snprintf' output between 1 and 10 bytes into a destination of size 4 - return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, - ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - __bos (__s), __fmt, __va_arg_pack ()); - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -db.c:6915:18: warning: '%s' directive output may be truncated writing up to 7 bytes into a region of size 4 [-Wformat-truncation=] - "%s", - ^~ -In file included from /usr/include/stdio.h:873, - from snprintf.h:27, - from db.c:44: -/usr/include/i386-linux-gnu/bits/stdio2.h:67:10: note: '__builtin_snprintf' output between 1 and 8 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 '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); @@ -4675,28 +4867,41 @@ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -db.c: In function 'packet_data_add': -db.c:14632:16: warning: '__builtin_snprintf' output may be truncated before the last format character [-Wformat-truncation=] - "%s", - ^ +db.c: In function 'decode_ax25_line': +db.c:18845:29: warning: '%s' directive output may be truncated writing up to 512 bytes into a region of size between 399 and 508 [-Wformat-truncation=] + "%s>%s,%s,I:%s", + ^~ +db.c:18849:17: + info_copy); + ~~~~~~~~~ In file included from /usr/include/stdio.h:873, from snprintf.h:27, from db.c:44: -/usr/include/i386-linux-gnu/bits/stdio2.h:67:10: note: '__builtin_snprintf' output between 1 and 10 bytes into a destination of size 9 +/usr/include/i386-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 6 or more bytes (assuming 627) into a destination of size 513 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=] +db.c: In function 'read_file_line': +db.c:18924:28: 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 db.c:44: +/usr/include/i386-linux-gnu/bits/stdio2.h:67:10: note: '__builtin_snprintf' output between 1 and 513 bytes into a destination of size 512 + return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, + ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + __bos (__s), __fmt, __va_arg_pack ()); + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +db.c: In function 'my_station_gps_change': +db.c:14224:12: warning: '__builtin_snprintf' output may be truncated before the last format character [-Wformat-truncation=] "%s", - ^~ - result); - ~~~~~~ + ^ In file included from /usr/include/stdio.h:873, from snprintf.h:27, from db.c:44: -/usr/include/i386-linux-gnu/bits/stdio2.h:67:10: note: '__builtin_snprintf' output between 1 and 612 bytes into a destination of size 512 +/usr/include/i386-linux-gnu/bits/stdio2.h:67:10: note: '__builtin_snprintf' output between 1 and 12 bytes into a destination of size 11 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); @@ -4731,45 +4936,6 @@ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -db.c: In function 'decode_ax25_line': -db.c:18845:29: warning: '%s' directive output may be truncated writing up to 512 bytes into a region of size between 399 and 508 [-Wformat-truncation=] - "%s>%s,%s,I:%s", - ^~ -db.c:18849:17: - info_copy); - ~~~~~~~~~ -In file included from /usr/include/stdio.h:873, - from snprintf.h:27, - from db.c:44: -/usr/include/i386-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 6 or more bytes (assuming 627) into a destination of size 513 - return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, - ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - __bos (__s), __fmt, __va_arg_pack ()); - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -db.c: In function 'read_file_line': -db.c:18924:28: 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 db.c:44: -/usr/include/i386-linux-gnu/bits/stdio2.h:67:10: note: '__builtin_snprintf' output between 1 and 513 bytes into a destination of size 512 - return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, - ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - __bos (__s), __fmt, __va_arg_pack ()); - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -db.c: In function 'my_station_gps_change': -db.c:14224:12: 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 db.c:44: -/usr/include/i386-linux-gnu/bits/stdio2.h:67:10: note: '__builtin_snprintf' output between 1 and 12 bytes into a destination of size 11 - return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, - ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - __bos (__s), __fmt, __va_arg_pack ()); - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c: In function 'help_view': main.c:18101:72: warning: '__builtin___snprintf_chk' output may be truncated before the last format character [-Wformat-truncation=] xastir_snprintf(temp3, sizeof(temp3), "%s\n", temp2); @@ -4896,7 +5062,7 @@ make[2]: Leaving directory '/build/xastir-2.1.0' make[1]: Leaving directory '/build/xastir-2.1.0' dh_auto_test - make -j18 check VERBOSE=1 + make -j10 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' @@ -4949,7 +5115,7 @@ dh_prep dh_installdirs dh_auto_install - make -j18 install DESTDIR=/build/xastir-2.1.0/debian/tmp AM_UPDATE_INFO_DIR=no + make -j10 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' @@ -4997,8 +5163,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' @@ -5046,30 +5212,30 @@ make[3]: Entering directory '/build/xastir-2.1.0' make install-exec-hook /bin/mkdir -p '/build/xastir-2.1.0/debian/tmp/usr/share/xastir/Counties' +make[4]: Entering directory '/build/xastir-2.1.0' +rm -rf /build/xastir-2.1.0/debian/tmp/usr/share/xastir/doc +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' + /usr/bin/install -c -m 644 placeholder '/build/xastir-2.1.0/debian/tmp/usr/share/xastir/Counties' + /usr/bin/install -c -m 644 placeholder '/build/xastir-2.1.0/debian/tmp/usr/share/xastir/fcc' /bin/mkdir -p '/build/xastir-2.1.0/debian/tmp/usr/share/xastir/maps/Online/geogratis.gc.ca' /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' - /bin/mkdir -p '/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/Counties' - /usr/bin/install -c -m 644 placeholder '/build/xastir-2.1.0/debian/tmp/usr/share/xastir/fcc' - /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' - /bin/mkdir -p '/build/xastir-2.1.0/debian/tmp/usr/share/xastir/maps/Online/nationalmap.gov' + /bin/mkdir -p '/build/xastir-2.1.0/debian/tmp/usr/share/xastir/maps' + /bin/mkdir -p '/build/xastir-2.1.0/debian/tmp/usr/share/man/man1' + /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 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/GNIS' + /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/nationalmap.gov' /bin/mkdir -p '/build/xastir-2.1.0/debian/tmp/usr/share/xastir/maps/Online' -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/sounds' - /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 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 placeholder '/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 worldhi.map CC_OpenStreetMap_logo.png CC_OpenStreetMap_txt.png '/build/xastir-2.1.0/debian/tmp/usr/share/xastir/maps' -make[4]: Leaving directory '/build/xastir-2.1.0' /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 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 placeholder '/build/xastir-2.1.0/debian/tmp/usr/share/xastir/sounds' 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 && \ @@ -5094,21 +5260,21 @@ dh_fixperms dh_missing dh_missing: usr/share/doc/xastir/INSTALL exists in debian/tmp but is not installed to anywhere -dh_missing: usr/share/doc/xastir/AUTHORS exists in debian/tmp but is not installed to anywhere -dh_missing: usr/share/doc/xastir/COPYING exists in debian/tmp but is not installed to anywhere -dh_missing: usr/share/doc/xastir/UPGRADE exists in debian/tmp but is not installed to anywhere dh_missing: usr/share/doc/xastir/ChangeLog exists in debian/tmp but is not installed to anywhere -dh_missing: usr/share/doc/xastir/README.MAPS exists in debian/tmp but is not installed to anywhere -dh_missing: usr/share/doc/xastir/FAQ exists in debian/tmp but is not installed to anywhere +dh_missing: usr/share/doc/xastir/UPGRADE exists in debian/tmp but is not installed to anywhere dh_missing: usr/share/doc/xastir/COPYING.LIB.LESSTIF exists in debian/tmp but is not installed to anywhere -dh_missing: usr/share/doc/xastir/LICENSE exists in debian/tmp but is not installed to anywhere -dh_missing: usr/share/doc/xastir/README.sudo exists in debian/tmp but is not installed to anywhere -dh_missing: usr/share/doc/xastir/README.Getting-Started exists in debian/tmp but is not installed to anywhere -dh_missing: usr/share/doc/xastir/README.CYGWIN exists in debian/tmp but is not installed to anywhere +dh_missing: usr/share/doc/xastir/FAQ exists in debian/tmp but is not installed to anywhere dh_missing: usr/share/doc/xastir/README.GIT exists in debian/tmp but is not installed to anywhere -dh_missing: usr/share/doc/xastir/CONTRIBUTING.md exists in debian/tmp but is not installed to anywhere +dh_missing: usr/share/doc/xastir/README.MAPS exists in debian/tmp but is not installed to anywhere +dh_missing: usr/share/doc/xastir/COPYING exists in debian/tmp but is not installed to anywhere +dh_missing: usr/share/doc/xastir/README.CYGWIN exists in debian/tmp but is not installed to anywhere +dh_missing: usr/share/doc/xastir/README.sudo exists in debian/tmp but is not installed to anywhere +dh_missing: usr/share/doc/xastir/LICENSE exists in debian/tmp but is not installed to anywhere dh_missing: usr/share/doc/xastir/README.OSM_maps exists in debian/tmp but is not installed to anywhere dh_missing: usr/share/doc/xastir/README exists in debian/tmp but is not installed to anywhere +dh_missing: usr/share/doc/xastir/CONTRIBUTING.md exists in debian/tmp but is not installed to anywhere +dh_missing: usr/share/doc/xastir/AUTHORS exists in debian/tmp but is not installed to anywhere +dh_missing: usr/share/doc/xastir/README.Getting-Started exists in debian/tmp but is not installed to anywhere The following debhelper tools have reported what they installed (with files per package) * dh_install: xastir (4), xastir-data (1) * dh_installdocs: xastir (9), xastir-data (0) @@ -5123,24 +5289,24 @@ dh_strip dh_makeshlibs dh_shlibdeps -dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/xastir/usr/bin/xastir debian/xastir/usr/bin/testdbfawk debian/xastir/usr/bin/xastir_udp_client debian/xastir/usr/bin/callpass 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/xastir debian/xastir/usr/bin/testdbfawk debian/xastir/usr/bin/xastir_udp_client debian/xastir/usr/bin/callpass 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/xastir debian/xastir/usr/bin/testdbfawk debian/xastir/usr/bin/xastir_udp_client debian/xastir/usr/bin/callpass 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/xastir debian/xastir/usr/bin/testdbfawk debian/xastir/usr/bin/xastir_udp_client debian/xastir/usr/bin/callpass 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/xastir debian/xastir/usr/bin/testdbfawk debian/xastir/usr/bin/xastir_udp_client debian/xastir/usr/bin/callpass 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/xastir debian/xastir/usr/bin/testdbfawk debian/xastir/usr/bin/xastir_udp_client debian/xastir/usr/bin/callpass 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/xastir debian/xastir/usr/bin/testdbfawk debian/xastir/usr/bin/xastir_udp_client debian/xastir/usr/bin/callpass 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/xastir debian/xastir/usr/bin/testdbfawk debian/xastir/usr/bin/xastir_udp_client debian/xastir/usr/bin/callpass 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/xastir debian/xastir/usr/bin/testdbfawk debian/xastir/usr/bin/xastir_udp_client debian/xastir/usr/bin/callpass 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/xastir debian/xastir/usr/bin/testdbfawk debian/xastir/usr/bin/xastir_udp_client debian/xastir/usr/bin/callpass 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/xastir debian/xastir/usr/bin/testdbfawk debian/xastir/usr/bin/xastir_udp_client debian/xastir/usr/bin/callpass 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/xastir debian/xastir/usr/bin/testdbfawk debian/xastir/usr/bin/xastir_udp_client debian/xastir/usr/bin/callpass 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/xastir debian/xastir/usr/bin/testdbfawk debian/xastir/usr/bin/xastir_udp_client debian/xastir/usr/bin/callpass 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/xastir debian/xastir/usr/bin/testdbfawk debian/xastir/usr/bin/xastir_udp_client debian/xastir/usr/bin/callpass 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/xastir debian/xastir/usr/bin/testdbfawk debian/xastir/usr/bin/xastir_udp_client debian/xastir/usr/bin/callpass 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/xastir debian/xastir/usr/bin/testdbfawk debian/xastir/usr/bin/xastir_udp_client debian/xastir/usr/bin/callpass 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/xastir debian/xastir/usr/bin/testdbfawk debian/xastir/usr/bin/xastir_udp_client debian/xastir/usr/bin/callpass 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/xastir debian/xastir/usr/bin/testdbfawk debian/xastir/usr/bin/xastir_udp_client debian/xastir/usr/bin/callpass 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/testdbfawk debian/xastir/usr/bin/xastir debian/xastir/usr/bin/xastir_udp_client debian/xastir/usr/bin/callpass 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/testdbfawk debian/xastir/usr/bin/xastir debian/xastir/usr/bin/xastir_udp_client debian/xastir/usr/bin/callpass 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/testdbfawk debian/xastir/usr/bin/xastir debian/xastir/usr/bin/xastir_udp_client debian/xastir/usr/bin/callpass 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/testdbfawk debian/xastir/usr/bin/xastir debian/xastir/usr/bin/xastir_udp_client debian/xastir/usr/bin/callpass 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/testdbfawk debian/xastir/usr/bin/xastir debian/xastir/usr/bin/xastir_udp_client debian/xastir/usr/bin/callpass 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/testdbfawk debian/xastir/usr/bin/xastir debian/xastir/usr/bin/xastir_udp_client debian/xastir/usr/bin/callpass 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/testdbfawk debian/xastir/usr/bin/xastir debian/xastir/usr/bin/xastir_udp_client debian/xastir/usr/bin/callpass 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/testdbfawk debian/xastir/usr/bin/xastir debian/xastir/usr/bin/xastir_udp_client debian/xastir/usr/bin/callpass 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/testdbfawk debian/xastir/usr/bin/xastir debian/xastir/usr/bin/xastir_udp_client debian/xastir/usr/bin/callpass 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/testdbfawk debian/xastir/usr/bin/xastir debian/xastir/usr/bin/xastir_udp_client debian/xastir/usr/bin/callpass 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/testdbfawk debian/xastir/usr/bin/xastir debian/xastir/usr/bin/xastir_udp_client debian/xastir/usr/bin/callpass 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/testdbfawk debian/xastir/usr/bin/xastir debian/xastir/usr/bin/xastir_udp_client debian/xastir/usr/bin/callpass 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/testdbfawk debian/xastir/usr/bin/xastir debian/xastir/usr/bin/xastir_udp_client debian/xastir/usr/bin/callpass 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/testdbfawk debian/xastir/usr/bin/xastir debian/xastir/usr/bin/xastir_udp_client debian/xastir/usr/bin/callpass 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/testdbfawk debian/xastir/usr/bin/xastir debian/xastir/usr/bin/xastir_udp_client debian/xastir/usr/bin/callpass 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/testdbfawk debian/xastir/usr/bin/xastir debian/xastir/usr/bin/xastir_udp_client debian/xastir/usr/bin/callpass 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/testdbfawk debian/xastir/usr/bin/xastir debian/xastir/usr/bin/xastir_udp_client debian/xastir/usr/bin/callpass 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/testdbfawk debian/xastir/usr/bin/xastir debian/xastir/usr/bin/xastir_udp_client debian/xastir/usr/bin/callpass were not linked against libjpeg.so.62 (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 @@ -5148,20 +5314,22 @@ dh_md5sums dh_builddeb dpkg-deb: building package 'xastir-dbgsym' in '../xastir-dbgsym_2.1.0-5_i386.deb'. -dpkg-deb: building package 'xastir' in '../xastir_2.1.0-5_i386.deb'. dpkg-deb: building package 'xastir-data' in '../xastir-data_2.1.0-5_i386.deb'. +dpkg-deb: building package 'xastir' in '../xastir_2.1.0-5_i386.deb'. dpkg-genbuildinfo --build=binary dpkg-genchanges --build=binary >../xastir_2.1.0-5_i386.changes dpkg-genchanges: info: binary-only upload (no source code included) dpkg-source --after-build . dpkg-buildpackage: info: binary-only upload (no source included) I: copying local configuration +I: user script /srv/workspace/pbuilder/13695/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/13695/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/1630 and its subdirectories -I: Current time: Thu Jun 17 19:58:06 -12 2021 -I: pbuilder-time-stamp: 1624003086 +I: removing directory /srv/workspace/pbuilder/13695 and its subdirectories +I: Current time: Sat May 16 15:45:27 +14 2020 +I: pbuilder-time-stamp: 1589593527