Bug 428577 - SDL's pulseaudio hack not multilib-clean
Summary: SDL's pulseaudio hack not multilib-clean
Alias: None
Product: Fedora
Classification: Fedora
Component: SDL
Version: 8
Hardware: x86_64
OS: Linux
Target Milestone: ---
Assignee: Thomas Woerner
QA Contact: Fedora Extras Quality Assurance
: 428983 (view as bug list)
Depends On:
TreeView+ depends on / blocked
Reported: 2008-01-13 18:44 UTC by Michel Alexandre Salim
Modified: 2008-01-22 15:47 UTC (History)
2 users (show)

Fixed In Version: 1.2.13-1.fc8
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2008-01-22 15:47:18 UTC

Attachments (Terms of Use)
Changes to pulseaudio hack scripts (1.24 KB, patch)
2008-01-13 18:45 UTC, Michel Alexandre Salim
no flags Details | Diff

Description Michel Alexandre Salim 2008-01-13 18:44:01 UTC
Description of problem:
The SDL RPM installs scripts into /etc/profile.d to set the audiodriver to esd
if pulseaudio is installed, because it currently does not support pulseaudio

There is a bug in both CSH and Bash scripts, however -- if on a multilib system,
both 32- and 64-bit versions of the ALSA pulseaudio driver are installed, the
Boolean expression does not evaluate properly. On TCSH it fails silently; on
Bash it reports:

bash: [: /usr/lib64/alsa-lib/libasound_module_pcm_pulse.so: binary operator expected

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1. On an x86_64 system, install alsa-plugins-pulseaudio.i386
2. Start a new Bash / TCSH shell
3. printenv | grep SDL
Actual results:
With Bash, error result above. printenv reports nothing

Expected results:
No error; printenv reports SDL_AUDIODRIVER=esd

Additional info:
Patch attached.

Comment 1 Michel Alexandre Salim 2008-01-13 18:45:36 UTC
Created attachment 291509 [details]
Changes to pulseaudio hack scripts

With this patch, the scripts test for /usr/lib/... and /usr/lib64/...
separately and || the result, so that they work when both drivers are installed
on a multilib system.

Comment 2 Thomas Woerner 2008-01-17 14:16:41 UTC
*** Bug 428983 has been marked as a duplicate of this bug. ***

Comment 3 Michel Alexandre Salim 2008-01-17 14:18:11 UTC

*** This bug has been marked as a duplicate of 426579 ***

Comment 4 Fedora Update System 2008-01-22 15:47:13 UTC
SDL-1.2.13-1.fc8 has been pushed to the Fedora 8 stable repository.  If problems still persist, please make note of it in this bug report.

Note You need to log in before you can comment on or make changes to this bug.