--- Begin Message ---
Subject: |
Bug#741838: mailutils: FTBFS: shell.c:339:39: error: 'CPPFunction' undeclared (first use in this function) |
Date: |
Sun, 16 Mar 2014 13:50:17 +0100 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
Source: mailutils
Version: 1:2.99.98-1.1
Severity: serious
Tags: jessie sid
User: address@hidden
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. -I.. -I. -I../include -I../lib -I../lib -I..
> -I../include -I../libmu_argp -I../libmu_cfg
> -DCOMPILE_FLAGS="\"-I/usr/include\"" -DLINK_FLAGS="\"-L/usr/lib\""
> -DLINK_POSTFLAGS="\"\"" -DAUTHLIBS="\"-lgsasl -lgnutls -lldap -lpam -ldl\""
> -DGUILE_LIBS="\"-lguile-2.0 -lgc \"" -DPYTHON_LIBS="\"-lpthread -ldl -lutil
> -lm -lpython2.7\"" -DI18NLIBS="\"\"" -DDBMLIBS="\"-lkyotocabinet\""
> -D_FORTIFY_SOURCE=2 -DSYSCONFDIR=\"/etc\" -g -fPIE -fstack-protector
> --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall
> -Wdeclaration-after-statement -ggdb -c -o shell.o shell.c
> shell.c: In function 'mutool_initialize_readline':
> shell.c:339:39: error: 'CPPFunction' undeclared (first use in this function)
> rl_attempted_completion_function = (CPPFunction *) shell_completion;
> ^
> shell.c:339:39: note: each undeclared identifier is reported only once for
> each function it appears in
> shell.c:339:52: error: expected expression before ')' token
> rl_attempted_completion_function = (CPPFunction *) shell_completion;
> ^
> shell.c: At top level:
> shell.c:356:1: warning: 'shell_completion' defined but not used
> [-Wunused-function]
> shell_completion (char *text, int start, int end MU_ARG_UNUSED)
> ^
> make[4]: *** [shell.o] Error 1
The full build log is available from:
http://aws-logs.debian.net/ftbfs-logs/2014/03/15/mailutils_2.99.98-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.
--- End Message ---