Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 204748 - media-sound/pulseaudio-0.9.8: default.pa gets broken when hal is not set
Summary: media-sound/pulseaudio-0.9.8: default.pa gets broken when hal is not set
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Sound Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-01-07 14:01 UTC by Matthijs Kooijman
Modified: 2008-01-24 02:06 UTC (History)
0 users

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 Matthijs Kooijman 2008-01-07 14:01:02 UTC
The 0.9.8 ebuilds (all versions I think) disable the loading of the hal-detect module, if the hal use flag is not set:

      if ! use hal; then
                sed -i -e '/module-hal-detect/s:^:#: ; /module-detect/s:^#::' "${D}/etc/pulse/default.pa"
        fi

This breaks on 0.9.8 since the default.pa provided by pulseaudio already has an .ifexists to load module-hal-detect only when it exists. The replace applied by the ebuild now doesn't only uncomment the load directive, but also the .ifexists directive. Since it doesn't remove the .else and .endif directives, this leaves default.pa with a syntax error and pulsaudio won't start.

Reproducible: Always

Steps to Reproduce:
USE=-hal emerge pulseaudio
pulseaudio
Comment 1 Diego Elio Pettenò (RETIRED) gentoo-dev 2008-01-24 02:06:37 UTC
Fixed in 0.9.9 series.