sys-cluster/corosync uses lexicographical string version compare: sys-cluster/corosync/corosync-2.3.5.ebuild: if [[ ${REPLACING_VERSIONS} < 2.0 ]]; then sys-cluster/corosync/corosync-2.4.2.ebuild: if [[ ${REPLACING_VERSIONS} < 2.0 ]]; then The intention is likely to use 'ver_cmp'. See bug #705240 for hints to fix it.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d2bd0ad359f6b217b1e8c1da7956eb54addfa355 commit d2bd0ad359f6b217b1e8c1da7956eb54addfa355 Author: Sergei Trofimovich <slyfox@gentoo.org> AuthorDate: 2020-05-05 21:46:02 +0000 Commit: Sergei Trofimovich <slyfox@gentoo.org> CommitDate: 2020-05-05 21:46:13 +0000 sys-cluster/corosync: drop invalid version check, bug #705276 'if [[ ${REPLACING_VERSIONS} < 2.0 ]]; then' uses lexicographical version compare. That should be ver_cmp version compare or similar. As it's a guard against non-existent version let's just drop the ewarn. Closes: https://bugs.gentoo.org/705276 Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org> sys-cluster/corosync/corosync-2.3.5.ebuild | 11 ----------- sys-cluster/corosync/corosync-2.4.2.ebuild | 11 ----------- 2 files changed, 22 deletions(-)