Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 565124 - www-client/firefox ignores CC/CXX
Summary: www-client/firefox ignores CC/CXX
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Mozilla Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-11-08 09:35 UTC by Jeroen Roovers (RETIRED)
Modified: 2017-08-26 17:56 UTC (History)
0 users

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


Attachments
www-client:firefox-38.4.0:20151108-080056.log.xz (20151108-080056.log.xz,174.77 KB, application/x-xz)
2015-11-15 05:25 UTC, Jeroen Roovers (RETIRED)
Details
www-client:firefox-45.2.0:20160703-150541.log.xz (www-client:firefox-45.2.0:20160703-150541.log.xz,126.25 KB, application/x-xz)
2016-07-04 14:27 UTC, Jeroen Roovers (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jeroen Roovers (RETIRED) gentoo-dev 2015-11-08 09:35:57 UTC
!!! 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++
...
Comment 1 Ian Stakenvicius (RETIRED) gentoo-dev 2015-11-14 00:52:37 UTC
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..
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2015-11-15 05:25:57 UTC
Created attachment 417010 [details]
www-client:firefox-38.4.0:20151108-080056.log.xz
Comment 3 Jeroen Roovers (RETIRED) gentoo-dev 2016-05-06 06:19:19 UTC
All versions are now affected.
Comment 4 Ian Stakenvicius (RETIRED) gentoo-dev 2016-05-06 20:31:49 UTC
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.
Comment 5 Ian Stakenvicius (RETIRED) gentoo-dev 2016-06-08 03:13:15 UTC
New versions in the tree now with the changes described, please check.
Comment 6 Jeroen Roovers (RETIRED) gentoo-dev 2016-07-04 14:22:40 UTC
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.
Comment 7 Jeroen Roovers (RETIRED) gentoo-dev 2016-07-04 14:27:01 UTC
Created attachment 439692 [details]
www-client:firefox-45.2.0:20160703-150541.log.xz

Did these changes go into 45.2.0 at all?
Comment 8 Ian Stakenvicius (RETIRED) gentoo-dev 2016-07-06 21:11:58 UTC
(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?
Comment 9 Ian Stakenvicius (RETIRED) gentoo-dev 2016-08-08 18:18:20 UTC
How does firefox-45.3 do?
Comment 10 Jory A. Pratt gentoo-dev 2017-08-26 17:56:01 UTC
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