Gentoo Archives: gentoo-dev

From: Aron Griffis <agriffis@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] Discussion: alternative compatible utilities
Date: Tue, 21 Jun 2005 18:45:28
Message-Id: 20050621184255.GJ9452@kaf.zko.hp.com
In Reply to: Re: [gentoo-dev] Discussion: alternative compatible utilities by "Diego 'Flameeyes' Pettenò"
1 Diego 'Flameeyes' Pettenò wrote:[Fri Jun 17 2005, 10:05:32AM EDT]
2 > On Friday 17 June 2005 04:32, Aron Griffis wrote:
3 > > Before working on a solution to the problem, could we get a more
4 > > complete list of the tools in question? This has come up before but
5 > > the list seems to always end with "etc etc" ;-)
6 >
7 > Because I don't really know how many applications are available in
8 > different flavours.. so that's why we can use eselect so that it can
9 > be adapted "on the fly".
10
11 I'm not against using eselect to choose between applications, if that
12 is the right answer. I'm against getting started on these changes
13 without having a better idea of the scope and impact of the project.
14 In other words, I think you need to do some work in an overlay so that
15 you can present a real list of affected ebuilds and utilites, rather
16 than stating that you "don't really know"
17
18 I appreciate that you brought this idea to the list early, before you
19 had done full investigation. I do not want to discourage you. Rather
20 I want to suggest the next step is a more complete investigation,
21 rather than committing any changes to the portage tree. One of the
22 problems we've had with ports in general is that changes are committed
23 in a flurry of activity before careful consideration of the possible
24 alternatives.
25
26 > > Unless I misunderstand you, I don't like this at all. It means that
27 > > when an ebuild calls "grep" it doesn't have any idea what the
28 > > supported flags are.
29 >
30 > Well about grep we have no misunderstanding... grep is GNU grep also on the
31 > BSD. And actually it has no idea currently about that on G/FBSD or G/OSX.. we
32 > condition this using aliases, but the long-term goal is to avoid this.
33
34 Why is that a long-term goal? What are the advantages/disadvantages
35 of the eselect method compared to the aliases?
36
37 > > What scripts are you thinking of in this statement? Sometimes
38 > > ./configure checks, not always, and AFAIK most other scripts don't
39 > > check.
40 >
41 > Most of them checks for GNU tools when they need them, for example
42 > there are a few ./configure which, knowing they need GNU make, in
43 > a system where make is BSD and gmake is GNU, launching "make" then
44 > exec gmake to do the actual work.
45
46 *nod*
47
48 It's true that the autotools generally work with make programs other
49 than GNU make. I ported Gnome (versions 1.2 and 1.4) to Tru64 once
50 upon a time and used the system-installed make (and compiler) for most
51 of it.
52
53 I still think it would be nice to have a list of things that will need
54 modification to work with your scheme. Again, this is something that
55 could be culled from an overlay from which you've done a bootstrap and
56 install of a fairly comprehensive system.
57
58 > > See, it's this "sed stuff is as compatible as possible" thing I don't
59 > > like. You're talking about writing to a standard instead of an
60 > > implementation. That works for a couple of well-defined compiled
61 > > languages, but I don't think it's going to work for shell scripting
62 > > (ebuilds), especially when the reality is that we'd be writing to half
63 > > a dozen different implementations instead of a standard at all...
64 >
65 > See above: when we need GNU sed, we can use gsed.
66
67 As Az mentioned, this is really going to be annoying unless all the
68 sed programs available support -i
69
70 I'll re-iterate: I'm not trying to shoot down this idea completely.
71 I just want to have a general understanding that it's the *right*
72 option before making treewide changes.
73
74 Regards,
75 Aron
76
77 --
78 Aron Griffis
79 Gentoo Linux Developer

Replies

Subject Author
Re: [gentoo-dev] Discussion: alternative compatible utilities "Diego 'Flameeyes' Pettenò" <flameeyes@g.o>