Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 705244

Summary: =dev-db/libzdb-3.1-r1 uses lexicographical version compare
Product: Gentoo Linux Reporter: Sergei Trofimovich (RETIRED) <slyfox>
Component: Current packagesAssignee: Thomas Raschbacher <lordvan>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 705240    

Description Sergei Trofimovich (RETIRED) gentoo-dev 2020-01-12 11:04:06 UTC
dev-db/libzdb uses lexicographical string version compare:

dev-db/libzdb/libzdb-3.1-r1.ebuild:	if  [[ $(gcc-version) < 4.1 ]];then
dev-db/libzdb/libzdb-3.1.ebuild:	if  [[ $(gcc-version) < 4.1 ]];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-18 13:58:22 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9cf2e8e3fc6262e7dd0166c9317450ce62bb45c4

commit 9cf2e8e3fc6262e7dd0166c9317450ce62bb45c4
Author:     Sergei Trofimovich <slyfox@gentoo.org>
AuthorDate: 2020-02-18 13:57:41 +0000
Commit:     Sergei Trofimovich <slyfox@gentoo.org>
CommitDate: 2020-02-18 13:58:10 +0000

    dev-db/libzdb: drop lexicographical comparison, bug #705244
    
    Closes: https://bugs.gentoo.org/705244
    Package-Manager: Portage-2.3.89, Repoman-2.3.20
    Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>

 dev-db/libzdb/libzdb-3.1-r1.ebuild | 9 +++------
 dev-db/libzdb/libzdb-3.1.ebuild    | 9 +++------
 2 files changed, 6 insertions(+), 12 deletions(-)
Comment 2 Michael 'veremitz' Everitt 2020-02-18 23:56:28 UTC
Fixed atom syntax in Summary :]