Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 471454 - dev-db/couchdb fails to build against spidermonkey-17 and above
Summary: dev-db/couchdb fails to build against spidermonkey-17 and above
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Dirkjan Ochtman (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: mozjs187
  Show dependency tree
 
Reported: 2013-05-27 17:50 UTC by kfm
Modified: 2013-08-26 15:38 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description kfm 2013-05-27 17:50:14 UTC
The couchdb ebuilds incorrectly specify >=dev-lang/spidermonkey-1.8.5 as a dep. This is the result of trying to build couchdb-1.3.0-r1 against spidermonkey-1.8.7:

  checking jsapi.h usability... yes
  checking jsapi.h presence... yes
  checking for jsapi.h... yes
  checking for JS_NewContext in -lmozjs185... no
  checking for JS_NewContext in -lmozjs185-1.0... no
  checking for JS_NewContext in -lmozjs... no
  checking for JS_NewContext in -ljs... no
  checking for JS_NewContext in -ljs3250... no
  checking for JS_NewContext in -ljs32... no
  configure: error: Could not find the js library.

Of course, it works with 1.8.5.
Comment 1 Ian Stakenvicius (RETIRED) gentoo-dev 2013-05-27 18:03:21 UTC
We'll need to patch this for spidermonkey-17 also.
Comment 2 Dirkjan Ochtman (RETIRED) gentoo-dev 2013-05-28 07:43:14 UTC
+  28 May 2013; Dirkjan Ochtman <djc@gentoo.org> couchdb-1.2.1.ebuild,
+  couchdb-1.3.0-r1.ebuild, couchdb-1.3.0.ebuild:
+  Restrict dependency on spidermonkey to < 1.8.7 (bug 471454).
Comment 3 Ian Stakenvicius (RETIRED) gentoo-dev 2013-05-28 14:19:39 UTC
Repoening, as a reminder -- when spidermonkey-17 is added, this package will no longer work in ~arch, and when its stabilized it won't work in stable either.  The code will need to be ported at some point.
Comment 4 Dirkjan Ochtman (RETIRED) gentoo-dev 2013-05-28 14:24:00 UTC
Yeah, but I'm pretty sure that work will be done upstream. Doesn't it make sense to close this bug in that case?
Comment 5 Ian Stakenvicius (RETIRED) gentoo-dev 2013-05-28 14:38:42 UTC
I'd rather not..   Please feel free to assign it to me tho if you want it off your plate -- I'll take care of (back)porting and/or bumping during the mozjs-17 unmasking process.
Comment 6 Dirkjan Ochtman (RETIRED) gentoo-dev 2013-05-28 14:44:37 UTC
Okay. Do you have an ETA for this? I'm an upstream committer for CouchDB (though mostly just for the docs) these days, so if you end up having to patch CouchDB I can push things.
Comment 7 Ian Stakenvicius (RETIRED) gentoo-dev 2013-08-26 15:38:16 UTC
Spidermonkey-17 (and all future versions) are slotted, and 1.8.7 is going to be removed.  This bug is no longer has purpose.