Summary: | net-misc/mediatomb[javascript] does not build against dev-lang/spidermonkey-1.8.5 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Ian Stakenvicius (RETIRED) <axs> |
Component: | Current packages | Assignee: | Jeremy Olexa (darkside) (RETIRED) <darkside> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | media-video |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 376987 |
Description
Ian Stakenvicius (RETIRED)
2011-07-29 20:43:26 UTC
Please add always your build log as attachment and emerge --info. I don't think i emerged this one, i just read through configure.ac et. al.. spidermonkey-1.8.5 does not provide the same lib as earlier versions, it provides libmozjs185.so ... which isn't in the list of libs configure.ac checks for. Specifically - L953: "AC_CHECK_HEADER(jsapi.h,...." will succeed, but since mozjs185 is missing from the checks in L993-L1082, it'll fail. At minimum, an additional "AC_CHECK_LIB(mozjs185,JS_NewObject,..." needs to be added. HOWEVER, given a look at the code: src/scripting/script.cc (L520): "glob = JS_NewObject(cx, &global_class, NULL, NULL);" ..this call is invalid in JS_VERSION >= 185 as well; which tells me that the whole codebase will not work with spidermonkey-1.8.5. This is not a trivial fix; a (rather large) patch or update will be needed from upstream to support spidermonkey-1.8.5. # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 # $Header: /var/cvsroot/gentoo-x86/net-misc/mediatomb/ChangeLog,v 1.22 2011/04/04 12:19:35 scarabeus Exp $ + 17 Nov 2011; Ian Stakenvicius <axs@gentoo.org> mediatomb-0.12.1.ebuild, + +files/mediatomb-0.12.1-mozjs185.patch: + in-place update to support dev-lang/spidermonkey-1.8.5 for bug 376993 + |