Bug 228373 - lang/rust: no respect for jobs limit in Poudriere
Summary: lang/rust: no respect for jobs limit in Poudriere
Status: Closed Feedback Timeout
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: FreeBSD Rust Team
Keywords: needs-qa, regression
Depends on:
Reported: 2018-05-20 10:21 UTC by Michael Danilov
Modified: 2019-09-07 12:54 UTC (History)
1 user (show)

See Also:
tobik: maintainer-feedback+

lang/rust (444 bytes, patch)
2018-05-20 10:38 UTC, Michael Danilov
no flags Details | Diff
workaround (869 bytes, patch)
2018-05-25 06:23 UTC, Jan Beich
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Danilov 2018-05-20 10:21:38 UTC
lang/rust runs as many processes in parallel as it wants during the build, not respecting the disabled "ALLOW_MAKE_JOBS" in Poudriere.
Comment 1 Michael Danilov 2018-05-20 10:27:23 UTC
Specifically, there are some rustc's run by cargo.
Comment 2 Michael Danilov 2018-05-20 10:38:23 UTC
Created attachment 193556 [details]

This seems to work, but I'm not sure.
Comment 3 Michael Danilov 2018-05-20 10:53:56 UTC
rustc running alone still eats up all cpus!
Comment 4 Michael Danilov 2018-05-20 11:39:19 UTC
Comment on attachment 193556 [details]

No, it doesn't help at all.
Comment 5 Jan Beich freebsd_committer 2018-05-25 06:23:21 UTC
Created attachment 193679 [details]

Can you try OpenBSD fix? Someone should bisect and report it upstream, so the downstream patch is transient rather than a maintenance burden.
Comment 6 Michael Danilov 2018-05-26 21:29:10 UTC
Thank you, I will try it next time I'm updating.
Comment 7 Tobias Kortkamp freebsd_committer 2019-09-07 12:54:55 UTC
Suggested patch has more or less been applied upstream.  Given no further
feedback I'm assuming this is no longer a problem.