1 |
"Albert W. Hopkins" <marduk@×××××××××××.org> writes: |
2 |
|
3 |
> On Sun, 2011-11-27 at 04:52 -0600, Harry Putnam wrote: |
4 |
>> Albert, I cloned your hg repo and tried to build from it, but it fails |
5 |
>> at downloading gentoo-sources. Something about not being able to |
6 |
>> resolve the kernel URLS. |
7 |
>> |
8 |
>> I suspect it is a problem in the ebuild itself, but I was not able to |
9 |
>> find where `portage' is on disc during that build. I wanted to |
10 |
>> attempt editing the ebuild but even with variable: |
11 |
>> REMOVE_PORTAGE_TREE NO |
12 |
>> I never find a `portage' directory. |
13 |
> |
14 |
> It grabs the sources from wherever they are specified (SRC_URI) in the |
15 |
> ebuild. |
16 |
> |
17 |
> I just tried it and it worked for me: |
18 |
> |
19 |
> virtual-appliance # emerge --fetchonly gentoo-sources |
20 |
> Calculating dependencies... done! |
21 |
> |
22 |
>>>> Fetching (1 of 1) sys-kernel/gentoo-sources-3.0.6 |
23 |
>>>> Downloading |
24 |
> 'http://distfiles.gentoo.org/distfiles/linux-3.0.tar.bz2' |
25 |
> --2011-11-27 12:15:37-- |
26 |
> http://distfiles.gentoo.org/distfiles/linux-3.0.tar.bz2 |
27 |
> Resolving distfiles.gentoo.org... 216.165.129.135, 64.50.233.100, |
28 |
> 64.50.236.52, ... |
29 |
> Connecting to distfiles.gentoo.org|216.165.129.135|:80... connected. |
30 |
> HTTP request sent, awaiting response... 200 OK |
31 |
> Length: 76753134 (73M) [application/x-tar] |
32 |
> Saving to: `/usr/portage/distfiles/linux-3.0.tar.bz2' |
33 |
> |
34 |
> 100%[======================================>] 76,753,134 523K/s in |
35 |
> 49s |
36 |
------- --------- ---=--- --------- -------- |
37 |
------- --------- ---=--- --------- -------- |
38 |
|
39 |
You messages have completely different urls. Yours in connecting to |
40 |
'http://distfiles.gentoo.org |
41 |
|
42 |
Mine is connecting to several differnt versions of kernel.org |
43 |
,---- |
44 |
| Resolving www.fr.kernel.org... failed: Name or service not known. |
45 |
| wget: unable to resolve host address “www.fr.kernel.org” |
46 |
| >>> Downloading 'http://www.us.kernel.org/pub/linux/kernel/v3.x/linux-3.1.tar.bz2' |
47 |
| --2011-11-27 04:24:43-- http://www.us.kernel.org/pub/linux/kernel/v3.x/linux-3.1.tar.bz2 |
48 |
| Resolving www.us.kernel.org... failed: Name or service not known. |
49 |
| wget: unable to resolve host address “www.us.kernel.org” |
50 |
| !!! Couldn't download 'linux-3.1.tar.bz2'. Aborting. |
51 |
| * Fetch failed for 'sys-kernel/gentoo-sources-3.1.1', Log file: |
52 |
| * '/var/tmp/portage/sys-kernel/gentoo-sources-3.1.1/temp/build.log' |
53 |
|
54 |
[...] |
55 |
|
56 |
Why is that? I cannot ping any of the urls in that message yet |
57 |
`kernel.org' is definitely up. |
58 |
|
59 |
> The portage tree itself (should be) in the chroot directory. The build |
60 |
> will download the latest snapshot and unpack it in the chroot. |
61 |
> Although, I did just try that and am getting failures. It seems the |
62 |
> latest portage snapshot is currupt? |
63 |
|
64 |
I had no problem getting portage, the tar ball, but it never appears |
65 |
to be accessible in chroot. You mean chroot = vabuild/usr/portage by |
66 |
default right? |
67 |
|
68 |
At any rate, I guess you are not maintaining things at the repo eh? |