Inflation of explicit build requirements

Ralf Corsepius rc040203 at freenet.de
Mon Jun 7 14:09:26 UTC 2004


On Mon, 2004-06-07 at 15:21, Michael Schwendt wrote:
> On Mon, 07 Jun 2004 13:15:16 +0200, Ralf Corsepius wrote:
> 
> > I.e. the fact that "BuildRequires: gcc" pulls in "/lib/cpp" is just an
> > accident exploiting an historic artifact. If FC rsp. RH should remove
> > /lib/cpp from their "cpp"-package this dependency will break.
> > 
> > Therefore, IMO, all packages needing /lib/cpp (There are many of them)
> > should "BuildRequires: /lib/cpp".
> 
> Is it worth spending time on finding out whether a package needs /lib/cpp?
Of cause not. But you'll trip them soon, once /lib/cpp should be
removed.

> You would need to "rpm -e --nodeps cpp" or "rm -f /lib/cpp" in order to
> find out.
> 
> If /lib/cpp were obsoleted, a package that buildrequires it, would break
> nevertheless.

Yes, you'd have to provide a compat-package or to fix the package's
sources, then.

Ralf







More information about the fedora-devel-list mailing list