Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 287186 - eix parsing bug
Summary: eix parsing bug
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Third-Party Tools (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Martin Väth
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-10-01 00:52 UTC by Michał Bartoszkiewicz
Modified: 2009-10-12 20:21 UTC (History)
1 user (show)

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


Attachments
Fix for the uninitialized variable (eix-parse.patch,303 bytes, patch)
2009-10-01 00:53 UTC, Michał Bartoszkiewicz
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Michał Bartoszkiewicz 2009-10-01 00:52:41 UTC
My eix (SVN reision 936) often prints the following message:
std::string PrintFormat::get_pkg_property(const Package*, const std::string&) const: Unknown property ''

I've tracked the problem down to an uninitialized rhs field in the Node class. The attached patch fixes the problem for me.
Comment 1 Michał Bartoszkiewicz 2009-10-01 00:53:35 UTC
Created attachment 205745 [details, diff]
Fix for the uninitialized variable
Comment 2 Martin Väth 2009-10-01 19:05:41 UTC
Thanks a lot; you certainly spent a lot of time: Such mistakes are hard to find
and hard to reproduce, especially since the missing initialization was by
RHS_STRING=0 (in fact, it never occurred to me).
This will be fixed in eix-0.18.2
Comment 3 Martin Väth 2009-10-11 22:46:31 UTC
I suppose that I can close this bug, since eix-0.18.2 with the fix
is now in the tree. Thanks again.