Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 699066 - dev-java/ant-core-1.10.7: _ver_compare: command not found
Summary: dev-java/ant-core-1.10.7: _ver_compare: command not found
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: Normal normal (vote)
Assignee: Java team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-11-01 06:56 UTC by Arfrever Frehtes Taifersar Arahesis
Modified: 2019-11-01 10:31 UTC (History)
0 users

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 Arfrever Frehtes Taifersar Arahesis 2019-11-01 06:56:56 UTC
_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.
Comment 1 Larry the Git Cow gentoo-dev 2019-11-01 10:31:53 UTC
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(-)