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
Created attachment 380320 [details] complete build log
Created attachment 380324 [details] emerge --info '=www-client/firefox-30.0::mozilla'
Created attachment 380326 [details] emerge -pqv '=www-client/firefox-30.0::mozilla'
An updated ebuild is in the overlay which makes uses of mozconfig-v4.eclass which accounts for such issue.
Same error for www-client/firefox-31.0
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
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).
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
Thanks Another Mortal, now it seems to work. Still compiling ..
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.
+ 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.
Works fine here. Please also mark bug 518532 duplicate of this one.
*** Bug 518532 has been marked as a duplicate of this bug. ***
Hello, Which overlay is this updated ebuild? I cannot seem to find it in the gentoo tree or the mozilla overlay. Thanks Joe
it's fixed in firefox-31 in the portage tree. Firefox-30 will be removed very soon due to security vulnerabilities.
firefox-31.0 compiled fine. Thanks for the fix.