1 |
"Albert W. Hopkins" <marduk@×××××××××××.org> writes: |
2 |
|
3 |
> On Sat, 2011-11-26 at 17:01 -0600, Harry Putnam wrote: |
4 |
>> Creating a gentoo vm has always been a serious pita to me. I'm sure |
5 |
>> there will be those who claim its `simple'. |
6 |
>> |
7 |
>> Simple or not, I want to bypass it if possible. |
8 |
>> |
9 |
>> So wondering if anyone here has (or has seen) a gentoo (vbox) |
10 |
>> appliance available for download? |
11 |
>> |
12 |
>> |
13 |
> I maintain a quasi-daily build of a gentoo virtual appliance. It should |
14 |
> work with kvm, vmware, and virutalbox (and possibly xen?). |
15 |
|
16 |
Albert, I cloned your hg repo and tried to build from it, but it fails |
17 |
at downloading gentoo-sources. Something about not being able to |
18 |
resolve the kernel URLS. |
19 |
|
20 |
I suspect it is a problem in the ebuild itself, but I was not able to |
21 |
find where `portage' is on disc during that build. I wanted to |
22 |
attempt editing the ebuild but even with variable: |
23 |
REMOVE_PORTAGE_TREE NO |
24 |
I never find a `portage' directory. |
25 |
|
26 |
Once the build fails, their is no `portage' directory containing the |
27 |
tree. |
28 |
|
29 |
In virtual-appliance: |
30 |
|
31 |
find . -type d -name 'portage' |
32 |
./vabuild/var/lib/portage |
33 |
./vabuild/var/log/portage |
34 |
./vabuild/var/cache/edb/dep/usr/portage |
35 |
./vabuild/usr/lib/portage |
36 |
./vabuild/usr/lib/portage/pym/portage |
37 |
|
38 |
None of those contain the tree. |
39 |
|
40 |
Here is tail of `sudo make' |
41 |
|
42 |
,---- |
43 |
| Resolving www.fr.kernel.org... failed: Name or service not known. |
44 |
| wget: unable to resolve host address “www.fr.kernel.org” |
45 |
| >>> Downloading 'http://www.us.kernel.org/pub/linux/kernel/v3.x/linux-3.1.tar.bz2' |
46 |
| --2011-11-27 04:24:43-- http://www.us.kernel.org/pub/linux/kernel/v3.x/linux-3.1.tar.bz2 |
47 |
| Resolving www.us.kernel.org... failed: Name or service not known. |
48 |
| wget: unable to resolve host address “www.us.kernel.org” |
49 |
| !!! Couldn't download 'linux-3.1.tar.bz2'. Aborting. |
50 |
| * Fetch failed for 'sys-kernel/gentoo-sources-3.1.1', Log file: |
51 |
| * '/var/tmp/portage/sys-kernel/gentoo-sources-3.1.1/temp/build.log' |
52 |
| |
53 |
| * Messages for package sys-kernel/gentoo-sources-3.1.1: |
54 |
| |
55 |
| * Fetch failed for 'sys-kernel/gentoo-sources-3.1.1', Log file: |
56 |
| * '/var/tmp/portage/sys-kernel/gentoo-sources-3.1.1/temp/build.log' |
57 |
`---- |
58 |
|
59 |
I cannot ping any of those kernel urls. But kernel.org appears up |
60 |
|
61 |
ping kernel.org |
62 |
PING kernel.org (149.20.4.69) 56(84) bytes of data. |
63 |
64 bytes from pub2.kernel.org (149.20.4.69): icmp_req=1 ttl=55 time=87.5 ms |
64 |
|
65 |
|
66 |
ls vabuild/var/tmp/ |
67 |
<empty> |
68 |
Apparently umounted or rm'd |
69 |
|
70 |
How to keep working portage tree accessible. |
71 |
|
72 |
I monkeyed around with your Makefile but couldn't follow it well |
73 |
enough to stop the umounting. |