An older version of dev-java/icedtea (7.2.4.3) uses check-reqs.eclass (CHECKREQS_DISK_BUILD="9G"). This usage mistakenly disappeared in newer ebuilds. According to my precise measurements, maximal usage of disk space in ${PORTAGE_TMPDIR} by dev-java/icedtea-7.2.4.7 at the end of src_install() was 8372 MiB on system with the following configuration: amd64, GCC 4.8.2, glibc 2.19, binutils 2.24.51.0.3 CFLAGS="-march=core2 -O2 -fno-ident -frecord-gcc-switches -pipe -Wall -Wpointer-sign" CXXFLAGS="-march=core2 -O2 -fno-ident -frecord-gcc-switches -pipe -Wall" LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--gc-sections -Wl,--hash-style=gnu -Wl,--sort-common" I suggest to set CHECKREQS_DISK_BUILD="8500M" in ebuild.
(In reply to Arfrever Frehtes Taifersar Arahesis from comment #0) USE="X alsa cups javascript jbootstrap nsplugin nss source webstart -cacao -cjk -debug -doc -examples -jamvm -kerberos -pax_kernel -pulseaudio -test -zero"
Please measure again with USE=doc. Last time I upgraded icedtea it failed on a 9G tmpfs. As the docs from icedtea include the full Java API documentation this will increase the disk space needed ignificantly. (A 12G tmpfs worked fine, but I did not try any sizes between 9 and 12 gigabytes. And I don't know a way to get the peak usage from an tmpfs.) amd64, GCC 4.8.2, glibc 2.1, binutils 2.24-r2 USE="X alsa cups doc jbootstrap kerberos nsplugin nss pulseaudio source webstart -cacao -cjk -debug -examples -jamvm -javascript -pax_kernel {-test} -zero"
You can add this to /etc/portage/bashrc: post_src_install() { du -d0 -m "${PORTAGE_BUILDDIR}" }
Size measured for dev-java/icedtea-7.2.4.8 today: 8364 MiB amd64, GCC 4.8.3, glibc 2.19, binutils 2.24.51.0.3 USE="X alsa cups javascript jbootstrap nsplugin nss source webstart -cacao -cjk -debug -doc -examples -jamvm -kerberos -pax_kernel -pulseaudio -selinux -test -zero" CFLAGS="-march=core2 -O2 -fno-ident -frecord-gcc-switches -pipe -Wall -Wpointer-sign" CXXFLAGS="-march=core2 -O2 -fno-ident -frecord-gcc-switches -pipe -Wall" LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--gc-sections -Wl,--hash-style=gnu -Wl,--sort-common"
Size measured for dev-java/icedtea-7.2.4.8[doc] today: 8865 MiB By the way: * dohtml: skipped file '../docs/api/javax/swing/plaf/synth/doc-files/synth.dtd'
Created attachment 386298 [details, diff] icedtea.patch
Size measured for dev-java/icedtea-6.1.13.4[-doc]: 7582 MiB USE="X alsa cups javascript jbootstrap nsplugin nss source webstart -cacao -cjk -debug -doc -examples -kerberos -pax_kernel -pulseaudio -selinux -systemtap -test" Size measured for dev-java/icedtea-6.1.13.4[doc]: 8072 MiB USE="X alsa cups doc javascript jbootstrap nsplugin nss source webstart -cacao -cjk -debug -examples -kerberos -pax_kernel -pulseaudio -selinux -systemtap -test"
Created attachment 386396 [details, diff] Patch for dev-java/icedtea::gentoo
Size measured for dev-java/icedtea-7.2.5.3[-doc]: 8410 MiB USE="X alsa cups javascript jbootstrap nsplugin nss source webstart -cacao -cjk -debug -doc -examples -infinality -jamvm -kerberos -pax_kernel -pulseaudio -selinux -smartcard -sunec -test -zero" Size measured for dev-java/icedtea-7.2.5.3[doc]: 8913 MiB USE="X alsa cups doc javascript jbootstrap nsplugin nss source webstart -cacao -cjk -debug -examples -infinality -jamvm -kerberos -pax_kernel -pulseaudio -selinux -smartcard -sunec -test -zero"