I get the following output when I try to emerge sun-jdk: >>> Emerging (1 of 2) dev-java/sun-jdk-1.6.0.05 to / * jdk-6u5-dlj-linux-i586.bin RMD160 SHA1 SHA256 size ;-) ... [ ok ] * checking ebuild checksums ;-) ... [ ok ] * checking auxfile checksums ;-) ... [ ok ] * checking miscfile checksums ;-) ... [ ok ] * checking jdk-6u5-dlj-linux-i586.bin ;-) ... [ ok ] >>> Unpacking source... You will need atleast 217828 kBytes of Disk Free Please free up the required Disk Space and try again * * ERROR: dev-java/sun-jdk-1.6.0.05 failed. * Call stack: * ebuild.sh, line 49: Called src_unpack * environment, line 2671: Called die * The specific snippet of code: * sh "${DISTDIR}"/${A} --accept-license --unpack || die "Failed to unpack" * The die message: * Failed to unpack * * If you need support, post the topmost build error, and the call stack if relevant. * A complete build log is located at '/var/tmp/portage/dev-java/sun-jdk-1.6.0.05/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-java/sun-jdk-1.6.0.05/temp/environment'. * Reproducible: Always Steps to Reproduce: 1. have a small / 2. mount /var/tmp/portage with tmpfs or bind 3. emerge sun-jdk Actual Results: The stated output Expected Results: It should look up whether using tmpfs or bind mounted tempdir
(In reply to comment #0) > >>> Unpacking source... > You will need atleast 217828 kBytes of Disk Free > Please free up the required Disk Space and try again > * And your tmpfs is big enough?
It's 1G big, it should be enough. Everything else works fine too, for instance Qt which really uses much space while compilation. I can't really find out however, because df does somehow not show anything about it. How is the calculation made? I want to help, but I couldn't find it till now. I have looked in the ebuild and in the java-jdk-2 eclass file. Also, I bind-mounted a 60GB harddisk to solve the problem, however, it didn't help either...
(In reply to comment #2) > > I can't really find out however, because df does somehow not show anything > about it. How is the calculation made? I want to help, but I couldn't find it > till now. I have looked in the ebuild and in the java-jdk-2 eclass file. > That output is coming from the jdk bundle itself.
(In reply to comment #2) > > I can't really find out however, because df does somehow not show anything > about it. How is the calculation made? I want to help, but I couldn't find it > till now. I have looked in the ebuild and in the java-jdk-2 eclass file. > There is your problem I supposed. This is the check: diskSpace=`df -k . | tail ${tail_args} -1 | awk '{if ( $4 ~ /%/) { print $3 } else { print $4 } }'`
(In reply to comment #3) > (In reply to comment #2) > > > > I can't really find out however, because df does somehow not show anything > > about it. How is the calculation made? I want to help, but I couldn't find it > > till now. I have looked in the ebuild and in the java-jdk-2 eclass file. > > > > That output is coming from the jdk bundle itself. > Okay, It seems it's not fixable then, it's upstream I suppose? Will mount some flash key or something for that package then... Thanks for the fast help
*** Bug 239530 has been marked as a duplicate of this bug. ***