depwait builds do not retry even though the dep can be met via a virtual package

Bug #335913 reported by Scott Kitterman
34
This bug affects 4 people
Affects Status Importance Assigned to Milestone
Launchpad itself
Triaged
High
Unassigned

Bug Description

Using qtbittorrent as an example ...

qbittorrent_1.3.1-1.dsc exists in cwd
** Using build dependencies supplied by package:
Build-Depends: debhelper (>= 7), libtorrent-rasterbar-dev (>= 0.14.1), libqt4-dev (>= 4.4.0), libxext-dev, libcurl-dev, libzzip-dev
Checking for already installed source dependencies...
debhelper: missing
libtorrent-rasterbar-dev: missing
libqt4-dev: missing
libxext-dev: missing
libcurl-dev: missing
libzzip-dev: missing
Checking for source dependency conflicts...
libcurl-dev is a virtual package provided by: libcurl4-openssl-dev libcurl4-gnutls-dev
Using libcurl4-openssl-dev (no default, using first one)
  /usr/bin/sudo /usr/bin/apt-get --purge $CHROOT_OPTIONS -q -y install debhelper libtorrent-rasterbar-dev libqt4-dev libxext-dev libcurl-dev libzzip-dev
Reading package lists...
Building dependency tree...
Reading state information...
Package libcurl-dev is a virtual package provided by:
  libcurl4-openssl-dev 7.18.2-8ubuntu1
  libcurl4-gnutls-dev 7.18.2-8ubuntu1
You should explicitly select one to install.
E: Package libcurl-dev has no installation candidate
libcurl-dev is a virtual package provided by: libcurl4-openssl-dev libcurl4-gnutls-dev
Using libcurl4-openssl-dev (no default, using first one)
  /usr/bin/sudo /usr/bin/apt-get --purge $CHROOT_OPTIONS -q -y install debhelper libtorrent-rasterbar-dev libqt4-dev libxext-dev libzzip-dev libcurl4-openssl-dev

This package was depwait on sparc and ia64 since Feb 8 waiting for libcurl-dev even though there was a package to satisfy the virtual package requirement. Ideally packages are supposed to build-dep on a real package and use the virtual package as an alternate, but packaging errors like this are not terribly rare. I think it's better to pick one (as the system will do it manually triggered) than leave the package unbuilt.

William Grant (wgrant)
affects: launchpad → soyuz
Celso Providelo (cprov)
affects: soyuz → launchpad-buildd
Revision history for this message
Celso Providelo (cprov) wrote :

It was under the impression that the `apt` itself (in the buildd-domain) could deal better with the fact a dependency is a virtual (Provided:) package, but I was wrong.
Soyuz, specially the depwait-retry code, needs to check for virtual packages as well when probing builds in depwait.

affects: launchpad-buildd → soyuz
Changed in soyuz:
importance: Undecided → Medium
status: New → Triaged
tags: added: soyuz-build
William Grant (wgrant)
Changed in soyuz:
assignee: nobody → William Grant (wgrant)
William Grant (wgrant)
Changed in launchpad:
assignee: William Grant (wgrant) → nobody
Changed in launchpad:
importance: Medium → High
summary: - Availability of a package to provide a virtual package not noticed to
- clear depwait
+ depwait builds do not retry even though the dep can be met via a virtual
+ package
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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