[Bug 1806388] Re: DEP8 test builds uninstallable package most of the time

Launchpad Bug Tracker 1806388 at bugs.launchpad.net
Tue Dec 11 05:51:56 UTC 2018


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 <andreas at canonical.com>  Mon, 03 Dec 2018 11:47:38
-0200

** Changed in: sbuild (Ubuntu)
       Status: In Progress => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to sbuild in Ubuntu.
https://bugs.launchpad.net/bugs/1806388

Title:
  DEP8 test builds uninstallable package most of the time

Status in sbuild package in Ubuntu:
  Fix Released

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

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/sbuild/+bug/1806388/+subscriptions



More information about the foundations-bugs mailing list