[Parted-maintainers] Bug#741842: parted: FTBFS: ../../parted/ui.c:1444:41: error: 'CPPFunction' undeclared (first use in this function)

David Suárez david.sephirot at gmail.com
Sun Mar 16 12:58:48 UTC 2014


Source: parted
Version: 2.3-16
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):
> x86_64-linux-gnu-gcc -std=gnu99  -I. -I../../parted -I../lib -I../../lib -I../../include   -D_FORTIFY_SOURCE=2 -DBUILDINFO= -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Werror -MT parted-ui.o -MD -MP -MF .deps/parted-ui.Tpo -c -o parted-ui.o `test -f 'ui.c' || echo '../../parted/'`ui.c
> ../../parted/ui.c: In function 'init_readline':
> ../../parted/ui.c:1444:41: error: 'CPPFunction' undeclared (first use in this function)
>      rl_attempted_completion_function = (CPPFunction*) complete_function;
>                                          ^
> ../../parted/ui.c:1444:41: note: each undeclared identifier is reported only once for each function it appears in
> ../../parted/ui.c:1444:53: error: expected expression before ')' token
>      rl_attempted_completion_function = (CPPFunction*) complete_function;
>                                                      ^
> make[4]: *** [parted-ui.o] Error 1

The full build log is available from:
   http://aws-logs.debian.net/ftbfs-logs/2014/03/15/parted_2.3-16_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 Parted-maintainers mailing list