Control: reassign -1 libasound2

On Tue, 26 Sep 2023 14:38:02 +0200 Lucas Nussbaum <lu...@debian.org> wrote:
Source: polybar
Version: 3.6.3-1
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: lu...@debian.org
Usertags: ftbfs-20230925 ftbfs-trixie

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64.


Relevant part (hopefully):
> cd /<<PKGBUILDDIR>>/build/bin && /usr/bin/c++  -I/<<PKGBUILDDIR>>/include -I/<<PKGBUILDDIR>>/build/generated-sources -isystem /usr/include/cairo 
-isystem /usr/include/libpng16 -isystem /usr/include/freetype2 -isystem /usr/include/pixman-1 -isystem /<<PKGBUILDDIR>>/lib/xpp/include -isystem 
/<<PKGBUILDDIR>>/build/lib/xpp/generated-sources/include -isystem /<<PKGBUILDDIR>>/lib/i3ipcpp/3rd/auss/include -isystem /<<PKGBUILDDIR>>/lib/i3ipcpp/include 
-isystem /usr/include/jsoncpp -isystem /usr/include/libnl3 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security 
-fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++14 -Wall -Wextra -Wpedantic -Wsuggest-override -MD -MT bin/CMakeFiles/poly.dir/adapters/alsa/control.cpp.o -MF 
CMakeFiles/poly.dir/adapters/alsa/control.cpp.o.d -o CMakeFiles/poly.dir/adapters/alsa/control.cpp.o -c /<<PKGBUILDDIR>>/src/adapters/alsa/control.cpp
> In file included from /<<PKGBUILDDIR>>/include/adapters/alsa/generic.hpp:37,
>                  from /<<PKGBUILDDIR>>/src/adapters/alsa/control.cpp:2:
> /usr/include/alsa/control.h:417:47: error: ‘snd_ump_endpoint_info_t’ has not 
been declared
>   417 | int snd_ctl_ump_endpoint_info(snd_ctl_t *ctl, snd_ump_endpoint_info_t 
*info);
>       |                                               ^~~~~~~~~~~~~~~~~~~~~~~
> /usr/include/alsa/control.h:418:44: error: ‘snd_ump_block_info_t’ has not 
been declared
>   418 | int snd_ctl_ump_block_info(snd_ctl_t *ctl, snd_ump_block_info_t 
*info);
>       |                                            ^~~~~~~~~~~~~~~~~~~~
> make[3]: *** [bin/CMakeFiles/poly.dir/build.make:1129: 
bin/CMakeFiles/poly.dir/adapters/alsa/control.cpp.o] Error 1


This seems to be a bug in alsa-lib package. Upstream has fixed this in https://github.com/alsa-project/alsa-lib/commit/fcce13a6726c52882bd8b7131c61c4eba308792c

I have created an MR importing the upstream patch to alsa-lib[1]. I was able to build polybar successfully with the updated alsa-lib package.

[1] - https://salsa.debian.org/alsa-team/alsa-lib/-/merge_requests/3


--
Mohammed Bilal
2D65 BC1E B966 5A6E 97F9 730A B3F5 9452 8521 9E1F

Reply via email to