public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
From: Thomas Sachau <tommy@gentoo.org>
To: gentoo-dev@lists.gentoo.org
Subject: Re: [gentoo-dev] Getting proper USE_EXPAND variable(s) for multilib
Date: Mon, 21 Jan 2013 00:52:45 +0100	[thread overview]
Message-ID: <50FC834D.2070004@gentoo.org> (raw)
In-Reply-To: <1358723418.30392.5.camel@kanae>

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

Gilles Dartiguelongue schrieb:
> Le lundi 21 janvier 2013 à 00:01 +0100, Thomas Sachau a écrit :
>> Michał Górny schrieb:
>>> Hello,
>>>
>>> There is a fair interest in multilib and while still early, it would be
>>> a good moment to decide on how USE flags to use for it.
>>>
>>> The current attempts are mostly using USE=multilib which is not really
>>> expressive and poor. What I would go for is a clear variable specifying
>>> which targets package is built for.
>>>
>>>
>>> This raises the following questions:
>>>
>>> 1) do we want the default ABI to be switchable?
>>>
>>> 2) do we want irrelevant ABIs to be visible to emerge users?
>>>
>>> By 2) I mean: do we want the users to see stuff like:
>>>
>>>   MULTILIB_ABIS="amd64_abi1 amd64_abi2 -amd64_abi3 (-ppc64_abi1)
>>>     (-ppc64_abi2) (-ppc64_abi3) ..."
>>>
>>> or just the relevant part.
>>>
>>> To be honest, I don't know if there's other way to hide USE flags than
>>> using USE_EXPAND_HIDDEN. If we want to use that, we'd have to split
>>> the flags per-arch, i.e. have:
>>>
>>>   MULTILIB_AMD64="abi1 abi2 abi3"
>>>   MULTILIB_PPC64="abi1 abi2 abi3"
>>>
>>> with appropriate USE_EXPAND_HIDDEN set by profiles.
>>>
>>>
>>> What are your thoughts? Which arches would like to use multilib? What
>>> names for ABIs do you suggest?
>>>
>>
>> So you want to re-implement multilib-portage in an eclass without the
>> additional benefits a package-manager level implementation has?
> 
> Well that's the point of the eclass that was proposed a few days ago
> allow building multiple ABIs. Having clear USE-dep like python-r1.eclass
> is imho the way to go.
> 
> As said in another reply of this thread, USE=multilib really is a
> solution that has its problems (no fine PM control for ABIs, slow
> updates of emul-pkgs) to the current problem and portage-multilib, well
> it's a subject that pops up from time to time I have no idea how and
> will it will come nor do I have time to help on that front.

multilib-portage exists and works for years, the problem usually is,
that posts about it are ignored until i write something about "planned
to ask council", which results in new requests to be fulfilled (for the
inclusion of this feature in the next EAPI). This could also get us rid
of USE=multilib and the emul packages. ;-)

> However this eclass would enable quick and easy per-ebuild support for
> multiple ABIs just like python-r1 and friends, and this is a good thing
> for every maintainer that wants to provide this kind of support. I know
> I would, at least to get rid of the always lagging emul packages.

As already written in another thread not long ago, the USE flag part
(shown USE flags per arch and USE flag dependencies) will be pretty hard
to implement at eclass level. So i will wait and see, if someone can
surprise me with a solution, that works as good as multilib-portage
without bad side effects or additional work for all sides.


-- 

Thomas Sachau
Gentoo Linux Developer


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 379 bytes --]

  reply	other threads:[~2013-01-20 23:53 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-01-20 19:11 [gentoo-dev] Getting proper USE_EXPAND variable(s) for multilib Michał Górny
2013-01-20 22:05 ` Sergei Trofimovich
2013-01-20 22:33   ` Michał Górny
2013-01-21 13:34     ` Alexis Ballier
2013-01-20 23:05   ` Thomas Sachau
2013-01-20 23:01 ` Thomas Sachau
2013-01-20 23:08   ` Michał Górny
2013-01-20 23:10   ` Gilles Dartiguelongue
2013-01-20 23:52     ` Thomas Sachau [this message]
2013-01-20 23:59   ` Chí-Thanh Christopher Nguyễn
2013-01-21  1:31   ` Matt Turner
2013-01-21 13:27 ` Alexis Ballier
2013-01-21 16:55   ` Michał Górny
2013-01-23  8:24   ` Michał Górny
2013-01-23 11:03     ` Alexis Ballier
2013-01-23 15:27       ` Michał Górny
2013-01-23 15:44         ` Michał Górny
2013-01-23 17:36       ` Alexey Shvetsov
2013-01-23 18:48         ` Alexis Ballier

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=50FC834D.2070004@gentoo.org \
    --to=tommy@gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox