Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bugzilla DB migration completed. Please report issues to Infra team via email via infra@gentoo.org or IRC

Bug 705264

Summary: =net-libs/webkit-gtk-2.24.4 uses lexicographical version compare
Product: Gentoo Linux Reporter: Sergei Trofimovich <slyfox>
Component: Current packagesAssignee: Gentoo Linux Gnome Desktop Team <gnome>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on: 699156    
Bug Blocks: 705240    

Description Sergei Trofimovich gentoo-dev 2020-01-12 11:31:18 UTC
net-libs/webkit-gtk uses lexicographical string version compare:

net-libs/webkit-gtk/webkit-gtk-2.24.4.ebuild:		if tc-is-gcc && [[ $(gcc-version) < 4.9 ]] ; then

The intention is likely to use 'ver_cmp'. See bug #705240 for hints to fix it.
Comment 1 Mart Raudsepp gentoo-dev 2020-01-12 11:56:07 UTC
it's removed in 2.26, pending slow arches to get rid of security vulnerable 2.24...
Comment 2 Sergei Trofimovich gentoo-dev 2020-05-22 19:04:23 UTC
As gcc-10 is in the tree this now has a small chance to fire:

$ [[ 9 < 4.9 ]] && echo yes || echo no
no
$ [[ 10 < 4.9 ]] && echo yes || echo no
yes
Comment 3 Mart Raudsepp gentoo-dev 2020-05-22 19:09:51 UTC
Tell that to the arches that still haven't keyworded 2.26 nor 2.28 :)
Comment 4 Mart Raudsepp gentoo-dev 2020-07-19 11:34:28 UTC
The older versions with this problem are gone now