A new depedency of existing BuildRequires causes build failure - who to blame?

Florian Weimer fweimer at redhat.com
Tue Aug 20 13:16:39 UTC 2013


On 08/20/2013 03:11 PM, Ville Skyttä wrote:
> On Tue, Aug 20, 2013 at 2:22 PM, Florian Weimer <fweimer at redhat.com> wrote:
>> On 08/20/2013 01:15 PM, Tadej Janež wrote:
>>>
>>> Inspecting the log files, I discovered that some BuildRequires pulled in
>>> the shapelib package, which then caused the build to fail with:
>>> "/usr/bin/ld: cannot find -lshp" since shapelib-devel was missing.
>>>
>>> Who should I blame:
>>> - the techne package which detected shapelib and tried to build against
>>> it, or
>>> - the package which introduced this dependency and/or did not also put
>>> in a Requires on shapelib-devel?
>>
>> Probably the former.
>
> In this case (and usually IME) it's the latter. -lshp was added to
> plplotd.pc in plplot-devel-5.9.9-18.svn12474.fc20 but the
> corresponding shapelib-devel package dep wasn't.

Ah, okay, you are right.  So techne did not actually detect shapelib 
support.

-- 
Florian Weimer / Red Hat Product Security Team


More information about the devel mailing list