Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 516534 (firefox-30.0) - www-client/firefox-30.0 - configure: error: Necko WiFi scanning needs DBus on your platform, remove --disable-dbus or use --disable-necko-wifi
Summary: www-client/firefox-30.0 - configure: error: Necko WiFi scanning needs DBus on...
Status: RESOLVED FIXED
Alias: firefox-30.0
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal
Assignee: Mozilla Gentoo Team
URL:
Whiteboard:
Keywords: InOverlay
: 518532 (view as bug list)
Depends on:
Blocks:
 
Reported: 2014-07-06 19:09 UTC by Joe M
Modified: 2014-08-01 21:06 UTC (History)
4 users (show)

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


Attachments
complete build log (www-client:firefox-30.0:20140706-190425.log,32.33 KB, text/plain)
2014-07-06 19:11 UTC, Joe M
Details
emerge --info '=www-client/firefox-30.0::mozilla' (emerge-info.txt,29.31 KB, text/plain)
2014-07-06 19:13 UTC, Joe M
Details
emerge -pqv '=www-client/firefox-30.0::mozilla' (emerge-pqv.txt,681 bytes, text/plain)
2014-07-06 19:14 UTC, Joe M
Details
fix USE=“-wifi -dbus" (mozconfig-v4.eclass.patch,776 bytes, patch)
2014-07-29 13:10 UTC, Another Mortal
Details | Diff
fix USE=“-wifi -dbus" (mozconfig-v4.eclass.patch,1021 bytes, patch)
2014-07-29 14:13 UTC, Another Mortal
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Joe M 2014-07-06 19:09:51 UTC
Hello,

Firefox-30.0 compilation fails with the below message:

configure:26249: x86_64-pc-linux-gnu-gcc -c -pipe -pipe -ftracer -fgcse-after-reload -march=corei7-avx -mcx16 -msahf -mno-movbe -mno-aes -mpclmul -mpopcnt -mno-abm -mno-lwp -mno-fma -mno-fma4 -mno-xop -mno-bmi -mno-tbm -mno-avx -msse4.2 -msse4.1 --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=3072 -mtune=corei7-avx  -mno-avx -std=gnu99 -fgnu89-inline -fno-strict-aliasing -fno-math-errno -pthread -pipe  conftest.c 1>&5
configure:26243:27: fatal error: sys/int_types.h: No such file or directory
compilation terminated.
configure: failed program was:
#line 26241 "configure"
#include "confdefs.h"

#include <sys/int_types.h>
int main() {

; return 0; }
configure:26500: checking for cairo >= 1.10
configure:26507: checking CAIRO_CFLAGS
configure:26512: checking CAIRO_LIBS
configure:26593: checking for cairo-tee >= 1.10
configure:26600: checking CAIRO_TEE_CFLAGS
configure:26605: checking CAIRO_TEE_LIBS
configure:26685: checking for cairo-xlib-xrender >= 1.10
configure:26692: checking CAIRO_XRENDER_CFLAGS
configure:26697: checking CAIRO_XRENDER_LIBS
configure: error: Necko WiFi scanning needs DBus on your platform, remove --disable-dbus or use --disable-necko-wifi
*** Fix above errors and then restart with\
               "make -f client.mk build"
make[2]: *** [configure] Error 1
make[2]: Leaving directory `/var/tmp/portage/www-client/firefox-30.0/work/mozilla-release'
make[1]: *** [obj-x86_64-pc-linux-gnu/Makefile] Error 2
make[1]: Leaving directory `/var/tmp/portage/www-client/firefox-30.0/work/mozilla-release'
make: *** [build] Error 2
 * ERROR: www-client/firefox-30.0::mozilla failed (compile phase):
 *   emake failed
 * 
 * If you need support, post the output of `emerge --info '=www-client/firefox-30.0::mozilla'`,
 * the complete build log and the output of `emerge -pqv '=www-client/firefox-30.0::mozilla'`.
 * The complete build log is located at '/var/log/portage/www-client:firefox-30.0:20140706-190425.log'.
 * For convenience, a symlink to the build log is located at '/var/tmp/portage/www-client/firefox-30.0/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/www-client/firefox-30.0/temp/environment'.
 * Working directory: '/var/tmp/portage/www-client/firefox-30.0/work/mozilla-release'
 * S: '/var/tmp/portage/www-client/firefox-30.0/work/mozilla-release'

>>> Failed to emerge www-client/firefox-30.0, Log file:

>>>  '/var/log/portage/www-client:firefox-30.0:20140706-190425.log'

 * Messages for package www-client/firefox-30.0:

 * You are enabling official branding. You may not redistribute this build
 * to any users on your network or the internet. Doing so puts yourself into
 * a legal problem with Mozilla Foundation
 * You can disable it by emerging firefox _with_ the bindist USE-flag
 * ERROR: www-client/firefox-30.0::mozilla failed (compile phase):
 *   emake failed
 * 
 * If you need support, post the output of `emerge --info '=www-client/firefox-30.0::mozilla'`,
 * the complete build log and the output of `emerge -pqv '=www-client/firefox-30.0::mozilla'`.
 * The complete build log is located at '/var/log/portage/www-client:firefox-30.0:20140706-190425.log'.
 * For convenience, a symlink to the build log is located at '/var/tmp/portage/www-client/firefox-30.0/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/www-client/firefox-30.0/temp/environment'.
 * Working directory: '/var/tmp/portage/www-client/firefox-30.0/work/mozilla-release'
 * S: '/var/tmp/portage/www-client/firefox-30.0/work/mozilla-release'


Attached are the logs.

Thanks
Joe

Reproducible: Always
Comment 1 Joe M 2014-07-06 19:11:51 UTC
Created attachment 380320 [details]
complete build log
Comment 2 Joe M 2014-07-06 19:13:16 UTC
Created attachment 380324 [details]
emerge --info '=www-client/firefox-30.0::mozilla'
Comment 3 Joe M 2014-07-06 19:14:30 UTC
Created attachment 380326 [details]
emerge -pqv '=www-client/firefox-30.0::mozilla'
Comment 4 Jory A. Pratt gentoo-dev 2014-07-08 00:13:11 UTC
An updated ebuild is in the overlay which makes uses of mozconfig-v4.eclass which accounts for such issue.
Comment 5 charles17 2014-07-29 08:51:01 UTC
Same error for www-client/firefox-31.0
Comment 6 Maxim Britov 2014-07-29 10:23:07 UTC
It seems necko-wifi enabled by default in configure.in.
And with current mozconfig-v4.eclass it will always enabled:

if has wifi ${IUSE} && use wifi; then
     if ! use dbus; then
           echo "Enabling dbus support due to wifi request"
           mozconfig_annotate wifi --enable-necko-wifi
           mozconfig_annotate dbus --enable-dbus
     else
           mozconfig_annotate wifi --enable-necko-wifi
     fi
fi
Comment 7 Another Mortal 2014-07-29 13:10:53 UTC
Created attachment 381812 [details, diff]
fix USE=“-wifi -dbus"

Indeed, USE=-wifi has no effect with the current mozconfig-v4.eclass.
I’ve attached a patch with suggested changes (only tested with -dbus -wifi).
Comment 8 Another Mortal 2014-07-29 14:13:04 UTC
Created attachment 381818 [details, diff]
fix USE=“-wifi -dbus"

Oops..  Apparently, I started editing the original.. sorry!
This time the patch is against the original .eclass
Comment 9 charles17 2014-07-29 14:22:21 UTC
Thanks Another Mortal, now it seems to work.  Still compiling ..
Comment 10 Ian Stakenvicius (RETIRED) gentoo-dev 2014-07-29 14:43:03 UTC
There is a minor issue with this syntax; one of the reasons the 'has wifi' exists in the conditional is because not every ebuild that inherits mozconfig-v4.eclass will have wifi in IUSE.  However, it is simple enough to adjust the patch to accomodate.

Thanks!!  Will be fixed in tree shortly.
Comment 11 Ian Stakenvicius (RETIRED) gentoo-dev 2014-07-29 20:44:11 UTC
+  29 Jul 2014; Ian Stakenvicius (_AxS_) <axs@gentoo.org> mozconfig-v4.eclass:
+  fixed bug 516534 in mozconfig-v4.eclass, also tweaked a couple of dependency
+  versions
+


Please report back, if all is good i'll close the bug.
Comment 12 charles17 2014-07-30 05:34:30 UTC
Works fine here.  Please also mark bug 518532 duplicate of this one.
Comment 13 Ian Stakenvicius (RETIRED) gentoo-dev 2014-07-30 14:11:39 UTC
*** Bug 518532 has been marked as a duplicate of this bug. ***
Comment 14 Joe M 2014-08-01 16:25:55 UTC
Hello,

Which overlay is this updated ebuild?

I cannot seem to find it in the gentoo tree or the mozilla overlay.

Thanks
Joe
Comment 15 Ian Stakenvicius (RETIRED) gentoo-dev 2014-08-01 16:30:56 UTC
it's fixed in firefox-31 in the portage tree.  Firefox-30 will be removed very soon due to security vulnerabilities.
Comment 16 Joe M 2014-08-01 21:02:03 UTC
firefox-31.0 compiled fine. Thanks for the fix.