Trying to emerge xulrunner on sparc-solaris fails because nptypes.h redefines 'bool' Reproducible: Always Steps to Reproduce: 1. emerge xulrunner Actual Results: sparc-sun-solaris2.10-gcc -o npunix.o -c -DOSTYPE=\"SunOS5\" -DOSARCH=SunOS -I. -I. -I../../../../../dist/include/java -I../../../../../dist/include -I../../../../../dist/include/plugin -I/home/pub/lib/gentoo-prefix/usr/include/nspr -I/tmp/chithanh/portage/net-libs/xulrunner-1.9.1-r1/work/mozilla-1.9.1/dist/sdk/include -fPIC -DGENTOO_NSPLUGINS_DIR=\"/home/pub/lib/gentoo-prefix/usr/lib/nsplugins\" -DGENTOO_NSBROWSER_PLUGINS_DIR=\"/home/pub/lib/gentoo-prefix/usr/lib/nsbrowser/plugins\" -Wno-long-long -pipe -mcpu=ultrasparc -Wno-return-type -w -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -O -DGENTOO_NSPLUGINS_DIR=\"/home/pub/lib/gentoo-prefix/usr/lib/nsplugins\" -DGENTOO_NSBROWSER_PLUGINS_DIR=\"/home/pub/lib/gentoo-prefix/usr/lib/nsbrowser/plugins\" -include ../../../../../mozilla-config.h -DMOZILLA_CLIENT -Wp,-MD,.deps/npunix.pp npunix.c In file included from ../../../../../dist/include/plugin/npruntime.h:72, from ../../../../../dist/include/plugin/npfunctions.h:53, from npunix.c:58: ../../../../../dist/include/plugin/nptypes.h:61: error: redefinition of typedef 'bool' ../../../../../dist/include/plugin/nptypes.h:61: error: previous declaration of 'bool' was here gmake[4]: *** [npunix.o] Error 1 Expected Results: emerge successfully nptypes.h does not guard against multiple inclusion. A patch is available in upstream's bug tracker (see URL);
Patch is fine I will add to mozilla overlay tomorrow afternoon.
This is very specific for Gentoo Prefix, IMO. But the patch doesn't help much (if anything at all) for me.
(In reply to comment #2) > This is very specific for Gentoo Prefix, IMO. > > But the patch doesn't help much (if anything at all) for me. > Actually it is gonna effect more and more packages depending on xulrunner.
This is fixed in mozilla overlay, it will be moved to the tree in the next few days.
Jory, is the fix already in 1.9.1.1?
(In reply to comment #5) > Jory, is the fix already in 1.9.1.1? > If it was in the overlay, it's in the tree now (direct copy-commit). Assuming FIXED :)