Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 630626 - multiprocessing.eclass - makeopts_loadavg truncates float value to integer
Summary: multiprocessing.eclass - makeopts_loadavg truncates float value to integer
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (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-09-10 22:54 UTC by wbrana
Modified: 2017-09-14 19:38 UTC (History)
2 users (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 wbrana 2017-09-10 22:54:12 UTC
make.conf:
MAKEOPTS="-j 2 -l 2.2"

build command contains -l2 instead of -l2.2
ninja -v -j2 -l2 -C out/Release chrome chromedriver chrome_sandbox
Comment 1 Mike Gilbert gentoo-dev 2017-09-11 03:06:09 UTC
It's actually a bug in multiprocessing.eclass.
Comment 2 Mike Gilbert gentoo-dev 2017-09-11 03:25:49 UTC
Patch sent for review.

https://archives.gentoo.org/gentoo-dev/message/5552181e4e912f5c2c22d81660c6b930
Comment 3 Larry the Git Cow gentoo-dev 2017-09-14 19:05:37 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f48f6febd88031c2e257188f0921d75d455b7abe

commit f48f6febd88031c2e257188f0921d75d455b7abe
Author:     Mike Gilbert <floppym@gentoo.org>
AuthorDate: 2017-09-11 14:30:41 +0000
Commit:     Mike Gilbert <floppym@gentoo.org>
CommitDate: 2017-09-14 19:05:32 +0000

    multiprocessing.eclass: add tests for float values
    
    Bug: https://bugs.gentoo.org/630626

 eclass/tests/multiprocessing_makeopts_loadavg.sh | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3fd2a3508a16643cef428f7a49e3ee37bee3b494

commit 3fd2a3508a16643cef428f7a49e3ee37bee3b494
Author:     Mike Gilbert <floppym@gentoo.org>
AuthorDate: 2017-09-11 03:18:56 +0000
Commit:     Mike Gilbert <floppym@gentoo.org>
CommitDate: 2017-09-14 19:05:32 +0000

    multiprocessing.eclass: make loadavg regex work for float values
    
    Bug: https://bugs.gentoo.org/630626

 eclass/multiprocessing.eclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)}
Comment 4 Larry the Git Cow gentoo-dev 2017-09-14 19:38:43 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/sync/gentoo.git/commit/?id=f48f6febd88031c2e257188f0921d75d455b7abe

commit f48f6febd88031c2e257188f0921d75d455b7abe
Author:     Mike Gilbert <floppym@gentoo.org>
AuthorDate: 2017-09-11 14:30:41 +0000
Commit:     Mike Gilbert <floppym@gentoo.org>
CommitDate: 2017-09-14 19:05:32 +0000

    multiprocessing.eclass: add tests for float values
    
    Bug: https://bugs.gentoo.org/630626

 eclass/tests/multiprocessing_makeopts_loadavg.sh | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

https://gitweb.gentoo.org/repo/sync/gentoo.git/commit/?id=3fd2a3508a16643cef428f7a49e3ee37bee3b494

commit 3fd2a3508a16643cef428f7a49e3ee37bee3b494
Author:     Mike Gilbert <floppym@gentoo.org>
AuthorDate: 2017-09-11 03:18:56 +0000
Commit:     Mike Gilbert <floppym@gentoo.org>
CommitDate: 2017-09-14 19:05:32 +0000

    multiprocessing.eclass: make loadavg regex work for float values
    
    Bug: https://bugs.gentoo.org/630626

 eclass/multiprocessing.eclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)}