<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body>
<p>Package: alsa-lib<br>
Version: 1.2.2-2.1<br>
Severity: serious<br>
Tags: bullseye, patch<br>
<br>
I just ran into the following build failure in raspbian bullseye,
checking on reproducible builds confirmed that the failure is not
raspbian specific.<br>
<br>
<a class="moz-txt-link-freetext" href="http://buildd.raspbian.org/status/fetch.php?pkg=alsa-lib&arch=armhf&ver=1.2.2-2.1&stamp=1583817597">http://buildd.raspbian.org/status/fetch.php?pkg=alsa-lib&arch=armhf&ver=1.2.2-2.1&stamp=1583817597</a><br>
<a class="moz-txt-link-freetext" href="https://tests.reproducible-builds.org/debian/rb-pkg/bullseye/amd64/alsa-lib.html">https://tests.reproducible-builds.org/debian/rb-pkg/bullseye/amd64/alsa-lib.html</a><br>
<blockquote type="cite">
<pre>/bin/bash ../../../libtool --tag=CC --mode=link gcc -I/usr/include/python3.7m -I/usr/include/python3.7m -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -module -avoid-version -Wl,-z,defs -Wl,-z,relro -Wl,-z,now -o smixer-python.la -rpath /usr/lib/arm-linux-gnueabihf/alsa-lib/smixer smixer_python_la-python.lo ../../../src/libasound.la Usage: /usr/bin/python3-config --prefix|--exec-prefix|--includes|--libs|--cflags|--ldflags|--extension-suffix|--help|--abiflags|--configdir
/bin/bash: --exec-prefix: command not found
/bin/bash: --includes: command not found
/bin/bash: --cflags: command not found
/bin/bash: --libs: command not found
/bin/bash: --extension-suffix: command not found
/bin/bash: --ldflags: command not found
/bin/bash: --help: command not found
/bin/bash: --configdir: command not found
/bin/bash: --abiflags: command not found
make[4]: *** [Makefile:474: smixer-python.la] Error 127</pre>
</blockquote>
The python 3.8 patch is to blame and is breaking builds with 3.7
(still the default in testing). I whipped up the attached debdiff
and was able to get successful builds in raspbian bullseye and
debian sid armhf.<br>
<br>
While I was working on this I also discovered the clean target was
not cleaning up properly, so I fixed that too.<br>
</p>
</body>
</html>