Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 701782 - media-sound/alsa-tools-1.1.7 : /.../asound.h:55:8: error: redefinition of struct snd_aes_iec958
Summary: media-sound/alsa-tools-1.1.7 : /.../asound.h:55:8: error: redefinition of str...
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal with 1 vote (vote)
Assignee: Gentoo ALSA team
URL: https://git.alsa-project.org/?p=alsa-...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-12-02 17:10 UTC by Toralf Förster
Modified: 2021-12-30 09:48 UTC (History)
5 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge-info.txt (emerge-info.txt,16.92 KB, text/plain)
2019-12-02 17:10 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,193.35 KB, text/plain)
2019-12-02 17:10 UTC, Toralf Förster
Details
environment (environment,113.60 KB, text/plain)
2019-12-02 17:10 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,37.99 KB, application/x-bzip)
2019-12-02 17:10 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,13.29 KB, application/x-bzip)
2019-12-02 17:10 UTC, Toralf Förster
Details
media-sound:alsa-tools-1.1.7:20191202-151045.log (media-sound:alsa-tools-1.1.7:20191202-151045.log,60.06 KB, text/plain)
2019-12-02 17:10 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2019-12-02 17:10:37 UTC
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"
Comment 1 Toralf Förster gentoo-dev 2019-12-02 17:10:39 UTC
Created attachment 598256 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2019-12-02 17:10:42 UTC
Created attachment 598258 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2019-12-02 17:10:45 UTC
Created attachment 598260 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2019-12-02 17:10:48 UTC
Created attachment 598262 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2019-12-02 17:10:50 UTC
Created attachment 598264 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2019-12-02 17:10:53 UTC
Created attachment 598266 [details]
media-sound:alsa-tools-1.1.7:20191202-151045.log
Comment 7 Luke A. Guest 2019-12-05 15:12:49 UTC
I've just had this error, had to remove the package to get past it for now.
Comment 8 Luke A. Guest 2019-12-05 16:13:15 UTC
Seemed my version of alsa-lib was 1.2.1.2 and incompatible with alsa-tools.
Comment 9 Small_Penguin 2020-01-31 17:43:44 UTC
Same here. Downgraded alsa-lib to 1.2.1.1-r1 and alsa-tools compiles successfully again.
Comment 10 Matthew Wodrich 2020-02-09 13:33:43 UTC
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.
Comment 11 pva 2020-02-19 08:51:31 UTC
The following fix for alsa-lib fixes the problem:

https://git.alsa-project.org/?p=alsa-lib.git;a=commitdiff;h=ae564665ec261cf104de499b1cdda3564070fc65

Please, apply.
Comment 12 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-12-30 09:48:45 UTC
(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!