Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 24692 - Java-docs should never be depended on.
Summary: Java-docs should never be depended on.
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Java team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-07-17 13:15 UTC by Nicholas Jones (RETIRED)
Modified: 2003-08-08 16:00 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 Nicholas Jones (RETIRED) gentoo-dev 2003-07-17 13:15:36 UTC
Having java ebuilds pull in java-docs as a default
(doc is fairly well default) is rather annoying.
It forces portage to stop, stating that the package
requires you to manually download the files. It
should be there, but not included in RDEPEND.

Reproducible: Always
Steps to Reproduce:
Comment 1 Adrian Almenar 2003-07-28 21:26:17 UTC
AFAIK, java-docs are not included in RDEPEND on any sun-jdk ebuild. 
Also, they only will be depended if user has "doc" in his/her USE flags. 
 
Can you be little more specific on this carpaski ? 
Comment 2 Nicholas Jones (RETIRED) gentoo-dev 2003-07-28 23:28:44 UTC
The issue wasn't that it could be disabled... it was that you couldn't
do it without intervention... If I want extra docs, and I have that
flag set, I might not expect to come back a few hours later to find
out that it stopped because the docs have to be downloaded manually.

I really don't like having packages cause portage to exit for optional
functionality. USE="doc" shouldn't be a good enough reason to stop
portage from executing. </twocents>

I've added a 'F' to portage's pretend line to reference ebuilds like
the java-sdk-docs one to let users know that there are fetch restrictions
in place.
Comment 3 Adrian Almenar 2003-07-29 11:12:11 UTC
OK, i will put a fetch restrictions on dev-java/* that needs it.

Hope to finish it before saturday.

Thanks.
Comment 4 Adrian Almenar 2003-07-29 23:04:20 UTC
i have updated and commited dev-java/sun-jdk/*.ebuild to have RESTRICT="fetch", 
the next step is to add this to java-sdk-docs 
Comment 5 Adrian Almenar 2003-08-08 16:00:18 UTC
OK, this was fixed and commited to portage tree.