Source: sqsh
Version: 2.5.16.1-2
Severity: serious
Justification: FTBFS on amd64
Tags: bullseye sid ftbfs
Usertags: ftbfs-20200926 ftbfs-bullseye
Hi,
During a rebuild of all packages in sid, your package failed to build
on amd64.
Relevant part (hopefully):
> gcc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong
> -Wformat -Werror=format-security -Wall
> -DSQSH_RC='"/etc/sqshrc:${HOME}/.sqshrc"' -DUSE_READLINE -DUSE_X11
> -DUSE_MOTIF -Wdate-time -D_FORTIFY_SOURCE=2 -c -o cmd_connect.o
> cmd_connect.c
> cmd_connect.c:54: warning: "CS_TDS_71" redefined
> 54 | #define CS_TDS_71 7366
> |
> In file included from /usr/include/ctpublic.h:23,
> from cmd_connect.c:28:
> /usr/include/cspublic.h:289: note: this is the location of the previous
> definition
> 289 | #define CS_TDS_71 CS_TDS_71
> |
> cmd_connect.c:55: warning: "CS_TDS_72" redefined
> 55 | #define CS_TDS_72 7367
> |
> In file included from /usr/include/ctpublic.h:23,
> from cmd_connect.c:28:
> /usr/include/cspublic.h:291: note: this is the location of the previous
> definition
> 291 | #define CS_TDS_72 CS_TDS_72
> |
> cmd_connect.c:56: warning: "CS_TDS_73" redefined
> 56 | #define CS_TDS_73 7368
> |
> In file included from /usr/include/ctpublic.h:23,
> from cmd_connect.c:28:
> /usr/include/cspublic.h:293: note: this is the location of the previous
> definition
> 293 | #define CS_TDS_73 CS_TDS_73
> |
> cmd_connect.c:57: warning: "CS_TDS_74" redefined
> 57 | #define CS_TDS_74 7369
> |
> In file included from /usr/include/ctpublic.h:23,
> from cmd_connect.c:28:
> /usr/include/cspublic.h:295: note: this is the location of the previous
> definition
> 295 | #define CS_TDS_74 CS_TDS_74
> |
> cmd_connect.c: In function ‘SetNetAuth’:
> cmd_connect.c:1906:17: error: ‘CS_MAX_CHAR’ undeclared (first use in this
> function); did you mean ‘CS_VARCHAR’?
> 1906 | CS_CHAR buf[CS_MAX_CHAR+1];
> | ^~~~~~~~~~~
> | CS_VARCHAR
> cmd_connect.c:1906:17: note: each undeclared identifier is reported only once
> for each function it appears in
> cmd_connect.c:1916:7: error: ‘CS_SEC_CHANBIND’ undeclared (first use in this
> function); did you mean ‘CS_SEC_CHALLENGE’?
> 1916 | { CS_SEC_CHANBIND, 'b', "Channel binding" },
> | ^~~~~~~~~~~~~~~
> | CS_SEC_CHALLENGE
> cmd_connect.c:1917:7: error: ‘CS_SEC_CONFIDENTIALITY’ undeclared (first use
> in this function)
> 1917 | { CS_SEC_CONFIDENTIALITY,'c', "Data confidentiality" },
> | ^~~~~~~~~~~~~~~~~~~~~~
> cmd_connect.c:1919:7: error: ‘CS_SEC_INTEGRITY’ undeclared (first use in this
> function)
> 1919 | { CS_SEC_INTEGRITY, 'i', "Data integrity" },
> | ^~~~~~~~~~~~~~~~
> cmd_connect.c:1921:7: error: ‘CS_SEC_DATAORIGIN’ undeclared (first use in
> this function)
> 1921 | { CS_SEC_DATAORIGIN, 'o', "Data origin stamping" },
> | ^~~~~~~~~~~~~~~~~
> cmd_connect.c:1922:7: error: ‘CS_SEC_DETECTSEQ’ undeclared (first use in this
> function)
> 1922 | { CS_SEC_DETECTSEQ, 'q', "Data out-of-sequence detection" },
> | ^~~~~~~~~~~~~~~~
> cmd_connect.c:1923:7: error: ‘CS_SEC_DETECTREPLAY’ undeclared (first use in
> this function)
> 1923 | { CS_SEC_DETECTREPLAY, 'r', "Data replay detection" },
> | ^~~~~~~~~~~~~~~~~~~
> cmd_connect.c:1959:27: error: ‘CS_SEC_KEYTAB’ undeclared (first use in this
> function); did you mean ‘CS_SEC_NEGOTIATE’?
> 1959 | CS_SEC_KEYTAB, /* Property */
> | ^~~~~~~~~~~~~
> | CS_SEC_NEGOTIATE
> cmd_connect.c:1959:27: warning: passing argument 3 of ‘ct_con_props’ makes
> integer from pointer without a cast [-Wint-conversion]
> In file included from cmd_connect.c:28:
> /usr/include/ctpublic.h:98:68: note: expected ‘CS_INT’ {aka ‘int’} but
> argument is of type ‘NET_SEC_SERVICE *’ {aka ‘struct _NetSecService *’}
> 98 | CS_RETCODE ct_con_props(CS_CONNECTION * con, CS_INT action, CS_INT
> property, CS_VOID * buffer, CS_INT buflen, CS_INT * out_len);
> |
> ~~~~~~~^~~~~~~~
> cmd_connect.c:1980:27: error: ‘CS_SEC_MECHANISM’ undeclared (first use in
> this function)
> 1980 | CS_SEC_MECHANISM, /* Property */
> | ^~~~~~~~~~~~~~~~
> cmd_connect.c:1980:27: warning: passing argument 3 of ‘ct_con_props’ makes
> integer from pointer without a cast [-Wint-conversion]
> In file included from cmd_connect.c:28:
> /usr/include/ctpublic.h:98:68: note: expected ‘CS_INT’ {aka ‘int’} but
> argument is of type ‘NET_SEC_SERVICE *’ {aka ‘struct _NetSecService *’}
> 98 | CS_RETCODE ct_con_props(CS_CONNECTION * con, CS_INT action, CS_INT
> property, CS_VOID * buffer, CS_INT buflen, CS_INT * out_len);
> |
> ~~~~~~~^~~~~~~~
> cmd_connect.c:2009:23: warning: passing argument 3 of ‘ct_con_props’ makes
> integer from pointer without a cast [-Wint-conversion]
> 2009 | CS_SEC_MECHANISM, /* Property */
> | ^~~~~~~~~~~~~~~~
> | |
> | NET_SEC_SERVICE * {aka struct _NetSecService *}
> In file included from cmd_connect.c:28:
> /usr/include/ctpublic.h:98:68: note: expected ‘CS_INT’ {aka ‘int’} but
> argument is of type ‘NET_SEC_SERVICE *’ {aka ‘struct _NetSecService *’}
> 98 | CS_RETCODE ct_con_props(CS_CONNECTION * con, CS_INT action, CS_INT
> property, CS_VOID * buffer, CS_INT buflen, CS_INT * out_len);
> |
> ~~~~~~~^~~~~~~~
> cmd_connect.c:2011:23: warning: passing argument 5 of ‘ct_con_props’ makes
> integer from pointer without a cast [-Wint-conversion]
> 2011 | CS_MAX_CHAR, /* Buffer Length */
> | ^~~~~~~~~~~
> | |
> | NET_SEC_SERVICE * {aka struct _NetSecService *}
> In file included from cmd_connect.c:28:
> /usr/include/ctpublic.h:98:103: note: expected ‘CS_INT’ {aka ‘int’} but
> argument is of type ‘NET_SEC_SERVICE *’ {aka ‘struct _NetSecService *’}
> 98 | CS_RETCODE ct_con_props(CS_CONNECTION * con, CS_INT action, CS_INT
> property, CS_VOID * buffer, CS_INT buflen, CS_INT * out_len);
> |
> ~~~~~~~^~~~~~
> cmd_connect.c:2019:32: warning: passing argument 3 of ‘env_put’ from
> incompatible pointer type [-Wincompatible-pointer-types]
> 2019 | env_put( g_env, "secmech", buf, ENV_F_TRAN );
> | ^~~
> | |
> | NET_SEC_SERVICE * {aka struct
> _NetSecService *}
> In file included from cmd_connect.c:29:
> sqsh_env.h:60:50: note: expected ‘char *’ but argument is of type
> ‘NET_SEC_SERVICE *’ {aka ‘struct _NetSecService *’}
> 60 | int env_put _ANSI_ARGS(( env_t*, char*, char*, int ));
> | ^~~~~
> sqsh_config.h:162:32: note: in definition of macro ‘_ANSI_ARGS’
> 162 | # define _ANSI_ARGS(x) x
> | ^
> cmd_connect.c:1906:13: warning: unused variable ‘buf’ [-Wunused-variable]
> 1906 | CS_CHAR buf[CS_MAX_CHAR+1];
> | ^~~
> cmd_connect.c: In function ‘ShowNetAuthCredExp’:
> cmd_connect.c:2111:23: error: ‘CS_SEC_CREDTIMEOUT’ undeclared (first use in
> this function)
> 2111 | CS_SEC_CREDTIMEOUT, /* Property */
> | ^~~~~~~~~~~~~~~~~~
> cmd_connect.c:2111:23: warning: passing argument 3 of ‘ct_con_props’ makes
> integer from pointer without a cast [-Wint-conversion]
> In file included from cmd_connect.c:28:
> /usr/include/ctpublic.h:98:68: note: expected ‘CS_INT’ {aka ‘int’} but
> argument is of type ‘NET_SEC_SERVICE *’ {aka ‘struct _NetSecService *’}
> 98 | CS_RETCODE ct_con_props(CS_CONNECTION * con, CS_INT action, CS_INT
> property, CS_VOID * buffer, CS_INT buflen, CS_INT * out_len);
> |
> ~~~~~~~^~~~~~~~
> cmd_connect.c:2127:18: error: ‘CS_UNEXPIRED’ undeclared (first use in this
> function)
> 2127 | case CS_UNEXPIRED:
> | ^~~~~~~~~~~~
> At top level:
> cmd_connect.c:45:13: warning: ‘RCS_Id’ defined but not used
> [-Wunused-variable]
> 45 | static char RCS_Id[] = "$Id: cmd_connect.c,v 1.40 2014/04/04 08:22:38
> mwesdorp Exp $";
> | ^~~~~~
> make[3]: *** [<builtin>: cmd_connect.o] Error 1
The full build log is available from:
http://qa-logs.debian.net/2020/09/26/sqsh_2.5.16.1-2_unstable.log
A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!
About the archive rebuild: The rebuild was done on EC2 VM instances from
Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
failed build was retried once to eliminate random failures.