"Albert W. Hopkins" <mar...@letterboxes.org> writes:

> On Sat, 2011-11-26 at 17:01 -0600, Harry Putnam wrote:
>> Creating a gentoo vm has always been a serious pita to me.  I'm sure
>> there will be those who claim its `simple'.  
>> 
>> Simple or not, I want to bypass it if possible.
>> 
>> So wondering if anyone here has (or has seen) a gentoo (vbox)
>> appliance available for download?
>> 
>> 
> I maintain a quasi-daily build of a gentoo virtual appliance.  It should
> work with kvm, vmware, and virutalbox (and possibly xen?).

Albert, I cloned your hg repo and tried to build from it, but it fails
at downloading gentoo-sources.  Something about not being able to
resolve the kernel URLS.

I suspect it is a problem in the ebuild itself, but I was not able to
find where `portage' is on disc during that build.  I wanted to
attempt editing the ebuild but even with variable:
  REMOVE_PORTAGE_TREE NO
I never find a `portage' directory.

Once the build fails, their is no `portage' directory containing the
tree.

In virtual-appliance:

  find . -type d -name 'portage'
  ./vabuild/var/lib/portage
  ./vabuild/var/log/portage
  ./vabuild/var/cache/edb/dep/usr/portage
  ./vabuild/usr/lib/portage
  ./vabuild/usr/lib/portage/pym/portage

None of those contain the tree.

Here is tail of `sudo make'

,----
| Resolving www.fr.kernel.org... failed: Name or service not known.
| wget: unable to resolve host address “www.fr.kernel.org”
| >>> Downloading 
'http://www.us.kernel.org/pub/linux/kernel/v3.x/linux-3.1.tar.bz2'
| --2011-11-27 04:24:43--  
http://www.us.kernel.org/pub/linux/kernel/v3.x/linux-3.1.tar.bz2
| Resolving www.us.kernel.org... failed: Name or service not known.
| wget: unable to resolve host address “www.us.kernel.org”
| !!! Couldn't download 'linux-3.1.tar.bz2'. Aborting.
|  * Fetch failed for 'sys-kernel/gentoo-sources-3.1.1', Log file:
|  *  '/var/tmp/portage/sys-kernel/gentoo-sources-3.1.1/temp/build.log'
| 
|  * Messages for package sys-kernel/gentoo-sources-3.1.1:
| 
|  * Fetch failed for 'sys-kernel/gentoo-sources-3.1.1', Log file:
|  *  '/var/tmp/portage/sys-kernel/gentoo-sources-3.1.1/temp/build.log'
`----

I cannot ping any of those kernel urls.  But kernel.org appears up

   ping kernel.org
  PING kernel.org (149.20.4.69) 56(84) bytes of data.
  64 bytes from pub2.kernel.org (149.20.4.69): icmp_req=1 ttl=55 time=87.5 ms


  ls vabuild/var/tmp/
  <empty>
  Apparently umounted or rm'd

How to keep working portage tree accessible.

I monkeyed around with your Makefile but couldn't follow it well
enough to stop the umounting.



Reply via email to