Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 158222 - app-portage/eix-0.7.9 regex doesn't work
Summary: app-portage/eix-0.7.9 regex doesn't work
Status: RESOLVED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: FreeBSD (show other bugs)
Hardware: All FreeBSD
: High normal
Assignee: Gentoo/BSD Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-12-15 08:20 UTC by Alessio Cassibba (X-Drum)
Modified: 2006-12-16 06:17 UTC (History)
2 users (show)

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 Alessio Cassibba (X-Drum) 2006-12-15 08:20:49 UTC
regex  (-r) is the default Match algorithm for eix,
it doesn't work on gfbsd:

root@gfbsd ~ # eix apache
regcomp(""): empty (sub)expression

the other Match algorithms are working instead:
eix -e
eix -f
eix -p
Comment 1 Martin Väth 2006-12-15 10:01:06 UTC
eix calls regcomp("") in a constructor: I think that "" should be a valid regular expression which should match every string. So it is somewhat strange that regcomp returns an error status for the argument "".

In the current svn trunk of eix (presumably eix-0.8.4), I have written a manual test for the empty string before calling regcomp, so that no problems with eix should arise anymore.

However, maybe the corresponding regcomp-function on gfbsd should be fixed anyway...
Comment 2 Timothy Redaelli (RETIRED) gentoo-dev 2006-12-16 06:17:24 UTC
Patched in cvs without revbump, you only need to reinstall 0.8.3 and it should works