Source: alsa-lib Version: 1.1.8-2 Severity: important Tags: patch User: debian-cr...@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
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 <hel...@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 <jo...@debian.org>, Elimar Riesebieter <riese...@lxtec.de>, Luke Yelavich <them...@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/