Source: picocom Version: 3.1-2 Severity: serious Tags: ftbfs patch X-Debbugs-Cc: Martin <deba...@debian.org>
https://buildd.debian.org/status/logs.php?pkg=picocom&ver=3.1-3 ... In file included from term.c:73: term.c: In function ‘term_get_baudrate’: termios2.h:41:41: error: ‘struct termios’ has no member named ‘c_ispeed’ 41 | #define cfgetispeed_custom(tiop) ((tiop)->c_ispeed) | ^~ term.c:862:27: note: in expansion of macro ‘cfgetispeed_custom’ 862 | *ispeed = cfgetispeed_custom(&term.currtermios[i]); | ^~~~~~~~~~~~~~~~~~ termios2.h:40:41: error: ‘struct termios’ has no member named ‘c_ospeed’ 40 | #define cfgetospeed_custom(tiop) ((tiop)->c_ospeed) | ^~ term.c:870:22: note: in expansion of macro ‘cfgetospeed_custom’ 870 | ospeed = cfgetospeed_custom(&term.currtermios[i]); | ^~~~~~~~~~~~~~~~~~ make[2]: *** [Makefile:64: term.o] Error 1 This is due to: /usr/include/mips64el-linux-gnuabi64/bits/termios-struct.h ... #define _HAVE_STRUCT_TERMIOS_C_ISPEED 0 #define _HAVE_STRUCT_TERMIOS_C_OSPEED 0 ... An updated use-custom-baud patch is attached.
Description: support custom baudrate on architectures with c_ispeed/c_ospeed Author: W. Martin Borgert <deba...@debian.org> Origin: vendor Last-Update: 2018-03-21 --- This patch header follows DEP-3: http://dep.debian.net/deps/dep3/ --- a/custbaud.h +++ b/custbaud.h @@ -33,7 +33,8 @@ /* Enable by-default for kernels > 2.6.0 on x86 and x86_64 only */ #include <linux/version.h> #if LINUX_VERSION_CODE > KERNEL_VERSION(2,6,0) -#if defined (__i386__) || defined (__x86_64__) || defined (USE_CUSTOM_BAUD) +#include <termios.h> +#if defined (_HAVE_STRUCT_TERMIOS_C_ISPEED) && defined (_HAVE_STRUCT_TERMIOS_C_OSPEED) && _HAVE_STRUCT_TERMIOS_C_ISPEED && _HAVE_STRUCT_TERMIOS_C_OSPEED #ifndef USE_CUSTOM_BAUD #define USE_CUSTOM_BAUD #endif