Created attachment 411212 [details] compressed build.log tried to emerge firefox on x86 with debug useflag. my useflags are USE="dbus debug* gstreamer jemalloc3 minimal system-cairo system-icu system-jpeg system-libvpx system-sqlite -bindist -custom-cflags -custom-optimization -egl -gmp-autoupdate -gstreamer-0 (-hardened) -jit (-neon) (-pgo) -pulseaudio (-selinux) -startup-notification {-test} -wifi" the compressed build log is attached. my guess is that this is the most important part? In file included from /var/tmp/portage/www-client/firefox-40.0.3-r99/work/mozilla-release/media/mtransport/third_party/nrappkit/src/share/nr_api.h:42:0, from /var/tmp/portage/www-client/firefox-40.0.3-r99/work/mozilla-release/media/mtransport/test/buffered_stun_socket_unittest.cpp:18: ../../../dist/system_wrappers/sys/queue.h:3:28: fatal error: sys/queue.h: No such file or directory #include_next <sys/queue.h> ^ compilation terminated. /var/tmp/portage/www-client/firefox-40.0.3-r99/work/mozilla-release/config/rules.mk:946: recipe for target 'buffered_stun_socket_unittest.o' failed
Created attachment 411214 [details] emerge.info
Try to see if https://hg.mozilla.org/mozilla-central/raw-rev/a5f9103a3f66 applies cleanly and fixes it. It will be unnecessary with version 41. The corresponding bug is: https://bugzilla.mozilla.org/show_bug.cgi?id=1152185
(In reply to Felix Janda from comment #2) > Try to see if > > https://hg.mozilla.org/mozilla-central/raw-rev/a5f9103a3f66 > > applies cleanly and fixes it. It will be unnecessary with version 41. > > The corresponding bug is: > https://bugzilla.mozilla.org/show_bug.cgi?id=1152185 To make life easier please use the mozilla overlay, we always keep the latest beta available for testing and porting
@ Jorry A. Pratt: The mozilla overlay does not have the patches necessary for building with musl libc. Current hg firefox needs at least 5 patches.
(In reply to Felix Janda from comment #4) > @ Jorry A. Pratt: > The mozilla overlay does not have the patches necessary for building > with musl libc. Current hg firefox needs at least 5 patches. That is true, but all the mozilla-based packages support 'epatch_user', and the packages on mozilla-overlay usually include an ebuild of newer versions than the main tree.
merged upstream from firefox-41.x on.