#16764 closed enhancement (fixed)

Firefox (102) on alsa-only system

Reported by: thomas Owned by: pierre
Priority: normal Milestone: 11.2
Component: BOOK Version: git
Severity: normal Keywords:
Cc:

Description

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

Change History (4)

comment:1 by ken@…, 21 months ago

I've learnt a new word today! (renitent). The change sounds reasonable.

comment:2 by Tim Tassonis, 21 months ago

Also belonging to thne genus Homo Non-Poeterringensis, I've used

ac_add_options --enable-alsa

for a while now, also without

#ac_add_options --disable-pulseaudio

with no problems in 102.0. It will compile against both pulseaudio and alsa, but run fine with pulseaudio disabled. Note that this will also be needed in thunderbird > 100. Since 102, the recently introduced "Netflix-mutes-after-one-episode" bug is also fixed, so I could binge through Stranger Things 4 without problems.

comment:3 by pierre, 21 months ago

Owner: changed from blfs-book to pierre
Status: newassigned

taking all the mozilla tickets. I'll need somebody to test ff without pulse.

comment:4 by pierre, 21 months ago

Resolution: fixed
Status: assignedclosed

Fixed at 87fa171f

Note: See TracTickets for help on using tickets.