Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 204855 - Eix crashes if environment file missing from /var/db/pkg dir
Summary: Eix crashes if environment file missing from /var/db/pkg dir
Status: VERIFIED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-01-08 06:35 UTC by James Cloos
Modified: 2008-01-08 06:56 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description James Cloos 2008-01-08 06:35:26 UTC
My laptop’s /var/db/pkg/dev-libs/glib-1.2.10-r5/environment.bz2 was missing;
eix crashed when it tried and failed to open said file:

:; eix -e glib
terminate called after throwing an instance of 'std::logic_error'
  what():  basic_string::_S_construct NULL not valid
Aborted

That occurred for any query which looked at that package.

I copied the environment.bz2 file from another dir (I happened to grab the one in the glib-2 pkg dir) and then eix completed w/o error.

I’m still at eix-0.10.2; but 0.10.3 is merging as I type.  (I’m also re-merging glib-1; not sure why the environment file is gone, but the ebuild in that dir is quite a bit older than the one currently in portage, even though the -r number hasn’t been incremented.)


Box is ~x86.
Comment 1 James Cloos 2008-01-08 06:56:03 UTC
I searched for bug reports on eix before submitting this.

I didn’t find anything relevant.

But it is indeed fixed in 0.10.3.

[SIGH]