Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 410291 - app-emulation/emul-linux-x86-soundlibs should include media-plugins/caps-plugins (32bit caps.so file)
Summary: app-emulation/emul-linux-x86-soundlibs should include media-plugins/caps-plug...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: AMD64 Linux
: Normal minor (vote)
Assignee: AMD64 Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: emul-tracker 397963
  Show dependency tree
 
Reported: 2012-03-31 06:26 UTC by fling
Modified: 2012-05-21 12:18 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description fling 2012-03-31 06:26:39 UTC
A lot of crashes in 32bit apps using alsa with this error:
Failed to load plugin "/usr/lib/ladspa/caps.so": /usr/lib/ladspa/caps.so: wrong ELF class: ELFCLASS64

Reproducible: Always

Steps to Reproduce:
1. emerge alsaequal and use this as ~/.asoundrc:
ctl.equal {
        type equal;
}

pcm.plugequal {
        type equal;
        slave.pcm plug:dmix;
}

pcm.!default {
	type asym;
	playback.pcm plug:plugequal;
	capture.pcm dsnoop;
}

2. start from terminal winecfg and click Audio tab or start from terminal skype and click Devices tab in options
Actual Results:  
Crash! with error message:
Failed to load plugin "/usr/lib/ladspa/caps.so": /usr/lib/ladspa/caps.so: wrong ELF class: ELFCLASS64

Expected Results:  
1. Tab is opened and it is available to see the devices list in both winecfg and skype.
2. Fancy equalized sound in 32bit apps.

studio ~ # equery f /usr/lib32/ladspa/caps.so
 * Searching for caps.so in /usr/lib32/ladspa ...
!!! Invalid atom: '/usr/lib32/ladspa/caps.so'
Comment 1 Samuli Suominen (RETIRED) gentoo-dev 2012-03-31 06:41:13 UTC
Yes, media-plugins/caps-plugins must be included for media-plugins/alsaequal (from bug 397963)

Alsa plugins get dlopened instead of linked against so it's easy to miss these
Comment 2 Pacho Ramos gentoo-dev 2012-04-03 16:36:41 UTC
*** Bug 410563 has been marked as a duplicate of this bug. ***
Comment 3 Pacho Ramos gentoo-dev 2012-05-20 13:16:11 UTC
done in latest set