-
Type: Bug
-
Resolution: Done
-
Priority: Major - P3
-
Affects Version/s: 2.4.10, 2.6.1
-
Component/s: Build
-
Fully Compatible
-
ALL
-
Server 2.7.2
Gentoo Linux users rightly reported that if the jsmin python lib is present on the system (latest 2.0.9) the v8 building fails [1].
This is caused by the SConscript adding its own tools directory in the Python PATH at the end of the PATH. When the tools/js2c.py file is used, it imports the jsmin library which is then loaded from the system and thus the build process doesn't use the bundled one as it should.
I apply the attached patch to the v8 SConscript to make sure that it uses first its own shipped libs before trying to use the system's.
This affects all 2.4.x versions and 2.6.x versions as well.
Please consider applying this fix.