Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 562412

Summary: www-client/firefox-41.0-r1[-pulseaudio]: audio_device_utility_linux.h: No such file or directory
Product: Gentoo Linux Reporter: Chí-Thanh Christopher Nguyễn <chithanh>
Component: Current packagesAssignee: Mozilla Gentoo Team <mozilla>
Status: RESOLVED OBSOLETE    
Severity: normal CC: bsd+disabled
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: FreeBSD   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build.log (xz compressed)

Description Chí-Thanh Christopher Nguyễn gentoo-dev 2015-10-06 16:57:14 UTC
Created attachment 413920 [details]
build.log (xz compressed)

Building firefox-41.0-r1 fails on amd64-fbsd

In file included from /var/tmp/portage/www-client/firefox-41.0-r1/work/mozilla-release/ff/media/webrtc/trunk/webrtc/modules/modules_audio_device/Unified_cpp_webrtc_modules0.cpp:20:0:
/var/tmp/portage/www-client/firefox-41.0-r1/work/mozilla-release/media/webrtc/trunk/webrtc/modules/audio_device/audio_device_impl.cc:44:44: fatal error: audio_device_utility_linux.h: No such file or directory
     #include "audio_device_utility_linux.h"

The file audio_device_utility_linux.h exists in /var/tmp/portage/www-client/firefox-41.0-r1/work/mozilla-release/media/webrtc/trunk/webrtc/modules/audio_device/linux/audio_device_utility_linux.h
Something may be wrong with the include path here.
Comment 1 Ian Stakenvicius (RETIRED) gentoo-dev 2015-10-06 17:14:20 UTC
fun..  :)

I'll see if i can find the issue and get it patched asap.
Comment 2 Chí-Thanh Christopher Nguyễn gentoo-dev 2015-10-07 17:25:05 UTC
When enabling USE="pulseaudio" as suggested by axs on IRC, the build completes successfully. Only the non-pulseaudio build seems to trigger this issue.
Comment 3 Ian Stakenvicius (RETIRED) gentoo-dev 2015-10-07 19:05:37 UTC
To follow up:

The build system for webrtc (in firefox and likely elsewhere) only includes the linux/ subdir when the OS is Linux, or when configured to use alsa or pulseaudio.  OpenBSD is set to use 'sndio' but non-openbsd *BSD is left to fall through to depend on either an alsa or a pulseaudio implementation.  As alsa is likely enabled only for linux (didn't get far enough to check), the build needs USE=pulseaudio to be set in order for webrtc to build properly.

The solution at this point, is to force the pulseaudio flag for *BSD.
Comment 4 Jory A. Pratt gentoo-dev 2017-08-26 17:56:28 UTC
If you feel I have closed your bug and it is still a current issue, please reopen and update it completely. We will not work bugs that have no ebuild in tree any longer or can not be reproduced with a current system.

Thank You for your support and understanding
The Mozilla Team