Source: lsh-utils
Version: 2.1-1
Severity: serious
Tags: jessie sid
User: debian...@lists.debian.org
Usertags: qa-ftbfs-20140315 qa-ftbfs
Justification: FTBFS on amd64

Hi,

During a rebuild of all packages in sid, your package failed to build on
amd64.

On new readline versions old-style function typedefs have been deprecated.

Relevant part (hopefully):
> gcc -DHAVE_CONFIG_H -I.   -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE 
> -DTRANSPORT_PROG='"/usr/bin/lshg"'  -g -O2 -fstack-protector 
> --param=ssp-buffer-size=4 -Wformat -Werror=format-security -ggdb3 -Wall -W  
> -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes  
> -Wpointer-arith -Wbad-function-cast -Wnested-externs -Wcast-align -c -o rl.o 
> rl.c
> rl.c: In function 'lsftp_rl_init':
> rl.c:119:39: error: 'CPPFunction' undeclared (first use in this function)
>    rl_attempted_completion_function = (CPPFunction *)lsftp_rl_completion;
>                                        ^
> rl.c:119:39: note: each undeclared identifier is reported only once for each 
> function it appears in
> rl.c:119:52: error: expected expression before ')' token
>    rl_attempted_completion_function = (CPPFunction *)lsftp_rl_completion;
>                                                     ^
> rl.c: In function 'lsftp_rl_completion':
> rl.c:223:11: warning: passing argument 2 of 'rl_completion_matches' from 
> incompatible pointer type [enabled by default]
>            );  
>            ^
> In file included from rl.h:43:0,
>                  from rl.c:37:
> /usr/include/readline/readline.h:457:15: note: expected 'char * (*)(const 
> char *, int)' but argument is of type 'char * (*)(char *, int)'
>  extern char **rl_completion_matches PARAMS((const char *, 
> rl_compentry_func_t *));
>                ^
> rl.c:246:7: warning: passing argument 2 of 'rl_completion_matches' from 
> incompatible pointer type [enabled by default]
>        );
>        ^
> In file included from rl.h:43:0,
>                  from rl.c:37:
> /usr/include/readline/readline.h:457:15: note: expected 'char * (*)(const 
> char *, int)' but argument is of type 'char * (*)(char *, int)'
>  extern char **rl_completion_matches PARAMS((const char *, 
> rl_compentry_func_t *));
>                ^
> rl.c:253:7: warning: passing argument 2 of 'rl_completion_matches' from 
> incompatible pointer type [enabled by default]
>        );
>        ^
> In file included from rl.h:43:0,
>                  from rl.c:37:
> /usr/include/readline/readline.h:457:15: note: expected 'char * (*)(const 
> char *, int)' but argument is of type 'char * (*)(char *, int)'
>  extern char **rl_completion_matches PARAMS((const char *, 
> rl_compentry_func_t *));
>                ^
> rl.c:268:7: warning: passing argument 2 of 'rl_completion_matches' from 
> incompatible pointer type [enabled by default]
>        ); 
>        ^
> In file included from rl.h:43:0,
>                  from rl.c:37:
> /usr/include/readline/readline.h:457:15: note: expected 'char * (*)(const 
> char *, int)' but argument is of type 'char * (*)(char *, int)'
>  extern char **rl_completion_matches PARAMS((const char *, 
> rl_compentry_func_t *));
>                ^
> rl.c:283:8: warning: passing argument 2 of 'rl_completion_matches' from 
> incompatible pointer type [enabled by default]
>         );  
>         ^
> In file included from rl.h:43:0,
>                  from rl.c:37:
> /usr/include/readline/readline.h:457:15: note: expected 'char * (*)(const 
> char *, int)' but argument is of type 'char * (*)(char *, int)'
>  extern char **rl_completion_matches PARAMS((const char *, 
> rl_compentry_func_t *));
>                ^
> rl.c:205:55: warning: unused parameter 'end' [-Wunused-parameter]
>  char** lsftp_rl_completion(char* text, int start, int end)
>                                                        ^
> rl.c: In function 'lsftp_rl_no_generator':
> rl.c:457:36: warning: unused parameter 'text' [-Wunused-parameter]
>  char* lsftp_rl_no_generator (char* text, int state)
>                                     ^
> rl.c: In function 'lsftp_rl_history_fname':
> rl.c:522:9: warning: unused variable 'username' [-Wunused-variable]
>    char* username;
>          ^
> make[7]: *** [rl.o] Error 1

The full build log is available from:
   http://aws-logs.debian.net/ftbfs-logs/2014/03/15/lsh-utils_2.1-1_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.


-- 
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to