Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 390711 - Portage should clean up previous TMPdir instances before runing pretend checks
Summary: Portage should clean up previous TMPdir instances before runing pretend checks
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks: 395831
  Show dependency tree
 
Reported: 2011-11-16 09:45 UTC by Tomáš Chvátal (RETIRED)
Modified: 2011-12-23 22:13 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 Tomáš Chvátal (RETIRED) gentoo-dev 2011-11-16 09:45:57 UTC
If I have in pkg_pretend free space check it fails because old failed build is still located in the /var/tmp/portage/.

I think portage should wipe out folders for all to-be-emerged packages prior running the pretend checks.
Comment 1 Zac Medico gentoo-dev 2011-11-16 14:57:30 UTC
You're only talking about the temp directory that belongs to the current package, right? It wouldn't necessarily be safe to clean up any other ones, since the user might be using them to diagnose other build failures.
Comment 3 Zac Medico gentoo-dev 2011-11-17 06:27:09 UTC
This is fixed in 2.1.10.35 and 2.2.0_alpha75.
Comment 4 Zac Medico gentoo-dev 2011-12-23 22:13:53 UTC
(In reply to comment #3)
> This is fixed in 2.1.10.35 and 2.2.0_alpha75.

There was a bug that prevented the code from working correctly:

http://git.overlays.gentoo.org/gitweb/?p=proj/portage.git;a=commit;h=7a0a0a1dc02487b08f47fef129a29e18f7c226a0

It's fixed in 2.1.10.42 and 2.2.0_alpha82.