public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] Discussion: alternative compatible utilities
@ 2005-06-16  5:57 Diego 'Flameeyes' Pettenò
  2005-06-16  8:26 ` Luca Barbato
  2005-06-17  2:32 ` Aron Griffis
  0 siblings, 2 replies; 12+ messages in thread
From: Diego 'Flameeyes' Pettenò @ 2005-06-16  5:57 UTC (permalink / raw
  To: gentoo-dev

[-- Attachment #1: Type: text/plain, Size: 2090 bytes --]

As Gentoo/FreeBSD proceeds, I'm trying to abstract as much as I can the 
underlying userland.
Thinking of Gentoo/FreeBSD just as a starting point for other porting of 
Gentoo's framework on different operating systems (for example the 
already-work-in-progress Gentoo/Darwin, the I-don't-know-how's-doing 
Gentoo/OpenBSD, and the maybe-someone-will-work-on Gentoo/NetBSD), there's 
something I'd really like to see: alternatives for system utilities.

Let me explain: on Gentoo/Linux systems, all the base utilities (make, tar, 
sed, etc etc) are GNUish; on Gentoo/FreeBSD they are BSDish; on Gentoo/Darwin 
I don't really know :P
This limits a bit the user because to use other kind of utilities it must use 
aliases and he can't change, for example, the tar used by portage or by other 
scripts.

As eselect's work is proceeding it can be interesting having a way to have the 
base utils install with a prefix (g for GNU stuff, bsd for BSD stuff, 
eventually fbsd/obsd/nbsd if they are different) and then having a link to 
the basename which acn be changed with eselect.
Most of the scripts which needs a specific syntax (usually GNU syntax) already 
checks for prefixed executables like gmake, gsed and so on, but the main 
problem is with portage (think of all the make DESTDIR="${D} install stuff), 
also if emake is fixed and sed stuff is as compatible as possible.

Having to provide compatibility with such a framework is quite difficult at 
this point because many ebuilds does depend on GNU syntax also if not clearly 
stated, but I hope this can be fixed step-by-step using g-prefixed commands 
(after making sure that all systems will have g-prefixed commands).
It's not like something is going to happen soon, but maybe in the future this 
can be a good way to make sure we expand the abiliy of users to select what 
they really want.

Comments, ideas, and everythign else is welcome, it's a discussion after all.

-- 
Diego "Flameeyes" Pettenò
Gentoo Developer (Gentoo/FreeBSD, Video, Gentoo/AMD64)

http://dev.gentoo.org/~flameeyes/


[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 12+ messages in thread
* Re: [gentoo-dev] Discussion: alternative compatible utilities
@ 2005-06-16 21:26 Alec Warner
  0 siblings, 0 replies; 12+ messages in thread
From: Alec Warner @ 2005-06-16 21:26 UTC (permalink / raw
  To: gentoo-dev

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Don't attempt to ignore the complexity because it sucks and gives you a
headache.  The complexity of multiple kernels, userlands, arches and
platforms exists whether you like it or not.  The key being the
management of the complexity.  Currently the tools perform poorly
because it's been primarly GNU userland + Linux kernel + random arches.
 The first two are easy to take care of and the third has arch teams.
Thus we probably need more keywords ( x86-fbsd-bsd...etc it's been said
before ) and we need more people to keyword stuff ( arch-kernel-userland
).  I think the big issue is to adapt to the new requirements without
making the current tools an overpatched mess.

Part of the issue I see is everyone is only focused on their little
problem.  X, Y or Z that I need is broken and I need fix foo; it's
talked about on IRC, it seems to work, it's implemented.  Then a week
later someone who wasn't on at time of discussion notes that it broke
something and and now needs to be 'fixed'.  I think Flameeyes has done
a pretty good job keeping everyone informed of Gentoo/fbsd's needs and
offering pretty good solutions on how to fix them in a general way.  I
think part of the problem is that this doesn't happen often enough and
we end up with a bunch of hacks that need to be integrated together.
- -Alec Warner
Ajec

Dan Meltzer wrote:

>Well it would be nice to have it all abstracted, wouldn't stablizing a
>package get exponetially harder? Not only would each arch need to be
>tested, each combination of packages on each arch would need to be
>tested, if FEX openpam became usable on linux instead of just
>linuxpam, each arch that stableized would now need to say works for
>this arch for linuxpam, and works for this arch for openpam, which
>would cause lots and lots of keywords mess.
>
>Or am I misunderstanding your post?
>
>On 6/16/05, Luca Barbato <lu_zero@gentoo.org> wrote:
>
>
>>Diego 'Flameeyes' Pettenò wrote:
>>
>>
>>
>>>Let me explain: on Gentoo/Linux systems, all the base utilities
(make, tar,
>>>sed, etc etc) are GNUish; on Gentoo/FreeBSD they are BSDish; on
Gentoo/Darwin
>>>I don't really know :P
>>>This limits a bit the user because to use other kind of utilities it
must use
>>>aliases and he can't change, for example, the tar used by portage or
by other
>>>scripts.
>>>
>>>
>>>
>>Surely it would be interesting for developer that want to make sure
>>their code will build in other userspaces w/out switching os,
>>and if that won't be so painful, would worth testing it.
>>
>>Obviously having it now isn't really needed. Thinking about that when
>>committing/updating ebuild would be good.
>>
>>( still I do hate bsd core utils implementations but that is just my
>>opinion =) )
>>
>>lu
>>
>>--
>>
>>Luca Barbato
>>
>>Gentoo/linux Developer          Gentoo/PPC Operational Leader
>>http://dev.gentoo.org/~lu_zero
>>
>>--
>>gentoo-dev@gentoo.org mailing list
>>
>>
>>
>>
>
>
>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iQIVAwUBQrHuf2zglR5RwbyYAQKz7g//ei85Mupvhm/nLq5FH3re1pKpYhmvREyX
bM51xqH4SXNWB1wCrVgHJXs7YV4nTLnl9lpvg+YKElcrCKwc4wqGTdvYWen9L/Is
IzmgHzKkkinfrDHQAXLylCy753S/fuiJowSAcg6rW+8sPadJHU3zYjunC4mhXLLL
99drUDDihS+8KljclJgVkP+fPFMqBo4GgtZtwHH/wksbeomWIIrlF90JFO1AZuA+
2kLrFcriPxe0/9UD4yZYEjgQ649cA3pYDCMoiNtmVLLeIBqvR7qdNP6LnRjhHD/5
d+f6SVADql2zreUZSxxnCTLN+V32ImRE9Mm6zAafQ/B4C+4uxGUkwQYNpPLrWZfd
TmMbd0qHFjmZVTSjwhk6L1lWvcro7Bp9o1IUTQzaqUcpcF/zhsgB9Av29svnhJgY
oqA9IavcoM6fT+gl1zSaiKoVCdGEGIAIxlwN/ePst5/hmf/AXr76ooAamAcJlKMV
Nrb7Q8crdd7usz4QIuNvjcw/39w/sTrXnPCVStNSdvG887vEVGHMJx0WEsXL7vtU
aG5abQ/rPmoYF//SUhAbhYPXXmQhWopGwBobx1cwnnbUEdqEaiuTqGW8eYWiVo3y
ziULbj5H9oH/k9q0SOtGjfrF7nIUVgp48CfRprSFKsCKFYYdZ5Hj58TmuEoGRTiO
4kDCAXCWK3E=
=/Jnb
-----END PGP SIGNATURE-----
-- 
gentoo-dev@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2005-07-05 10:38 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-06-16  5:57 [gentoo-dev] Discussion: alternative compatible utilities Diego 'Flameeyes' Pettenò
2005-06-16  8:26 ` Luca Barbato
2005-06-16 11:18   ` Dan Meltzer
2005-06-17  2:32 ` Aron Griffis
2005-06-17 14:05   ` Diego 'Flameeyes' Pettenò
2005-06-18 11:23     ` Martin Schlemmer
2005-06-21 18:45       ` Aron Griffis
2005-07-05 10:37         ` Martin Schlemmer
2005-06-21 18:42     ` Aron Griffis
2005-06-21 18:57       ` Diego 'Flameeyes' Pettenò
2005-06-18  3:29   ` Grant Goodyear
  -- strict thread matches above, loose matches on Subject: below --
2005-06-16 21:26 Alec Warner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox