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

Ville Skyttä ville.skytta at iki.fi
Tue Aug 20 13:11:05 UTC 2013


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.


More information about the devel mailing list