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

Bug 584064

Summary: sys-apps/portage-2.2.28: DISTDIR missing when printing manual fetch instructions
Product: Portage Development Reporter: Christopher Head <bugs>
Component: CoreAssignee: Portage team <dev-portage>
Status: UNCONFIRMED ---    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Christopher Head 2016-05-25 05:18:36 UTC
If a package has RESTRICT=fetch, the instructions typically tell me to go off and download the files, then put them into $DISTDIR.

Unfortunately, if this happens during --ask or --pretend, $DISTDIR might not exist! It’s only created when Portage starts actually fetching files.

This is reasonably trivial to work around (just create $DISTDIR myself), but it would be nice if Portage created it for me before telling me to put things in it (consider, for example, that I might create it with the wrong permissions if I do it myself).