Bug#1122418: gpstrans: FTBFS: garminserial.c:34:10: fatal error: termio.h: No such file or directory
Package: src:gpstrans
Version: 0.41-12
Severity: serious
Tags: ftbfs forky sid
Dear maintainer:
During a rebuild of all packages in unstable, this package failed to build.
Below you will find the last part of the build log (probably the most
relevant part, but not necessarily). If required, the full build log
is available here:
https://people.debian.org/~sanvila/build-logs/202512/
About the archive rebuild: The build was made on virtual machines from AWS,
using sbuild and a reduced chroot with only build-essential packages.
If you cannot reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.
If this is really a bug in one of the build-depends, please use
reassign and add an affects on src:gpstrans, so that this is still
visible in the BTS web page for this package.
Thanks.
--------------------------------------------------------------------------------
[...]
debian/rules clean
dh clean
dh_auto_clean
make -j2 clean
make[1]: Entering directory '/<<PKGBUILDDIR>>'
Cleaning all in ./
Cleaning all in ./gps
make[2]: Entering directory '/<<PKGBUILDDIR>>/src/gps'
Makefile:20: warning: ignoring prerequisites on suffix rule definition
make[2]: Leaving directory '/<<PKGBUILDDIR>>/src/gps'
Cleaning all in ./grid
make[2]: Entering directory '/<<PKGBUILDDIR>>/src/grid'
make[2]: Leaving directory '/<<PKGBUILDDIR>>/src/grid'
Cleaning all in ./getline
make[2]: Entering directory '/<<PKGBUILDDIR>>/src/getline'
[... snipped ...]
../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;
| ^~~
sendgpsinfo.c: 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 â??copyFloatâ??:
sendgpsinfo.c:1291:8: warning: â??fâ?? is used uninitialized [-Wuninitialized]
1291 | long n = *lp;
| ^
sendgpsinfo.c:1289:9: note: â??fâ?? declared here
1289 | float f = (float)d;
| ^
gcc -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=gnu17 -Wall -g -D__LINUX__ -Wdate-time -D_FORTIFY_SOURCE=2 -I../include datum.c
sendgpsinfo.c: In function â??field.constpropâ??:
sendgpsinfo.c:1319:69: 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:970,
from ../include/defs.h:1,
from sendgpsinfo.c:33:
In function â??sprintfâ??,
inlined from â??field.constpropâ?? at sendgpsinfo.c:1319:6:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:30:10: note: â??__builtin___sprintf_chkâ?? output between 122 and 301 bytes into a destination of size 160
30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
31 | __glibc_objsize (__s), __fmt,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
32 | __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~
sendgpsinfo.c: In function â??doRouteâ??:
sendgpsinfo.c:1319:69: 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 function â??sprintfâ??,
inlined from â??fieldâ?? at sendgpsinfo.c:1319:6,
inlined from â??doRouteâ?? at sendgpsinfo.c:1138:11:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:30:10: note: â??__builtin___sprintf_chkâ?? output between 122 and 297 bytes into a destination of size 160
30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
31 | __glibc_objsize (__s), __fmt,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
32 | __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~
sendgpsinfo.c: In function â??doRouteâ??:
sendgpsinfo.c:1319:69: 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 function â??sprintfâ??,
inlined from â??fieldâ?? at sendgpsinfo.c:1319:6,
inlined from â??doRouteâ?? at sendgpsinfo.c:1141:3:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:30:10: note: â??__builtin___sprintf_chkâ?? output between 122 and 297 bytes into a destination of size 160
30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
31 | __glibc_objsize (__s), __fmt,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
32 | __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~
gcc -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=gnu17 -Wall -g -D__LINUX__ -Wdate-time -D_FORTIFY_SOURCE=2 -I../include calendar.c
In function â??copyFloatâ??,
inlined from â??doWaypointâ?? at sendgpsinfo.c:798:7:
sendgpsinfo.c:1291:8: warning: array subscript â??long int[0]â?? is partly outside array bounds of â??float[1]â?? [-Warray-bounds=]
1291 | long n = *lp;
| ^
sendgpsinfo.c: In function â??doWaypointâ??:
sendgpsinfo.c:1289:9: note: object â??fâ?? of size 4
1289 | float f = (float)d;
| ^
In function â??copyFloatâ??,
inlined from â??doWaypointâ?? at sendgpsinfo.c:783:7:
sendgpsinfo.c:1291:8: warning: array subscript â??long int[0]â?? is partly outside array bounds of â??float[1]â?? [-Warray-bounds=]
1291 | long n = *lp;
| ^
sendgpsinfo.c: In function â??doWaypointâ??:
sendgpsinfo.c:1289:9: note: object â??fâ?? of size 4
1289 | float f = (float)d;
| ^
In function â??copyFloatâ??,
inlined from â??doWaypointâ?? at sendgpsinfo.c:768:7:
sendgpsinfo.c:1291:8: warning: array subscript â??long int[0]â?? is partly outside array bounds of â??float[1]â?? [-Warray-bounds=]
1291 | long n = *lp;
| ^
sendgpsinfo.c: In function â??doWaypointâ??:
sendgpsinfo.c:1289:9: note: object â??fâ?? of size 4
1289 | float f = (float)d;
| ^
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:970,
from ../include/defs.h:1,
from calendar.c:29:
In function â??sprintfâ??,
inlined from â??secs2dtâ?? at calendar.c:66:3:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:30:10: note: â??__builtin___sprintf_chkâ?? output between 20 and 42 bytes into a destination of size 30
30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
31 | __glibc_objsize (__s), __fmt,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
32 | __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~
gcc -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=gnu17 -Wall -g -D__LINUX__ -Wdate-time -D_FORTIFY_SOURCE=2 -I../include gpsmessage.c
gcc -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=gnu17 -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 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=gnu17 -Wall -g -D__LINUX__ -Wdate-time -D_FORTIFY_SOURCE=2 -I../include garminserial.c
In function â??copyFloatâ??,
inlined from â??doTrackâ?? at sendgpsinfo.c:1088:2,
inlined from â??sendGPSInfoâ?? at sendgpsinfo.c:256:17:
sendgpsinfo.c:1291:8: warning: array subscript â??long int[0]â?? is partly outside array bounds of â??float[1]â?? [-Warray-bounds=]
1291 | long n = *lp;
| ^
sendgpsinfo.c: In function â??sendGPSInfoâ??:
sendgpsinfo.c:1289:9: note: object â??fâ?? of size 4
1289 | float f = (float)d;
| ^
In function â??copyFloatâ??,
inlined from â??doTrackâ?? at sendgpsinfo.c:1099:2,
inlined from â??sendGPSInfoâ?? at sendgpsinfo.c:256:17:
sendgpsinfo.c:1291:8: warning: array subscript â??long int[0]â?? is partly outside array bounds of â??float[1]â?? [-Warray-bounds=]
1291 | long n = *lp;
| ^
sendgpsinfo.c: In function â??sendGPSInfoâ??:
sendgpsinfo.c:1289:9: note: object â??fâ?? of size 4
1289 | float f = (float)d;
| ^
garminserial.c:34:10: fatal error: termio.h: No such file or directory
34 | #include <termio.h>
| ^~~~~~~~~~
compilation terminated.
make[3]: *** [Makefile:20: garminserial.o] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory '/<<PKGBUILDDIR>>/src/gps'
make[2]: *** [Makefile:42: all] Error 2
make[2]: Leaving directory '/<<PKGBUILDDIR>>/src'
make[1]: *** [Makefile:12: all] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_build: error: make -j2 INSTALL="install --strip-program=true" returned exit code 2
make: *** [debian/rules:7: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------
Reply to: