Hi! I was notified to switch into this profile. The problem is that x86 inherit from default-linux/x86/2007.0 then from base. The base removes a lot of USE flags and other settings. I tried to switch the order, but then the selinux stuff was not added. Any thoughts?
OK. Found the problem... selinux/2007.0/x86 inherit from default-linux/x86/2007.0 (Mind the change in order) selinux/2007.0/x86 inherit from selinux selinux inherit from base default-linux/x86/2007.0 eventually inherit from base So you inherit base twice, this making the problem Removing the parent from selinux solves the issue, as both x86 and base already inherited, you only need to make selinux modifications.
*** Bug 187266 has been marked as a duplicate of this bug. ***
fixed in cvs
I'm guessing this is related to this bug. After this morning's sync, I now get the following: # emerge --sync Traceback (most recent call last): File "/usr/bin/emerge", line 4049, in ? emerge_main() File "/usr/bin/emerge", line 3768, in emerge_main settings, trees, mtimedb = load_emerge_config() File "/usr/bin/emerge", line 3679, in load_emerge_config trees = portage.create_trees(trees=trees, **kwargs) File "/usr/lib/portage/pym/portage.py", line 6780, in create_trees config_incrementals=portage_const.INCREMENTALS) File "/usr/lib/portage/pym/portage.py", line 902, in __init__ addProfile(os.path.realpath(self.profile_path)) File "/usr/lib/portage/pym/portage.py", line 889, in addProfile raise portage_exception.ParseError( NameError: global name 'parents_file' is not defined If I change my profile from selinux/2007.0/x86 to default-linux/x86/2007.0, I can then use emerge normally. Changing it back, I get the above error again. This appears to be related to the values I have in 2007.0/x86/parent. For now, I removed the entry ../../../default-linux/x86/2007.0.
Upgrading to >=portage-2.1.2 resolved this.