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

Bug 456758

Summary: check-reqs.eclass reports wrong values
Product: Gentoo Linux Reporter: Michał Górny <mgorny>
Component: EclassesAssignee: Patrick Lauer <patrick>
Status: RESOLVED FIXED    
Severity: major CC: jlec
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2013-02-11 11:26:57 UTC
* Messages for package dev-python/pymongo-2.4.2-r1:

 * There is NOT at least 1536 megabytes disk space at "/var/tmp/portage/dev-python/pymongo-2.4.2-r1/temp"

This it not true.

$ df -H
Filesystem      Size  Used Avail Use% Mounted on
rootfs           40G   36G  1,6G  96% /

So there's obviously 1600 megabytes free.
Comment 1 Justin Lecher (RETIRED) gentoo-dev 2015-12-27 09:24:49 UTC
IT's a SI vs IEC prefeix problem. The eclass uses M == 1024**2 where as -H uses 1000**2
Comment 2 Ulrich Müller gentoo-dev 2018-01-18 08:27:41 UTC
This bug has been fixed in 2014 already:
https://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/eclass/check-reqs.eclass?r1=1.13&r2=1.14

Closing.