!!! JeR-QA: gcc -> powerpc64-unknown-linux-gnu-gcc checking how to run the C preprocessor... /lib/cpp checking how to run the C++ preprocessor... /lib/cpp ... js/src> !!! JeR-QA: gcc -> powerpc64-unknown-linux-gnu-gcc js/src> checking how to run the C preprocessor... (cached) /lib/cpp js/src> checking how to run the C++ preprocessor... (cached) /lib/cpp ... make[4]: Entering directory '/var/tmp/portage/www-client/firefox-38.4.0/work/mozilla-esr38/ff/config' mkdir -p '.deps/' host_nsinstall.o gcc -o host_nsinstall.o -c -ggdb -mcpu=G5 -mtune=G5 -Wall -fPIC -mminimal-toc -DXP_UNIX -MD -MP -MF .deps/host_nsinstall.o.pp -O3 - DUNICODE -D_UNICODE -I/var/tmp/portage/www-client/firefox-38.4.0/work/mozilla-esr38/config -I. -I../dist/include -I/usr/include/ns pr /var/tmp/portage/www-client/firefox-38.4.0/work/mozilla-esr38/config/nsinstall.c host_pathsub.o gcc -o host_pathsub.o -c -ggdb -mcpu=G5 -mtune=G5 -Wall -fPIC -mminimal-toc -DXP_UNIX -MD -MP -MF .deps/host_pathsub.o.pp -O3 -DUNI CODE -D_UNICODE -I/var/tmp/portage/www-client/firefox-38.4.0/work/mozilla-esr38/config -I. -I../dist/include -I/usr/include/nspr / var/tmp/portage/www-client/firefox-38.4.0/work/mozilla-esr38/config/pathsub.c !!! JeR-QA: gcc -> powerpc64-unknown-linux-gnu-gcc !!! JeR-QA: gcc -> powerpc64-unknown-linux-gnu-gcc ... c++ -o nsGTKRemoteService.o -c -I../../../dist/stl_wrappers -I../../../dist/system_wrappers -include /var/tmp/portage/www-client/fir efox-38.4.0/work/mozilla-esr38/config/gcc_hidden.h -DSTATIC_EXPORTABLE_JS_API -DMOZILLA_INTERNAL_API -DIMPL_LIBXUL -DMOZ_GLUE_IN_PRO GRAM -DAB_CD=en-US -DNO_NSPR_10_SUPPORT -I/var/tmp/portage/www-client/firefox-38.4.0/work/mozilla-esr38/toolkit/components/remote -I . -I../../../dist/include -I/usr/include/nspr -I/usr/include/nss -fPIC -DMOZILLA_CLIENT -include ../../../mozilla-config. h -MD -MP -MF .deps/nsGTKRemoteService.o.pp -Wall -Wempty-body -Woverloaded-virtual -Wsign-compare -Wwrite-strings -Wno-invalid-off setof -Wcast-align -ggdb -mcpu=G5 -mtune=G5 -Wall -fPIC -mminimal-toc -fno-exceptions -fno-strict-aliasing -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -freorder-blocks -Os -fomit-frame-pointer -I/var/tmp/portage/www-c lient/firefox-38.4.0/work/mozilla-esr38/widget/gtk/compat -pthread -I/usr/include/gtk-2.0 -I/usr/include/gtk-unix-print-2.0 -I/usr/i nclude/gtk-2.0 -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/i nclude -I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libdrm -I/usr/i nclude/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include /var/tmp/portage/www-client/f irefox-38.4.0/work/mozilla-esr38/toolkit/components/remote/nsGTKRemoteService.cpp nsXRemoteService.o !!! JeR-QA: c++ -> powerpc64-unknown-linux-gnu-g++ ...
Could you attach the full build.log? This /lib/cpp for the C preprocessor and C++ preprocessor looks very odd, I'd like to see the rest of the configure output..
Created attachment 417010 [details] www-client:firefox-38.4.0:20151108-080056.log.xz
All versions are now affected.
I have no idea if this will help or not, but, please try firefox-46.0 from the mozilla overlay. I've just pushed the various changes (except for one patch related to the system-NSS detection in the build system) that has allowed me to successfully cross-build firefox and thunderbird. I don't know if this will suffice or not, but it's worth a shot. The only other possible option will be to assing CC, CXX, etc via MOZ_MAKE_FLAGS, but I honestly don't think that's going to make any difference.
New versions in the tree now with the changes described, please check.
In 45.2.0 I see it is still using `cc` to compile nsinstall early on in the build process. It is likely that it picks `cc` by default, i.e. for that part of the build CC is not set. Since it's a build only tool, I guess this will still make the build fail when using distcc.
Created attachment 439692 [details] www-client:firefox-45.2.0:20160703-150541.log.xz Did these changes go into 45.2.0 at all?
(In reply to Jeroen Roovers from comment #7) > Created attachment 439692 [details] > www-client:firefox-45.2.0:20160703-150541.log.xz > > Did these changes go into 45.2.0 at all? Some did, some didn't it seems. 46.0 was the one I pushed everything to. That said I've just committed a change to the mozcoreconf eclass that I think will resolve these things once and for all. Give it another shot and let me know?
How does firefox-45.3 do?
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