_ver_compare is a private function from eapi7-ver.eclass and should not be used by ebuilds directly. $ grep _ver_compare ant-core-*.ebuild ant-core-1.10.5-r2.ebuild: if _ver_compare ${REPLACING_VERSIONS} 1.7.0 -eq 1; then ant-core-1.10.5-r2.ebuild: if _ver_compare ${REPLACING_VERSIONS} 1.7.1 -eq 1; then ant-core-1.10.7.ebuild: if _ver_compare ${REPLACING_VERSIONS} 1.7.0 -eq 1; then ant-core-1.10.7.ebuild: if _ver_compare ${REPLACING_VERSIONS} 1.7.1 -eq 1; then ant-core-1.9.13-r2.ebuild: if _ver_compare ${REPLACING_VERSIONS} 1.7.0 -eq 1; then ant-core-1.9.13-r2.ebuild: if _ver_compare ${REPLACING_VERSIONS} 1.7.1 -eq 1; then $ grep EAPI= ant-core-*.ebuild ant-core-1.10.5-r2.ebuild:EAPI=6 ant-core-1.10.7.ebuild:EAPI=7 ant-core-1.9.13-r2.ebuild:EAPI=6 $ grep inherit ant-core-*.ebuild ant-core-1.10.5-r2.ebuild:inherit eutils java-pkg-2 java-ant-2 prefix eapi7-ver ant-core-1.10.7.ebuild:inherit eutils java-pkg-2 java-ant-2 prefix ant-core-1.9.13-r2.ebuild:inherit eutils java-pkg-2 java-ant-2 prefix eapi7-ver dev-java/ant-core-1.10.7 no longer uses eapi7-ver.eclass, and internal implementation inside Portage is different, so '_ver_compare: command not found' is triggered.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0810f758d1714ee89fe9102cc649bcca91a61c52 commit 0810f758d1714ee89fe9102cc649bcca91a61c52 Author: Miroslav Šulc <fordfrog@gentoo.org> AuthorDate: 2019-11-01 10:31:19 +0000 Commit: Miroslav Šulc <fordfrog@gentoo.org> CommitDate: 2019-11-01 10:31:42 +0000 dev-java/ant-core: removed obsolete code Closes: https://bugs.gentoo.org/699066 Closes: https://bugs.gentoo.org/589460 Package-Manager: Portage-2.3.78, Repoman-2.3.17 Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org> dev-java/ant-core/ant-core-1.10.5-r2.ebuild | 15 --------------- dev-java/ant-core/ant-core-1.10.7.ebuild | 15 --------------- dev-java/ant-core/ant-core-1.9.13-r2.ebuild | 15 --------------- 3 files changed, 45 deletions(-)