Bug#741785: seed: FTBFS: seed-readline.c:80:22: error: 'Function' undeclared (first use in this function)

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


Source: seed
Version: 3.8.1-1
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):
> /bin/bash ../../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I../..   -D_FORTIFY_SOURCE=2 -I../../libseed/ -pthread -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/gobject-introspection-1.0    -DG_DISABLE_ASSERT -DG_DISABLE_CHECKS -DG_DISABLE_CAST_CHECKS  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wall -c -o libseed_readline_la-seed-readline.lo `test -f 'seed-readline.c' || echo './'`seed-readline.c
> libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../.. -D_FORTIFY_SOURCE=2 -I../../libseed/ -pthread -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/gobject-introspection-1.0 -DG_DISABLE_ASSERT -DG_DISABLE_CHECKS -DG_DISABLE_CAST_CHECKS -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wall -c seed-readline.c  -fPIC -DPIC -o .libs/libseed_readline_la-seed-readline.o
> seed-readline.c: In function 'seed_readline_bind':
> seed-readline.c:80:22: error: 'Function' undeclared (first use in this function)
>    rl_bind_key(*key, (Function *) c);
>                       ^
> seed-readline.c:80:22: note: each undeclared identifier is reported only once for each function it appears in
> seed-readline.c:80:32: error: expected expression before ')' token
>    rl_bind_key(*key, (Function *) c);
>                                 ^
> seed-readline.c:73:16: warning: variable 'c' set but not used [-Wunused-but-set-variable]
>    ffi_closure *c;
>                 ^
> make[4]: *** [libseed_readline_la-seed-readline.lo] Error 1

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



More information about the pkg-gnome-maintainers mailing list