Opened 2 years ago

Closed 20 months ago

#65215 closed defect (wontfix)

mrustc-rust needs too much disk space to build

Reported by: ryandesign (Ryan Carsten Schmidt) Owned by: catap (Kirill A. Korinsky)
Priority: Normal Milestone:
Component: ports Version: 2.7.2
Keywords: Cc: mascguy (Christopher Nielsen)
Port: mrustc-rust

Description

https://build.macports.org/builders/ports-12_x86_64-builder/builds/30178/steps/install-port/logs/stdio

LLVM ERROR: IO failure on output stream: No space left on device

It used up 17 GB before running out of space. How much disk space does it need? Is there any way to reduce it?

Change History (5)

comment:1 Changed 2 years ago by catap (Kirill A. Korinsky)

Unfortunately it needs near of 20Gb of disk space :(

comment:2 Changed 2 years ago by mascguy (Christopher Nielsen)

Cc: mascguy added

comment:3 Changed 2 years ago by mascguy (Christopher Nielsen)

Kirill, is this still an issue, or does your latest PR reduce disk usage?

comment:4 Changed 2 years ago by catap (Kirill A. Korinsky)

Christopher, not it doesn't.

I've started a discussion at upstream: https://github.com/thepowersgang/mrustc/issues/288

Maybe we found a nice solution to keep it a bit tinner.

comment:5 Changed 20 months ago by ryandesign (Ryan Carsten Schmidt)

Resolution: wontfix
Status: assignedclosed

It only needed 13GB of disk space on today's macOS 13 build on arm64:

https://build.macports.org/builders/ports-13_arm64-builder/builds/15587/steps/cleanup/logs/stdio

Perhaps the higher memory use on the macOS 12 x86_64 buildbot worker before—and on your machine, Kirill—was due to the use of swap space? The buildbot workers used to have ~8GB RAM but have been upgraded to ~16GB so they shouldn't need to swap nearly as much anymore.

Note: See TracTickets for help on using tickets.