I am able to reproduce this issue on my sid chroot. From a quick glance at the error messages, it looks like the header files include C++ code (namespace, new), which is unexpected when trying to link with it in C-land...
Cheers, Jonathan On Mon, Jul 18, 2011 at 6:02 PM, Lucas Nussbaum <lu...@lucas-nussbaum.net> wrote: > Source: libjavascript-perl > Version: 1.16-3 > Severity: serious > Tags: wheezy sid > User: debian...@lists.debian.org > Usertags: qa-ftbfs-20110718 qa-ftbfs > Justification: FTBFS on amd64 > > Hi, > > During a rebuild of all packages in sid, your package failed to build on > amd64. > > Relevant part: >> cc -c -I/usr/include/nspr/ -I/usr/include/mozjs/ -D_REENTRANT -D_GNU_SOURCE >> -DDEBIAN -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include >> -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -O2 -DMOZILLA_1_8_BRANCH=1 >> -DVERSION=\"1.16\" -DXS_VERSION=\"1.16\" -fPIC "-I/usr/lib/perl/5.12/CORE" >> JavaScript.c >> In file included from /usr/include/mozjs/jsapi.h:48:0, >> from JavaScript_Env.h:12, >> from JavaScript.h:19, >> from JavaScript.xs:5: >> /usr/include/mozjs/js-config.h:50:0: warning: "JS_THREADSAFE" redefined >> [enabled by default] >> JavaScript_Env.h:8:0: note: this is the location of the previous definition >> In file included from /usr/include/mozjs/jsobj.h:56:0, >> from /usr/include/mozjs/jsfun.h:47, >> from /usr/include/mozjs/jsinterp.h:48, >> from JavaScript_Env.h:14, >> from JavaScript.h:19, >> from JavaScript.xs:5: >> /usr/include/mozjs/jslock.h:221:1: error: unknown type name 'namespace' >> /usr/include/mozjs/jslock.h:221:14: error: expected '=', ',', ';', 'asm' or >> '__attribute__' before '{' token >> In file included from /usr/include/mozjs/jsobj.h:57:0, >> from /usr/include/mozjs/jsfun.h:47, >> from /usr/include/mozjs/jsinterp.h:48, >> from JavaScript_Env.h:14, >> from JavaScript.h:19, >> from JavaScript.xs:5: >> /usr/include/mozjs/jsvalue.h: In function 'JSDOUBLE_IS_INT32': >> /usr/include/mozjs/jsvalue.h:111:16: error: 'false' undeclared (first use in >> this function) >> /usr/include/mozjs/jsvalue.h:111:16: note: each undeclared identifier is >> reported only once for each function it appears in >> /usr/include/mozjs/jsvalue.h:112:24: error: expected expression before >> 'int32_t' >> /usr/include/mozjs/jsvalue.h: At top level: >> /usr/include/mozjs/jsvalue.h:241:1: error: conflicting types for >> 'MAGIC_TO_JSVAL_IMPL' >> /usr/include/mozjs/jsvalue.h:233:1: note: previous definition of >> 'MAGIC_TO_JSVAL_IMPL' was here >> /usr/include/mozjs/jsvalue.h:324:1: error: unknown type name 'namespace' >> /usr/include/mozjs/jsvalue.h:324:14: error: expected '=', ',', ';', 'asm' or >> '__attribute__' before '{' token >> In file included from /usr/include/mozjs/jstl.h:43:0, >> from /usr/include/mozjs/jsvector.h:44, >> from /usr/include/mozjs/jsobj.h:58, >> from /usr/include/mozjs/jsfun.h:47, >> from /usr/include/mozjs/jsinterp.h:48, >> from JavaScript_Env.h:14, >> from JavaScript.h:19, >> from JavaScript.xs:5: >> /usr/include/mozjs/jsbit.h:255:1: error: unknown type name 'namespace' >> /usr/include/mozjs/jsbit.h:255:14: error: expected '=', ',', ';', 'asm' or >> '__attribute__' before '{' token >> In file included from /usr/include/mozjs/jsvector.h:44:0, >> from /usr/include/mozjs/jsobj.h:58, >> from /usr/include/mozjs/jsfun.h:47, >> from /usr/include/mozjs/jsinterp.h:48, >> from JavaScript_Env.h:14, >> from JavaScript.h:19, >> from JavaScript.xs:5: >> /usr/include/mozjs/jstl.h:47:15: fatal error: new: No such file or directory >> compilation terminated. >> make[2]: *** [JavaScript.o] Error 1 > > The full build log is available from: > > http://people.debian.org/~lucas/logs/2011/07/18/libjavascript-perl_1.16-3_lsid64.buildlog > > 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 > | lu...@lucas-nussbaum.net http://www.lucas-nussbaum.net/ | > | jabber: lu...@nussbaum.fr GPG: 1024D/023B3F4F | > > > > _______________________________________________ > pkg-perl-maintainers mailing list > pkg-perl-maintain...@lists.alioth.debian.org > http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-perl-maintainers > -- To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org