Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 753854

Summary: net-misc/ntpsec-1.1.9: MAKEOPTS not respected
Product: Gentoo Linux Reporter: crabbed halo ablution <crabbedhaloablution>
Component: Current packagesAssignee: Anthony Basile <blueness>
Status: UNCONFIRMED ---    
Severity: normal CC: jamesb.fe80, jstein, sam
Priority: Normal Keywords: PATCH
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 654178    
Attachments: proposed patch to make ntpsec respect MAKEOPTS

Description crabbed halo ablution 2020-11-10 13:55:11 UTC
ntpsec unsets MAKEOPTS. I have repeatedly built ntpsec without this in tmpfs on a 12-core cpu and have not been able to produce a parallel-build failure.
git blame fingers this commit in the -9999 ebuild as the place where it was first introduced:
https://github.com/gentoo/gentoo/commit/8b1d82cd97939eca1f801304c9a516533b1b9a9f

Maybe it was a transient failure fixed in later git versions?

Difference in build times on Ryzen 9 3900X:
unset MAKEOPTS
real	1m54,226s
user	1m40,297s
sys	0m20,287s
MAKEOPTS=-j24
real	0m29,581s
user	2m27,881s
sys	0m29,170s

Reproducible: Always
Comment 1 James Browning 2020-12-12 21:05:47 UTC
IMO not an NTPsec issue. NTPsec does not respect GNU autoscrap MAKEOPTS. Kick it over to the waf eclass maintainer(s) and ask them to handle it, or write and become the maintenance slave for autoscrap build if you are so inclined.
Comment 2 James Browning 2021-07-01 15:33:54 UTC
Created attachment 720819 [details, diff]
proposed patch to make ntpsec respect MAKEOPTS

Signed-off-by: James Browning <jamesb.fe80@gmail.com>