Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 510142 - dev-db/mongodb-2.4.6 with dev-python/jsmin - scons: [build/linux2/.../third_party/v8/src/libraries.cc] AttributeError : 'module' object has no attribute 'JavaScriptMinifier'
Summary: dev-db/mongodb-2.4.6 with dev-python/jsmin - scons: [build/linux2/.../third_p...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Ultrabug
URL: https://jira.mongodb.org/browse/SERVE...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-05-12 09:39 UTC by Denis D
Modified: 2014-05-27 17:05 UTC (History)
3 users (show)

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


Attachments
build.log (build.log,425.14 KB, text/plain)
2014-05-12 09:51 UTC, Denis D
Details
environment.log (evironment.log,120.78 KB, text/plain)
2014-05-12 09:52 UTC, Denis D
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Denis D 2014-05-12 09:39:38 UTC
Hello,

when on the system is an installed jsmin package(Version doesn't matter).
The emerge fails 

Reproducible: Always

Steps to Reproduce:
1. emerge -v jsmin
2. emerge -v mongodb
Comment 1 Denis D 2014-05-12 09:51:38 UTC
Created attachment 376772 [details]
build.log
Comment 2 Denis D 2014-05-12 09:52:20 UTC
Created attachment 376774 [details]
environment.log
Comment 3 Ultrabug gentoo-dev 2014-05-26 09:07:01 UTC
FYI this is caused by the third_party v8 sources adding itself in the python path and shipping its own version of jsmin :(

I'll patch its SConscript so it includes its own libs first instead of the system's to prevent any other inclusion interference

This will be done today, this bug is over soon ;)
Comment 4 Ultrabug gentoo-dev 2014-05-26 10:44:15 UTC
I reported and proposed the patch upstream as per $URL
Comment 5 Ultrabug gentoo-dev 2014-05-26 11:09:06 UTC
Thanks for your report and patience Denis, it's now fixed in tree.


+  26 May 2014; Ultrabug <ultrabug@gentoo.org> -mongodb-2.2.6-r1.ebuild,
+  mongodb-2.4.6-r2.ebuild, -mongodb-2.4.7.ebuild, -mongodb-2.4.8.ebuild,
+  -mongodb-2.4.9.ebuild, mongodb-2.4.10-r1.ebuild, mongodb-2.6.1-r1.ebuild,
+  +files/mongodb-2.4-fix-v8-pythonpath.patch:
+  fix #510142 thx to Denis D, drop old
+
Comment 6 Ultrabug gentoo-dev 2014-05-27 16:24:55 UTC
FYI the patch as been accepted and merged upstream. The next version bump won't need it anymore.
Comment 7 Denis D 2014-05-27 17:05:50 UTC
(In reply to Ultrabug from comment #6)
> FYI the patch as been accepted and merged upstream. The next version bump
> won't need it anymore.


Thanks a lot for the futher Information :)