[Debichem-devel] Bug#595859: gnome-chemistry-utils: FTBFS in squeeze: moz-plugin.c:24:19: error: npapi.h: No such file or directory

Lucas Nussbaum lucas at lucas-nussbaum.net
Mon Sep 6 22:53:54 UTC 2010

Package: gnome-chemistry-utils
Version: 0.12.3-1
Severity: serious
Tags: squeeze sid
User: debian-qa at lists.debian.org
Usertags: qa-ftbfs-20100906 qa-ftbfs
Justification: FTBFS on amd64


During a rebuild of all packages in a squeeze chroot, your package failed
to build on amd64.

Relevant part:
> g++ -DHAVE_CONFIG_H -DLIBEXECDIR=\"/usr/lib/gchemutils\" -DDATADIR=\"/usr/share\" -I. -I.. -I.. -I../libs -pthread -DORBIT2=1 -I/usr/include/libgoffice-0.8 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libgsf-1 -I/usr/include/libxml2 -I/usr/include/gtk-2.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/gconf/2 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-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/orbit-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include   -I/usr/include/openbabel-2.0   -Wall -Wextra    -g -O2 -c -o chem-viewer.o chem-viewer.cc
> moz-plugin.c:24:19: error: npapi.h: No such file or directory
> moz-plugin.c:28:22: error: npupp.h: No such file or directory
> moz-plugin.c:34: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'mozilla_funcs'
> moz-plugin.c:51: error: expected specifier-qualifier-list before 'NPP'
> moz-plugin.c:57: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'ChemNew'
> moz-plugin.c:131: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'ChemDestroy'
> moz-plugin.c:152: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'ChemSetWindow'
> moz-plugin.c:163: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'ChemNewStream'
> moz-plugin.c:193: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'ChemDestroyStream'
> moz-plugin.c:204: error: expected declaration specifiers or '...' before 'NPP'
> moz-plugin.c:204: warning: type defaults to 'int' in declaration of 'NPPrint'
> moz-plugin.c:204: error: expected ';', ',' or ')' before '*' token
> moz-plugin.c:209: error: expected ')' before 'instance'
> moz-plugin.c:219: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'NP_GetValue'
> moz-plugin.c:251: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'NP_Initialize'
> moz-plugin.c:296: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'NP_Shutdown'
> make[3]: *** [libmozgcu_la-moz-plugin.lo] Error 1

The full build log is available from:

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.

| Lucas Nussbaum
| lucas at lucas-nussbaum.net   http://www.lucas-nussbaum.net/ |
| jabber: lucas at nussbaum.fr             GPG: 1024D/023B3F4F |

More information about the Debichem-devel mailing list