Summary: | [patch] dev-util/scons: silently breaks ebuilds when using custom MAKEOPTS | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Israel G. Lugo <israel.lugo> |
Component: | [OLD] Development | Assignee: | Python Gentoo Team <python> |
Status: | VERIFIED TEST-REQUEST | ||
Severity: | normal | CC: | djc, kanelxake |
Priority: | High | Keywords: | Inclusion |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 269724 | ||
Attachments: | patch to fix the problem, made against scons-1.2.0 |
Description
Israel G. Lugo
2009-12-06 15:01:28 UTC
Forgot to mention, this is relating to dev-util/scons-1.2.0-r1. I don't know about earlier versions, but I assume they also have the bug. Created attachment 212235 [details, diff] patch to fix the problem, made against scons-1.2.0 2009-12-06 Israel G. Lugo <israel.lugo@lugosys.com> * src/engine/SCons/Script/SConsOptions.py (Parser.opt_not_yet): Exit with status 1 to indicate error. Fixes fooling automated build scripts into thinking the build was successful. URL to the bug I filed upstream: http://scons.tigris.org/issues/show_bug.cgi?id=2530 Update: upstream has accepted my patch, and it will be incorporated in the next release. It would still be nice to have this fixed in Gentoo in the meantime, I think... As it is now, dev-util/scons breaks builds with something as simple as MAKEOPTS=--load-average=3 This should be fixed in scons-1.2.0_p20091224. It builds and installs linuxdcpp using MAKEOPTS="-j5 -l10" on my system. Trying out "MAKEOPTS="--unknownoptions" emerge linuxdcpp" breaks with: SCons error: no such option: --unknownoptions * ERROR: net-p2p/linuxdcpp-9999 failed: so scons-1.2.0_p20091224 seems to work like we expect it to for the ebuilds, with the added bonus of also ignoring -l until implemented. Perfect, thanks. |