DEP8 test builds uninstallable package most of the time

Bug #1806388 reported by Andreas Hasenack
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
sbuild (Ubuntu)
Fix Released
Undecided
Andreas Hasenack
Xenial
Confirmed
Undecided
Unassigned
Bionic
Confirmed
Undecided
Unassigned

Bug Description

The DEP8 tests for sbuild in Ubuntu will attempt to build procenv for the development version of ubuntu, and then try to install the resulting package on the host, outside the chroot:

...
# We should probably only attempt to install and run procenv if the release of
# the build chroot is equal to the host, but lets be brave and try anyway
if true
#if [ "$release" = "$host_release" ]
then
    echo "INFO: Installing package '$pkg' from '$deb'"
...

This is prone to break. particularly for future SRUs, and of course existing ones where it's failing already. In bionic for example, it's failing in i386 everywhere like this:
The following packages have unmet dependencies:
 procenv : Depends: libc6 (>= 2.28) but 2.27-3ubuntu1 is to be installed
E: Unable to correct problems, you have held broken packages.

libc 2.28 is from disco.

Check also this ubuntu-devel@ short thread at https://lists.ubuntu.com/archives/ubuntu-devel/2018-November/040550.html

Related branches

Changed in sbuild (Ubuntu):
assignee: nobody → Andreas Hasenack (ahasenack)
status: New → In Progress
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package sbuild - 0.77.1-2ubuntu2

---------------
sbuild (0.77.1-2ubuntu2) disco; urgency=medium

  * d/t/control: add isolation-machine to the test flags (LP: #1806389)
  * d/t/build-procenv: only install the built package if the chroot it was
    built in matches the release of the host system (LP: #1806388)

 -- Andreas Hasenack <email address hidden> Mon, 03 Dec 2018 11:47:38 -0200

Changed in sbuild (Ubuntu):
status: In Progress → Fix Released
Changed in sbuild (Ubuntu Xenial):
status: New → Confirmed
Changed in sbuild (Ubuntu Bionic):
status: New → Confirmed
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.