[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: mesa-common-dev, libdrm-dev and Launchpad bug 490811



On Tue, Apr 20, 2010 at 2:30 PM, Julien Cristau <jcristau@debian.org> wrote:
> On Tue, Apr 20, 2010 at 11:00:08 +0300, Ilkka Laukkanen wrote:
>
>> A while ago I noticed that it was possible to install packages in
>> Ubuntu (yes yes, bear with me) such that no packages are broken but
>> pkg-config fails, saying that libdrm is not found. As far as I can
>> tell, this is due to mesa-common-dev's dri.pc having the line
>> "Requires.private: libdrm >= x.y.z", but mesa-common-dev doesn't
>> depend on libdrm.pc.
>>
> dri.pc is only used by the X server, which already build-depends on
> libdrm-dev.  I don't think adding the depends in mesa-common-dev brings
> any value.  Why does it matter that pkg-config is unhappy with dri.pc if
> nothing uses dri.pc?

The gist of it is outlined in comment 4:
https://bugs.launchpad.net/ubuntu/+source/mesa/+bug/490811/comments/4

I'm not sure if I can come up with a test case, since the environment
was fairly specific and the package in question proprietary. However,
installing libdrm-dev *did* fix the issue I was having.


-- 
Ilkka


Reply to: