Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 165414 - app-portage/eix - update-eix fails on alsa-{headers,driver}-1.0.14_rc2_p3234
Summary: app-portage/eix - update-eix fails on alsa-{headers,driver}-1.0.14_rc2_p3234
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Martin Väth
URL:
Whiteboard:
Keywords:
: 166031 167347 (view as bug list)
Depends on:
Blocks:
 
Reported: 2007-02-05 08:41 UTC by Michael Schnake
Modified: 2007-02-17 16:16 UTC (History)
10 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 Michael Schnake 2007-02-05 08:41:53 UTC
For alsa-driver-1.0.14_rc2_p3234.ebuild and alsa-headers-1.0.14_rc2_p3234.ebuild the "_p3234" part is invalid for ebuild names IMHO (see http://www.gentoo.org/proj/en/devrel/handbook/handbook.xml?part=2&chap=1#doc_chap2).

eix-update stops on those with the error message "Garbage at end of version string: _p3234".

Reproducible: Always

Steps to Reproduce:
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-02-05 08:53:50 UTC
The ebuild name is just fine w/ >=portage-2.1.1; eix is broken.

$ emerge -pv alsa-headers

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild     U ] media-sound/alsa-headers-1.0.14_rc2_p3234 [1.0.14_rc2] 16,139 kB 
Comment 2 Martin Väth 2007-02-05 23:50:10 UTC
Just because portage eats it, does not mean that the version number is fine.
In fact, this is an illegal version number according to the versioning scheme on the cited URL which had been used all the time: There is only one _suf{#} allowed. With several suffixes, it is not even clear which should take precedence. Is e.g. 1.0-rc2_rc1 higher or lower than 1.0-rc1?

If you really plan to extend the versioning scheme, please document it somewhere so that I can change eix accordingly.
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2007-02-05 23:52:58 UTC
(In reply to comment #2)
> If you really plan to extend the versioning scheme, please document it
> somewhere so that I can change eix accordingly.

We don't plan it, it's been already done since portage 2.1.1 (and please file a separate bug about documentation)
Comment 4 Andre Hinrichs 2007-02-06 00:39:40 UTC
It's not only eix, which is broken then. Package list on gentoo web site is also broken:
http://packages.gentoo.org/packages/?category=media-sound;name=alsa-headers

If the specification for version numbers has changed, then two new bugs have to be filed for these errors.
Comment 5 Martin Väth 2007-02-06 08:55:21 UTC
In eix svn (eix-0.8.8) I "fixed" it now in the way I understood the new versioning scheme:

Multiple suffixes are allowed, earlier suffixes take precedence.
Thus, you get the sorting:

1.0_rc1_rc2
1.0_rc1
1.0_rc1_p1
1.0_rc2_rc1
1.0_rc2
1.0
1.0_p1_rc1
1.0_p1
1.0_p1_p1

If nobody knows a contrary interpretation, I will release this version soon.
Comment 6 Martin Väth 2007-02-07 11:14:19 UTC
Closing as "fixed" since eix-0.8.8 is now in the portage tree.
Comment 7 Jakub Moc (RETIRED) gentoo-dev 2007-02-09 07:58:54 UTC
*** Bug 166031 has been marked as a duplicate of this bug. ***
Comment 8 Jakub Moc (RETIRED) gentoo-dev 2007-02-17 16:16:02 UTC
*** Bug 167347 has been marked as a duplicate of this bug. ***