← Back to team overview

pkg-perl-maintainers team mailing list archive

[Bug 1030893] [NEW] sbuild will not install a missing build-dep in some cases

 

Public bug reported:

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.

** Affects: libio-async-perl (Ubuntu)
     Importance: Undecided
         Status: New

** Affects: libio-socket-ip-perl (Ubuntu)
     Importance: Undecided
         Status: New

** Affects: libpoe-component-client-http-perl (Ubuntu)
     Importance: Undecided
         Status: New

** Affects: sbuild (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: ftbfs

** Summary changed:

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

** Tags added: ftbfs

** Also affects: libpoe-component-client-http-perl (Ubuntu)
   Importance: Undecided
       Status: New

** Also affects: libio-socket-ip-perl (Ubuntu)
   Importance: Undecided
       Status: New

** Also affects: libio-async-perl (Ubuntu)
   Importance: Undecided
       Status: New

-- 
You received this bug notification because you are a member of Debian
Perl Group, which is subscribed to libpoe-component-client-http-perl in
Ubuntu.
https://bugs.launchpad.net/bugs/1030893

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

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libio-async-perl/+bug/1030893/+subscriptions


Follow ups

References