It's not legal to force downgrade of an package on the same stabilization level (in this case, ~arch). Either package.use.mask USE="xulrunner", mask the package, remove the whole USE flag, or better yet, fix it. I'll package.mask freewrl for QA in 3 days unless this is handled.
The proxied maintainer gave me an ebuild to workaround this at #-dev-help: *freewrl-1.22.10-r1 (02 Apr 2011) 02 Apr 2011; Samuli Suominen <ssuominen@gentoo.org> freewrl-1.22.10.ebuild, +freewrl-1.22.10-r1.ebuild: Rename USE="static" to USE="static-libs" wrt #361659. Force spidermonkey as javascript engine until xulrunner-2 support is available wrt #361663.
Hi guys, My freewrl-1.22.10-r1 fails in src_compile with: # ------------------ Invoking recipe from Makefile:1315 to update target `ui/statusbar.lo'. Putting child 0x8106050 (ui/statusbar.lo) PID 16582 on the chain. Live child 0x8106050 (ui/statusbar.lo) PID 16582 CC ui/statusbar.lo Reaping winning child 0x8106050 PID 16582 Removing child 0x8106050 PID 16582 from chain. Successfully remade target file `ui/statusbar.lo'. Finished prerequisites of target file `libFreeWRL.la'. Must remake target `libFreeWRL.la'. Invoking recipe from Makefile:996 to update target `libFreeWRL.la'. Putting child 0x80f92e8 (libFreeWRL.la) PID 16601 on the chain. Live child 0x80f92e8 (libFreeWRL.la) PID 16601 CCLD libFreeWRL.la /usr/lib/gcc/i686-pc-linux-gnu/4.5.2/../../../../i686-pc-linux-gnu/bin/ld: cannot find -ljs collect2: ld returned 1 exit status # ------------------ Changing: - JAVASCRIPT_ENGINE_LIBS="-ljs" + JAVASCRIPT_ENGINE_LIBS="-lmozjs" seems to solve the issue locally (don't know if it's the right solution though). Reopening for further investigation.
That doesn't seem right; spidermonkey provides libjs, not libmozjs; it seems that your change would force a linkage against xulrunner again. Anyhow, I'm on it.
(octave) gaia bigloo3.6a # qlist spidermonkey-1.9.2.15 | grep lib /usr/lib/libjs_static.a /usr/lib/libmozjs.so (octave) gaia bigloo3.6a # find /usr/lib -name libjs.so (octave) gaia bigloo3.6a # find /usr/lib -name libmozjs.so /usr/lib/seamonkey/libmozjs.so /usr/lib/libmozjs.so (octave) gaia bigloo3.6a #
I'm on it -- i've got a work-around for ./configure to detect the older spidermonkey through pkg-config; this'll let both 1.9* and 1.7* be detected properly. Should have a new version in a few hours.
Created attachment 268345 [details] fix to support spidermonkey-1.9 This patch switches the library used in freewrl-1.22.10-r1.ebuild, to reflect the change between spidermonkey-1.7 and spidermonkey-1.9.
*** Bug 363231 has been marked as a duplicate of this bug. ***
Can someone from @mozilla herd, verify that the patch above is ok? I will fix this, then myself. I'm also thinking of taking maintainership this package.
of*
(In reply to comment #6) > Created attachment 268345 [details] > fix to support spidermonkey-1.9 > > This patch switches the library used in freewrl-1.22.10-r1.ebuild, to reflect > the change between spidermonkey-1.7 and spidermonkey-1.9. + 21 May 2011; Samuli Suominen <ssuominen@gentoo.org> + freewrl-1.22.10-r1.ebuild: + Use -lmozjs instead of -ljs and force at least spidermonkey >= 1.9 wrt + #361663 by Ian Stakenvicius.