[Debian-med-packaging] Bug#953395: python-tinyalign: FTBFS due to various build dependency issues

Logan Rosen logan at ubuntu.com
Sun Mar 8 22:35:17 GMT 2020


Package: python-tinyalign
Version: 0.2-1
Severity: serious
Tags: patch ftbfs
Justification: fails to build from source
User: ubuntu-devel at lists.ubuntu.com
Usertags: origin-ubuntu focal ubuntu-patch

Hi,

python-tinyalign currently fails to build from source due to multiple
build dependency issues. It requires python3-setuptools-scm and cython3
for setup.py and needs python3-all-dev because its code includes
Python.h.

In Ubuntu, the attached patch was applied to achieve the following:

  * Adjust build dependencies to fix FTBFS:
    - Build-depend on python3-setuptools-scm and cython3.
    - Build-depend on python3-all-dev instead of python3-all.

Thanks for considering the patch.

Logan

-- System Information:
Debian Release: bullseye/sid
  APT prefers focal
  APT policy: (500, 'focal')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.4.0-14-generic (SMP w/8 CPU cores)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE
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 /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
-------------- next part --------------
diff -Nru python-tinyalign-0.2/debian/control python-tinyalign-0.2/debian/control
--- python-tinyalign-0.2/debian/control	2020-02-02 15:33:44.000000000 -0500
+++ python-tinyalign-0.2/debian/control	2020-03-08 18:22:07.000000000 -0400
@@ -3,10 +3,12 @@
 Priority: optional
 Maintainer: Debian Med Packaging Team <debian-med-packaging at lists.alioth.debian.org>
 Uploaders: Steffen Moeller <moeller at debian.org>
-Build-Depends: debhelper-compat (= 12),
+Build-Depends: cython3,
+               debhelper-compat (= 12),
                dh-python,
                python3-setuptools,
-               python3-all
+               python3-setuptools-scm,
+               python3-all-dev
 Standards-Version: 4.5.0
 Homepage: https://github.com/marcelm/tinyalign
 Vcs-Browser: https://salsa.debian.org/med-team/tinyalign


More information about the Debian-med-packaging mailing list