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

Bug 446078

Summary: app-portage/eix-0.27.5 doesn't work correctly with comments in /etc/portage/package.unmask
Product: Gentoo Linux Reporter: Justin Lecher (RETIRED) <jlec>
Component: Current packagesAssignee: Martin Väth <martin>
Status: RESOLVED FIXED    
Severity: normal CC: adaptee, axs, dschridde+gentoobugs, rzubaly
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Fix pushback_lines argument

Description Justin Lecher (RETIRED) gentoo-dev 2012-12-05 11:50:52 UTC
 $ eix pstree
-- Invalid line 24 in /etc/portage/package.unmask: '#required by blas-reference (argument)'
    Can't read category.

-- Invalid line 31 in /etc/portage/package.unmask: '# Pawel Hajdan jr <phajdan.jr@gentoo.org> (06 Oct 2011)'
    Can't read category.

-- Invalid line 32 in /etc/portage/package.unmask: '# Extremely experimental. Masked while it's being tested.'
    Can't read category.

-- Invalid line 33 in /etc/portage/package.unmask: '# Note: it is only useful for building NaCl IRT, if you're not'
    Can't read category.

-- Invalid line 34 in /etc/portage/package.unmask: '# compiling IRT this is _not_ what you want.'
    Can't read category.

-- Invalid line 38 in /etc/portage/package.unmask: '# Pawel Hajdan jr <phajdan.jr@gentoo.org> (30 Aug 2011)'
    Can't read category.

-- Invalid line 40 in /etc/portage/package.unmask: '# Currently v8-3.5 versions are used for chromium-15.x versions.'
    Can't read category.

-- Invalid line 44 in /etc/portage/package.unmask: '# Pawel Hajdan jr <phajdan.jr@gentoo.org> (06 Oct 2011)'
    Can't read category.

-- Invalid line 45 in /etc/portage/package.unmask: '# Extremely experimental. Masked while it's being tested.'
    Can't read category.

-- Invalid line 46 in /etc/portage/package.unmask: '# Note: it is only useful for building NaCl IRT, if you're not'
    Can't read category.

-- Invalid line 47 in /etc/portage/package.unmask: '# compiling IRT this is _not_ what you want.'
    Can't read category.

-- Invalid line 55 in /etc/portage/package.unmask: '# Mike Gilbert <floppym@gentoo.org> (09 Jul 2012)'
    Can't read category.

-- Invalid line 56 in /etc/portage/package.unmask: '# Dev channel releases are only for people who are developers or want more'
    Can't read category.

-- Invalid line 57 in /etc/portage/package.unmask: '# experimental features and accept a more unstable release.'
    Can't read category.

-- Invalid line 62 in /etc/portage/package.unmask: '# Pawel Hajdan jr <phajdan.jr@gentoo.org> (09 Nov 2012)'
    Can't read category.

-- Invalid line 63 in /etc/portage/package.unmask: '# Masked for testing, bug #438756.'
    Can't read category.

No matches found.
Comment 1 thunderrd 2012-12-05 15:37:07 UTC
I can confirm this issue after updating eix today, and conferring with others in #gentoo.  

I can add that it seems that eix does not like comment lines that do not contain a package name, but does not complain if the comment contains one.
Comment 2 Martin Väth 2012-12-05 18:16:48 UTC
Created attachment 331562 [details, diff]
Fix pushback_lines argument

This is a serious regression due to a stupid mistake in a function argument.
The attached patch should fix it.
Comment 3 PM 2012-12-05 22:28:21 UTC
There's a typo in the patch filename. It's eix-0.2.5-commentlines.patch and should be eix-0.27.5-commentlines.patch