Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 705242 - =app-misc/unfoo-1.0.8 uses lexicographical version compare
Summary: =app-misc/unfoo-1.0.8 uses lexicographical version compare
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Shell Tools project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 705240
  Show dependency tree
 
Reported: 2020-01-12 11:02 UTC by Sergei Trofimovich (RETIRED)
Modified: 2020-02-06 00:04 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 Sergei Trofimovich (RETIRED) gentoo-dev 2020-01-12 11:02:01 UTC
app-misc/unfoo uses lexicographical string version compare:

    app-misc/unfoo/unfoo-1.0.8.ebuild:	elif [[ ${REPLACING_VERSIONS} < 1.0.7 ]]; then

The intention is likely to use 'ver_cmp'. See bug #705240 for hints to fix it.
Comment 1 Larry the Git Cow gentoo-dev 2020-02-06 00:04:12 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8b0db89fffa5c0fbe2d938955467f013127b20e4

commit 8b0db89fffa5c0fbe2d938955467f013127b20e4
Author:     Sergei Trofimovich <slyfox@gentoo.org>
AuthorDate: 2020-02-06 00:04:00 +0000
Commit:     Sergei Trofimovich <slyfox@gentoo.org>
CommitDate: 2020-02-06 00:04:00 +0000

    app-misc/unfoo: drop string version compare, bug #705242
    
    Closes: https://bugs.gentoo.org/705242
    Package-Manager: Portage-2.3.87, Repoman-2.3.20
    Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>

 app-misc/unfoo/unfoo-1.0.8.ebuild | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)