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

Bug 909662

Summary: sys-libs/glibc-2.37-r3 requires ~10.6GiB of space to build
Product: Gentoo Linux Reporter: Mitchell Dorrell <mwd>
Component: Current packagesAssignee: Gentoo Toolchain Maintainers <toolchain>
Status: UNCONFIRMED ---    
Severity: minor CC: gentoo.qxrin, gentoo
Priority: Normal    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge --info

Description Mitchell Dorrell 2023-07-04 23:42:00 UTC
Created attachment 865146 [details]
emerge --info

I use a ramdisk for compiling packages, with a default size of 8GiB, which I increase whenever I compile larger packages. I was building glibc today:

[ebuild   R    ] sys-libs/glibc-2.37-r3:2.2::gentoo  USE="multiarch (multilib) ssp stack-realign (static-libs) -audit -caps (-cet) -compile-locales (-crypt) (-custom-cflags) -doc -gd -hash-sysv-compat -headers-only -multilib-bootstrap -nscd -perl -profile (-selinux) -suid -systemd -systemtap -test (-vanilla)" 0 KiB

and the build failed because it ran out of space in /var/tmp/portage. I increased my ramdisk to 12GiB and watched it compile, and at one point I saw it using 10.6GiB.

Other large packages check to see if there's enough space before building. Perhaps glibc should, too. (Or, if it already does, perhaps the minimum space requirement needs to be reevaluated.)
Comment 1 Andreas K. Hüttel archtester gentoo-dev 2023-09-11 02:31:13 UTC
This is not normal
Comment 2 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-09-11 09:08:06 UTC
Can you give us a build.log?