[Pkg-tcltk-devel] Bug#741763: tclreadline: FTBFS: tclreadline.c:638:41: error: 'CPPFunction' undeclared (first use in this function)

David Suárez david.sephirot at gmail.com
Sun Mar 16 13:03:04 UTC 2014


Source: tclreadline
Version: 2.1.0-12
Severity: serious
Tags: jessie sid
User: debian-qa at 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. -I. -I. -I/usr/include/tcl -I/usr/include/readline -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -c tclreadline.c  -fPIC -DPIC -o .libs/tclreadline.lo
> tclreadline.c: In function 'TclReadlineInitialize':
> tclreadline.c:638:41: error: 'CPPFunction' undeclared (first use in this function)
>      rl_attempted_completion_function = (CPPFunction *) TclReadlineCompletion;
>                                          ^
> tclreadline.c:638:41: note: each undeclared identifier is reported only once for each function it appears in
> tclreadline.c:638:54: error: expected expression before ')' token
>      rl_attempted_completion_function = (CPPFunction *) TclReadlineCompletion;
>                                                       ^
> make[1]: *** [tclreadline.lo] Error 1

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



More information about the Pkg-tcltk-devel mailing list