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

Bug 640962

Summary: sys-apps/portage: emerge --version profile output does not work correctly for profiles in a repo other than gentoo
Product: Portage Development Reporter: Zac Medico <zmedico>
Component: Core - Interface (emerge)Assignee: Portage team <dev-portage>
Status: CONFIRMED ---    
Severity: normal CC: esigra
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: All   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 240187    

Description Zac Medico gentoo-dev 2017-12-13 22:01:03 UTC
The getportageversion function uses this function which returns None if the profile is not in the gentoo repository:

    profilever = relative_profile_path(portdir, profile)

It would be nicer if it checked all available repositories.