Gentoo Archives: gentoo-user

From: Volker Armin Hemmann <volker.armin.hemmann@××××××××××××.de>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] First Portage Hick-up, Chokes on Java
Date: Fri, 03 Oct 2008 02:54:01
Message-Id: 200810030453.15274.volker.armin.hemmann@tu-clausthal.de
In Reply to: [gentoo-user] First Portage Hick-up, Chokes on Java by "boslists@gmail.com"
1 On Freitag 03 Oktober 2008, boslists@×××××.com wrote:
2 > My first install of Gentoo, and I'm pleased by how far I've progressed on
3 > my own, not being a programmer or computer person, but I'm a bit wary of
4 > proceeding further without advice.
5 >
6 > I was trying to emerge some several files which had a dependency on
7 > java-sdk-docs. Below is the message from emerge. More information will
8 > follow.
9 >
10 > !!! dev-java/java-sdk-docs-1.6.0-r1 has fetch restriction turned on.
11 > !!! This probably means that this ebuild's files must be downloaded
12 > !!! manually. See the comments in the ebuild for more information.
13 >
14 > * Please download jdk-6-doc.zip from
15 > *
16 > https://cds.sun.com/is-bin/INTERSHOP.enfinity/WFS/CDS-CDS_Developer-Site/en
17 >_US/-/USD/ViewProductDetail-Start?ProductRef=jdk-6-doc-oth-JPR@CDS-CDS_Devel
18 >oper * (select English and agree to the licence) and place it in
19 > /usr/portage/distfiles named as
20 > * jdk-6-doc-r1.zip. Notice the r1. Because Sun changes the doc zip file
21 > * without changing the filename, we have to resort to renaming to keep
22 > * the md5sum verification working for existing and new downloads.
23 > *
24 > * If emerge fails because of a md5sum error it is possible that Sun
25 > * has again changed the upstream release, try downloading the file
26 > * again or a newer revision if available. Otherwise report this to
27 > * http://bugs.gentoo.org/67266 and we will make a new revision.
28 > * Fetch failed for 'dev-java/java-sdk-docs-1.6.0-r1'
29 >
30 > * Messages for package dev-java/java-sdk-docs-1.6.0-r1:
31 >
32 > * Fetch failed for 'dev-java/java-sdk-docs-1.6.0-r1
33 >
34 > So, I downloaded the file, renamed it and put it where it told me to.
35
36 really? and did you rename it?
37
38 > Then I found http://gentoo-wiki.com/HOWTO_Installing_3rd_Party_Ebuilds and
39 > I am trying to follow that.
40
41 why?
42
43 >
44 > I added PORTDIR_OVERLAY="/usr/local/portage /usr/portage/distfiles" to
45 > /etc/make.conf The first because the wki said to, and the second because
46 > that's where emerge's message told me to put the file I downloaded from
47 > Sun.
48
49 again, why? all you need to do is downloading the file and put it into
50 /usr/portage/distfiles. And don't add that to make.conf as an overlay
51 directory. it is just wrong.
52
53 > OK, so I created it. Now, that is where emerge told me to put the file,
54 > but the fact that gentoo did not even create that directory gives me
55 > pause.
56
57 why should emerge create a directory that it doesn't even need?
58
59 >
60 > Bottom line: I am being told I need this dependency, and I am not sure
61 > how to proceed in creating my own Ebuild to install it.
62
63 you don't need to create the ebuild. It is a dependency/file needed. The
64 ebuild is already there.
65
66 >
67 > Am I even in the right ballpark here?
68
69 I am afraid: no