Gentoo Archives: gentoo-user

From: meino.cramer@×××.de
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] question/feature request: First fetch, then compile...
Date: Wed, 17 Dec 2014 08:41:15
Message-Id: 20141217084106.GD4439@solfire
In Reply to: Re: [gentoo-user] question/feature request: First fetch, then compile... by Alan McKinnon
1 Alan McKinnon <alan.mckinnon@×××××.com> [14-12-17 09:24]:
2 > On 17/12/2014 09:45, Helmut Jarausch wrote:
3 > > On 12/17/2014 06:48:55 AM, meino.cramer@×××.de wrote:
4 > > ....
5 > >> Is it possible, to do ONE call to emerge, which asks (according
6 > >> to option -a, if set ) and given a yes first fetches ALL necessary
7 > >> files and data and compiles then everything?
8 > >>
9 > >
10 > > With some manual operations:
11 > >
12 > > Capture the output of emerge -vp ....
13 > > Edit it to call
14 > > ebuild <full patch to <package>.ebuild> fetch
15 > > for each package.
16 > >
17 > > Then issue emerge without -p
18 >
19 >
20 > Way too complicated.
21 >
22 > emerge -pvuND world
23 >
24 > check list, ensure everything is OK, etc etc. Then
25 >
26 > emerge -vunDf world
27 > emerge -vuND world
28 >
29 > -f only fetches, it does not compile. When it completes, switch the pc
30 > off. The last emerge compiles and everything has been fetched (well
31 > usually is has been fetched).
32 >
33 >
34 > What the OP is trying to do is not really possible. Portage is designed
35 > with an assumption in mind: the host is always connected to the internet
36 > and can fetch whatever it needs to fetch whenever it needs to fetch it
37 > based on what is in the ebuilds. 100% off-line operation is not part of
38 > the spec, so the OP is always going to have to deal with occasional
39 > emerge failures due to the host being offline
40 >
41 > --
42 > Alan McKinnon
43 > alan.mckinnon@×××××.com
44 >
45 >
46
47 Hi,
48
49 thanks for your replies...
50
51 ...I currently do two emerges, one with -f the second
52 without.
53 And as merntioned in my initiao mail, I dont want it, since it implies
54 two "Calculating dependencies" which is once too often...
55
56 This was the initial reason for asking...
57
58 Best regards,
59 Meino

Replies

Subject Author
Re: [gentoo-user] question/feature request: First fetch, then compile... Alan McKinnon <alan.mckinnon@×××××.com>
Re: [gentoo-user] question/feature request: First fetch, then compile... Frank Steinmetzger <Warp_7@×××.de>