Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 584064 - sys-apps/portage-2.2.28: DISTDIR missing when printing manual fetch instructions
Summary: sys-apps/portage-2.2.28: DISTDIR missing when printing manual fetch instructions
Status: UNCONFIRMED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-05-25 05:18 UTC by Christopher Head
Modified: 2016-05-25 10:17 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 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).