DEP8 test builds uninstallable package most of the time
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:/
Related branches
- Christian Ehrhardt (community): Approve
- Canonical Server Core Reviewers: Pending requested
-
Diff: 41 lines (+10/-5)3 files modifieddebian/changelog (+8/-0)
debian/tests/build-procenv (+1/-4)
debian/tests/control (+1/-1)
Changed in sbuild (Ubuntu): | |
assignee: | nobody → Andreas Hasenack (ahasenack) |
status: | New → In Progress |
Changed in sbuild (Ubuntu Xenial): | |
status: | New → Confirmed |
Changed in sbuild (Ubuntu Bionic): | |
status: | New → Confirmed |
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