﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	severity	resolution	keywords	cc
16764	Firefox (102) on alsa-only system	thomas	pierre	"as being a renitent no-poettering-stuff-on-my-system user, i have no pulseaudio installed. For sound, alsa if by far enough for my needs. Unfortunatly, Firefox (102) complained about the settings we use when no pulse is installed:

{{{
...
 0:03.81 Traceback (most recent call last):
 0:03.81   File ""/home/thomas/tmp/firefox/build/firefox-102.0/python/mozbuild/mozbuild/configure/__init__.py"", line 656, in _value_for_option
 0:03.81     value, option_string = self._helper.handle(option)
 0:03.81   File ""/home/thomas/tmp/firefox/build/firefox-102.0/python/mozbuild/mozbuild/configure/options.py"", line 602, in handle
 0:03.81     raise ConflictingOptionError(
 0:03.81 mozbuild.configure.options.ConflictingOptionError: Cannot add '--enable-pulseaudio' to the implied set because it conflicts with --disable-pulseaudio from the mozconfig set
 0:03.81 
...
 0:03.81 mozbuild.configure.options.InvalidOptionError: '--enable-pulseaudio' implied by '--enable-audio-backends' conflicts with '--disable-pulseaudio' from the mozconfig
...
*** Fix above errors and then restart with ""./mach build""
}}}

I digged a bit around and found that

{{{
ac_add_options --enable-audio-backends=alsa
}}}

solves this problem. Looks like that the options --disable-pulseaudio and --enable-alsa are not needed anylonger.

This ticket might be used for a discussion about the options. I'd suggest to change
{{{
# Uncomment the following option if you have not installed PulseAudio
#ac_add_options --disable-pulseaudio
# or uncomment this if you installed alsa-lib instead of PulseAudio
#ac_add_options --enable-alsa
}}}
to
{{{
# Uncomment the following option if you have not installed PulseAudio and want
# to use Alsa instead
#ac_add_options --enable-audio-backends=alsa
}}}"	enhancement	closed	normal	11.2	BOOK	git	medium	fixed		
