Package: ledger-autosync
Version: 1.0.1-1
Severity: normal
Tags: patch
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu groovy ubuntu-patch

Dear maintainers,

The ledger-autosync package has been failing to build from source in Ubuntu,
because the build-time tests require terminfo to be able to resolve a
terminal, and the Ubuntu autobuilders run with TERM=unknown.

Since this is not a relevant environment in which to run ledger-autosync,
the package should simply fix up the environment via debian/rules to let the
tests pass.

Please see the attached patch for a possible solution.

Thanks for considering,
-- 
Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
Ubuntu Developer                                   https://www.debian.org/
slanga...@ubuntu.com                                     vor...@debian.org
diff -Nru ledger-autosync-1.0.1/debian/rules ledger-autosync-1.0.1/debian/rules
--- ledger-autosync-1.0.1/debian/rules  2019-09-04 15:39:53.000000000 -0700
+++ ledger-autosync-1.0.1/debian/rules  2020-09-02 12:10:28.000000000 -0700
@@ -1,5 +1,6 @@
 #!/usr/bin/make -f
 
+export TERM=vt100
 export PYBUILD_NAME=ledger-autosync
 %:
        dh $@ --with python3 --buildsystem=pybuild

Reply via email to