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

Bug 681980

Summary: sci-libs/tensorflow-1.13.0_rc2[python] should check for 20 gigabytes in PORTAGE_TMPDIR
Product: Gentoo Linux Reporter: Michael Moon <triffid.hunter>
Component: Current packagesAssignee: Jason Zaman <perfinion>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Michael Moon 2019-03-29 07:04:47 UTC
Some packages that require a lot of space will do a pre-merge free space check (eg libreoffice, chromium) with 'check-reqs_pkg_setup'

tensorflow[python] also requires a lot of free space but does not perform this check which causes nuisance build failures after long compile times.

This bug is to request that we add this check to the tensorflow ebuild - it peaked at 19.2G (20116120k) for me.
Comment 1 Jason Zaman gentoo-dev 2019-03-30 14:18:12 UTC
How many python_targets do you have enabled?

TensorFlow used to check for 5GB, that probably isnt enough anymore. My /var/tmp is only 16G tho and it builds fine for 1 python target. I'm making it do 5G + 5G * number of python targets enabled. lets see if thats enough.
Comment 2 Michael Moon 2019-04-01 09:12:55 UTC
Yeah I have 3 python targets here, so checking for 5+5n will do the job.