Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 466558 - dev-java/ant-trax, dev-java/ant-nodeps removal and deprecation of WANT_ANT_TASKS
Summary: dev-java/ant-trax, dev-java/ant-nodeps removal and deprecation of WANT_ANT_TASKS
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Java (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Java team
URL:
Whiteboard: Pending removal: 2018-12-11
Keywords: PMASKED
Depends on: CVE-2017-15288 650710 650716 670274
Blocks:
  Show dependency tree
 
Reported: 2013-04-20 12:05 UTC by Ralph Sennhauser (RETIRED)
Modified: 2018-12-11 14:01 UTC (History)
2 users (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 Ralph Sennhauser (RETIRED) gentoo-dev 2013-04-20 12:05:01 UTC
With ant version 1.8.2 both ant-trax and ant-nodeps are part of ant-core. For ant 1.8.2 and later we are currently installing empty jars to keep the dependency tree intact.

ant-1.8.4 went stable for the last arch 5th of December 2012 and is a security release, see bug 417909. Some ebuilds already explicitly depend on a newer version than the eclass guarantees.

WANT_ANT_TASKS is primarily used with ant-trax and ant-nodeps and rarely for others. As it turned out WANT_ANT_TASKS caused some confusion / was harder to use correctly than it should have been. A couple of times I saw people struggle with it, so it's either make it far more clever or drop it. The latter is hardly a loss with ant-trax and ant-nodeps gone.


So how to proceed:
1) raise eclass dependency on ant-core to 1.8.2
2) remove dependencies ant-trax and ant-nodeps in all ebuilds.
3) stabilize what is needed.
4) tree clean ant-trax and ant-nodeps
5) remove all other uses of WANT_ANT_TASKS
6) add qa warning for using WANT_ANT_TASKS and remove it at some point.
Comment 1 James Le Cuirot gentoo-dev 2016-06-30 14:02:26 UTC
gienah, dev-lang/scala is one of the last packages still using ant-nodeps. Please flush this out.
Comment 2 James Le Cuirot gentoo-dev 2016-06-30 14:04:05 UTC
(In reply to James Le Cuirot from comment #1)
> gienah, dev-lang/scala is one of the last packages still using ant-nodeps.
> Please flush this out.

I should add that it appears to only be in DEPEND, as you would expect, so a revbump isn't really necessary.
Comment 3 Pacho Ramos gentoo-dev 2018-11-04 14:37:57 UTC
Ah, I forgot some packages still relying on it via WANT_ANT_TASKS
Comment 4 Larry the Git Cow gentoo-dev 2018-11-04 14:41:09 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=31bb7673064fb7e270b3b76d9851e56977f12187

commit 31bb7673064fb7e270b3b76d9851e56977f12187
Author:     Pacho Ramos <pacho@gentoo.org>
AuthorDate: 2018-11-04 14:40:08 +0000
Commit:     Pacho Ramos <pacho@gentoo.org>
CommitDate: 2018-11-04 14:40:08 +0000

    profiles/package.mask: ant-nodeps and ant-trax are still used
    
    Bug: https://bugs.gentoo.org/466558
    Signed-off-by: Pacho Ramos <pacho@gentoo.org>

 profiles/package.mask | 5 -----
 1 file changed, 5 deletions(-)
Comment 5 Larry the Git Cow gentoo-dev 2018-11-04 15:16:54 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8ed214fe717db0b9b0318b01a59f6be3fdae82b9

commit 8ed214fe717db0b9b0318b01a59f6be3fdae82b9
Author:     Pacho Ramos <pacho@gentoo.org>
AuthorDate: 2018-11-04 15:16:22 +0000
Commit:     Pacho Ramos <pacho@gentoo.org>
CommitDate: 2018-11-04 15:16:46 +0000

    sci-physics/jaxodraw: Stop using ant-nodeps
    
    Bug: https://bugs.gentoo.org/466558
    Signed-off-by: Pacho Ramos <pacho@gentoo.org>
    Package-Manager: Portage-2.3.51, Repoman-2.3.11

 sci-physics/jaxodraw/jaxodraw-2.0.1-r1.ebuild | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9a2a15ea18f81c3adead01349923b67e3a183731

commit 9a2a15ea18f81c3adead01349923b67e3a183731
Author:     Pacho Ramos <pacho@gentoo.org>
AuthorDate: 2018-11-04 15:14:44 +0000
Commit:     Pacho Ramos <pacho@gentoo.org>
CommitDate: 2018-11-04 15:16:44 +0000

    net-misc/mindterm: Stop using ant-nodeps
    
    Bug: https://bugs.gentoo.org/466558
    Signed-off-by: Pacho Ramos <pacho@gentoo.org>
    Package-Manager: Portage-2.3.51, Repoman-2.3.11

 net-misc/mindterm/mindterm-3.4.ebuild | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=89095a0ae079e85e95d5216aae0a582c13e8df7f

commit 89095a0ae079e85e95d5216aae0a582c13e8df7f
Author:     Pacho Ramos <pacho@gentoo.org>
AuthorDate: 2018-11-04 15:12:48 +0000
Commit:     Pacho Ramos <pacho@gentoo.org>
CommitDate: 2018-11-04 15:16:43 +0000

    net-misc/jrdesktop: Stop using ant-nodeps
    
    Bug: https://bugs.gentoo.org/466558
    Signed-off-by: Pacho Ramos <pacho@gentoo.org>
    Package-Manager: Portage-2.3.51, Repoman-2.3.11

 net-misc/jrdesktop/jrdesktop-0.3.1.0.ebuild | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=387f15633a3722899de34267ec69486f971f6d1a

commit 387f15633a3722899de34267ec69486f971f6d1a
Author:     Pacho Ramos <pacho@gentoo.org>
AuthorDate: 2018-11-04 15:09:24 +0000
Commit:     Pacho Ramos <pacho@gentoo.org>
CommitDate: 2018-11-04 15:16:39 +0000

    dev-java/svgsalamander: Stop using ant-nodeps
    
    Bug: https://bugs.gentoo.org/466558
    Signed-off-by: Pacho Ramos <pacho@gentoo.org>
    Package-Manager: Portage-2.3.51, Repoman-2.3.11

 dev-java/svgsalamander/svgsalamander-0.0-r2.ebuild | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=55c44390427119441d155eb8c29669811dd5675f

commit 55c44390427119441d155eb8c29669811dd5675f
Author:     Pacho Ramos <pacho@gentoo.org>
AuthorDate: 2018-11-04 15:04:18 +0000
Commit:     Pacho Ramos <pacho@gentoo.org>
CommitDate: 2018-11-04 15:16:38 +0000

    dev-java/skinlf: Stop using ant-nodeps
    
    Bug: https://bugs.gentoo.org/466558
    Signed-off-by: Pacho Ramos <pacho@gentoo.org>
    Package-Manager: Portage-2.3.51, Repoman-2.3.11

 dev-java/skinlf/skinlf-6.7-r1.ebuild | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8bafe9974aa229bd8584156f966c9887ee383743

commit 8bafe9974aa229bd8584156f966c9887ee383743
Author:     Pacho Ramos <pacho@gentoo.org>
AuthorDate: 2018-11-04 15:02:12 +0000
Commit:     Pacho Ramos <pacho@gentoo.org>
CommitDate: 2018-11-04 15:16:36 +0000

    dev-java/l2fprod-common: Stop using ant-nodeps
    
    Bug: https://bugs.gentoo.org/466558
    Signed-off-by: Pacho Ramos <pacho@gentoo.org>
    Package-Manager: Portage-2.3.51, Repoman-2.3.11

 dev-java/l2fprod-common/l2fprod-common-7.3-r2.ebuild | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5a2a13249a81e63463eb63b46560682681df849f

commit 5a2a13249a81e63463eb63b46560682681df849f
Author:     Pacho Ramos <pacho@gentoo.org>
AuthorDate: 2018-11-04 14:57:24 +0000
Commit:     Pacho Ramos <pacho@gentoo.org>
CommitDate: 2018-11-04 15:16:35 +0000

    dev-java/jna: Stop using ant-nodeps
    
    Bug: https://bugs.gentoo.org/466558
    Signed-off-by: Pacho Ramos <pacho@gentoo.org>
    Package-Manager: Portage-2.3.51, Repoman-2.3.11

 dev-java/jna/jna-3.4.1.ebuild | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7a885481c1c4ea358ea4e7ba9c8b4eb378a4e1aa

commit 7a885481c1c4ea358ea4e7ba9c8b4eb378a4e1aa
Author:     Pacho Ramos <pacho@gentoo.org>
AuthorDate: 2018-11-04 14:53:08 +0000
Commit:     Pacho Ramos <pacho@gentoo.org>
CommitDate: 2018-11-04 15:16:33 +0000

    dev-java/java-service-wrapper: Stop using ant-nodeps
    
    Bug: https://bugs.gentoo.org/466558
    Signed-off-by: Pacho Ramos <pacho@gentoo.org>
    Package-Manager: Portage-2.3.51, Repoman-2.3.11

 .../java-service-wrapper/java-service-wrapper-3.5.25-r1.ebuild    | 8 +++-----
 1 file changed, 3 insertions(+), 5 deletions(-)
Comment 6 Larry the Git Cow gentoo-dev 2018-11-11 13:07:48 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3cf9179335ec618ae8630ad4675cd3f2e60a9d2a

commit 3cf9179335ec618ae8630ad4675cd3f2e60a9d2a
Author:     Pacho Ramos <pacho@gentoo.org>
AuthorDate: 2018-11-11 10:59:34 +0000
Commit:     Pacho Ramos <pacho@gentoo.org>
CommitDate: 2018-11-11 13:07:16 +0000

    dev-java/freemarker: Drop old
    
    Bug: https://bugs.gentoo.org/466558
    Signed-off-by: Pacho Ramos <pacho@gentoo.org>
    Package-Manager: Portage-2.3.51, Repoman-2.3.11

 dev-java/freemarker/Manifest                       |   1 -
 .../files/freemarker-2.3.13-PyJavaInstance.patch   |  22 ----
 .../files/freemarker-2.3.13-gentoo.patch           | 126 ---------------------
 dev-java/freemarker/freemarker-2.3.13-r2.ebuild    |  84 --------------
 4 files changed, 233 deletions(-)

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=707dc439b4990a06b84571056b235ab911933fa0

commit 707dc439b4990a06b84571056b235ab911933fa0
Author:     Pacho Ramos <pacho@gentoo.org>
AuthorDate: 2018-11-11 10:58:51 +0000
Commit:     Pacho Ramos <pacho@gentoo.org>
CommitDate: 2018-11-11 13:07:15 +0000

    dev-java/stax: and-trax is going to be removed
    
    Bug: https://bugs.gentoo.org/466558
    Signed-off-by: Pacho Ramos <pacho@gentoo.org>
    Package-Manager: Portage-2.3.51, Repoman-2.3.11

 dev-java/stax/stax-1.2.0.ebuild | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
Comment 7 Larry the Git Cow gentoo-dev 2018-12-11 14:01:09 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=96fc0499be2b6fcfe0451152f589fa06c16418bb

commit 96fc0499be2b6fcfe0451152f589fa06c16418bb
Author:     Michał Górny <mgorny@gentoo.org>
AuthorDate: 2018-12-11 13:57:56 +0000
Commit:     Michał Górny <mgorny@gentoo.org>
CommitDate: 2018-12-11 13:57:56 +0000

    dev-java/ant-nodeps: Remove last-rited pkg
    
    Closes: https://bugs.gentoo.org/466558
    Signed-off-by: Michał Górny <mgorny@gentoo.org>

 dev-java/ant-nodeps/Manifest                |  2 --
 dev-java/ant-nodeps/ant-nodeps-1.9.2.ebuild | 27 ---------------------------
 dev-java/ant-nodeps/metadata.xml            |  8 --------
 profiles/package.mask                       |  4 ----
 4 files changed, 41 deletions(-)

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2651935ed0d7f674eb4936df31f90b58835a29ea

commit 2651935ed0d7f674eb4936df31f90b58835a29ea
Author:     Michał Górny <mgorny@gentoo.org>
AuthorDate: 2018-12-11 13:57:32 +0000
Commit:     Michał Górny <mgorny@gentoo.org>
CommitDate: 2018-12-11 13:57:32 +0000

    dev-java/ant-trax: Remove last-rited pkg
    
    Closes: https://bugs.gentoo.org/466558
    Signed-off-by: Michał Górny <mgorny@gentoo.org>

 dev-java/ant-trax/Manifest              |  2 --
 dev-java/ant-trax/ant-trax-1.9.2.ebuild | 27 ---------------------------
 dev-java/ant-trax/metadata.xml          |  8 --------
 profiles/package.mask                   |  1 -
 4 files changed, 38 deletions(-)