[Pkg-alsa-devel] Bug#942196: alsa-lib FTCBFS: missing Build-Depends: libpython3-dev

Helmut Grohne helmut at subdivi.de
Sat Oct 12 06:44:48 BST 2019


Source: alsa-lib
Version: 1.1.8-2
Severity: important
Tags: patch
User: debian-cross at lists.debian.org
Usertags: ftcbfs

alsa-lib fails to cross build from source, because it misses a required
dependency on libpython3-dev. Without this dependency, presence of
development headers for the host architecture is not ensured and the
build fails:

| libtool: compile:  aarch64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../../../include -I../../../include -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/python3.7m -I/usr/include/python3.7m -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c python.c  -fPIC -DPIC -o .libs/smixer_python_la-python.o
| In file included from /usr/include/python3.7m/Python.h:8,
|                  from python.c:22:
| /usr/include/python3.7m/pyconfig.h:9:12: fatal error: aarch64-linux-gnu/python3.7m/pyconfig.h: No such file or directory
|     9 | #  include <aarch64-linux-gnu/python3.7m/pyconfig.h>
|       |            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| compilation terminated.

Please consider applying the attached patch. Properly, this time. It was
correct in my previous patch.

Helmut
-------------- next part --------------
diff --minimal -Nru alsa-lib-1.1.8/debian/changelog alsa-lib-1.1.8/debian/changelog
--- alsa-lib-1.1.8/debian/changelog	2019-10-11 12:44:01.000000000 +0200
+++ alsa-lib-1.1.8/debian/changelog	2019-10-12 07:39:57.000000000 +0200
@@ -1,3 +1,10 @@
+alsa-lib (1.1.8-2.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: Missing Build-Depends: libpython3-dev. (Closes: #-1)
+
+ -- Helmut Grohne <helmut at subdivi.de>  Sat, 12 Oct 2019 07:39:57 +0200
+
 alsa-lib (1.1.8-2) unstable; urgency=medium
 
   * Get rid of old, unused patches.
diff --minimal -Nru alsa-lib-1.1.8/debian/control alsa-lib-1.1.8/debian/control
--- alsa-lib-1.1.8/debian/control	2019-10-11 12:43:25.000000000 +0200
+++ alsa-lib-1.1.8/debian/control	2019-10-12 07:39:56.000000000 +0200
@@ -5,7 +5,7 @@
 Uploaders: Jordi Mallach <jordi at debian.org>,
            Elimar Riesebieter <riesebie at lxtec.de>,
            Luke Yelavich <themuso at ubuntu.com>
-Build-Depends: debhelper (>= 11), python3-dev:native
+Build-Depends: debhelper (>= 11), python3-dev:native, libpython3-dev
 Build-Depends-Indep: doxygen, graphviz
 Standards-Version: 4.3.0
 Homepage: https://www.alsa-project.org/


More information about the Pkg-alsa-devel mailing list