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

Florian Weimer fweimer at redhat.com
Tue Aug 20 11:22:30 UTC 2013


On 08/20/2013 01:15 PM, Tadej Janež wrote:
> Hi!
>
> The techne package FTBFS during the recent F20 mass rebuild, which I
> fixed and pushed a new build:
> http://koji.fedoraproject.org/koji/buildinfo?buildID=455280
>
> The same package failed to build yesterday:
> http://koji.fedoraproject.org/koji/taskinfo?taskID=5830172
>
> 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.  How does it detect shapelib support if linking to 
its library fails?

-- 
Florian Weimer / Red Hat Product Security Team


More information about the devel mailing list