Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 216483 - update-eix fails
Summary: update-eix fails
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Stefan Schweizer (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-04-06 09:23 UTC by Hans Halvorson
Modified: 2008-09-21 00:32 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Fix faulty comparison for =* masks (mask-compare-#216483.patch,2.21 KB, patch)
2008-04-06 13:38 UTC, Emil Beinroth
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Hans Halvorson 2008-04-06 09:23:32 UTC
The output from update-eix ends with:

Applying masks ..
terminate called after throwing an instance of 'std::out_of_range'
  what():  basic_string::compare
Aborted


Reproducible: Always
Comment 1 Emil Beinroth 2008-04-06 10:57:12 UTC
And what version of eix are you running?
Comment 2 Emil Beinroth 2008-04-06 13:38:43 UTC
Created attachment 148861 [details, diff]
Fix faulty comparison for =* masks

"-0*" masks (for example "=app-portage/eix-0*") triggered an exception in eix. This patch addresses the issue and fixes the comparison of wildcard masks.

All versions >=0.12.0 are affected by this problem.
Comment 3 Hans Halvorson 2008-04-06 16:11:22 UTC
I'm running eix 0.12.3
Comment 4 Hans Halvorson 2008-04-18 09:14:24 UTC
As far as I can tell, the problem has been fixed in eix 0.12.4. Shall we mark this bug as fixed?
Comment 5 Martin Väth 2008-06-25 19:42:59 UTC
Marking as "fixed". Please re-open if there are still problems.
Comment 6 sa wu 2008-09-20 23:38:37 UTC
got the problem on my amd64 no-multilib box.
always reproducible with versions 12.4, 13.3, 13.4.

update-eix output:

Reading Portage settings ..
Building database (/var/cache/eix) ..
[0] "gentoo" /usr/portage/ (cache: metadata-flat)
     Reading  50%terminate called after throwing an instance of 'std::out_of_range'
  what():  basic_string::compare
[1]    19160 abort      update-eix
Comment 7 Emil Beinroth 2008-09-21 00:32:32 UTC
See http://bugs.gentoo.org/show_bug.cgi?id=238216