Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 451544 - www-client/firefox-18.0 fails to build without dbus flag
Summary: www-client/firefox-18.0 fails to build without dbus flag
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal major (vote)
Assignee: Mozilla Gentoo Team
Depends on:
Reported: 2013-01-12 16:38 UTC by Michel Ganguin
Modified: 2015-01-06 14:45 UTC (History)
0 users

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


Note You need to log in before you can comment on or make changes to this bug.
Description Michel Ganguin 2013-01-12 16:38:41 UTC
Building firefox 18.0 without dbus flag fails in nswifimonitor

Reproducible: Always

Steps to Reproduce:
1. accept testing keyword for firefox-18.0
2. USE="-dbus" emerge firefox

Actual Results:  
it fails with the following error after libxul linking

../../netwerk/wifi/nsWifiMonitor.o: In function `nsWifiMonitor::Run()':
/var/tmp/portage/www-client/firefox-18.0/work/mozilla-release/netwerk/wifi/nsWifiMonitor.cpp:149: undefined reference to `nsWifiMonitor::DoScan()'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.2/../../../../x86_64-pc-linux-gnu/bin/ld: hidden symbol `_ZN13nsWifiMonitor6DoScanEv' isn't defined
/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.2/../../../../x86_64-pc-linux-gnu/bin/ld: final link failed: Bad value

Expected Results:  
Just compile ;-)


firefox 17 included nsWifiScannerUnix.cpp if system is Linux, there is no such include in firefox 18 anymore. There is nsWifiScannerDBus.cpp include instead but obviously it needs dbus.
Comment 1 Michel Ganguin 2013-01-12 16:48:11 UTC
USE flags : alsa jit minimal system-sqlite wifi -bindist -custom-cflags -custom-optimization -dbus -debug -gstreamer -libnotify -pgo -selinux -startup-notification
Comment 2 Michel Ganguin 2013-01-13 02:21:35 UTC
it is related to the wifi use flag,

USE="-dbus -wifi" emerge firefox

works fine.
Comment 3 Jory A. Pratt gentoo-dev 2015-01-06 14:45:41 UTC
Already been fixed in the eclass. Thanks for reporting