Input buildinfo: https://buildinfos.debian.net/buildinfo-pool/g/gpstrans/gpstrans_0.41-7_amd64.buildinfo Use metasnap for getting required timestamps New buildinfo file: /tmp/gpstrans-0.41-7fr0l_yid/gpstrans_0.41-7_amd64.buildinfo Get source package info: gpstrans=0.41-7 Source URL: http://snapshot.notset.fr/mr/package/gpstrans/0.41-7/srcfiles?fileinfo=1 env -i PATH=/usr/sbin:/usr/bin:/sbin:/bin TMPDIR=/tmp mmdebstrap --arch=amd64 --include=autoconf=2.69-14 automake=1:1.16.3-2 autopoint=0.21-3 autotools-dev=20180224.1+nmu1 base-files=11 base-passwd=3.5.48 bash=5.1-2 binutils=2.35.1-7 binutils-common=2.35.1-7 binutils-x86-64-linux-gnu=2.35.1-7 bsdextrautils=2.36.1-6 bsdutils=1:2.36.1-6 build-essential=12.9 bzip2=1.0.8-4 coreutils=8.32-4+b1 cpp=4:10.2.1-1 cpp-10=10.2.1-6 dash=0.5.11+git20200708+dd9ef66-5 debconf=1.5.74 debhelper=13.3.1 debianutils=4.11.2 dh-autoreconf=19 dh-strip-nondeterminism=1.10.0-1 diffutils=1:3.7-5 dpkg=1.20.7.1 dpkg-dev=1.20.7.1 dwz=0.13+20210118-1 file=1:5.39-3 findutils=4.8.0-1 g++=4:10.2.1-1 g++-10=10.2.1-6 gcc=4:10.2.1-1 gcc-10=10.2.1-6 gcc-10-base=10.2.1-6 gettext=0.21-3 gettext-base=0.21-3 grep=3.6-1 groff-base=1.22.4-5 gzip=1.10-2 hostname=3.23 init-system-helpers=1.60 intltool-debian=0.35.0+20060710.5 libacl1=2.2.53-9 libarchive-zip-perl=1.68-1 libasan6=10.2.1-6 libatomic1=10.2.1-6 libattr1=1:2.4.48-6 libaudit-common=1:3.0-2 libaudit1=1:3.0-2 libbinutils=2.35.1-7 libblkid1=2.36.1-6 libbz2-1.0=1.0.8-4 libc-bin=2.31-9 libc-dev-bin=2.31-9 libc6=2.31-9 libc6-dev=2.31-9 libcap-ng0=0.7.9-2.2+b1 libcc1-0=10.2.1-6 libcom-err2=1.45.6-1 libcrypt-dev=1:4.4.17-1 libcrypt1=1:4.4.17-1 libctf-nobfd0=2.35.1-7 libctf0=2.35.1-7 libdb5.3=5.3.28+dfsg1-0.6 libdebconfclient0=0.256 libdebhelper-perl=13.3.1 libdpkg-perl=1.20.7.1 libelf1=0.182-3 libfile-stripnondeterminism-perl=1.10.0-1 libgcc-10-dev=10.2.1-6 libgcc-s1=10.2.1-6 libgcrypt20=1.8.7-2 libgdbm-compat4=1.19-2 libgdbm6=1.19-2 libgmp10=2:6.2.1+dfsg-1 libgomp1=10.2.1-6 libgpg-error0=1.38-2 libgssapi-krb5-2=1.18.3-4 libicu67=67.1-6 libisl23=0.23-1 libitm1=10.2.1-6 libk5crypto3=1.18.3-4 libkeyutils1=1.6.1-2 libkrb5-3=1.18.3-4 libkrb5support0=1.18.3-4 liblsan0=10.2.1-6 liblz4-1=1.9.3-1 liblzma5=5.2.5-1.0 libmagic-mgc=1:5.39-3 libmagic1=1:5.39-3 libmount1=2.36.1-6 libmpc3=1.2.0-1 libmpfr6=4.1.0-3 libnsl-dev=1.3.0-2 libnsl2=1.3.0-2 libpam-modules=1.4.0-2 libpam-modules-bin=1.4.0-2 libpam-runtime=1.4.0-2 libpam0g=1.4.0-2 libpcre2-8-0=10.36-2 libpcre3=2:8.39-13 libperl5.32=5.32.0-6 libpipeline1=1.5.3-1 libquadmath0=10.2.1-6 libseccomp2=2.5.1-1 libselinux1=3.1-2+b2 libsigsegv2=2.12-3 libsmartcols1=2.36.1-6 libssl1.1=1.1.1i-2 libstdc++-10-dev=10.2.1-6 libstdc++6=10.2.1-6 libsub-override-perl=0.09-2 libsystemd0=247.2-5 libtinfo6=6.2+20201114-2 libtirpc-common=1.3.1-1 libtirpc-dev=1.3.1-1 libtirpc3=1.3.1-1 libtool=2.4.6-15 libtsan0=10.2.1-6 libubsan1=10.2.1-6 libuchardet0=0.0.7-1 libudev1=247.2-5 libunistring2=0.9.10-4 libuuid1=2.36.1-6 libxml2=2.9.10+dfsg-6.3+b1 libzstd1=1.4.8+dfsg-1 linux-libc-dev=5.10.9-1 login=1:4.8.1-1 lsb-base=11.1.0 m4=1.4.18-5 make=4.3-4 man-db=2.9.3-2 mawk=1.3.4.20200120-2 ncurses-base=6.2+20201114-2 ncurses-bin=6.2+20201114-2 patch=2.7.6-7 perl=5.32.0-6 perl-base=5.32.0-6 perl-modules-5.32=5.32.0-6 po-debconf=1.0.21+nmu1 sed=4.7-1 sensible-utils=0.0.14 sysvinit-utils=2.96-5 tar=1.32+dfsg-1 util-linux=2.36.1-6 xz-utils=5.2.5-1.0 zlib1g=1:1.2.11.dfsg-2 --variant=apt --aptopt=Acquire::Check-Valid-Until "false" --aptopt=Acquire::http::Dl-Limit "1000"; --aptopt=Acquire::https::Dl-Limit "1000"; --aptopt=Acquire::Retries "5"; --aptopt=APT::Get::allow-downgrades "true"; --keyring=/usr/share/keyrings/ --essential-hook=chroot "$1" sh -c "apt-get --yes install fakeroot util-linux" --essential-hook=copy-in /usr/share/keyrings/debian-archive-bullseye-automatic.gpg /usr/share/keyrings/debian-archive-bullseye-security-automatic.gpg /usr/share/keyrings/debian-archive-bullseye-stable.gpg /usr/share/keyrings/debian-archive-buster-automatic.gpg /usr/share/keyrings/debian-archive-buster-security-automatic.gpg /usr/share/keyrings/debian-archive-buster-stable.gpg /usr/share/keyrings/debian-archive-keyring.gpg /usr/share/keyrings/debian-archive-removed-keys.gpg /usr/share/keyrings/debian-archive-stretch-automatic.gpg /usr/share/keyrings/debian-archive-stretch-security-automatic.gpg /usr/share/keyrings/debian-archive-stretch-stable.gpg /usr/share/keyrings/debian-ports-archive-keyring-removed.gpg /usr/share/keyrings/debian-ports-archive-keyring.gpg /usr/share/keyrings/debian-keyring.gpg /etc/apt/trusted.gpg.d/ --essential-hook=chroot "$1" sh -c "rm /etc/apt/sources.list && echo 'deb http://snapshot.notset.fr/archive/debian/20210814T212851Z/ bookworm main deb-src http://snapshot.notset.fr/archive/debian/20210814T212851Z/ bookworm main deb http://snapshot.notset.fr/archive/debian/20210127T084213Z/ unstable main' >> /etc/apt/sources.list && apt-get update" --customize-hook=chroot "$1" useradd --no-create-home -d /nonexistent -p "" builduser -s /bin/bash --customize-hook=chroot "$1" env sh -c "apt-get source --only-source -d gpstrans=0.41-7 && mkdir -p /build/gpstrans-TeoStu && dpkg-source --no-check -x /*.dsc /build/gpstrans-TeoStu/gpstrans-0.41 && chown -R builduser:builduser /build/gpstrans-TeoStu" --customize-hook=chroot "$1" env --unset=TMPDIR runuser builduser -c "cd /build/gpstrans-TeoStu/gpstrans-0.41 && env DEB_BUILD_OPTIONS="parallel=4" LC_ALL="C.UTF-8" SOURCE_DATE_EPOCH="1611530021" dpkg-buildpackage -uc -a amd64 --build=any" --customize-hook=sync-out /build/gpstrans-TeoStu /tmp/gpstrans-0.41-7fr0l_yid bullseye /dev/null deb http://snapshot.notset.fr/archive/debian/20210127T084213Z unstable main I: automatically chosen mode: root I: chroot architecture amd64 is equal to the host's architecture I: automatically chosen format: tar I: using /tmp/mmdebstrap.4IrJO4w5Ki as tempdir I: running apt-get update... I: downloading packages with apt... I: extracting archives... I: installing essential packages... I: running --essential-hook in shell: sh -c 'chroot "$1" sh -c "apt-get --yes install fakeroot util-linux"' exec /tmp/mmdebstrap.4IrJO4w5Ki Reading package lists... Building dependency tree... util-linux is already the newest version (2.36.1-6). The following NEW packages will be installed: fakeroot libfakeroot 0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded. Need to get 134 kB of archives. After this operation, 397 kB of additional disk space will be used. Get:1 http://snapshot.notset.fr/archive/debian/20210127T084213Z unstable/main amd64 libfakeroot amd64 1.25.3-1.1 [47.0 kB] Get:2 http://snapshot.notset.fr/archive/debian/20210127T084213Z unstable/main amd64 fakeroot amd64 1.25.3-1.1 [87.0 kB] debconf: delaying package configuration, since apt-utils is not installed Fetched 134 kB in 0s (1095 kB/s) Selecting previously unselected package libfakeroot:amd64. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 4661 files and directories currently installed.) Preparing to unpack .../libfakeroot_1.25.3-1.1_amd64.deb ... Unpacking libfakeroot:amd64 (1.25.3-1.1) ... Selecting previously unselected package fakeroot. Preparing to unpack .../fakeroot_1.25.3-1.1_amd64.deb ... Unpacking fakeroot (1.25.3-1.1) ... Setting up libfakeroot:amd64 (1.25.3-1.1) ... Setting up fakeroot (1.25.3-1.1) ... update-alternatives: using /usr/bin/fakeroot-sysv to provide /usr/bin/fakeroot (fakeroot) in auto mode Processing triggers for libc-bin (2.31-9) ... I: running special hook: copy-in /usr/share/keyrings/debian-archive-bullseye-automatic.gpg /usr/share/keyrings/debian-archive-bullseye-security-automatic.gpg /usr/share/keyrings/debian-archive-bullseye-stable.gpg /usr/share/keyrings/debian-archive-buster-automatic.gpg /usr/share/keyrings/debian-archive-buster-security-automatic.gpg /usr/share/keyrings/debian-archive-buster-stable.gpg /usr/share/keyrings/debian-archive-keyring.gpg /usr/share/keyrings/debian-archive-removed-keys.gpg /usr/share/keyrings/debian-archive-stretch-automatic.gpg /usr/share/keyrings/debian-archive-stretch-security-automatic.gpg /usr/share/keyrings/debian-archive-stretch-stable.gpg /usr/share/keyrings/debian-ports-archive-keyring-removed.gpg /usr/share/keyrings/debian-ports-archive-keyring.gpg /usr/share/keyrings/debian-keyring.gpg /etc/apt/trusted.gpg.d/ I: running --essential-hook in shell: sh -c 'chroot "$1" sh -c "rm /etc/apt/sources.list && echo 'deb http://snapshot.notset.fr/archive/debian/20210814T212851Z/ bookworm main deb-src http://snapshot.notset.fr/archive/debian/20210814T212851Z/ bookworm main deb http://snapshot.notset.fr/archive/debian/20210127T084213Z/ unstable main' >> /etc/apt/sources.list && apt-get update"' exec /tmp/mmdebstrap.4IrJO4w5Ki Get:1 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm InRelease [81.6 kB] Hit:2 http://snapshot.notset.fr/archive/debian/20210127T084213Z unstable InRelease Ign:3 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main Sources Ign:4 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main amd64 Packages Ign:3 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main Sources Ign:4 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main amd64 Packages Ign:3 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main Sources Ign:4 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main amd64 Packages Get:3 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main Sources [11.4 MB] Get:4 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main amd64 Packages [11.1 MB] Fetched 22.6 MB in 20s (1120 kB/s) Reading package lists... I: installing remaining packages inside the chroot... I: running --customize-hook in shell: sh -c 'chroot "$1" useradd --no-create-home -d /nonexistent -p "" builduser -s /bin/bash' exec /tmp/mmdebstrap.4IrJO4w5Ki I: running --customize-hook in shell: sh -c 'chroot "$1" env sh -c "apt-get source --only-source -d gpstrans=0.41-7 && mkdir -p /build/gpstrans-TeoStu && dpkg-source --no-check -x /*.dsc /build/gpstrans-TeoStu/gpstrans-0.41 && chown -R builduser:builduser /build/gpstrans-TeoStu"' exec /tmp/mmdebstrap.4IrJO4w5Ki Reading package lists... NOTICE: 'gpstrans' packaging is maintained in the 'Git' version control system at: https://salsa.debian.org/debian/gpstrans.git Please use: git clone https://salsa.debian.org/debian/gpstrans.git to retrieve the latest (possibly unreleased) updates to the package. Need to get 120 kB of source archives. Get:1 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main gpstrans 0.41-7 (dsc) [1850 B] Get:2 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main gpstrans 0.41-7 (tar) [111 kB] Get:3 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main gpstrans 0.41-7 (diff) [8028 B] Fetched 120 kB in 0s (689 kB/s) Download complete and in download only mode W: Download is performed unsandboxed as root as file 'gpstrans_0.41-7.dsc' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied) dpkg-source: info: extracting gpstrans in /build/gpstrans-TeoStu/gpstrans-0.41 dpkg-source: info: unpacking gpstrans_0.41.orig.tar.gz dpkg-source: info: unpacking gpstrans_0.41-7.debian.tar.xz dpkg-source: info: using patch list from debian/patches/series dpkg-source: info: applying 01-makefile-no-strip.diff dpkg-source: info: applying 02-my-getline.diff dpkg-source: info: applying 03-src-makefile-flags.diff dpkg-source: info: applying 04-fix-makefile.diff dpkg-source: info: applying 05-libgetline-re-enable-posix-macro.diff I: running --customize-hook in shell: sh -c 'chroot "$1" env --unset=TMPDIR runuser builduser -c "cd /build/gpstrans-TeoStu/gpstrans-0.41 && env DEB_BUILD_OPTIONS="parallel=4" LC_ALL="C.UTF-8" SOURCE_DATE_EPOCH="1611530021" dpkg-buildpackage -uc -a amd64 --build=any"' exec /tmp/mmdebstrap.4IrJO4w5Ki dpkg-buildpackage: info: source package gpstrans dpkg-buildpackage: info: source version 0.41-7 dpkg-buildpackage: info: source distribution unstable dpkg-buildpackage: info: source changed by Carlos Henrique Lima Melara dpkg-source --before-build . dpkg-buildpackage: info: host architecture amd64 debian/rules clean dh clean dh_auto_clean make -j4 clean make[1]: Entering directory '/build/gpstrans-TeoStu/gpstrans-0.41' Cleaning all in ./ Cleaning all in ./gps make[2]: Entering directory '/build/gpstrans-TeoStu/gpstrans-0.41/src/gps' make[2]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule. Makefile:20: warning: ignoring prerequisites on suffix rule definition make[2]: Leaving directory '/build/gpstrans-TeoStu/gpstrans-0.41/src/gps' Cleaning all in ./grid make[2]: Entering directory '/build/gpstrans-TeoStu/gpstrans-0.41/src/grid' make[2]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule. make[2]: Leaving directory '/build/gpstrans-TeoStu/gpstrans-0.41/src/grid' Cleaning all in ./getline make[2]: Entering directory '/build/gpstrans-TeoStu/gpstrans-0.41/src/getline' make[2]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule. rm -f *.o *.a testgl make[2]: Leaving directory '/build/gpstrans-TeoStu/gpstrans-0.41/src/getline' make[1]: Leaving directory '/build/gpstrans-TeoStu/gpstrans-0.41' dh_clean debian/rules binary-arch dh binary-arch dh_update_autotools_config -a dh_autoreconf -a dh_auto_configure -a dh_auto_build -a make -j4 "INSTALL=install --strip-program=true" make[1]: Entering directory '/build/gpstrans-TeoStu/gpstrans-0.41' make[2]: Entering directory '/build/gpstrans-TeoStu/gpstrans-0.41' make[2]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule. Makefile:36: warning: ignoring prerequisites on suffix rule definition gcc -c -g -O2 -ffile-prefix-map=/build/gpstrans-TeoStu/gpstrans-0.41=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -g -D__LINUX__ -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Igetline util.c util.c: In function ‘GetLine’: util.c:51:7: warning: ignoring return value of ‘fgets’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 51 | fgets (line, MAX_LINE, refNum); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -c -g -O2 -ffile-prefix-map=/build/gpstrans-TeoStu/gpstrans-0.41=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -g -D__LINUX__ -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Igetline prefs.c prefs.c: In function ‘LoadPrefs’: prefs.c:188:7: warning: ignoring return value of ‘fgets’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 188 | fgets (Line, 255, preffp); | ^~~~~~~~~~~~~~~~~~~~~~~~~ prefs.c:219:4: warning: ignoring return value of ‘fgets’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 219 | fgets (Line, 255, preffp); | ^~~~~~~~~~~~~~~~~~~~~~~~~ gcc -c -g -O2 -ffile-prefix-map=/build/gpstrans-TeoStu/gpstrans-0.41=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -g -D__LINUX__ -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Igetline graph.c gcc -c -g -O2 -ffile-prefix-map=/build/gpstrans-TeoStu/gpstrans-0.41=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -g -D__LINUX__ -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Igetline main.c Making all in ./getline make[3]: Entering directory '/build/gpstrans-TeoStu/gpstrans-0.41/src/getline' cc -g -O2 -ffile-prefix-map=/build/gpstrans-TeoStu/gpstrans-0.41=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -g -D__LINUX__ -DPOSIX -Wdate-time -D_FORTIFY_SOURCE=2 -c -o getline.o getline.c getline.c: In function ‘hist_save’: getline.c:1106:24: warning: ‘malloc’ argument 1 type is ‘int’ where ‘long unsigned int’ is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 1106 | if ((s = malloc (len)) != 0) | ^~~ getline.c:35:14: note: built-in ‘malloc’ declared here 35 | extern void *malloc (); | ^~~~~~ getline.c:1114:28: warning: ‘malloc’ argument 1 type is ‘int’ where ‘long unsigned int’ is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 1114 | if ((s = malloc (len + 1)) != 0) | ~~~~^~~ getline.c:35:14: note: built-in ‘malloc’ declared here 35 | extern void *malloc (); | ^~~~~~ At top level: getline.c:709:1: warning: ‘gl_newline’ defined but not used [-Wunused-function] 709 | gl_newline () | ^~~~~~~~~~ getline.c:4:14: warning: ‘copyright’ defined but not used [-Wunused-variable] 4 | static char *copyright = "Copyright (C) 1991, 1992, 1993, Chris Thewalt"; | ^~~~~~~~~ getline.c:2:13: warning: ‘rcsid’ defined but not used [-Wunused-variable] 2 | static char rcsid[] = | ^~~~~ ar cr libgetline.a getline.o ranlib libgetline.a make[3]: Leaving directory '/build/gpstrans-TeoStu/gpstrans-0.41/src/getline' Making all in ./gps make[3]: Entering directory '/build/gpstrans-TeoStu/gpstrans-0.41/src/gps' Makefile:20: warning: ignoring prerequisites on suffix rule definition gcc -c -g -O2 -ffile-prefix-map=/build/gpstrans-TeoStu/gpstrans-0.41=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -g -D__LINUX__ -Wdate-time -D_FORTIFY_SOURCE=2 -I../include sendgpsinfo.c In file included from sendgpsinfo.c:36: ../include/protocols.h:351:3: warning: ‘packed’ attribute ignored for field of type ‘char[40]’ [-Wattributes] 351 | char cmnt[40] __attribute__ ((packed)); /* comment */ | ^~~~ ../include/protocols.h:359:3: warning: ‘packed’ attribute ignored for field of type ‘char[40]’ [-Wattributes] 359 | char cmnt[40] __attribute__ ((packed)); /* comment */ | ^~~~ ../include/protocols.h:361:3: warning: ‘packed’ attribute ignored for field of type ‘uint8’ {aka ‘unsigned char’} [-Wattributes] 361 | uint8 smbl __attribute__ ((packed)); /* symbol id */ | ^~~~~ ../include/protocols.h:375:3: warning: ‘packed’ attribute ignored for field of type ‘char[40]’ [-Wattributes] 375 | char cmnt[40] __attribute__ ((packed)); /* comment */ | ^~~~ ../include/protocols.h:389:3: warning: ‘packed’ attribute ignored for field of type ‘char[40]’ [-Wattributes] 389 | char cmnt[40] __attribute__ ((packed)); /* comment */ | ^~~~ ../include/protocols.h:390:3: warning: ‘packed’ attribute ignored for field of type ‘uint8’ {aka ‘unsigned char’} [-Wattributes] 390 | uint8 smbl __attribute__ ((packed)); /* symbol id */ | ^~~~~ ../include/protocols.h:391:3: warning: ‘packed’ attribute ignored for field of type ‘uint8’ {aka ‘unsigned char’} [-Wattributes] 391 | uint8 dspl __attribute__ ((packed)); /* display option */ | ^~~~~ ../include/protocols.h:428:3: warning: ‘packed’ attribute ignored for field of type ‘char[40]’ [-Wattributes] 428 | char cmnt[40] __attribute__ ((packed)); /* comment */ | ^~~~ ../include/protocols.h:431:3: warning: ‘packed’ attribute ignored for field of type ‘uint8’ {aka ‘unsigned char’} [-Wattributes] 431 | uint8 dspl __attribute__ ((packed)); /* display option */ | ^~~~~ ../include/protocols.h:450:3: warning: ‘packed’ attribute ignored for field of type ‘char[1]’ [-Wattributes] 450 | char ident[1] __attribute__ ((packed)); /* null-terminated string */ | ^~~~ ../include/protocols.h:456:3: warning: ‘packed’ attribute ignored for field of type ‘uint8[13]’ {aka ‘unsigned char[13]’} [-Wattributes] 456 | uint8 subclass[13] __attribute__ ((packed)); /* subclass */ | ^~~~~ ../include/protocols.h:459:3: warning: ‘packed’ attribute ignored for field of type ‘char[1]’ [-Wattributes] 459 | char ident[1] __attribute__ ((packed)); /* null-terminated string */ | ^~~~ ../include/protocols.h:491:3: warning: ‘packed’ attribute ignored for field of type ‘char[40]’ [-Wattributes] 491 | char cmnt[40] __attribute__ ((packed)); /* comment */ | ^~~~ ../include/protocols.h:492:3: warning: ‘packed’ attribute ignored for field of type ‘uint8’ {aka ‘unsigned char’} [-Wattributes] 492 | uint8 smbl __attribute__ ((packed)); /* symbol id */ | ^~~~~ ../include/protocols.h:493:3: warning: ‘packed’ attribute ignored for field of type ‘uint8’ {aka ‘unsigned char’} [-Wattributes] 493 | uint8 dspl __attribute__ ((packed)); /* display option */ | ^~~~~ ../include/protocols.h:495:3: warning: ‘packed’ attribute ignored for field of type ‘uint8’ {aka ‘unsigned char’} [-Wattributes] 495 | uint8 color __attribute__ ((packed)); /* waypoint color */ | ^~~~~ ../include/protocols.h:517:3: warning: ‘packed’ attribute ignored for field of type ‘uint8’ {aka ‘unsigned char’} [-Wattributes] 517 | uint8 color __attribute__ ((packed)); /* color (see below) */ | ^~~~~ ../include/protocols.h:518:3: warning: ‘packed’ attribute ignored for field of type ‘uint8’ {aka ‘unsigned char’} [-Wattributes] 518 | uint8 dspl __attribute__ ((packed)); /* display options (see below) */ | ^~~~~ ../include/protocols.h:519:3: warning: ‘packed’ attribute ignored for field of type ‘uint8’ {aka ‘unsigned char’} [-Wattributes] 519 | uint8 attr __attribute__ ((packed)); /* attributes (see below) */ | ^~~~~ ../include/protocols.h:521:3: warning: ‘packed’ attribute ignored for field of type ‘uint8[18]’ {aka ‘unsigned char[18]’} [-Wattributes] 521 | uint8 subclass[18] __attribute__ ((packed)); /* subclass */ | ^~~~~ ../include/protocols.h:526:3: warning: ‘packed’ attribute ignored for field of type ‘char[2]’ [-Wattributes] 526 | char state[2] __attribute__ ((packed)); /* state */ | ^~~~ ../include/protocols.h:527:3: warning: ‘packed’ attribute ignored for field of type ‘char[2]’ [-Wattributes] 527 | char cc[2] __attribute__ ((packed)); /* country code */ | ^~~~ ../include/protocols.h:528:3: warning: ‘packed’ attribute ignored for field of type ‘char[1]’ [-Wattributes] 528 | char ident[1] __attribute__ ((packed)); /* variable length string*/ | ^~~~ ../include/protocols.h:609:3: warning: ‘packed’ attribute ignored for field of type ‘uint8’ {aka ‘unsigned char’} [-Wattributes] 609 | uint8 wpt_class __attribute__ ((packed)); /* class */ | ^~~~~ ../include/protocols.h:610:3: warning: ‘packed’ attribute ignored for field of type ‘uint8’ {aka ‘unsigned char’} [-Wattributes] 610 | uint8 dspl_color __attribute__ ((packed)); /* display & color (see below) */ | ^~~~~ ../include/protocols.h:611:3: warning: ‘packed’ attribute ignored for field of type ‘uint8’ {aka ‘unsigned char’} [-Wattributes] 611 | uint8 attr __attribute__ ((packed)); /* attributes (0x70 for D109) */ | ^~~~~ ../include/protocols.h:613:3: warning: ‘packed’ attribute ignored for field of type ‘uint8[18]’ {aka ‘unsigned char[18]’} [-Wattributes] 613 | uint8 subclass[18] __attribute__ ((packed)); /* subclass */ | ^~~~~ ../include/protocols.h:618:3: warning: ‘packed’ attribute ignored for field of type ‘char[2]’ [-Wattributes] 618 | char state[2] __attribute__ ((packed)); /* state */ | ^~~~ ../include/protocols.h:619:3: warning: ‘packed’ attribute ignored for field of type ‘char[2]’ [-Wattributes] 619 | char cc[2] __attribute__ ((packed)); /* country code */ | ^~~~ ../include/protocols.h:621:3: warning: ‘packed’ attribute ignored for field of type ‘char[1]’ [-Wattributes] 621 | char ident[1] __attribute__ ((packed)); /* variable length string */ | ^~~~ ../include/protocols.h:648:3: warning: ‘packed’ attribute ignored for field of type ‘uint8’ {aka ‘unsigned char’} [-Wattributes] 648 | uint8 wpt_class __attribute__ ((packed)); /* class */ | ^~~~~ ../include/protocols.h:649:3: warning: ‘packed’ attribute ignored for field of type ‘uint8’ {aka ‘unsigned char’} [-Wattributes] 649 | uint8 dspl_color __attribute__ ((packed)); /* display & color (see below) */ | ^~~~~ ../include/protocols.h:650:3: warning: ‘packed’ attribute ignored for field of type ‘uint8’ {aka ‘unsigned char’} [-Wattributes] 650 | uint8 attr __attribute__ ((packed)); /* attributes (0x80 for D110) */ | ^~~~~ ../include/protocols.h:652:3: warning: ‘packed’ attribute ignored for field of type ‘uint8[18]’ {aka ‘unsigned char[18]’} [-Wattributes] 652 | uint8 subclass[18] __attribute__ ((packed)); /* subclass */ | ^~~~~ ../include/protocols.h:657:3: warning: ‘packed’ attribute ignored for field of type ‘char[2]’ [-Wattributes] 657 | char state[2] __attribute__ ((packed)); /* state */ | ^~~~ ../include/protocols.h:658:3: warning: ‘packed’ attribute ignored for field of type ‘char[2]’ [-Wattributes] 658 | char cc[2] __attribute__ ((packed)); /* country code */ | ^~~~ ../include/protocols.h:663:3: warning: ‘packed’ attribute ignored for field of type ‘char[1]’ [-Wattributes] 663 | char ident[1] __attribute__ ((packed)); /* variable length string */ | ^~~~ ../include/protocols.h:768:3: warning: ‘packed’ attribute ignored for field of type ‘char[2]’ [-Wattributes] 768 | char cc[2] __attribute__ ((packed)); /* country code */ | ^~~~ ../include/protocols.h:769:3: warning: ‘packed’ attribute ignored for field of type ‘uint8’ {aka ‘unsigned char’} [-Wattributes] 769 | uint8 wpt_class __attribute__ ((packed)); /* class */ | ^~~~~ ../include/protocols.h:772:3: warning: ‘packed’ attribute ignored for field of type ‘char[24]’ [-Wattributes] 772 | char city[24] __attribute__ ((packed)); /* city */ | ^~~~ ../include/protocols.h:773:3: warning: ‘packed’ attribute ignored for field of type ‘char[2]’ [-Wattributes] 773 | char state[2] __attribute__ ((packed)); /* state */ | ^~~~ ../include/protocols.h:774:3: warning: ‘packed’ attribute ignored for field of type ‘char[30]’ [-Wattributes] 774 | char name[30] __attribute__ ((packed)); /* facility name */ | ^~~~ ../include/protocols.h:775:3: warning: ‘packed’ attribute ignored for field of type ‘char[40]’ [-Wattributes] 775 | char cmnt[40] __attribute__ ((packed)); /* comment */ | ^~~~ ../include/protocols.h:809:3: warning: ‘packed’ attribute ignored for field of type ‘char[40]’ [-Wattributes] 809 | char cmnt[40] __attribute__ ((packed)); /* comment */ | ^~~~ ../include/protocols.h:811:3: warning: ‘packed’ attribute ignored for field of type ‘char[30]’ [-Wattributes] 811 | char name[30] __attribute__ ((packed)); /* facility name */ | ^~~~ ../include/protocols.h:812:3: warning: ‘packed’ attribute ignored for field of type ‘char[24]’ [-Wattributes] 812 | char city[24] __attribute__ ((packed)); /* city */ | ^~~~ ../include/protocols.h:813:3: warning: ‘packed’ attribute ignored for field of type ‘char[2]’ [-Wattributes] 813 | char state[2] __attribute__ ((packed)); /* state */ | ^~~~ ../include/protocols.h:815:3: warning: ‘packed’ attribute ignored for field of type ‘char[2]’ [-Wattributes] 815 | char cc[2] __attribute__ ((packed)); /* country code */ | ^~~~ ../include/protocols.h:816:3: warning: ‘packed’ attribute ignored for field of type ‘char’ [-Wattributes] 816 | char unused2 __attribute__ ((packed)); /* should be set to zero */ | ^~~~ ../include/protocols.h:817:3: warning: ‘packed’ attribute ignored for field of type ‘uint8’ {aka ‘unsigned char’} [-Wattributes] 817 | uint8 wpt_class __attribute__ ((packed)); /* class */ | ^~~~~ ../include/protocols.h:850:3: warning: ‘packed’ attribute ignored for field of type ‘char[40]’ [-Wattributes] 850 | char cmnt[40] __attribute__ ((packed)); /* comment */ | ^~~~ ../include/protocols.h:852:3: warning: ‘packed’ attribute ignored for field of type ‘char[30]’ [-Wattributes] 852 | char name[30] __attribute__ ((packed)); /* facility name */ | ^~~~ ../include/protocols.h:853:3: warning: ‘packed’ attribute ignored for field of type ‘char[24]’ [-Wattributes] 853 | char city[24] __attribute__ ((packed)); /* city */ | ^~~~ ../include/protocols.h:854:3: warning: ‘packed’ attribute ignored for field of type ‘char[2]’ [-Wattributes] 854 | char state[2] __attribute__ ((packed)); /* state */ | ^~~~ ../include/protocols.h:856:3: warning: ‘packed’ attribute ignored for field of type ‘char[2]’ [-Wattributes] 856 | char cc[2] __attribute__ ((packed)); /* country code */ | ^~~~ ../include/protocols.h:857:3: warning: ‘packed’ attribute ignored for field of type ‘uint8’ {aka ‘unsigned char’} [-Wattributes] 857 | uint8 unused2 __attribute__ ((packed)); /* should be set to zero */ | ^~~~~ ../include/protocols.h:858:3: warning: ‘packed’ attribute ignored for field of type ‘uint8’ {aka ‘unsigned char’} [-Wattributes] 858 | uint8 wpt_class __attribute__ ((packed)); /* class */ | ^~~~~ ../include/protocols.h:892:3: warning: ‘packed’ attribute ignored for field of type ‘char[40]’ [-Wattributes] 892 | char cmnt[40] __attribute__ ((packed)); /* comment */ | ^~~~ ../include/protocols.h:894:3: warning: ‘packed’ attribute ignored for field of type ‘char[30]’ [-Wattributes] 894 | char name[30] __attribute__ ((packed)); /* facility name */ | ^~~~ ../include/protocols.h:895:3: warning: ‘packed’ attribute ignored for field of type ‘char[24]’ [-Wattributes] 895 | char city[24] __attribute__ ((packed)); /* city */ | ^~~~ ../include/protocols.h:896:3: warning: ‘packed’ attribute ignored for field of type ‘char[2]’ [-Wattributes] 896 | char state[2] __attribute__ ((packed)); /* state */ | ^~~~ ../include/protocols.h:898:3: warning: ‘packed’ attribute ignored for field of type ‘char[2]’ [-Wattributes] 898 | char cc[2] __attribute__ ((packed)); /* country code */ | ^~~~ ../include/protocols.h:899:3: warning: ‘packed’ attribute ignored for field of type ‘uint8’ {aka ‘unsigned char’} [-Wattributes] 899 | uint8 unused2 __attribute__ ((packed)); /* should be set to zero */ | ^~~~~ ../include/protocols.h:900:3: warning: ‘packed’ attribute ignored for field of type ‘uint8’ {aka ‘unsigned char’} [-Wattributes] 900 | uint8 wpt_class __attribute__ ((packed)); /* class */ | ^~~~~ ../include/protocols.h:938:3: warning: ‘packed’ attribute ignored for field of type ‘char[40]’ [-Wattributes] 938 | char cmnt[40] __attribute__ ((packed)); /* comment */ | ^~~~ ../include/protocols.h:940:3: warning: ‘packed’ attribute ignored for field of type ‘char[30]’ [-Wattributes] 940 | char name[30] __attribute__ ((packed)); /* facility name */ | ^~~~ ../include/protocols.h:941:3: warning: ‘packed’ attribute ignored for field of type ‘char[24]’ [-Wattributes] 941 | char city[24] __attribute__ ((packed)); /* city */ | ^~~~ ../include/protocols.h:942:3: warning: ‘packed’ attribute ignored for field of type ‘char[2]’ [-Wattributes] 942 | char state[2] __attribute__ ((packed)); /* state */ | ^~~~ ../include/protocols.h:944:3: warning: ‘packed’ attribute ignored for field of type ‘char[2]’ [-Wattributes] 944 | char cc[2] __attribute__ ((packed)); /* country code */ | ^~~~ ../include/protocols.h:945:3: warning: ‘packed’ attribute ignored for field of type ‘uint8’ {aka ‘unsigned char’} [-Wattributes] 945 | uint8 unused2 __attribute__ ((packed)); /* should be set to zero */ | ^~~~~ ../include/protocols.h:946:3: warning: ‘packed’ attribute ignored for field of type ‘uint8’ {aka ‘unsigned char’} [-Wattributes] 946 | uint8 wpt_class __attribute__ ((packed)); /* class */ | ^~~~~ ../include/protocols.h:948:3: warning: ‘packed’ attribute ignored for field of type ‘uint8’ {aka ‘unsigned char’} [-Wattributes] 948 | uint8 dspl __attribute__ ((packed)); /* display option */ | ^~~~~ ../include/protocols.h:992:3: warning: ‘packed’ attribute ignored for field of type ‘char[20]’ [-Wattributes] 992 | char cmnt[20] __attribute__ ((packed)); /* comment */ | ^~~~ ../include/protocols.h:1008:3: warning: ‘packed’ attribute ignored for field of type ‘uint8[18]’ {aka ‘unsigned char[18]’} [-Wattributes] 1008 | uint8 subclass[18]__attribute__ ((packed)); /* subclass */ | ^~~~~ ../include/protocols.h:1030:3: warning: ‘packed’ attribute ignored for field of type ‘uint8’ {aka ‘unsigned char’} [-Wattributes] 1030 | bool new_trk __attribute__ ((packed)); /* new track segment? */ | ^~~~ ../include/protocols.h:1044:3: warning: ‘packed’ attribute ignored for field of type ‘uint8’ {aka ‘unsigned char’} [-Wattributes] 1044 | bool new_trk __attribute__ ((packed)); /* new track segment? */ | ^~~~ ../include/protocols.h:1063:3: warning: ‘packed’ attribute ignored for field of type ‘uint8’ {aka ‘unsigned char’} [-Wattributes] 1063 | bool new_trk __attribute__ ((packed)); /* new track segment? */ | ^~~~ ../include/protocols.h:1073:3: warning: ‘packed’ attribute ignored for field of type ‘uint8’ {aka ‘unsigned char’} [-Wattributes] 1073 | uint8 color __attribute__ ((packed)); /* color (same as D108) */ | ^~~~~ ../include/protocols.h:1074:3: warning: ‘packed’ attribute ignored for field of type ‘char[1]’ [-Wattributes] 1074 | char trk_ident[1] __attribute__ ((packed)); /* null-terminated string */ | ^~~~ ../include/protocols.h:1087:3: warning: ‘packed’ attribute ignored for field of type ‘uint8’ {aka ‘unsigned char’} [-Wattributes] 1087 | uint8 color __attribute__ ((packed)); /* color (same as D110) */ | ^~~~~ ../include/protocols.h:1088:3: warning: ‘packed’ attribute ignored for field of type ‘char[1]’ [-Wattributes] 1088 | char trk_ident[1] __attribute__ ((packed)); /* null-terminated string */ | ^~~~ ../include/protocols.h:1112:3: warning: ‘packed’ attribute ignored for field of type ‘D150_Wpt_Type’ [-Wattributes] 1112 | D150_Wpt_Type wpt __attribute__ ((packed)); /* waypoint */ | ^~~~~~~~~~~~~ ../include/protocols.h:1146:3: warning: ‘packed’ attribute ignored for field of type ‘uint8’ {aka ‘unsigned char’} [-Wattributes] 1146 | uint8 hlth __attribute__ ((packed)); /* almanac health */ | ^~~~~ ../include/protocols.h:1182:3: warning: ‘packed’ attribute ignored for field of type ‘uint8’ {aka ‘unsigned char’} [-Wattributes] 1182 | uint8 hlth __attribute__ ((packed)); /* almanac health bits 17:24 (coded) */ | ^~~~~ ../include/protocols.h:1191:3: warning: ‘packed’ attribute ignored for field of type ‘uint8’ {aka ‘unsigned char’} [-Wattributes] 1191 | uint8 day __attribute__ ((packed)); /* day (1-31) */ | ^~~~~ ../include/protocols.h:1194:3: warning: ‘packed’ attribute ignored for field of type ‘uint8’ {aka ‘unsigned char’} [-Wattributes] 1194 | uint8 minute __attribute__ ((packed)); /* minute (0-59) */ | ^~~~~ ../include/protocols.h:1195:3: warning: ‘packed’ attribute ignored for field of type ‘uint8’ {aka ‘unsigned char’} [-Wattributes] 1195 | uint8 second __attribute__ ((packed)); /* second (0-59) */ | ^~~~~ ../include/protocols.h:1210:3: warning: ‘packed’ attribute ignored for field of type ‘uint8’ {aka ‘unsigned char’} [-Wattributes] 1210 | bool cross_country_flag __attribute__ ((packed)); /* Flight met cross country criteria */ | ^~~~ sendgpsinfo.c: In function ‘sendGPSInfo’: sendgpsinfo.c:135:7: warning: variable ‘junk’ set but not used [-Wunused-but-set-variable] 135 | int junk; | ^~~~ sendgpsinfo.c: In function ‘doTrack’: sendgpsinfo.c:936:13: warning: variable ‘lon’ set but not used [-Wunused-but-set-variable] 936 | long lat, lon; | ^~~ sendgpsinfo.c:936:8: warning: variable ‘lat’ set but not used [-Wunused-but-set-variable] 936 | long lat, lon; | ^~~ At top level: sendgpsinfo.c:820:1: warning: ‘colorNameToCode’ defined but not used [-Wunused-function] 820 | colorNameToCode (char *name, char *protocol) | ^~~~~~~~~~~~~~~ sendgpsinfo.c: In function ‘field.constprop’: sendgpsinfo.c:1319:62: warning: ‘%80s’ directive writing between 80 and 255 bytes into a region of size between 116 and 120 [-Wformat-overflow=] 1319 | sprintf(buf, "Input line should have at least %d tabs:\n%80s\n", | ^~~~ In file included from /usr/include/stdio.h:867, from ../include/defs.h:1, from sendgpsinfo.c:33: /usr/include/x86_64-linux-gnu/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output between 122 and 301 bytes into a destination of size 160 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sendgpsinfo.c: In function ‘doRoute’: sendgpsinfo.c:1319:62: warning: ‘%80s’ directive writing between 80 and 255 bytes into a region of size 120 [-Wformat-overflow=] 1319 | sprintf(buf, "Input line should have at least %d tabs:\n%80s\n", | ^~~~ In file included from /usr/include/stdio.h:867, from ../include/defs.h:1, from sendgpsinfo.c:33: /usr/include/x86_64-linux-gnu/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output between 122 and 297 bytes into a destination of size 160 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sendgpsinfo.c:1319:62: warning: ‘%80s’ directive writing between 80 and 255 bytes into a region of size 120 [-Wformat-overflow=] 1319 | sprintf(buf, "Input line should have at least %d tabs:\n%80s\n", | ^~~~ In file included from /usr/include/stdio.h:867, from ../include/defs.h:1, from sendgpsinfo.c:33: /usr/include/x86_64-linux-gnu/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output between 122 and 297 bytes into a destination of size 160 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -c -g -O2 -ffile-prefix-map=/build/gpstrans-TeoStu/gpstrans-0.41=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -g -D__LINUX__ -Wdate-time -D_FORTIFY_SOURCE=2 -I../include dms.c gcc -c -g -O2 -ffile-prefix-map=/build/gpstrans-TeoStu/gpstrans-0.41=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -g -D__LINUX__ -Wdate-time -D_FORTIFY_SOURCE=2 -I../include datum.c gcc -c -g -O2 -ffile-prefix-map=/build/gpstrans-TeoStu/gpstrans-0.41=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -g -D__LINUX__ -Wdate-time -D_FORTIFY_SOURCE=2 -I../include calendar.c calendar.c: In function ‘secs2dt’: calendar.c:66:37: warning: ‘%02d’ directive writing between 2 and 6 bytes into a region of size between 2 and 16 [-Wformat-overflow=] 66 | sprintf (dt, "%02d/%02d/%04d %02d:%02d:%02d", mm, dd, yy, h, m, s); | ^~~~ calendar.c:66:16: note: directive argument in the range [-32768, 32767] 66 | sprintf (dt, "%02d/%02d/%04d %02d:%02d:%02d", mm, dd, yy, h, m, s); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ calendar.c:66:16: note: directive argument in the range [-32768, 32767] In file included from /usr/include/stdio.h:867, from ../include/defs.h:1, from calendar.c:29: /usr/include/x86_64-linux-gnu/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output between 20 and 42 bytes into a destination of size 30 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -c -g -O2 -ffile-prefix-map=/build/gpstrans-TeoStu/gpstrans-0.41=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -g -D__LINUX__ -Wdate-time -D_FORTIFY_SOURCE=2 -I../include gpsmessage.c gcc -c -g -O2 -ffile-prefix-map=/build/gpstrans-TeoStu/gpstrans-0.41=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -g -D__LINUX__ -Wdate-time -D_FORTIFY_SOURCE=2 -I../include garmincomm.c garmincomm.c: In function ‘CheckGPS’: garmincomm.c:111:7: warning: variable ‘igot’ set but not used [-Wunused-but-set-variable] 111 | int igot; | ^~~~ garmincomm.c: In function ‘getGPSMessage’: garmincomm.c:191:7: warning: variable ‘igot’ set but not used [-Wunused-but-set-variable] 191 | int igot; | ^~~~ garmincomm.c: In function ‘sendGPSMessage’: garmincomm.c:93:3: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 93 | write (ttyfp, gGarminMessage, n); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -c -g -O2 -ffile-prefix-map=/build/gpstrans-TeoStu/gpstrans-0.41=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -g -D__LINUX__ -Wdate-time -D_FORTIFY_SOURCE=2 -I../include garminserial.c gcc -c -g -O2 -ffile-prefix-map=/build/gpstrans-TeoStu/gpstrans-0.41=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -g -D__LINUX__ -Wdate-time -D_FORTIFY_SOURCE=2 -I../include getgpsinfo.c In file included from getgpsinfo.c:38: ../include/protocols.h:351:3: warning: ‘packed’ attribute ignored for field of type ‘char[40]’ [-Wattributes] 351 | char cmnt[40] __attribute__ ((packed)); /* comment */ | ^~~~ ../include/protocols.h:359:3: warning: ‘packed’ attribute ignored for field of type ‘char[40]’ [-Wattributes] 359 | char cmnt[40] __attribute__ ((packed)); /* comment */ | ^~~~ ../include/protocols.h:361:3: warning: ‘packed’ attribute ignored for field of type ‘uint8’ {aka ‘unsigned char’} [-Wattributes] 361 | uint8 smbl __attribute__ ((packed)); /* symbol id */ | ^~~~~ ../include/protocols.h:375:3: warning: ‘packed’ attribute ignored for field of type ‘char[40]’ [-Wattributes] 375 | char cmnt[40] __attribute__ ((packed)); /* comment */ | ^~~~ ../include/protocols.h:389:3: warning: ‘packed’ attribute ignored for field of type ‘char[40]’ [-Wattributes] 389 | char cmnt[40] __attribute__ ((packed)); /* comment */ | ^~~~ ../include/protocols.h:390:3: warning: ‘packed’ attribute ignored for field of type ‘uint8’ {aka ‘unsigned char’} [-Wattributes] 390 | uint8 smbl __attribute__ ((packed)); /* symbol id */ | ^~~~~ ../include/protocols.h:391:3: warning: ‘packed’ attribute ignored for field of type ‘uint8’ {aka ‘unsigned char’} [-Wattributes] 391 | uint8 dspl __attribute__ ((packed)); /* display option */ | ^~~~~ ../include/protocols.h:428:3: warning: ‘packed’ attribute ignored for field of type ‘char[40]’ [-Wattributes] 428 | char cmnt[40] __attribute__ ((packed)); /* comment */ | ^~~~ ../include/protocols.h:431:3: warning: ‘packed’ attribute ignored for field of type ‘uint8’ {aka ‘unsigned char’} [-Wattributes] 431 | uint8 dspl __attribute__ ((packed)); /* display option */ | ^~~~~ ../include/protocols.h:450:3: warning: ‘packed’ attribute ignored for field of type ‘char[1]’ [-Wattributes] 450 | char ident[1] __attribute__ ((packed)); /* null-terminated string */ | ^~~~ ../include/protocols.h:456:3: warning: ‘packed’ attribute ignored for field of type ‘uint8[13]’ {aka ‘unsigned char[13]’} [-Wattributes] 456 | uint8 subclass[13] __attribute__ ((packed)); /* subclass */ | ^~~~~ ../include/protocols.h:459:3: warning: ‘packed’ attribute ignored for field of type ‘char[1]’ [-Wattributes] 459 | char ident[1] __attribute__ ((packed)); /* null-terminated string */ | ^~~~ ../include/protocols.h:491:3: warning: ‘packed’ attribute ignored for field of type ‘char[40]’ [-Wattributes] 491 | char cmnt[40] __attribute__ ((packed)); /* comment */ | ^~~~ ../include/protocols.h:492:3: warning: ‘packed’ attribute ignored for field of type ‘uint8’ {aka ‘unsigned char’} [-Wattributes] 492 | uint8 smbl __attribute__ ((packed)); /* symbol id */ | ^~~~~ ../include/protocols.h:493:3: warning: ‘packed’ attribute ignored for field of type ‘uint8’ {aka ‘unsigned char’} [-Wattributes] 493 | uint8 dspl __attribute__ ((packed)); /* display option */ | ^~~~~ ../include/protocols.h:495:3: warning: ‘packed’ attribute ignored for field of type ‘uint8’ {aka ‘unsigned char’} [-Wattributes] 495 | uint8 color __attribute__ ((packed)); /* waypoint color */ | ^~~~~ ../include/protocols.h:517:3: warning: ‘packed’ attribute ignored for field of type ‘uint8’ {aka ‘unsigned char’} [-Wattributes] 517 | uint8 color __attribute__ ((packed)); /* color (see below) */ | ^~~~~ ../include/protocols.h:518:3: warning: ‘packed’ attribute ignored for field of type ‘uint8’ {aka ‘unsigned char’} [-Wattributes] 518 | uint8 dspl __attribute__ ((packed)); /* display options (see below) */ | ^~~~~ ../include/protocols.h:519:3: warning: ‘packed’ attribute ignored for field of type ‘uint8’ {aka ‘unsigned char’} [-Wattributes] 519 | uint8 attr __attribute__ ((packed)); /* attributes (see below) */ | ^~~~~ ../include/protocols.h:521:3: warning: ‘packed’ attribute ignored for field of type ‘uint8[18]’ {aka ‘unsigned char[18]’} [-Wattributes] 521 | uint8 subclass[18] __attribute__ ((packed)); /* subclass */ | ^~~~~ ../include/protocols.h:526:3: warning: ‘packed’ attribute ignored for field of type ‘char[2]’ [-Wattributes] 526 | char state[2] __attribute__ ((packed)); /* state */ | ^~~~ ../include/protocols.h:527:3: warning: ‘packed’ attribute ignored for field of type ‘char[2]’ [-Wattributes] 527 | char cc[2] __attribute__ ((packed)); /* country code */ | ^~~~ ../include/protocols.h:528:3: warning: ‘packed’ attribute ignored for field of type ‘char[1]’ [-Wattributes] 528 | char ident[1] __attribute__ ((packed)); /* variable length string*/ | ^~~~ ../include/protocols.h:609:3: warning: ‘packed’ attribute ignored for field of type ‘uint8’ {aka ‘unsigned char’} [-Wattributes] 609 | uint8 wpt_class __attribute__ ((packed)); /* class */ | ^~~~~ ../include/protocols.h:610:3: warning: ‘packed’ attribute ignored for field of type ‘uint8’ {aka ‘unsigned char’} [-Wattributes] 610 | uint8 dspl_color __attribute__ ((packed)); /* display & color (see below) */ | ^~~~~ ../include/protocols.h:611:3: warning: ‘packed’ attribute ignored for field of type ‘uint8’ {aka ‘unsigned char’} [-Wattributes] 611 | uint8 attr __attribute__ ((packed)); /* attributes (0x70 for D109) */ | ^~~~~ ../include/protocols.h:613:3: warning: ‘packed’ attribute ignored for field of type ‘uint8[18]’ {aka ‘unsigned char[18]’} [-Wattributes] 613 | uint8 subclass[18] __attribute__ ((packed)); /* subclass */ | ^~~~~ ../include/protocols.h:618:3: warning: ‘packed’ attribute ignored for field of type ‘char[2]’ [-Wattributes] 618 | char state[2] __attribute__ ((packed)); /* state */ | ^~~~ ../include/protocols.h:619:3: warning: ‘packed’ attribute ignored for field of type ‘char[2]’ [-Wattributes] 619 | char cc[2] __attribute__ ((packed)); /* country code */ | ^~~~ ../include/protocols.h:621:3: warning: ‘packed’ attribute ignored for field of type ‘char[1]’ [-Wattributes] 621 | char ident[1] __attribute__ ((packed)); /* variable length string */ | ^~~~ ../include/protocols.h:648:3: warning: ‘packed’ attribute ignored for field of type ‘uint8’ {aka ‘unsigned char’} [-Wattributes] 648 | uint8 wpt_class __attribute__ ((packed)); /* class */ | ^~~~~ ../include/protocols.h:649:3: warning: ‘packed’ attribute ignored for field of type ‘uint8’ {aka ‘unsigned char’} [-Wattributes] 649 | uint8 dspl_color __attribute__ ((packed)); /* display & color (see below) */ | ^~~~~ ../include/protocols.h:650:3: warning: ‘packed’ attribute ignored for field of type ‘uint8’ {aka ‘unsigned char’} [-Wattributes] 650 | uint8 attr __attribute__ ((packed)); /* attributes (0x80 for D110) */ | ^~~~~ ../include/protocols.h:652:3: warning: ‘packed’ attribute ignored for field of type ‘uint8[18]’ {aka ‘unsigned char[18]’} [-Wattributes] 652 | uint8 subclass[18] __attribute__ ((packed)); /* subclass */ | ^~~~~ ../include/protocols.h:657:3: warning: ‘packed’ attribute ignored for field of type ‘char[2]’ [-Wattributes] 657 | char state[2] __attribute__ ((packed)); /* state */ | ^~~~ ../include/protocols.h:658:3: warning: ‘packed’ attribute ignored for field of type ‘char[2]’ [-Wattributes] 658 | char cc[2] __attribute__ ((packed)); /* country code */ | ^~~~ ../include/protocols.h:663:3: warning: ‘packed’ attribute ignored for field of type ‘char[1]’ [-Wattributes] 663 | char ident[1] __attribute__ ((packed)); /* variable length string */ | ^~~~ ../include/protocols.h:768:3: warning: ‘packed’ attribute ignored for field of type ‘char[2]’ [-Wattributes] 768 | char cc[2] __attribute__ ((packed)); /* country code */ | ^~~~ ../include/protocols.h:769:3: warning: ‘packed’ attribute ignored for field of type ‘uint8’ {aka ‘unsigned char’} [-Wattributes] 769 | uint8 wpt_class __attribute__ ((packed)); /* class */ | ^~~~~ ../include/protocols.h:772:3: warning: ‘packed’ attribute ignored for field of type ‘char[24]’ [-Wattributes] 772 | char city[24] __attribute__ ((packed)); /* city */ | ^~~~ ../include/protocols.h:773:3: warning: ‘packed’ attribute ignored for field of type ‘char[2]’ [-Wattributes] 773 | char state[2] __attribute__ ((packed)); /* state */ | ^~~~ ../include/protocols.h:774:3: warning: ‘packed’ attribute ignored for field of type ‘char[30]’ [-Wattributes] 774 | char name[30] __attribute__ ((packed)); /* facility name */ | ^~~~ ../include/protocols.h:775:3: warning: ‘packed’ attribute ignored for field of type ‘char[40]’ [-Wattributes] 775 | char cmnt[40] __attribute__ ((packed)); /* comment */ | ^~~~ ../include/protocols.h:809:3: warning: ‘packed’ attribute ignored for field of type ‘char[40]’ [-Wattributes] 809 | char cmnt[40] __attribute__ ((packed)); /* comment */ | ^~~~ ../include/protocols.h:811:3: warning: ‘packed’ attribute ignored for field of type ‘char[30]’ [-Wattributes] 811 | char name[30] __attribute__ ((packed)); /* facility name */ | ^~~~ ../include/protocols.h:812:3: warning: ‘packed’ attribute ignored for field of type ‘char[24]’ [-Wattributes] 812 | char city[24] __attribute__ ((packed)); /* city */ | ^~~~ ../include/protocols.h:813:3: warning: ‘packed’ attribute ignored for field of type ‘char[2]’ [-Wattributes] 813 | char state[2] __attribute__ ((packed)); /* state */ | ^~~~ ../include/protocols.h:815:3: warning: ‘packed’ attribute ignored for field of type ‘char[2]’ [-Wattributes] 815 | char cc[2] __attribute__ ((packed)); /* country code */ | ^~~~ ../include/protocols.h:816:3: warning: ‘packed’ attribute ignored for field of type ‘char’ [-Wattributes] 816 | char unused2 __attribute__ ((packed)); /* should be set to zero */ | ^~~~ ../include/protocols.h:817:3: warning: ‘packed’ attribute ignored for field of type ‘uint8’ {aka ‘unsigned char’} [-Wattributes] 817 | uint8 wpt_class __attribute__ ((packed)); /* class */ | ^~~~~ ../include/protocols.h:850:3: warning: ‘packed’ attribute ignored for field of type ‘char[40]’ [-Wattributes] 850 | char cmnt[40] __attribute__ ((packed)); /* comment */ | ^~~~ ../include/protocols.h:852:3: warning: ‘packed’ attribute ignored for field of type ‘char[30]’ [-Wattributes] 852 | char name[30] __attribute__ ((packed)); /* facility name */ | ^~~~ ../include/protocols.h:853:3: warning: ‘packed’ attribute ignored for field of type ‘char[24]’ [-Wattributes] 853 | char city[24] __attribute__ ((packed)); /* city */ | ^~~~ ../include/protocols.h:854:3: warning: ‘packed’ attribute ignored for field of type ‘char[2]’ [-Wattributes] 854 | char state[2] __attribute__ ((packed)); /* state */ | ^~~~ ../include/protocols.h:856:3: warning: ‘packed’ attribute ignored for field of type ‘char[2]’ [-Wattributes] 856 | char cc[2] __attribute__ ((packed)); /* country code */ | ^~~~ ../include/protocols.h:857:3: warning: ‘packed’ attribute ignored for field of type ‘uint8’ {aka ‘unsigned char’} [-Wattributes] 857 | uint8 unused2 __attribute__ ((packed)); /* should be set to zero */ | ^~~~~ ../include/protocols.h:858:3: warning: ‘packed’ attribute ignored for field of type ‘uint8’ {aka ‘unsigned char’} [-Wattributes] 858 | uint8 wpt_class __attribute__ ((packed)); /* class */ | ^~~~~ ../include/protocols.h:892:3: warning: ‘packed’ attribute ignored for field of type ‘char[40]’ [-Wattributes] 892 | char cmnt[40] __attribute__ ((packed)); /* comment */ | ^~~~ ../include/protocols.h:894:3: warning: ‘packed’ attribute ignored for field of type ‘char[30]’ [-Wattributes] 894 | char name[30] __attribute__ ((packed)); /* facility name */ | ^~~~ ../include/protocols.h:895:3: warning: ‘packed’ attribute ignored for field of type ‘char[24]’ [-Wattributes] 895 | char city[24] __attribute__ ((packed)); /* city */ | ^~~~ ../include/protocols.h:896:3: warning: ‘packed’ attribute ignored for field of type ‘char[2]’ [-Wattributes] 896 | char state[2] __attribute__ ((packed)); /* state */ | ^~~~ ../include/protocols.h:898:3: warning: ‘packed’ attribute ignored for field of type ‘char[2]’ [-Wattributes] 898 | char cc[2] __attribute__ ((packed)); /* country code */ | ^~~~ ../include/protocols.h:899:3: warning: ‘packed’ attribute ignored for field of type ‘uint8’ {aka ‘unsigned char’} [-Wattributes] 899 | uint8 unused2 __attribute__ ((packed)); /* should be set to zero */ | ^~~~~ ../include/protocols.h:900:3: warning: ‘packed’ attribute ignored for field of type ‘uint8’ {aka ‘unsigned char’} [-Wattributes] 900 | uint8 wpt_class __attribute__ ((packed)); /* class */ | ^~~~~ ../include/protocols.h:938:3: warning: ‘packed’ attribute ignored for field of type ‘char[40]’ [-Wattributes] 938 | char cmnt[40] __attribute__ ((packed)); /* comment */ | ^~~~ ../include/protocols.h:940:3: warning: ‘packed’ attribute ignored for field of type ‘char[30]’ [-Wattributes] 940 | char name[30] __attribute__ ((packed)); /* facility name */ | ^~~~ ../include/protocols.h:941:3: warning: ‘packed’ attribute ignored for field of type ‘char[24]’ [-Wattributes] 941 | char city[24] __attribute__ ((packed)); /* city */ | ^~~~ ../include/protocols.h:942:3: warning: ‘packed’ attribute ignored for field of type ‘char[2]’ [-Wattributes] 942 | char state[2] __attribute__ ((packed)); /* state */ | ^~~~ ../include/protocols.h:944:3: warning: ‘packed’ attribute ignored for field of type ‘char[2]’ [-Wattributes] 944 | char cc[2] __attribute__ ((packed)); /* country code */ | ^~~~ ../include/protocols.h:945:3: warning: ‘packed’ attribute ignored for field of type ‘uint8’ {aka ‘unsigned char’} [-Wattributes] 945 | uint8 unused2 __attribute__ ((packed)); /* should be set to zero */ | ^~~~~ ../include/protocols.h:946:3: warning: ‘packed’ attribute ignored for field of type ‘uint8’ {aka ‘unsigned char’} [-Wattributes] 946 | uint8 wpt_class __attribute__ ((packed)); /* class */ | ^~~~~ ../include/protocols.h:948:3: warning: ‘packed’ attribute ignored for field of type ‘uint8’ {aka ‘unsigned char’} [-Wattributes] 948 | uint8 dspl __attribute__ ((packed)); /* display option */ | ^~~~~ ../include/protocols.h:992:3: warning: ‘packed’ attribute ignored for field of type ‘char[20]’ [-Wattributes] 992 | char cmnt[20] __attribute__ ((packed)); /* comment */ | ^~~~ ../include/protocols.h:1008:3: warning: ‘packed’ attribute ignored for field of type ‘uint8[18]’ {aka ‘unsigned char[18]’} [-Wattributes] 1008 | uint8 subclass[18]__attribute__ ((packed)); /* subclass */ | ^~~~~ ../include/protocols.h:1030:3: warning: ‘packed’ attribute ignored for field of type ‘uint8’ {aka ‘unsigned char’} [-Wattributes] 1030 | bool new_trk __attribute__ ((packed)); /* new track segment? */ | ^~~~ ../include/protocols.h:1044:3: warning: ‘packed’ attribute ignored for field of type ‘uint8’ {aka ‘unsigned char’} [-Wattributes] 1044 | bool new_trk __attribute__ ((packed)); /* new track segment? */ | ^~~~ ../include/protocols.h:1063:3: warning: ‘packed’ attribute ignored for field of type ‘uint8’ {aka ‘unsigned char’} [-Wattributes] 1063 | bool new_trk __attribute__ ((packed)); /* new track segment? */ | ^~~~ ../include/protocols.h:1073:3: warning: ‘packed’ attribute ignored for field of type ‘uint8’ {aka ‘unsigned char’} [-Wattributes] 1073 | uint8 color __attribute__ ((packed)); /* color (same as D108) */ | ^~~~~ ../include/protocols.h:1074:3: warning: ‘packed’ attribute ignored for field of type ‘char[1]’ [-Wattributes] 1074 | char trk_ident[1] __attribute__ ((packed)); /* null-terminated string */ | ^~~~ ../include/protocols.h:1087:3: warning: ‘packed’ attribute ignored for field of type ‘uint8’ {aka ‘unsigned char’} [-Wattributes] 1087 | uint8 color __attribute__ ((packed)); /* color (same as D110) */ | ^~~~~ ../include/protocols.h:1088:3: warning: ‘packed’ attribute ignored for field of type ‘char[1]’ [-Wattributes] 1088 | char trk_ident[1] __attribute__ ((packed)); /* null-terminated string */ | ^~~~ ../include/protocols.h:1112:3: warning: ‘packed’ attribute ignored for field of type ‘D150_Wpt_Type’ [-Wattributes] 1112 | D150_Wpt_Type wpt __attribute__ ((packed)); /* waypoint */ | ^~~~~~~~~~~~~ ../include/protocols.h:1146:3: warning: ‘packed’ attribute ignored for field of type ‘uint8’ {aka ‘unsigned char’} [-Wattributes] 1146 | uint8 hlth __attribute__ ((packed)); /* almanac health */ | ^~~~~ ../include/protocols.h:1182:3: warning: ‘packed’ attribute ignored for field of type ‘uint8’ {aka ‘unsigned char’} [-Wattributes] 1182 | uint8 hlth __attribute__ ((packed)); /* almanac health bits 17:24 (coded) */ | ^~~~~ ../include/protocols.h:1191:3: warning: ‘packed’ attribute ignored for field of type ‘uint8’ {aka ‘unsigned char’} [-Wattributes] 1191 | uint8 day __attribute__ ((packed)); /* day (1-31) */ | ^~~~~ ../include/protocols.h:1194:3: warning: ‘packed’ attribute ignored for field of type ‘uint8’ {aka ‘unsigned char’} [-Wattributes] 1194 | uint8 minute __attribute__ ((packed)); /* minute (0-59) */ | ^~~~~ ../include/protocols.h:1195:3: warning: ‘packed’ attribute ignored for field of type ‘uint8’ {aka ‘unsigned char’} [-Wattributes] 1195 | uint8 second __attribute__ ((packed)); /* second (0-59) */ | ^~~~~ ../include/protocols.h:1210:3: warning: ‘packed’ attribute ignored for field of type ‘uint8’ {aka ‘unsigned char’} [-Wattributes] 1210 | bool cross_country_flag __attribute__ ((packed)); /* Flight met cross country criteria */ | ^~~~ getgpsinfo.c: In function ‘getGPSInfo’: getgpsinfo.c:585:7: warning: variable ‘junk’ set but not used [-Wunused-but-set-variable] 585 | int junk; | ^~~~ getgpsinfo.c: In function ‘tofloat’: getgpsinfo.c:1706:10: warning: ‘n’ is used uninitialized in this function [-Wuninitialized] 1706 | return n; | ^ getgpsinfo.c: In function ‘doWaypoint’: getgpsinfo.c:1428:7: warning: ‘flag’ may be used uninitialized in this function [-Wmaybe-uninitialized] 1428 | sprintf (fileData, "%c\t", flag); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ getgpsinfo.c: In function ‘parseGPS’: getgpsinfo.c:1630:3: warning: ‘pkt.wn’ may be used uninitialized in this function [-Wmaybe-uninitialized] 1630 | sprintf (temp, "******** Week %d almanac for PRN-%02d ********\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1631 | pkt.wn, pkt.svid); | ~~~~~~~~~~~~~~~~~ getgpsinfo.c:1539:16: note: ‘pkt.wn’ was declared here 1539 | almanac_type pkt; | ^~~ getgpsinfo.c:878:6: warning: ‘hdr.color’ may be used uninitialized in this function [-Wmaybe-uninitialized] 878 | if (code < 0 || code > 16) | ^ getgpsinfo.c:804:5: note: ‘hdr.color’ was declared here 804 | } hdr; | ^~~ getgpsinfo.c:841:2: warning: ‘hdr.dspl’ may be used uninitialized in this function [-Wmaybe-uninitialized] 841 | printf("H\t%s\t%s\t%.51s\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ 842 | hdr.dspl?"display":"hide", | ~~~~~~~~~~~~~~~~~~~~~~~~~~ 843 | colorCodeToName(hdr.color), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 844 | hdr.ident); | ~~~~~~~~~~ getgpsinfo.c:804:5: note: ‘hdr.dspl’ was declared here 804 | } hdr; | ^~~ getgpsinfo.c: In function ‘getGPSVersion.part.0’: getgpsinfo.c:311:39: warning: ‘%s’ directive writing up to 512 bytes into a region of size 248 [-Wformat-overflow=] 311 | sprintf (GPSVersionStr, "Garmin %s", gGarminMessage + 7); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:867, from ../include/defs.h:1, from getgpsinfo.c:32: /usr/include/x86_64-linux-gnu/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output between 8 and 520 bytes into a destination of size 255 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ getgpsinfo.c:323:34: warning: ‘%s’ directive writing up to 254 bytes into a region of size between 1 and 255 [-Wformat-overflow=] 323 | sprintf (GPSVersionStr, "%s%s", GPSVersionStr, temp); | ^~ ~~~~ In file included from /usr/include/stdio.h:867, from ../include/defs.h:1, from getgpsinfo.c:32: /usr/include/x86_64-linux-gnu/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output between 1 and 509 bytes into a destination of size 255 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -c -g -O2 -ffile-prefix-map=/build/gpstrans-TeoStu/gpstrans-0.41=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -g -D__LINUX__ -Wdate-time -D_FORTIFY_SOURCE=2 -I../include latlong.c latlong.c: In function ‘translate’: latlong.c:63:14: warning: variable ‘b1’ set but not used [-Wunused-but-set-variable] 63 | double a1, b1, es1, f1; /* Reference ellipsoid of output data */ | ^~ make[3]: Leaving directory '/build/gpstrans-TeoStu/gpstrans-0.41/src/gps' Making all in ./grid make[3]: Entering directory '/build/gpstrans-TeoStu/gpstrans-0.41/src/grid' gcc -c -g -O2 -ffile-prefix-map=/build/gpstrans-TeoStu/gpstrans-0.41=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -g -D__LINUX__ -Wdate-time -D_FORTIFY_SOURCE=2 -I../include itm.c gcc -c -g -O2 -ffile-prefix-map=/build/gpstrans-TeoStu/gpstrans-0.41=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -g -D__LINUX__ -Wdate-time -D_FORTIFY_SOURCE=2 -I../include bng.c gcc -c -g -O2 -ffile-prefix-map=/build/gpstrans-TeoStu/gpstrans-0.41=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -g -D__LINUX__ -Wdate-time -D_FORTIFY_SOURCE=2 -I../include tm.c gcc -c -g -O2 -ffile-prefix-map=/build/gpstrans-TeoStu/gpstrans-0.41=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -g -D__LINUX__ -Wdate-time -D_FORTIFY_SOURCE=2 -I../include ups.c gcc -c -g -O2 -ffile-prefix-map=/build/gpstrans-TeoStu/gpstrans-0.41=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -g -D__LINUX__ -Wdate-time -D_FORTIFY_SOURCE=2 -I../include utm.c gcc -c -g -O2 -ffile-prefix-map=/build/gpstrans-TeoStu/gpstrans-0.41=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -g -D__LINUX__ -Wdate-time -D_FORTIFY_SOURCE=2 -I../include kkj.c gcc -c -g -O2 -ffile-prefix-map=/build/gpstrans-TeoStu/gpstrans-0.41=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -g -D__LINUX__ -Wdate-time -D_FORTIFY_SOURCE=2 -I../include gkk.c gcc -c -g -O2 -ffile-prefix-map=/build/gpstrans-TeoStu/gpstrans-0.41=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -g -D__LINUX__ -Wdate-time -D_FORTIFY_SOURCE=2 -I../include seg.c gcc -c -g -O2 -ffile-prefix-map=/build/gpstrans-TeoStu/gpstrans-0.41=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -g -D__LINUX__ -Wdate-time -D_FORTIFY_SOURCE=2 -I../include gridutils.c make[3]: Leaving directory '/build/gpstrans-TeoStu/gpstrans-0.41/src/grid' Linking file "gpstrans" gcc -o gpstrans util.o prefs.o graph.o main.o gps/sendgpsinfo.o gps/dms.o gps/datum.o gps/calendar.o gps/gpsmessage.o gps/garmincomm.o gps/garminserial.o gps/getgpsinfo.o gps/latlong.o grid/itm.o grid/bng.o grid/tm.o grid/ups.o grid/utm.o grid/seg.o grid/gridutils.o grid/kkj.o grid/gkk.o getline/libgetline.a -Wl,-z,relro -Wl,-z,now -lm make[2]: Leaving directory '/build/gpstrans-TeoStu/gpstrans-0.41/src' make[1]: Leaving directory '/build/gpstrans-TeoStu/gpstrans-0.41' dh_auto_test -a create-stamp debian/debhelper-build-stamp dh_prep -a dh_installdirs -a dh_auto_install -a make -j4 install DESTDIR=/build/gpstrans-TeoStu/gpstrans-0.41/debian/gpstrans AM_UPDATE_INFO_DIR=no "INSTALL=install --strip-program=true" make[1]: Entering directory '/build/gpstrans-TeoStu/gpstrans-0.41' Installation complete! make[1]: Leaving directory '/build/gpstrans-TeoStu/gpstrans-0.41' dh_installdocs -a dh_installchangelogs -a dh_installman -a dh_perl -a dh_link -a dh_strip_nondeterminism -a dh_compress -a dh_fixperms -a dh_missing -a dh_dwz -a -a dh_strip -a -a dh_makeshlibs -a -a dh_shlibdeps -a -a dh_installdeb -a dh_gencontrol -a dh_md5sums -a dh_builddeb -a dpkg-deb: building package 'gpstrans-dbgsym' in '../gpstrans-dbgsym_0.41-7_amd64.deb'. dpkg-deb: building package 'gpstrans' in '../gpstrans_0.41-7_amd64.deb'. dpkg-genbuildinfo --build=any dpkg-genchanges --build=any >../gpstrans_0.41-7_amd64.changes dpkg-genchanges: info: binary-only arch-specific upload (source code and arch-indep packages not included) dpkg-source --after-build . dpkg-buildpackage: info: binary-only upload (no source included) I: running special hook: sync-out /build/gpstrans-TeoStu /tmp/gpstrans-0.41-7fr0l_yid I: cleaning package lists and apt cache... I: creating tarball... I: done I: removing tempdir /tmp/mmdebstrap.4IrJO4w5Ki... I: success in 283.9759 seconds md5: gpstrans-dbgsym_0.41-7_amd64.deb: OK md5: gpstrans_0.41-7_amd64.deb: OK sha1: gpstrans-dbgsym_0.41-7_amd64.deb: OK sha1: gpstrans_0.41-7_amd64.deb: OK sha256: gpstrans-dbgsym_0.41-7_amd64.deb: OK sha256: gpstrans_0.41-7_amd64.deb: OK Checksums: OK