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
URL:
Keywords: needs-qa, regression
Depends on:
Blocks:
 
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+


Attachments
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]
lang/rust

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]
lang/rust

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

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.

https://github.com/rust-lang/rust/commit/a22af69c8f5b3838a8822b9e6dbe2199cfb8f297