In file included from /usr/include/alsa/sound/emu10k1.h:27, from ld10k1_fnc.c:30: /usr/include/sound/asound.h:55:8: error: redefinition of ‘struct snd_aes_iec958’ 55 | struct snd_aes_iec958 { | ^~~~~~~~~~~~~~ In file included from /usr/include/alsa/asoundlib.h:58, ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.1_desktop-libressl-20191127-201719 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-9.2.0 * clang: clang version 9.0.0 (tags/RELEASE_900/final) Target: x86_64-pc-linux-gnu Thread model: posix InstalledDir: /usr/lib/llvm/9/bin llvm: 9.0.0 Available Python interpreters, in order of preference: [1] python3.6 [2] python2.7 (fallback) Available Ruby profiles: [1] ruby24 (with Rubygems) [2] ruby25 (with Rubygems) * Available Rust versions: [1] rust-1.39.0 * java-config: The following VMs are available for generation-2: *) IcedTea JDK 3.13.0 [icedtea-bin-8] Available Java Virtual Machines: [1] icedtea-bin-8 system-vm repository: ==> /var/db/repos/gentoo/metadata/timestamp.chk <== Mon, 02 Dec 2019 15:06:22 +0000 emerge -qpvO media-sound/alsa-tools [ebuild N ] media-sound/alsa-tools-1.1.7 USE="gtk -fltk" ALSA_CARDS="emu10k1x -emu10k1 -hdsp -hdspm -ice1712 -mixart -pcxhr -rme32 -rme96 -sb16 -sbawe -sscape -usb-usx2y -vx222"
Created attachment 598256 [details] emerge-info.txt
Created attachment 598258 [details] emerge-history.txt
Created attachment 598260 [details] environment
Created attachment 598262 [details] etc.portage.tbz2
Created attachment 598264 [details] logs.tbz2
Created attachment 598266 [details] media-sound:alsa-tools-1.1.7:20191202-151045.log
I've just had this error, had to remove the package to get past it for now.
Seemed my version of alsa-lib was 1.2.1.2 and incompatible with alsa-tools.
Same here. Downgraded alsa-lib to 1.2.1.1-r1 and alsa-tools compiles successfully again.
Just as Small_Penguin said, masked alsa-lib-1.2.1.2, installed alsa-lib-1.2.1.1-r1, and alsa-tools-1.1.7 compiles successfully, after encountering this error when trying to build against alsa-lib-1.2.1.2.
The following fix for alsa-lib fixes the problem: https://git.alsa-project.org/?p=alsa-lib.git;a=commitdiff;h=ae564665ec261cf104de499b1cdda3564070fc65 Please, apply.
(In reply to pva from comment #11) > The following fix for alsa-lib fixes the problem: > > https://git.alsa-project.org/?p=alsa-lib.git;a=commitdiff; > h=ae564665ec261cf104de499b1cdda3564070fc65 > > Please, apply. So, long fixed in Gentoo. Thank you!