[Pkg-libvirt-maintainers] Bug#595843: Bug#595843: gtk-vnc: FTBFS in squeeze: gtk-vnc-plugin.h:39:19: error: npapi.h: No such file or directory

Guido Günther agx at sigxcpu.org
Wed Sep 8 19:08:16 UTC 2010


reassign 595843 xulrunner-dev
found 595843 1.9.1.11-2
affects 595843 gtk-vnc virt-viewer
forcemerge 595843 595854
thanks

On Tue, Sep 07, 2010 at 12:54:20AM +0200, Lucas Nussbaum wrote:
> Package: gtk-vnc
> Version: 0.4.1-2
> Severity: serious
> Tags: squeeze sid
> User: debian-qa at lists.debian.org
> Usertags: qa-ftbfs-20100906 qa-ftbfs
> Justification: FTBFS on amd64
> 
> Hi,
> 
> During a rebuild of all packages in a squeeze chroot, 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../src -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -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/glib-2.0 -I/usr/lib/glib-2.0/include -Wall -Wformat -Wformat-security -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wextra -Wshadow -Wcast-align -Wwrite-strings -Waggregate-return -Winline -Wredundant-decls -Wno-sign-compare -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fasynchronous-unwind-tables  -g -O2 -g -Wall -O2 -c -o gtk_vnc_plugin_la-gtk-vnc-plugin.lo `test -f 'gtk-vnc-plugin.c' || echo './'`gtk-vnc-plugin.c
> > libtool: compile:  gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -I../src -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -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/glib-2.0 -I/usr/lib/glib-2.0/include -Wall -Wformat -Wformat-security -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wextra -Wshadow -Wcast-align -Wwrite-strings -Waggregate-return -Winline -Wredundant-decls -Wno-sign-compare -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fasynchronous-unwind-tables -g -O2 -g -Wall -O2 -c gtk-vnc-plugin.c  -fPIC -DPIC -o .libs/gtk_vnc_plugin_la-gtk-vnc-plugin.o
> > In file included from gtk-vnc-plugin.c:40:
> > gtk-vnc-plugin.h:39:19: error: npapi.h: No such file or directory
> > In file included from gtk-vnc-plugin.c:40:
> > gtk-vnc-plugin.h:48: error: expected specifier-qualifier-list before 'uint16'
> > gtk-vnc-plugin.h:62: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'GtkVNCXSetWindow'
> > gtk-vnc-plugin.h:63: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'GtkVNCDestroyWindow'
> > gtk-vnc-plugin.h:64: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'GtkVNCXHandleEvent'
> > gtk-vnc-plugin.c: In function 'vnc_auth_credential':
> > gtk-vnc-plugin.c:90: error: 'PluginInstance' has no member named 'container'
> > gtk-vnc-plugin.c: At top level:
> > gtk-vnc-plugin.c:165: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'GtkVNCXSetWindow'
> > gtk-vnc-plugin.c:262: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'GtkVNCDestroyWindow'
> > gtk-vnc-plugin.c:276: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'windowlessWindow'
> > gtk-vnc-plugin.c:279: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'GtkVNCXHandleEvent'
> > make[3]: *** [gtk_vnc_plugin_la-gtk-vnc-plugin.lo] Error 1
> 
> The full build log is available from:
>    http://people.debian.org/~lucas/logs/2010/09/06/gtk-vnc_0.4.1-2_lsqueeze64.buildlog
> 
> It is possible that your package builds fine in sid, but you should make sure
> that your package also builds fine in squeeze before the release.
> 
> 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 about 50 AMD64 nodes
> of the Grid'5000 platform, using a clean chroot.  Internet was not
> accessible from the build systems.
THe issue here is that the libnspr4 in squeeze is too old to build
plugins. In a squeeze chroot with the build-deps installed I get:

# pkg-config --cflags mozilla-plugin
Package 'Mozilla Plug-In API' requires 'nspr >= 4.8.6' but version of NSPR is 4.8.4

I think xulrunner-dev needs a versioned build-dep on libnspr4 (>= 4.8.6)
Cheers,
 -- Guido





More information about the Pkg-libvirt-maintainers mailing list