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

Bug 192690

Summary: sys-apps/portage-2.1.3.9: package.keywords lines ignored without ~arch and with comments on the same line
Product: Portage Development Reporter: Jonas Jonsson <jonas>
Component: Core - ConfigurationAssignee: Portage team <dev-portage>
Status: RESOLVED DUPLICATE    
Severity: trivial CC: hkbst
Priority: High    
Version: 2.1   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge --info

Description Jonas Jonsson 2007-09-16 13:22:44 UTC
When doing a comment in /etc/portage/package.keywords like this, portage fails.

sys-auth/pam_mount # Pam mount

But if I do 
sys-auth/pam_mount ~amd64 # Pam mount 

it works.


Reproducible: Always

Steps to Reproduce:
1.Add a package to package.keywords without the ~ARCH part
2.Add a comment on same line
3.Try to emerge package

Actual Results:  
!!! All ebuilds that could satisfy "pam_mount" have been masked.
!!! One of the following masked packages is required to complete your request:
- sys-auth/pam_mount-0.18 (masked by: missing keyword)
- sys-auth/pam_mount-0.19 (masked by: ~amd64 keyword)


Expected Results:  
Portage starting to emerge pam_mount
Comment 1 Jonas Jonsson 2007-09-16 13:22:57 UTC
Created attachment 131050 [details]
emerge --info
Comment 2 Zac Medico gentoo-dev 2007-09-16 17:55:14 UTC
End of line comments are not currently supported.

*** This bug has been marked as a duplicate of bug 141747 ***