Your message dated Sat, 13 Jun 2020 16:18:28 +0000
with message-id <[email protected]>
and subject line Bug#953568: fixed in alsa-lib 1.2.2-2.2
has caused the Debian Bug report #953568,
regarding alsa-lib: FTBFS in testing
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
953568: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=953568
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: alsa-lib
Version: 1.2.2-2.1
Severity: serious
Tags: bullseye, patch

I just ran into the following build failure in raspbian bullseye, checking on 
reproducible builds confirmed that the failure is not raspbian specific.

http://buildd.raspbian.org/status/fetch.php?pkg=alsa-lib&arch=armhf&ver=1.2.2-2.1&stamp=1583817597
https://tests.reproducible-builds.org/debian/rb-pkg/bullseye/amd64/alsa-lib.html

/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
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.

While I was working on this I also discovered the clean target was not cleaning 
up properly, so I fixed that too.

diff -Nru alsa-lib-1.2.2/debian/changelog alsa-lib-1.2.2/debian/changelog
--- alsa-lib-1.2.2/debian/changelog     2020-03-07 18:21:22.000000000 +0000
+++ alsa-lib-1.2.2/debian/changelog     2020-03-10 15:12:02.000000000 +0000
@@ -1,3 +1,10 @@
+alsa-lib (1.2.2-2.1+rpi1) bullseye-staging; urgency=medium
+
+  * Modify python 3.8 patch so builds with 3.7 still work.
+  * Fix clean target.
+
+ -- Peter Michael Green <[email protected]>  Tue, 10 Mar 2020 15:12:02 
+0000
+
 alsa-lib (1.2.2-2.1) unstable; urgency=medium
 
   [ Matthias Klose ]
diff -Nru alsa-lib-1.2.2/debian/patches/python3.8.diff 
alsa-lib-1.2.2/debian/patches/python3.8.diff
--- alsa-lib-1.2.2/debian/patches/python3.8.diff        2020-03-04 
08:23:20.000000000 +0000
+++ alsa-lib-1.2.2/debian/patches/python3.8.diff        2020-03-10 
15:12:02.000000000 +0000
@@ -10,7 +10,7 @@
    pythoninc0=
    if test "$build_python2" != "yes"; then
 -    pythonlibs0=$(python3-config --libs)
-+    pythonlibs0=$(python3-config --libs --embed)
++    pythonlibs0=$(python3-config --libs `python3 -c 'import sys;print("" if 
sys.version_info < (3,8) else "--embed")'`)
      pythoninc0=$(python3-config --includes)
    fi
    if test -z "$pythonlibs0"; then
diff -Nru alsa-lib-1.2.2/debian/rules alsa-lib-1.2.2/debian/rules
--- alsa-lib-1.2.2/debian/rules 2020-02-29 15:51:16.000000000 +0000
+++ alsa-lib-1.2.2/debian/rules 2020-03-10 15:12:02.000000000 +0000
@@ -38,3 +38,8 @@
 
 override_dh_makeshlibs:
        dh_makeshlibs -- -c4
+
+override_dh_auto_clean:
+       rm -rf doc/doxygen
+       rm -f src/control/ctl_symbols_list.c src/control/libcontrol.la 
src/hwdep/libhwdep.la src/mixer/libmixer.la src/pcm/libpcm.la 
src/pcm/pcm_symbols_list.c src/rawmidi/librawmidi.la src/seq/libseq.la 
src/timer/libtimer.la src/ucm/libucm.la
+       dh_auto_clean

--- End Message ---
--- Begin Message ---
Source: alsa-lib
Source-Version: 1.2.2-2.2
Done: Francisco Vilmar Cardoso Ruviaro <[email protected]>

We believe that the bug you reported is fixed in the latest version of
alsa-lib, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Francisco Vilmar Cardoso Ruviaro <[email protected]> (supplier of 
updated alsa-lib package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Wed, 10 Jun 2020 06:26:40 +0000
Source: alsa-lib
Architecture: source
Version: 1.2.2-2.2
Distribution: unstable
Urgency: medium
Maintainer: Debian ALSA Maintainers <[email protected]>
Changed-By: Francisco Vilmar Cardoso Ruviaro <[email protected]>
Closes: 953568
Changes:
 alsa-lib (1.2.2-2.2) unstable; urgency=medium
 .
   * Non-maintainer upload.
   * debian/patches/python3.8.diff:
       - Updated as upstream commit '1654f38', fixed FTBFS. (Closes: #953568)
Checksums-Sha1:
 23abf8d78f6cd931120175c270adb240b51f46e2 2633 alsa-lib_1.2.2-2.2.dsc
 511edb019e2387195c9c551e5327b12322a07efa 30124 alsa-lib_1.2.2-2.2.debian.tar.xz
 76510e3d97068e9b8de0d0012b09c3bd8a866512 6007 
alsa-lib_1.2.2-2.2_source.buildinfo
Checksums-Sha256:
 f6cd97a527a14bafb886aafd7c57955d1e521e25654c55ca7526581ee50f5a84 2633 
alsa-lib_1.2.2-2.2.dsc
 6c4630e59eb5216219b086913e2acfad65d6ff2f7749c75efc696c339a615933 30124 
alsa-lib_1.2.2-2.2.debian.tar.xz
 0840be5f0a81ea1f89975a69ffa38d85462e5c3d1b241e559c39796eda78c28b 6007 
alsa-lib_1.2.2-2.2_source.buildinfo
Files:
 b99a69e36272fbe394696ddd5448cc7a 2633 libs optional alsa-lib_1.2.2-2.2.dsc
 91cd7bb60769a376693fdbe891e9f83c 30124 libs optional 
alsa-lib_1.2.2-2.2.debian.tar.xz
 e95c079c7ff26a6aeddb2da16c669baa 6007 libs optional 
alsa-lib_1.2.2-2.2_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEENX3LDuyVoBrrofDS3mO5xwTr6e8FAl7hAPcACgkQ3mO5xwTr
6e/cmA//VjABE+YrIYzN3//qoTDfoAo3EC3INF14LLWNgLqU4rdlyqgYqilpgt79
7vLiyP5HSBojLtyqkCus+drJi/FSry9r5enkQu7YpMW11BELwBTfmChGcEkUtcIr
emFp+Z8ditpdupi6C1sTqsYGrm4b4up5qtdp1XKHjLxu+lgPhXTYSkniJDqKqRC2
C+J60L/6sschoqQimiisjc7qHs2QyCSVCJXEOsd9jDCsYB4bbtTErYb0NG7ZvAzN
HEwIN9wbwUnfaKGaT3CyP9DWMnjoH1GTXXFkRGTNiD6CMrGBfr7Ub4k/GPB2pdRu
ps2PlCHXbQ6n3uf35usMXYaOjdAEmP/nO4pjhZD3dswwIvMlPhnnl5ToUBdYFGgf
7o8mbk3POcMjow8DZstrdYKj8yFe4V+JTQM3bSZ5s4AucyJcGBgoiRTEnclqjDog
C5+y2Oh2Nsl1JvPuUiCUqWkSukNXPY36pQ72JFo5GwrFQ9SuZSU7xVR8hdOZbVLx
wMI6KbcrUED8yD4SJWEcZE1Rhiv/wTgAtcYBgmgdfleLvYxNvvzViCUEieTQn2B5
CtyolK0EK4at31r+6trCaj1ZPreJJ0i0tKnNPGAKo0SmcBIrhVTXI4U68xTg2/CC
kxERj5g99Ls19b7pGGqzOECcPtOPvW5rVqTpJHj0Y0Dfuupp0q0=
=Q8cj
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to