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

Bug 120885

Summary: comments in /etc/portage/package.use shouldnt be parsed if they are on the same line
Product: Portage Development Reporter: Simon Ruggier <Simon80>
Component: Core - Interface (emerge)Assignee: Portage team <dev-portage>
Status: RESOLVED INVALID    
Severity: enhancement    
Priority: High    
Version: 2.0   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Simon Ruggier 2006-01-29 16:29:23 UTC
Here's a contrived example to illustrate the bug.

1. # echo sys-apps/baselayout unicode \# static >> /etc/portage/package.use
2. # emerge -vNp baselayout

Actual result:

# emerge -vp baselayout

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild   R   ] sys-apps/baselayout-1.11.14-r3  -bootstrap -build +static* +unicode 0 kB

Total size of downloads: 0 kB


Expected result:

# emerge -vp baselayout 
These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild   R   ] sys-apps/baselayout-1.11.14-r3  -bootstrap -build -static +unicode 0 kB

Total size of downloads: 0 kB
Comment 1 SpanKY gentoo-dev 2006-01-29 16:43:13 UTC
well the manpage does say that comments are only new lines
Comment 2 Simon Ruggier 2006-01-31 12:12:05 UTC
(In reply to comment #1)
> well the manpage does say that comments are only new lines
> 

hrm, maybe I should file a bug for gentoo-syntax then?
Comment 3 Marius Mauch (RETIRED) gentoo-dev 2006-02-16 15:51:50 UTC
not a portage bug