Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 608242 - multiprocessing.eclass: makeopts_jobs() returns incorrect result with MAKEOPTS="-j -l9"
Summary: multiprocessing.eclass: makeopts_jobs() returns incorrect result with MAKEOPT...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Eclasses (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-02-04 18:13 UTC by Gordon Pettey
Modified: 2017-02-09 18:16 UTC (History)
0 users

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 Gordon Pettey 2017-02-04 18:13:59 UTC
Given a MAKEOPTS with unlimited jobs and a load limit, multiprocessing.eclass makeopts_jobs() returns a bogus result.

MAKEOPTS="-j -l9" makeopts_jobs returns "-l9"
MAKEOPTS="-l9 -j" makeopts_jobs returns "-j"

This breaks at least dev-libs/boost-1.56.0-r1 which sets OPTIONS="-j$(makeopts_jobs)"