sbuild will not install a missing build-dep in some cases

Bug #1030893 reported by Michael Terry
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
launchpad-buildd
New
Undecided
Unassigned
libio-async-perl (Ubuntu)
New
Undecided
Unassigned
libio-socket-ip-perl (Ubuntu)
New
Undecided
Unassigned
libpoe-component-client-http-perl (Ubuntu)
New
Undecided
Unassigned
sbuild (Debian)
Unknown
Unknown

Bug Description

Consider the case of libio-socket-ip-perl in quantal as of this writing. It has a dependency like "libsocket-perl (>= 1.97) | perl (>= 5.15.6)". libsocket-perl's current version is 2.002-1 (which is fine). Perl's current version is 5.14.2-12 (which does not satisfy the check).

So sbuild correctly reports:

libsocket-perl: missing
perl: non-matching version installed (5.14.2-12 ! >= 5.15.6)

And then does not try to install libsocket-perl. Which I think is a clear bug? The build fails because it is dep waiting on libsocket-perl, despite it actually being available.

It seems that sbuild's dependency checker stops if part of an or-clause is already installed, regardless of whether it actually satisfies the requirements. I'd argue it should take that into account and attempt to install another part of the or-clause.

Tags: ftbfs

Related branches

Michael Terry (mterry)
summary: - Will not install a missing build-dep in some cases
+ sbuild will not install a missing build-dep in some cases
tags: added: ftbfs
Revision history for this message
Michael Terry (mterry) wrote :

Switching to launchpad-buildd project after discovering that LP uses an old forked version of sbuild.

affects: sbuild (Ubuntu) → launchpad-buildd
Revision history for this message
Micah Gersten (micahg) wrote :

This is a dupe of bug 594916.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.