public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Alan McKinnon <alan.mckinnon@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user]  Re: libtool problem
Date: Wed, 4 Feb 2009 22:21:38 +0200	[thread overview]
Message-ID: <200902042221.38749.alan.mckinnon@gmail.com> (raw)
In-Reply-To: <200902041917.38293.dirk.heinrichs@online.de>

On Wednesday 04 February 2009 20:17:33 Dirk Heinrichs wrote:
> Am Mittwoch, 4. Februar 2009 04:25:34 schrieb ABCD:
> > The reason there wasn't a bump (IIRC) was that the ebuild never changed
> > - only the eclass did.  If you emerged any version of GCC during the
> > window where the eclass was broken, that version of GCC would have been
> > broken.
>
> That also means that portage is broken. Whenever something changes where
> other things depend on, those other things should be rebuilt. This doesn't
> happen here.

I disagree, that would cause many more spurious rebuilds than is needed if it 
were automated. Portage cannot tell how important or how deep a change is, 
that requires a human to look and see. So what is needed is a flag that 
portage recognizes as an instruction to do a revdep-rebuild-style search and 
find everything using a specific changed file, and rebuild those. The flag is 
set under dev control.

Blindly doing what you suggest leads to this:

appA depends on libB. 
libB has a bug which is fixed but no changes to the API or ABI occur, so appA 
does not need to be rebuilt, it simply uses the new compiled lib when run.
This circumstance will likely happen many many times more often that the 
updated eclass that is the subject of this thread.

Therefore, a simple elog entry is a valid handling and fully compliant with 
the principle of The Simplest Thing That Could Possibly Work.

-- 
alan dot mckinnon at gmail dot com



  reply	other threads:[~2009-02-04 20:22 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-02-03 12:15 [gentoo-user] libtool problem Helmut Jarausch
2009-02-03 12:18 ` Dirk Heinrichs
2009-02-03 12:24   ` Helmut Jarausch
2009-02-03 12:27     ` Justin
2009-02-03 12:47     ` [gentoo-user] " Nikos Chantziaras
2009-02-03 12:25 ` [gentoo-user] " Volker Armin Hemmann
2009-02-03 13:12 ` Neil Bothwick
2009-02-03 15:03   ` Helmut Jarausch
2009-02-03 15:23     ` Mike Kazantsev
2009-02-03 15:36       ` Neil Bothwick
2009-02-04  3:25         ` [gentoo-user] " ABCD
2009-02-04  9:50           ` Neil Bothwick
2009-02-04 18:17           ` Dirk Heinrichs
2009-02-04 20:21             ` Alan McKinnon [this message]
2009-02-04 20:40               ` Dirk Heinrichs
2009-02-04 21:07                 ` Alan McKinnon

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=200902042221.38749.alan.mckinnon@gmail.com \
    --to=alan.mckinnon@gmail.com \
    --cc=gentoo-user@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