On 9/11/25 09:42, Dan Mahoney (Ports) wrote:
Hey there folks,

I've got poudriere running on a recently-16-ified VM with 8 cores and 48G ram 
(up from 32), and to eat the dogfood I'm attempting to build all my own 
packages.

lang/rust is a big one.  It pontificates for about two hours, then dies with:


Hi,

I'm building rust on my poudriere machine with 12 cores and 48 GiB RAM successfuilly, so that should be enough.

I also have 32 GiB swap configured on that machine, but rust does not use much of that.

I'm also using USE_TMPFS=all and allowing parallel jobs.

So it should work on your machine IMHO. Something else may be at play here.

First thing that comes to mind is, are you building WITH_DEBUG? I have noticed this grows requirements tenfold or more for this kind of ports. This could explain what you see. If you nbeed DEBUG binaries, consider disabling this option for compilers and other tools, and enabling it only for what you are actually trying to debug.

Another thing I do with poudriere is having a longish list for MUTUALLY_EXCLUSIVE_BUILD_PACKAGES, but, I noticed just now, it does not inlcude rust, so I'm quite sure it happens to build fine on my machine even when in parallel with other ports. Anyway you could evaluate adding "rust-*" to that list.

I also have:

lang_rust_UNSET=      DOCS

since I noticed those take a long time to build and I don't need those. But I don't think this has anything to do with what you're seeing.

Take a close look to any non default options you may be enabling/disabling anyway, they could give you clues.

Hope this helps some.


--
Guido Falsi <[email protected]>


Reply via email to