Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 562412 - www-client/firefox-41.0-r1[-pulseaudio]: audio_device_utility_linux.h: No such file or directory
Summary: www-client/firefox-41.0-r1[-pulseaudio]: audio_device_utility_linux.h: No suc...
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All FreeBSD
: Normal normal (vote)
Assignee: Mozilla Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-10-06 16:57 UTC by Chí-Thanh Christopher Nguyễn
Modified: 2017-08-26 17:56 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (xz compressed) (build.log.xz,119.70 KB, application/x-xz)
2015-10-06 16:57 UTC, Chí-Thanh Christopher Nguyễn
Details

Note You need to log in before you can comment on or make changes to this bug.
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