Gentoo Archives: gentoo-portage-dev

From: Zac Medico <zmedico@g.o>
To: gentoo-portage-dev@l.g.o
Subject: Re: [gentoo-portage-dev] [Request] Allow emerge to continue emerging unaffected packages on failure.
Date: Sun, 08 Jun 2008 03:50:33
Message-Id: 484B570C.1050007@gentoo.org
In Reply to: Re: [gentoo-portage-dev] [Request] Allow emerge to continue emerging unaffected packages on failure. by felix@crowfix.com
1 -----BEGIN PGP SIGNED MESSAGE-----
2 Hash: SHA1
3
4 felix@×××××××.com wrote:
5 > On Sat, Jun 07, 2008 at 06:29:08PM -0700, Zac Medico wrote:
6 >> felix@×××××××.com wrote:
7 >>> Pardon me if I am wrong, but I want this too, and to me the simplest
8 >>> analogy is to make. If some targets fail, make keeps on building the
9 >>> ones it can, until it is left with no buildable targets. I too have
10 >>> developed a wrapper using --resume --skipfirst, but that feels like a
11 >>> kluge. What I would like is an emerge option to generate a Makefile
12 >>> for output (-M looks available on a quick man check). Then instead of
13 >>> emerge -ptuvDN, I would use -MtuvDN, and run make at my leisure. I am
14 >>> incredibly naive about the inner workings of portage, but since it has
15 >>> dependencies, it does not seem entirely farfetched to generate a Makefile.
16 >>>
17 >> Why not just take the features from make and add them to portage
18 >> itself? That way you can just treat the portage configurations as
19 >> the "Makefile".
20 >
21 > If you mean make the entire portage tree into one big Makefile, how do
22 > you represent sources which change to trigger making? Chaning USE
23 > flags is another trigger, and various options to emerge have their own
24 > effect on which builds are needed.
25 >
26 > If you mean imitate make's build process in portage, that seems like a
27 > lot of wheel reinventing.
28 >
29 > An advantage of generating Makefile output is it can replace the -p
30 > pretend option, and it lets you fine tune it by editing. For
31 > instance, my system right now wants to throw out mDNSmumble needed by
32 > KDE something in favor of avahi needed by the latest pidgin. So I
33 > save emerge output, edit away the avahi build and pidgin rebuild, and
34 > have a specific list to build. I cannot let emerge have its way; it
35 > blocks on avahi and mDNSmumble. A Makefile would have the same
36 > conflict, but make would ignore that part and do the rest, or I could
37 > edit out the conflict.
38 >
39
40 Why not modify the ebuilds to resolve the conflicts (use
41 PORTDIR_OVERLAY)? Then if your modifications are worth sharing, you
42 can submit them back to Gentoo.
43
44 Zac
45 -----BEGIN PGP SIGNATURE-----
46 Version: GnuPG v2.0.9 (GNU/Linux)
47
48 iEYEARECAAYFAkhLVwsACgkQ/ejvha5XGaO+ogCgmIlbhy9mEy9wE4BwSAtAs1/8
49 mOUAn2FTElKwEYiMuSxjNNDyf/i1milC
50 =e+09
51 -----END PGP SIGNATURE-----
52 --
53 gentoo-portage-dev@l.g.o mailing list