group.of.nepali.translators team mailing list archive
-
group.of.nepali.translators team
-
Mailing list archive
-
Message #39616
[Bug 1926949] Re: FTBFS: apt can't resolve `dh-systemd | debhelper (>= 13.3)`
This bug was fixed in the package ubuntu-advantage-tools -
27.0.2~20.04.1
---------------
ubuntu-advantage-tools (27.0.2~20.04.1) focal; urgency=medium
* Backport to Focal
ubuntu-advantage-tools (27.0.2) impish; urgency=medium
* d/control:
- order build-depends alternatives newer first (LP: #1926949)
- apt-hook: do not attempt to package go APT JSON hook on some
architectures (GH: #1603) (LP: #1927886, LP: #1927795)
* Bug-fix release 27.0.2: build failures on riscv64 and powerpc
- apt-hook: refactor json hook messaging to be dry
- tests: fix subp ls error case for powerpc builds
- jenkinsfile: add --resolve-alternatives for trusty builds
- amend changelog: add omitted apt-hook message for 27.0.1 stanza
ubuntu-advantage-tools (27.0.1) impish; urgency=medium
* Add .gitignore and cleanup ignored directory .pytest_cache
* apt-hook: mitigate failures with true
-- Chad Smith <chad.smith@xxxxxxxxxxxxx> Wed, 12 May 2021 10:10:45
-0600
** Changed in: ubuntu-advantage-tools (Ubuntu Bionic)
Status: Fix Committed => Fix Released
--
You received this bug notification because you are a member of नेपाली
भाषा समायोजकहरुको समूह, which is subscribed to Xenial.
Matching subscriptions: Ubuntu 16.04 Bugs
https://bugs.launchpad.net/bugs/1926949
Title:
FTBFS: apt can't resolve `dh-systemd | debhelper (>= 13.3)`
Status in ubuntu-advantage-tools package in Ubuntu:
Fix Committed
Status in ubuntu-advantage-tools source package in Xenial:
New
Status in ubuntu-advantage-tools source package in Bionic:
Fix Released
Status in ubuntu-advantage-tools source package in Focal:
Fix Released
Status in ubuntu-advantage-tools source package in Groovy:
Fix Released
Status in ubuntu-advantage-tools source package in Hirsute:
Fix Released
Status in ubuntu-advantage-tools source package in Impish:
Fix Committed
Bug description:
[Impact]
For sbuild users attempting to build this package locally results in pkg build failures due to inability of sbuild to handle the build deps alternatives when running:
sbuild -s --source-only-changes
[Test Plan]
cat > sru-sbuild-test.sh <<EOF
#!/bin/bash
[ -d ./ubuntu-advantage-tools ] || git-ubuntu clone ubuntu-advantage-tools
cd ubuntu-advantage-tools
for release in bionic focal groovy hirsute; do
case "\${release}" in
hirsute)
resolve_alt="";;
xenial|bionic|focal|groovy)
resolve_alt="--resolve-alternatives";;
esac
git checkout pkg/ubuntu/\${release}-proposed;
sbuild -s --source-only-changes -d \${release} \${resolve_alt}
done
EOF
bash sru-build-test.sh # expect no sbuild failures
Also uploaded binary equavalent 27.0.2 bits to ppa:ua-client/staging
PPA which sucessfully built Xenial -> Impish where powerpc (xenial)
and riscv64 platforms are viable (focal++)
[Where problems could occur]
* Due to using the same d/control on all Ubuntu releases, simpler
sbuild commandline will require use of `--resolve-alternatives`
parameter on older releases where sbuild doesn't "seed" those build
deps alternatives by default.
* This should be low risk as PPAs ppa:ua-client/staging & ppa-
uaclient/daily are building successfully with these Build-Depends and
genereally sbuild allows for workarounds with using --resolve-
alternatives.
* [racb] Mutating the Build-Depends line could cause alternatives to
be resolved differently on the buildds, resulting in toolchain changes
that might result in different sets of build failures or different
build output causing functional issues.
[Other Info]
...
[Original Description]
Hello,
[Problem]
=========
It looks like apt isn't able to resolve `dh-systemd | debhelper (>=
13.3)`. Whilst the line in logical and makes sense, that is, use dh-
systemd for Groovy and older releases (since it's not present in
Hirsute and thereafter) and use debhelper (...) for newer releases, et
al.
However, apt is failing to resolve that for some reasons and it's thus
results in FTBFS.
[Logs]
======
Install main build dependencies (apt-based resolver)
----------------------------------------------------
Installing build dependencies
Reading package lists...
Building dependency tree...
Reading state information...
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
sbuild-build-depends-main-dummy : Depends: dh-systemd but it is not installable
E: Unable to correct problems, you have held broken packages.
apt-get failed.
E: Package installation failed
Not removing build depends: cloned chroot in use
[Reproducer]
============
$ git ubuntu clone ubuntu-advantage-tools
$ cd ubuntu-advantage-tools
$ sbuild -s --source-only-changes
and that should yield a failed build.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-advantage-tools/+bug/1926949/+subscriptions