Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 404369 - Mozilla products: 4GB Disk space test should be mandatory
Summary: Mozilla products: 4GB Disk space test should be mandatory
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Mozilla Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-02-18 11:14 UTC by Tobias Kaminsky
Modified: 2012-02-20 08:22 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tobias Kaminsky 2012-02-18 11:14:35 UTC
Hello,

while installing a mozilla ebuild (firefox or thunderbird) the ebuild checks if there is at least 4GB space in /var/tmp/portage/ and complains with yellow *** if it is not.
But with emerge --jobs 5 one does not see this.
Therefore emerge builds firefox/thunderbird until there is no space left, fails.
One has to resize their /var/tmp/ and start again.

So, if this test fails it should exit the emerge process.

(/var/tmp/portage is a tmpfs with 2GB, therefore it will always fail...)

Reproducible: Always
Comment 1 Jory A. Pratt gentoo-dev 2012-02-20 05:57:49 UTC
It all comes down to useflags, an ebuild should never fail when making a simple check for space, there are too many variables that come into play.
Comment 2 Tobias Kaminsky 2012-02-20 08:22:46 UTC
Hello,

thanks for your answer.

Unfortunely Libreoffice acts different: It fails if there are not at least 10GB disk space.

The different I noticed is:
LO:
pkg_pretend() {
...
CHECKREQS_DISK_BUILD="6G"
check-reqs_pkg_pretend
...
}

Thunderbird:
pkg_setup() {
...
check-reqs_pkg_setup
...
}

So this is inconsistent. Both ebuild should act in the same way, or?
Personally I think an ebuild should fail.

Thank you!