Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 705282 - =sys-libs/libcxx-9.0.1 uses lexicographical version compare
Summary: =sys-libs/libcxx-9.0.1 uses lexicographical version compare
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Alexis Ballier
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 705240
  Show dependency tree
 
Reported: 2020-01-12 11:54 UTC by Sergei Trofimovich
Modified: 2020-01-12 11:54 UTC (History)
1 user (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 Sergei Trofimovich gentoo-dev 2020-01-12 11:54:48 UTC
sys-libs/libcxx uses lexicographical string version compare:

sys-libs/libcxx/libcxx-10.0.0.9999.ebuild:	if tc-is-gcc && [[ $(gcc-version) < 4.7 ]] ; then
sys-libs/libcxx/libcxx-7.1.0.ebuild:	if tc-is-gcc && [[ $(gcc-version) < 4.7 ]] ; then
sys-libs/libcxx/libcxx-8.0.1.ebuild:	if tc-is-gcc && [[ $(gcc-version) < 4.7 ]] ; then
sys-libs/libcxx/libcxx-9.0.1.ebuild:	if tc-is-gcc && [[ $(gcc-version) < 4.7 ]] ; then

The intention is likely to use 'ver_cmp'. See bug #705240 for hints to fix it.