Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 464608 - java-utils-2.eclass & dev-java/java-config: Drop dependency on Portage
Summary: java-utils-2.eclass & dev-java/java-config: Drop dependency on Portage
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Eclasses (show other bugs)
Hardware: All Linux
: Normal enhancement (vote)
Assignee: Java team
URL:
Whiteboard:
Keywords:
: 533510 (view as bug list)
Depends on:
Blocks:
 
Reported: 2013-04-04 15:52 UTC by Hristo Venev
Modified: 2021-12-26 11:00 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 Hristo Venev 2013-04-04 15:52:02 UTC
I don't think eclass/java-utils-2 should add a runtime dependency on portage as not every java package invokes portage itself during runtime.

I found this while trying to set up an embedded system which doesn't need to have portage installed.

Reproducible: Always
Comment 1 Ralph Sennhauser (RETIRED) gentoo-dev 2013-04-04 17:26:06 UTC
java-config depends on Portage at runtime. This dependency is currently implicit, so can't drop Portage in the eclass without adding it to java-config. package.provided may work for you (see portage(5)) but you are on your own.

Long term dropping Portage is desirable as ideally java-config would be portable to other distros and OSs.

Once EAPI 0 & 1 java packages are gone from tree, the build dependency on Portage in the eclass can be dropped as well.
Comment 2 James Le Cuirot gentoo-dev 2015-05-24 21:58:25 UTC
*** Bug 533510 has been marked as a duplicate of this bug. ***
Comment 3 James Le Cuirot gentoo-dev 2018-11-12 21:16:58 UTC
Fixed. The dependency was added to java-config a while back.