"Albert W. Hopkins" <mar...@letterboxes.org> writes: > On Sun, 2011-11-27 at 04:52 -0600, Harry Putnam wrote: >> 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. > > It grabs the sources from wherever they are specified (SRC_URI) in the > ebuild. > > I just tried it and it worked for me: > > virtual-appliance # emerge --fetchonly gentoo-sources > Calculating dependencies... done! > >>>> Fetching (1 of 1) sys-kernel/gentoo-sources-3.0.6 >>>> Downloading > 'http://distfiles.gentoo.org/distfiles/linux-3.0.tar.bz2' > --2011-11-27 12:15:37-- > http://distfiles.gentoo.org/distfiles/linux-3.0.tar.bz2 > Resolving distfiles.gentoo.org... 216.165.129.135, 64.50.233.100, > 64.50.236.52, ... > Connecting to distfiles.gentoo.org|216.165.129.135|:80... connected. > HTTP request sent, awaiting response... 200 OK > Length: 76753134 (73M) [application/x-tar] > Saving to: `/usr/portage/distfiles/linux-3.0.tar.bz2' > > 100%[======================================>] 76,753,134 523K/s in > 49s ------- --------- ---=--- --------- -------- ------- --------- ---=--- --------- --------
You messages have completely different urls. Yours in connecting to 'http://distfiles.gentoo.org Mine is connecting to several differnt versions of kernel.org ,---- | 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' [...] Why is that? I cannot ping any of the urls in that message yet `kernel.org' is definitely up. > The portage tree itself (should be) in the chroot directory. The build > will download the latest snapshot and unpack it in the chroot. > Although, I did just try that and am getting failures. It seems the > latest portage snapshot is currupt? I had no problem getting portage, the tar ball, but it never appears to be accessible in chroot. You mean chroot = vabuild/usr/portage by default right? At any rate, I guess you are not maintaining things at the repo eh?