[Pkg-auth-maintainers] Bug#926816: yubikey-manager FTBFS in some common situations

Alex Chernyakhovsky achernya at debian.org
Wed Apr 10 20:19:05 BST 2019


Package: yubikey-manager
Version: 2.1.0

Dear maintainer,

The package yubikey-manager currently appears to fail to build, using
a stretch host with an sbuild chroot for sid-amd64:

yubikey-manager-2.1.0$ lsb_release  -a
No LSB modules are available.
Distributor ID: Debian
Description:    Debian GNU/Linux 9.8 (stretch)
Release:        9.8
Codename:       stretch
yubikey-manager-2.1.0$ sbuild -A -c sid-amd64
dh clean --with python3 --buildsystem=pybuild
dh: Compatibility levels before 5 are no longer supported (level 1 requested)
debian/rules:6: recipe for target 'clean' failed
make: *** [clean] Error 25

If I then `echo 10 > debian/compat`, sbuild is able to proceed. The
package builds normally against a sid schroot.  If I try to use
debuild normally, the package FTBFS with
help2man -o debian/ykman.1 \
        --no-info --version-string=2.1.0 \
        --name 'YubiKey Manager' -- /tmp/tmp.3fY41n5LsH/bin/ykman
help2man: can't get `--help' info from /tmp/tmp.3fY41n5LsH/bin/ykman
Try `--no-discard-stderr' if option outputs to stderr
debian/rules:15: recipe for target 'override_dh_installman' failed

Interestingly enough, I cannot reproduce with a buster schroot; the
behavior seems to be dependent on debuild vs sbuild. Some further
investigation with with --no-discard-stderr shows a Python stacktrace
in python3-click, complaining about the locale. If we pass
--locale=C.UTF-8 to help2man, then everything builds properly, even
with debuild in this situation.

I've attached a debdiff that makes this package build more reliably.

Sincerely,
-Alex
-------------- next part --------------
A non-text attachment was scrubbed...
Name: yubikey-manager.debdiff
Type: application/octet-stream
Size: 1805 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-auth-maintainers/attachments/20190410/e8e9037c/attachment.obj>


More information about the Pkg-auth-maintainers mailing list