Bug#713734: xchat-gnome: FTBFS: perl.c:1343:1: error: no previous prototype for 'xchat_plugin_get_info' [-Werror=missing-prototypes]
David Suárez
david.sephirot at gmail.com
Sat Jun 22 13:53:55 UTC 2013
Source: xchat-gnome
Version: 1:0.30.0~git20110821.e2a400-0.2
Severity: serious
Tags: jessie sid
User: debian-qa at lists.debian.org
Usertags: qa-ftbfs-20130620 qa-ftbfs
Justification: FTBFS on amd64
Hi,
During a rebuild of all packages in sid, your package failed to build on
amd64.
Relevant part:
> /bin/bash ../../libtool --tag=CC --mode=compile gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../.. -I./.. -D_FORTIFY_SOURCE=2 -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fstack-protector -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/lib/perl/5.14/CORE -pthread -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/libdrm -I/usr/include/harfbuzz -I/usr/include/gconf/2 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -I/usr/lib/glib-2.0/include -I/usr/lib/gtk-2.0/include -I/usr/include/libxml2 -Wall -Wstrict-prototypes -Wnested-externs -Werror=missing-prototypes -Werror=implicit-function-declaration -Werror=pointer-arith -Werror=init-self -Werror=format-security -Werror=format=2 -Werror=missing-include-dirs -fgnu89-inline -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -c -o perl_la-perl.lo `test -f 'perl.c' || echo './'`perl.c
> libtool: compile: gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../.. -I./.. -D_FORTIFY_SOURCE=2 -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fstack-protector -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/lib/perl/5.14/CORE -pthread -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/libdrm -I/usr/include/harfbuzz -I/usr/include/gconf/2 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -I/usr/lib/glib-2.0/include -I/usr/lib/gtk-2.0/include -I/usr/include/libxml2 -Wall -Wstrict-prototypes -Wnested-externs -Werror=missing-prototypes -Werror=implicit-function-declaration -Werror=pointer-arith -Werror=init-self -Werror=format-security -Werror=format=2 -Werror=missing-include-dirs -fgnu89-inline -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -c perl.c -fPIC -DPIC -o .libs/perl_la-perl.o
> cc1: warning: /usr/lib/glib-2.0/include: No such file or directory [enabled by default]
> cc1: warning: /usr/lib/gtk-2.0/include: No such file or directory [enabled by default]
> In file included from perl.c:34:0:
> ../../config.h:157:0: warning: "_GNU_SOURCE" redefined [enabled by default]
> #define _GNU_SOURCE /**/
> ^
> <command-line>:0:0: note: this is the location of the previous definition
> In file included from /usr/lib/perl/5.14/CORE/perl.h:5018:0,
> from perl.c:107:
> perl.c: In function 'execute_perl':
> /usr/lib/perl/5.14/CORE/pp.h:125:16: warning: value computed is not used [-Wunused-value]
> #define POPs (*sp--)
> ^
> perl.c:145:3: note: in expansion of macro 'POPs'
> POPs; /* remove undef from the top of the stack */
> ^
> perl.c: In function 'fd_cb':
> /usr/lib/perl/5.14/CORE/pp.h:125:16: warning: value computed is not used [-Wunused-value]
> #define POPs (*sp--)
> ^
> perl.c:227:3: note: in expansion of macro 'POPs'
> POPs; /* remove undef from the top of the stack */
> ^
> perl.c: In function 'timer_cb':
> /usr/lib/perl/5.14/CORE/pp.h:125:16: warning: value computed is not used [-Wunused-value]
> #define POPs (*sp--)
> ^
> perl.c:257:3: note: in expansion of macro 'POPs'
> POPs; /* remove undef from the top of the stack */
> ^
> perl.c: In function 'server_cb':
> /usr/lib/perl/5.14/CORE/pp.h:125:16: warning: value computed is not used [-Wunused-value]
> #define POPs (*sp--)
> ^
> perl.c:320:3: note: in expansion of macro 'POPs'
> POPs; /* remove undef from the top of the stack */
> ^
> perl.c: In function 'command_cb':
> /usr/lib/perl/5.14/CORE/pp.h:125:16: warning: value computed is not used [-Wunused-value]
> #define POPs (*sp--)
> ^
> perl.c:367:3: note: in expansion of macro 'POPs'
> POPs; /* remove undef from the top of the stack */
> ^
> perl.c: In function 'print_cb':
> /usr/lib/perl/5.14/CORE/pp.h:125:16: warning: value computed is not used [-Wunused-value]
> #define POPs (*sp--)
> ^
> perl.c:441:3: note: in expansion of macro 'POPs'
> POPs; /* remove undef from the top of the stack */
> ^
> In file included from perl.c:108:0:
> perl.c: In function 'XS_Xchat_context_info':
> /usr/lib/perl/5.14/CORE/XSUB.h:137:20: warning: unused variable 'items' [-Wunused-variable]
> #define dITEMS I32 items = (I32)(SP - MARK)
> ^
> /usr/lib/perl/5.14/CORE/XSUB.h:145:16: note: in expansion of macro 'dITEMS'
> dSP; dAXMARK; dITEMS
> ^
> perl.c:603:2: note: in expansion of macro 'dXSARGS'
> dXSARGS;
> ^
> perl.c: At top level:
> perl.c:1343:1: error: no previous prototype for 'xchat_plugin_get_info' [-Werror=missing-prototypes]
> xchat_plugin_get_info (char **name, char **desc, char **version,
> ^
> perl.c:1360:1: error: no previous prototype for 'xchat_plugin_init' [-Werror=missing-prototypes]
> xchat_plugin_init (xchat_plugin * plugin_handle, char **plugin_name,
> ^
> perl.c:1395:1: error: no previous prototype for 'xchat_plugin_deinit' [-Werror=missing-prototypes]
> xchat_plugin_deinit (xchat_plugin * plugin_handle)
> ^
> cc1: some warnings being treated as errors
> make[5]: *** [perl_la-perl.lo] Error 1
The full build log is available from:
http://aws-logs.debian.net/ftbfs-logs/2013/06/20/xchat-gnome_0.30.0~git20110821.e2a400-0.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 pkg-gnome-maintainers
mailing list