When emerging libproxy I get: In file included from /usr/lib64/xulrunner/include/js/jspubtd.h:45, from /usr/lib64/xulrunner/include/js/jsapi.h:47, from /gentoo/tmp/portage/net-libs/libproxy-0.4.2/work/libproxy-0.4.2/libproxy/modules/pacrunner_mozjs.cpp:34: /usr/lib64/xulrunner/include/js/jstypes.h:248:6: error: #error "Must define one of XP_BEOS, XP_OS2, XP_WIN or XP_UNIX" followed by more errors. Disabling xulrunner allows the emerge to complete. emerge -pqv =net-libs/libproxy-0.4.2 =net-libs/xulrunner-1.8.1.19 =net-libs/xulrunner-1.9.2.3-r1 =net-libs/xulrunner-bin-1.8.1.19 [ebuild R ] net-libs/xulrunner-bin-1.8.1.19 [ebuild R ] net-libs/xulrunner-1.9.2.3-r1 USE="alsa custom-optimization dbus gnome java libnotify startup-notification system-sqlite wifi -debug" [ebuild R ] net-libs/xulrunner-1.8.1.19 USE="gnome ipv6 java xinerama -debug" [ebuild R ] net-libs/libproxy-0.4.2 USE="gnome kde perl python webkit xulrunner* -debug -networkmanager -vala"
Created attachment 232387 [details] emerge-info.txt =emerge --info
Created attachment 232389 [details] build log build log
This is likely the problem, it's finding 1.8 instead of 1.9: -- checking for one of the modules 'xulrunner-js;firefox-js;mozilla-js;seamonkey-js' -- found xulrunner-js, version 1.8.1.19
yep, that's the problem "solved" by unmerging xulrunner-1.8*, emerging libproxy, emerging back xulrunner-1.8*
Created attachment 232643 [details, diff] xulrunner-patch Switch search order to hit 1.9.x first.
(In reply to comment #5) > Switch search order to hit 1.9.x first. Works for me (~amd64, ), thanks a lot! In case you're interested, these are the xulrunner packages I've got installed: [I] net-libs/xulrunner (1.8.1.19(1.8)@20.01.2010 1.9.2.3-r1(1.9)@09.04.2010) [I] net-libs/xulrunner-bin (1.8.1.19@04.12.2009)
Confirmed. Patched worked for me, Thanks! For reference, net-libs/xulrunner-1.9.2.3-r1 net-libs/xulrunner-1.8.1.19 Were both installed, the 1.8 version only being pulled in by dev-java/swt-3.5.2 in my case (Palm WebOS Development)
If that patch from Comment #5 works pleases commit it to tree. This is a very obstructing thing.
By the way the patch works just fine, thx @Ed Catmur
Copying Olivier since he committed this ebuild. Maybe he has more background with this package and can decide on the attached patch.
The patch looks OK to me, but it's really pointless as xulrunner-1.8 is about to get masked and removed from tree in bug 324953 effectively "killing this problem" from tree.
@everyone: Nothing on your systems should be pulling in xulrunner:1.8 anymore, if something is, please file a bug about it so that the package can be fixed. Thank you for the patch, but this report is WONTFIX since xulrunner:1.8 should not be installed on any systems anymore.
Created attachment 270169 [details] Frank's build.log
Created attachment 270171 [details] Frank's emerge_info
Hi, I found another issue: (I have attached my emerge info and build log) -- checking for one of the modules 'xulrunner-js;firefox-js;mozilla-js;seamonkey-js' -- found firefox-js, version 2.0.0.14 then Building CXX object libproxy/CMakeFiles/libproxy.dir/modules/pacrunner_mozjs.cpp.o In file included from /usr/lib/mozilla-firefox/include/js/jspubtd.h:45, from /usr/lib/mozilla-firefox/include/js/jsapi.h:47, from /var/tmp/portage/net-libs/libproxy-0.4.6/work/libproxy-0.4.6/libproxy/modules/pacrunner_mozjs.cpp:34: /usr/lib/mozilla-firefox/include/js/jstypes.h:248:6: error: #error "Must define one of XP_BEOS, XP_OS2, XP_WIN or XP_UNIX" /usr/lib/mozilla-firefox/include/js/jstypes.h:264:2: error: #error No suitable type for JSInt8/JSUint8 /usr/lib/mozilla-firefox/include/js/jstypes.h:277:2: error: #error No suitable type for JSInt16/JSUint16 /usr/lib/mozilla-firefox/include/js/jstypes.h:297:2: error: #error No suitable type for JSInt32/JSUint32 /usr/lib/mozilla-firefox/include/js/jstypes.h:348:2: error: #error 'sizeof(int)' not sufficient for platform use In file included from /usr/lib/mozilla-firefox/include/js/jspubtd.h:45, from /usr/lib/mozilla-firefox/include/js/jsapi.h:47, from /var/tmp/portage/net-libs/libproxy-0.4.6/work/libproxy-0.4.6/libproxy/modules/pacrunner_mozjs.cpp:34: /usr/lib/mozilla-firefox/include/js/jstypes.h:329: error: 'JSUint32' does not name a type /usr/lib/mozilla-firefox/include/js/jstypes.h:393: error: 'JSIntn' does not name a type /usr/lib/mozilla-firefox/include/js/jstypes.h:403: error: 'JSUint8' does not name a type In file included from /usr/lib/mozilla-firefox/include/js/jstypes.h:416, from /usr/lib/mozilla-firefox/include/js/jspubtd.h:45, from /usr/lib/mozilla-firefox/include/js/jsapi.h:47, from /var/tmp/portage/net-libs/libproxy-0.4.6/work/libproxy-0.4.6/libproxy/modules/pacrunner_mozjs.cpp:34: /usr/lib/mozilla-firefox/include/js/jsotypes.h:73: error: 'JSUintn' does not name a type /usr/lib/mozilla-firefox/include/js/jsotypes.h:76: error: 'JSUintn' does not name a type /usr/lib/mozilla-firefox/include/js/jsotypes.h:79: error: 'JSUint32' does not name a type /usr/lib/mozilla-firefox/include/js/jsotypes.h:83: error: 'JSUint16' does not name a type /usr/lib/mozilla-firefox/include/js/jsotypes.h:84: error: 'JSUint8' does not name a type /usr/lib/mozilla-firefox/include/js/jsotypes.h:87: error: 'JSIntn' does not name a type /usr/lib/mozilla-firefox/include/js/jsotypes.h:106: error: 'JSInt32' does not name a type /usr/lib/mozilla-firefox/include/js/jsotypes.h:110: error: 'JSInt16' does not name a type /usr/lib/mozilla-firefox/include/js/jsotypes.h:111: error: 'JSInt8' does not name a type
the issue happens when emerging libproxy [ebuild U ] net-libs/libproxy-0.4.6 [0.2.3-r3] USE="perl%* python xulrunner -gnome -kde -mono% -networkmanager -test% -webkit" 0 kB