[claudio@mandriva.com: Re: Libraries and packaging problem]

Enrico Weigelt weigelt at metux.de
Thu Mar 30 13:08:08 PST 2006

FYI: there are some discussions on the x.org-modular list about 
dependency problems with pkg-config on certain distros.

Maybe some of yours like to say something about that, ie. the
--enable-indirect-deps option, which seems to make trouble.


----- Forwarded message from Claudio Matsuoka <claudio at mandriva.com> -----

From: Claudio Matsuoka <claudio at mandriva.com>
Subject: Re: Libraries and packaging problem
To: "X.Org Modularization Working Group Discussion List" <xorg-modular at lists.x.org>
Reply-To: "X.Org Modularization Working Group Discussion List" <xorg-modular at lists.x.org>
Date: Thu, 30 Mar 2006 15:08:05 -0300

On Thursday 30 March 2006 13:55, Claudio Matsuoka wrote:

> On Wednesday 29 March 2006 21:27, Mike A. Harris wrote:
> > Yep, I've pointed that out before also.  IMHO, either:
> > - the pkg-config files provided by X.Org are broken and incorrect and
> >    should be fixed to not have Requires.private
> > or
> > - pkg-config itself is a broken design that does not allow a way of
> >    specifying dependencies properly in the manner that is necessary.
> I was leaning towards the first case, but Ubuntu Dapper is doing it 
> with the same .pc files. I'll check if their pkgconfig is patched, or the 
> explanation is elsewhere.

Case solved, at least for Mandriva. The Ubuntu package is unpatched and the 
Mandriva package was explicitly broken by configuring it with 
--enable-indirect-deps, making it list both direct and indirect dependencies. 
A have no idea why, but this flag is certainly breaking much more packages 
than just Xorg. (And yes, I suck, I reported a problem that was in fact 
caused by ourselves.)

If Fedora has a similar behavior, it must have a different reason, since 
pkg-config isn't configured with --enable-indirect-deps.
xorg-modular mailing list
xorg-modular at lists.x.org

----- End forwarded message -----

 Enrico Weigelt    ==   metux IT service

  phone:     +49 36207 519931         www:       http://www.metux.de/
  fax:       +49 36207 519932         email:     contact at metux.de
  cellphone: +49 174 7066481
 -- DSL ab 0 Euro. -- statische IP -- UUCP -- Hosting -- Webshops --

More information about the pkg-config mailing list