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

Bug 241118

Summary: sys-apps/portage-2.2_rc12 emerge -pf does not call pkg_nofetch fetch restricted packages
Product: Portage Development Reporter: Dmitry Karasik <dkarasik>
Component: Core - Interface (emerge)Assignee: Portage team <dev-portage>
Status: RESOLVED FIXED    
Severity: normal Keywords: InVCS, REGRESSION
Priority: High    
Version: 2.2   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 210077    

Description Dmitry Karasik 2008-10-10 15:23:03 UTC
For fetch restricted packages portage no longer outputs any error or message.

For example:

emerge -vfpeO ibm-jdk-bin

returns with no error or message saying the package needs to be fetched manually.
Comment 1 Zac Medico gentoo-dev 2008-10-10 15:59:33 UTC
This behavior is only triggered with --pretend. The reason for the behavior change is that `emerge --pretend --fetch` is normally used to obtain a URI list and it's probably not desirable to have pkg_nofetch output mixed in the the URI list.
Comment 2 Zac Medico gentoo-dev 2008-10-12 20:19:46 UTC
I think I'll make it spawn pkg_nofetch like before, but send all the output to stderr since a sort of error message.
Comment 3 Zac Medico gentoo-dev 2008-10-12 23:19:43 UTC
This is fixed in svn r11685.
Comment 4 Zac Medico gentoo-dev 2008-11-02 01:01:09 UTC
This is fixed in 2.2_rc13.