From: Maxim Koltsov <maksbotan@gentoo.org>
To: Krzysztof Pawlik <nelchael@gentoo.org>
Cc: "Nikolaj Sjujskij" <sterkrig@myopera.com>,
"Michał Górny" <mgorny@gentoo.org>,
gentoo-python <gentoo-python@lists.gentoo.org>
Subject: Re: [gentoo-python] python-distutils.eclass vs. python.eclass + distutils.eclass
Date: Sat, 26 May 2012 22:45:18 +0400 [thread overview]
Message-ID: <CAB_KkxxbTKZurYzi8bp1iBLaExp8JAZuC8KWtJgh=iaUt6DiRA@mail.gmail.com> (raw)
In-Reply-To: <4FC120BB.5010303@gentoo.org>
2012/5/26 Krzysztof Pawlik <nelchael@gentoo.org>:
> On 26/05/12 15:09, Nikolaj Sjujskij wrote:
>> Den 2012-05-26 17:07:29 skrev Michał Górny <mgorny@gentoo.org>:
>>
>>> On Sat, 26 May 2012 17:01:26 +0400
>>> "Nikolaj Sjujskij" <sterkrig@myopera.com> wrote:
>>>
>>>> > So I think the second part of this (x.y to x.y+1 transitions, in the
>>>> > Python world, are generally relatively smooth) invalidates your
>>>> > point in the first part: if the transitions are generally smooth,
>>>> > then yes, when Python 3.3 gets stabilized, I want all of my Python
>>>> > packages to be available from the 3.3 interpreter.
>>>> Let's take a "stable" user who updates (`emerge --update --deep
>>>> --newuse @world`) his/her system regularly.
>>>> Python 3.3 is released, added to Portage tree and eventually unmasked.
>>>> PYTHON_TARGETS variable is changed to include 3.3. And suddenly
>>>> `emerge --newuse @world` on stable system suggests rebuilding of
>>>> every package using new eclass, because new (though disabled)
>>>> USE-flags was added. And when Python 3.3 is keyworded stable, hence
>>>> bringing new default PYTHON_TARGETS, user should now rebuild those
>>>> packages once more, but now, at least, not uselessly.
>>>>
>>>> Just yesterday I had www-servers/uwsgi recompiled because of changed
>>>> RUBY_TARGETS. And I even have no Ruby installed.
>>>
>>> I suggest you report a bug against portage and/or PMS.
>> Excuse me, but I really fail to see how this could be their fault.
>
> Yes, you do. Let me explain: there was a thread some time ago about portage
> rebuilding package when new USE flag is introduced in ebuild that does not
> change enabled USE set, that's how it's related.
This was my first thought too: if just appeared flag is not set, there
is no sense to rebuild. But there is one possible case when this
assumption is false. Image that foo has support for bar and this
support was on by default and had no useflag. Suddenly package
maintainer decides, no matter why, make it optional and off by
default. He adds useflag to IUSE and it's not set by default. Then not
rebuilding it is *wrong* behavior.
Yes i know that this example is rather abstract and very unlikely to
happen, but we must consider all cases.
> --
> Krzysztof Pawlik <nelchael at gentoo.org> key id: 0xF6A80E46
> desktop-misc, java, vim, kernel, python, apache...
>
next prev parent reply other threads:[~2012-05-26 18:45 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <CAB_KkxwspDjWOpV7FSdwxD5MHS-qjtxrUQBiwbsc2yRhqXQntQ@mail.gmail.com>
2012-05-26 9:32 ` [gentoo-python] python-distutils.eclass vs. python.eclass + distutils.eclass Maxim Koltsov
2012-05-26 9:53 ` Dirkjan Ochtman
2012-05-26 13:01 ` Nikolaj Sjujskij
2012-05-26 13:07 ` Michał Górny
2012-05-26 13:09 ` Nikolaj Sjujskij
2012-05-26 18:28 ` Krzysztof Pawlik
2012-05-26 18:45 ` Maxim Koltsov [this message]
2012-05-26 19:07 ` Michał Górny
2012-06-01 10:36 ` Nikolaj Sjujskij
2012-05-26 13:33 ` Mike Gilbert
2012-06-01 12:42 ` Nikolaj Sjujskij
2012-05-26 9:53 ` Michał Górny
2012-05-26 9:55 ` Dirkjan Ochtman
2012-05-26 10:06 ` Michał Górny
2012-05-26 18:31 ` Krzysztof Pawlik
2012-05-26 23:18 ` Mike Gilbert
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='CAB_KkxxbTKZurYzi8bp1iBLaExp8JAZuC8KWtJgh=iaUt6DiRA@mail.gmail.com' \
--to=maksbotan@gentoo.org \
--cc=gentoo-python@lists.gentoo.org \
--cc=mgorny@gentoo.org \
--cc=nelchael@gentoo.org \
--cc=sterkrig@myopera.com \
/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