Gentoo Archives: gentoo-dev

From: Duncan <1i5t5.duncan@×××.net>
To: gentoo-dev@l.g.o
Subject: [gentoo-dev] Re: Re: Detecting gcj in ebuilds
Date: Sat, 20 Nov 2004 06:14:03
Message-Id: pan.2004.11.20.06.13.57.655070@cox.net
In Reply to: Re: [gentoo-dev] Re: Detecting gcj in ebuilds by Luke-Jr
1 Luke-Jr posted <200411170444.23945.luke-jr@×××××××.org>, excerpted below,
2 on Wed, 17 Nov 2004 04:44:23 +0000:
3
4 > On Wednesday 17 November 2004 2:57 am, Duncan wrote:
5 >>
6 >> I would **NOT** appreciate portage taking upon ITSELF to CHANGE my USE
7 >> flags behind my back!!! Count this as one vote for emerge-stopping
8 >> errors, NOT warnings that may or may not be seen in the middle of a
9 >> string of emerges. Yes, I use pretend (or more generally, ask), and
10 >> would normally catch a repeated emerge there. However, I still don't
11 >> want use flags being changed out from under me.
12 >
13 > This would be not very different than GNOME forcing you to emerge GTK
14 > despite having -gtk in your USE...
15
16 Quite the contrary. I'd suggest it's VERY different, both conceptually
17 and in practice.
18
19 Conceptually, remember that USE flags ARE NOT intended to affect
20 REQUIREMENTS, only OPTIONS. Thus, -gtk doesn't mean that emerging Gnome
21 will fail even tho it requires gtk, ONLY that any packages that (for
22 instance) may use gtk or qt libs will be built without the gtk support.
23
24 Thus, your example has gtk as a dependency of gnome and quite naturally
25 ignores the gtk use flag since it's a requirement, while the example of
26 the thread is NOT ignoring use flags, but CHANGING them for a specific
27 rebuild dependency. The parallel to gtk/gnome in the thread situation
28 would be if there was a separate gcj package that was required for the
29 ebuild in question, that could then be made a dependency. That's
30 conceptually quite different from changing the use flags on an existing
31 merged package.
32
33 Practically, the difference is one of time, forcing a remerge of an
34 otherwise perfectly workable existing package, vs. simply requiring it,
35 using the existing package if there, forcing an emerge ONLY if not.
36 (That's the minimum, plus possibly an additional binary packaging of the
37 existing installation before the remerge, and remerge of it replacing the
38 modified package afterward.)
39
40 As I said, this is VERY different than a simple dependency based forced
41 emerge. A simple dependency based forced emerge can be expected and
42 should be covered by an emerge pretend or an emerge ask. Ignoring
43 Gentoo user's (meaning Gentoo installation sysadmin's) stated OPTION
44 requests, arbitrarily reversing them without specific action on said
45 sysadmin's part, is an ENTIRELY different thing. Among other things, it's
46 begging for additional security issues because the admin had no logical
47 reason to think he had anything installed that was affected, when he did.
48 That's in addition to the issues of usurping control from the admin,
49 thinking you know better than he does what should happen on his system.
50 IMO, that's something MS does, not something Gentoo should be doing.
51
52 As for dependency-time checks, great! I'm all for getting a warning
53 before I've emerged all those pre-merge dependencies, after suitable
54 functionality has been coded into portage to support that. Regardless of
55 whether that functionality is there or not, however, as a Gentoo user aka
56 sysadmin of a Gentoo system, one that takes that sysadmin and
57 security-admin job seriously, I'm opposed to changing use flags behind my
58 back. Error out with an appropriate message if necessary, even if it's
59 AFTER a bunch of dependencies have been installed if there's no way to do
60 it earlier. I'll either fix the problem and rerun the emerge, or I'll do
61 an emerge --depclean and clean out all the gunk I now can't use. However,
62 it'll remain MY decision, in either case.
63
64 --
65 Duncan - List replies preferred. No HTML msgs.
66 "They that can give up essential liberty to obtain a little
67 temporary safety, deserve neither liberty nor safety." --
68 Benjamin Franklin
69
70
71
72 --
73 gentoo-dev@g.o mailing list

Replies

Subject Author
Re: [gentoo-dev] Re: Re: Detecting gcj in ebuilds Jason Stubbs <jstubbs@g.o>
Re: [gentoo-dev] Re: Re: Detecting gcj in ebuilds Paul de Vrieze <pauldv@g.o>