Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 107349 - net-analyzer/lft-2.5 should be net-analyzer/lft-2.50
Summary: net-analyzer/lft-2.5 should be net-analyzer/lft-2.50
Status: RESOLVED WONTFIX
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: 2005-09-26 18:53 UTC by James Roberts-Thomson
Modified: 2005-09-27 14:38 UTC (History)
0 users

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


Attachments
Patch to lft-2.5 ebuild to allow ebuild name lft-2.50 to work (lft-2.50.ebuild.patch,450 bytes, patch)
2005-09-26 19:02 UTC, James Roberts-Thomson
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description James Roberts-Thomson 2005-09-26 18:53:39 UTC
The package net-analyzer/lft-2.5 is a version bump from net-analyzer-2.31. 
Unfortunately, in portage, 2.5 is less than 2.31, so portage will never attempt
to upgrade or install the "latest" version (2.5).  Renaming the package to
lft-2.50 makes it install; but the ebuild needs to be modified to reflect the
correct filename (i.e. doesn't try to download lft-2.50.tar.gz, rather
lft-2.5.tar.gz instead).

Reproducible: Always
Steps to Reproduce:
Comment 1 James Roberts-Thomson 2005-09-26 19:02:37 UTC
Created attachment 69313 [details, diff]
Patch to lft-2.5 ebuild to allow ebuild name lft-2.50 to work

This patch will make the renamed ebuild "lft-2.50.ebuild" download the correct
source tarball.
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2005-09-27 00:10:38 UTC
No, it shouldn't. The version matches upstream. Complaints about stupid
versioning scheme need to go upstream, sorry.
Comment 3 James Roberts-Thomson 2005-09-27 14:04:11 UTC
I disagree, as I think this highlights a weakness in the way portage determines
version numbers.

Mathematically speaking, the decimal number 2.5 (two and a half) is greater than
the number 2.31 (slighty less than 2 and one-third); so a case can be made that
the version number has increased.  Also, I was taught in maths that the decimal
numbers "2.5" and "2.50" were equivalent.

Portage, however, doesn't agree; and in my mind this is a Portage "feature"
which could be addressed.  ReAssign this bug to Portage if you want as a feature
request or bug or whatever; but like it or not, the problem is in the way
portage does math.
Comment 4 Jakub Moc (RETIRED) gentoo-dev 2005-09-27 14:38:15 UTC
(In reply to comment #3)
> Mathematically speaking, the decimal number 2.5 (two and a half) is greater than
> the number 2.31 (slighty less than 2 and one-third); so a case can be made that
> the version number has increased.  Also, I was taught in maths that the decimal
> numbers "2.5" and "2.50" were equivalent.

Mathematically speaking, 5 < 31 and upstream versioning is b0rked. The above
quoted conclusion is flawed, 2 is major version, 5 or 31 is minor version, those
two are rightly considered completely separate of each other.