Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 705274 - =sys-apps/pciutils-3.6.2-r1 uses lexicographical version compare
Summary: =sys-apps/pciutils-3.6.2-r1 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's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 705240
  Show dependency tree
 
Reported: 2020-01-12 11:46 UTC by Sergei Trofimovich
Modified: 2020-01-12 15:12 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:46:47 UTC
sys-apps/pciutils uses lexicographical string version compare:

sys-apps/pciutils/pciutils-3.5.6-r1.ebuild:	if [[ ${REPLACING_VERSIONS} ]] && [[ ${REPLACING_VERSIONS} < 3.2.0 ]]; then
sys-apps/pciutils/pciutils-3.6.1.ebuild:	if [[ ${REPLACING_VERSIONS} ]] && [[ ${REPLACING_VERSIONS} < 3.2.0 ]]; then
sys-apps/pciutils/pciutils-3.6.2-r1.ebuild:	if [[ ${REPLACING_VERSIONS} ]] && [[ ${REPLACING_VERSIONS} < 3.2.0 ]]; 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-01-12 15:12:45 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3947cb6565e006bd389aa2f3ca6a6e165111b36d

commit 3947cb6565e006bd389aa2f3ca6a6e165111b36d
Author:     Lars Wendler <polynomial-c@gentoo.org>
AuthorDate: 2020-01-12 15:12:14 +0000
Commit:     Lars Wendler <polynomial-c@gentoo.org>
CommitDate: 2020-01-12 15:12:39 +0000

    sys-apps/pciutils: Don't use lexicographical version compare
    
    Closes: https://bugs.gentoo.org/705274
    Package-Manager: Portage-2.3.84, Repoman-2.3.20
    Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>

 sys-apps/pciutils/pciutils-3.5.6-r1.ebuild | 6 +++---
 sys-apps/pciutils/pciutils-3.6.1.ebuild    | 6 +++---
 sys-apps/pciutils/pciutils-3.6.2-r1.ebuild | 6 +++---
 3 files changed, 9 insertions(+), 9 deletions(-)