Package: fortune-zh Version: 2.90 Severity: serious Tags: patch ftbfs Justification: fails to build from source (but built successfully in the past) User: ubuntu-de...@lists.ubuntu.com Usertags: origin-ubuntu disco ubuntu-patch
Dear Maintainer, fortune-zh currently fails to build from source in a clean environment because it requires the python3 binary but does not build-depend on the python3 package. You can see an example failure here [1] (I was able to reproduce this locally in a sid chroot as well). In Ubuntu, the attached patch was applied to achieve the following: * Build-depend on python3 to fix FTBFS. Thanks for considering the patch. Logan Rosen [1] https://launchpadlibrarian.net/404195059/buildlog_ubuntu-disco-amd64.fortune-zh_2.90_BUILDING.txt.gz -- System Information: Debian Release: buster/sid APT prefers cosmic-updates APT policy: (500, 'cosmic-updates'), (500, 'cosmic-security'), (500, 'cosmic'), (400, 'cosmic-proposed'), (100, 'cosmic-backports') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 4.18.0-13-generic (SMP w/8 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled
diff -Nru fortune-zh-2.90/debian/control fortune-zh-2.90ubuntu1/debian/control --- fortune-zh-2.90/debian/control 2018-12-30 02:45:38.000000000 -0500 +++ fortune-zh-2.90ubuntu1/debian/control 2018-12-30 18:38:58.000000000 -0500 @@ -5,6 +5,7 @@ Uploaders: Mo Zhou <cdlumin...@gmail.com> Build-Depends: debhelper (>= 11~), fortune-mod, + python3 Standards-Version: 4.1.3 Vcs-Browser: https://salsa.debian.org/chinese-team/fortunes-zh Vcs-Git: https://salsa.debian.org/chinese-team/fortunes-zh.git