[Parted-maintainers] Bug#741758: gnu-fdisk: FTBFS: ui.c:1468:38: error: 'CPPFunction' undeclared (first use in this function)

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


Source: gnu-fdisk
Version: 1.2.5-2
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 -DLOCALEDIR=\"/usr/share/locale\" -DHAVE_CONFIG_H -I. -I..  -I../lib -I../lib -D_FORTIFY_SOURCE=2  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -D_FILE_OFFSET_BITS=no -c -o ui.o ui.c
> ui.c: In function 'fdisk_init_ui':
> ui.c:1468:38: error: 'CPPFunction' undeclared (first use in this function)
>   rl_attempted_completion_function = (CPPFunction*) fdisk_complete_function;
>                                       ^
> ui.c:1468:38: note: each undeclared identifier is reported only once for each function it appears in
> ui.c:1468:50: error: expected expression before ')' token
>   rl_attempted_completion_function = (CPPFunction*) fdisk_complete_function;
>                                                   ^
> make[3]: *** [ui.o] Error 1

The full build log is available from:
   http://aws-logs.debian.net/ftbfs-logs/2014/03/15/gnu-fdisk_1.2.5-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.



More information about the Parted-maintainers mailing list