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

Bug 285334

Summary: sys-apps/portage improve error message if system set is undefined
Product: Portage Development Reporter: Luke-Jr <luke-jr+gentoobugs>
Component: CoreAssignee: Portage team <dev-portage>
Status: CONFIRMED ---    
Severity: critical CC: darkside
Priority: High    
Version: unspecified   
Hardware: Other   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge --info

Description Luke-Jr 2009-09-17 16:53:15 UTC
# emerge -ep system
emerge: 'system' is an empty set
emerge: no targets left after set expansion

Affects at least versions 2.2_rc39 and 2.2_rc40
Profiles affected (at least):
- default/linux/amd64/2008.0/no-multilib
- default/linux/arm/2008.0
- default/linux/arm/10.0
Comment 1 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2009-09-17 17:03:46 UTC
Confirmed it is working on my host. Nothing for amd64 to do here, have to take it up with the portage devs.

Portage 2.2_rc40 (default/linux/amd64/2008.0, gcc-4.3.2, glibc-2.9_p20081201-r2, 2.6.29.4 x86_64)
Comment 2 Luke-Jr 2009-09-17 17:08:06 UTC
Created attachment 204449 [details]
emerge --info
Comment 3 Luke-Jr 2009-09-18 04:13:50 UTC
Turned out my local rsync mirror's exclude of 'packages' was screwing up profiles.
Comment 4 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2009-09-18 04:50:34 UTC
hijacking bug...

-emerge: 'system' is an empty set
+emerge: 'system' is an empty set (does ${PORTDIR}/profiles/default/linux/packages exist?)

Is this possible?
Comment 5 Zac Medico gentoo-dev 2009-09-18 12:03:11 UTC
(In reply to comment #4)
> hijacking bug...
> 
> -emerge: 'system' is an empty set
> +emerge: 'system' is an empty set (does
> ${PORTDIR}/profiles/default/linux/packages exist?)
> 
> Is this possible?

That might be getting a little too "smart" because that particular file doesn't necessarily need to exist. It could be in one or more of the inherited directories and that would be perfectly valid.