Gentoo Archives: gentoo-user

From: "Albert W. Hopkins" <marduk@×××××××××××.org>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Re: Any vbox made gentoo vm appliances available for dload
Date: Sun, 27 Nov 2011 12:30:37
Message-Id: 1322396926.6318.6.camel@stretch
In Reply to: [gentoo-user] Re: Any vbox made gentoo vm appliances available for dload by Harry Putnam
1 On Sun, 2011-11-27 at 04:52 -0600, Harry Putnam wrote:
2 > Albert, I cloned your hg repo and tried to build from it, but it fails
3 > at downloading gentoo-sources. Something about not being able to
4 > resolve the kernel URLS.
5 >
6 > I suspect it is a problem in the ebuild itself, but I was not able to
7 > find where `portage' is on disc during that build. I wanted to
8 > attempt editing the ebuild but even with variable:
9 > REMOVE_PORTAGE_TREE NO
10 > I never find a `portage' directory.
11
12 It grabs the sources from wherever they are specified (SRC_URI) in the
13 ebuild.
14
15 I just tried it and it worked for me:
16
17 virtual-appliance # emerge --fetchonly gentoo-sources
18 Calculating dependencies... done!
19
20 >>> Fetching (1 of 1) sys-kernel/gentoo-sources-3.0.6
21 >>> Downloading
22 'http://distfiles.gentoo.org/distfiles/linux-3.0.tar.bz2'
23 --2011-11-27 12:15:37--
24 http://distfiles.gentoo.org/distfiles/linux-3.0.tar.bz2
25 Resolving distfiles.gentoo.org... 216.165.129.135, 64.50.233.100,
26 64.50.236.52, ...
27 Connecting to distfiles.gentoo.org|216.165.129.135|:80... connected.
28 HTTP request sent, awaiting response... 200 OK
29 Length: 76753134 (73M) [application/x-tar]
30 Saving to: `/usr/portage/distfiles/linux-3.0.tar.bz2'
31
32 100%[======================================>] 76,753,134 523K/s in
33 49s
34
35 The portage tree itself (should be) in the chroot directory. The build
36 will download the latest snapshot and unpack it in the chroot.
37 Although, I did just try that and am getting failures. It seems the
38 latest portage snapshot is currupt?
39
40 virtual-appliance # make portage
41 rsync --no-motd -L
42 rsync://rsync.us.gentoo.org/gentoo/snapshots/portage-latest.tar.bz2
43 portage-latest.tar.bz2
44 touch sync_portage
45 mkdir -p /root/virtual-appliance/vabuild
46 tar xjpf "stage4/base-stage4.tar.bz2" -C /root/virtual-appliance/vabuild
47 touch stage3
48 tar xjf portage-latest.tar.bz2 -C /root/virtual-appliance/vabuild/usr
49 tar: Unexpected EOF in archive
50 tar: Unexpected EOF in archive
51 tar: Error is not recoverable: exiting now
52 make: *** [portage] Error 2
53
54 Anyone else getting this?

Replies

Subject Author
[gentoo-user] Re: Any vbox made gentoo vm appliances available for dload Harry Putnam <reader@×××××××.com>