View previous topic :: View next topic |
Author |
Message |
rican-linux n00b
Joined: 13 Apr 2015 Posts: 34
|
Posted: Fri Jan 12, 2018 6:04 am Post subject: firefox-52.4.0 ppc64 fails to build |
|
|
I am trying to build firefox 54 on my PowerMac G5. It marked as stable in packages.gentoo.org however it is failing to build. Here is tail end of the build log. Any help to figure out what is wrong is appreciated
Code: |
Executing /var/tmp/portage/www-client/firefox-52.4.0/work/firefox-52.4.0esr/ff/dist/bin/xpcshell -g /var/tmp/portage/www-client/firefox-52.4.0/work/firefox-52.4.0esr/ff/dist/bin/ -a /var/tmp/portage/www-client/firefox-52.4.0/work/firefox-52.4.0esr/ff/dist/bin/ -f /var/tmp/portage/www-client/firefox-52.4.0/work/firefox-52.4.0esr/toolkit/mozapps/installer/precompile_cache.js -e precompile_startupcache("resource://gre/");
[22595] ###!!! ABORT: u_init() failed: file /var/tmp/portage/www-client/firefox-52.4.0/work/firefox-52.4.0esr/xpcom/build/XPCOMInit.cpp, line 709
[22595] ###!!! ABORT: u_init() failed: file /var/tmp/portage/www-client/firefox-52.4.0/work/firefox-52.4.0esr/xpcom/build/XPCOMInit.cpp, line 709
Traceback (most recent call last):
File "/var/tmp/portage/www-client/firefox-52.4.0/work/firefox-52.4.0esr/toolkit/mozapps/installer/packager.py", line 415, in <module>
main()
File "/var/tmp/portage/www-client/firefox-52.4.0/work/firefox-52.4.0esr/toolkit/mozapps/installer/packager.py", line 409, in main
args.source, gre_path, base)
File "/var/tmp/portage/www-client/firefox-52.4.0/work/firefox-52.4.0esr/toolkit/mozapps/installer/packager.py", line 166, in precompile_cache
errors.fatal('Error while running startup cache precompilation')
File "/var/tmp/portage/www-client/firefox-52.4.0/work/firefox-52.4.0esr/python/mozbuild/mozpack/errors.py", line 103, in fatal
self._handle(self.FATAL, msg)
File "/var/tmp/portage/www-client/firefox-52.4.0/work/firefox-52.4.0esr/python/mozbuild/mozpack/errors.py", line 98, in _handle
raise ErrorMessage(msg)
mozpack.errors.ErrorMessage: Error: Error while running startup cache precompilation
make[1]: *** [/var/tmp/portage/www-client/firefox-52.4.0/work/firefox-52.4.0esr/toolkit/mozapps/installer/packager.mk:41: stage-package] Error 1
make[1]: Leaving directory '/var/tmp/portage/www-client/firefox-52.4.0/work/firefox-52.4.0esr/ff/browser/installer'
make: *** [/var/tmp/portage/www-client/firefox-52.4.0/work/firefox-52.4.0esr/browser/build.mk:21: install] Error 2
[31;01m*[0m ERROR: www-client/firefox-52.4.0::gentoo failed (install phase):
[31;01m*[0m emake failed
[31;01m*[0m
[31;01m*[0m If you need support, post the output of `emerge --info '=www-client/firefox-52.4.0::gentoo'`,
[31;01m*[0m the complete build log and the output of `emerge -pqv '=www-client/firefox-52.4.0::gentoo'`.
[31;01m*[0m The complete build log is located at '/var/tmp/portage/www-client/firefox-52.4.0/temp/build.log'.
[31;01m*[0m The ebuild environment file is located at '/var/tmp/portage/www-client/firefox-52.4.0/temp/environment'.
[31;01m*[0m Working directory: '/var/tmp/portage/www-client/firefox-52.4.0/work/firefox-52.4.0esr/ff'
[31;01m*[0m S: '/var/tmp/portage/www-client/firefox-52.4.0/work/firefox-52.4.0esr'
|
|
|
Back to top |
|
|
johker n00b
Joined: 15 Mar 2018 Posts: 3
|
Posted: Thu Mar 15, 2018 8:57 am Post subject: |
|
|
Hi there, exactly same error here, Kernel 4.14.24, ppc64.
Any help will be much apreciated. Thanks |
|
Back to top |
|
|
fedeliallalinea Administrator
Joined: 08 Mar 2003 Posts: 31349 Location: here
|
Posted: Thu Mar 15, 2018 10:42 am Post subject: |
|
|
You enabled debug use flag (see here)? _________________ Questions are guaranteed in life; Answers aren't. |
|
Back to top |
|
|
John R. Graham Administrator
Joined: 08 Mar 2005 Posts: 10676 Location: Somewhere over Atlanta, Georgia
|
Posted: Thu Mar 15, 2018 11:11 am Post subject: |
|
|
Moved from Portage & Programming to Gentoo on PPC where it has a better visibility.
- John _________________ I can confirm that I have received between 0 and 499 National Security Letters. |
|
Back to top |
|
|
johker n00b
Joined: 15 Mar 2018 Posts: 3
|
|
Back to top |
|
|
johker n00b
Joined: 15 Mar 2018 Posts: 3
|
Posted: Sat Mar 17, 2018 4:30 pm Post subject: |
|
|
Still same output.
neither -debug or +custom-optimization worked. |
|
Back to top |
|
|
schwarzygesetzlos Apprentice
Joined: 11 Dec 2004 Posts: 187 Location: Funeralopolis
|
Posted: Mon Mar 26, 2018 4:54 pm Post subject: |
|
|
My working USE-flag combination for ppc64, built with gcc-7.3.0:
Code: | www-client/firefox -custom-cflags custom-optimization system-icu system-harfbuzz system-jpeg system-libevent system-libvpx system-sqlite |
With gcc-6.4.0 I needed to build with CFLAGS="-O1". Which is generally not a bad idea when building big projects with only 2 cores. _________________ Talos II. [Gentoo Linux] | PMac G5 11,2. PMac G4 3,6. PBook G4 5,8. [MorphOS 3.18 / Gentoo Linux] | Vampire V4 SA [ApolloOS / Amiga OS 3.2.2] |
|
Back to top |
|
|
Hu Administrator
Joined: 06 Mar 2007 Posts: 22857
|
Posted: Tue Mar 27, 2018 1:54 am Post subject: |
|
|
schwarzygesetzlos wrote: | With gcc-6.4.0 I needed to build with CFLAGS="-O1". Which is generally not a bad idea when building big projects with only 2 cores. | Could you explain your reasoning on this? Reducing the optimization level will reduce the work done by the compiler, which may help during the build, but it comes at the price of building less optimized code, which may run less well. You would probably be better served by reducing the load in other ways, such as reducing MAKEOPTS. |
|
Back to top |
|
|
schwarzygesetzlos Apprentice
Joined: 11 Dec 2004 Posts: 187 Location: Funeralopolis
|
Posted: Sun Apr 01, 2018 8:04 pm Post subject: |
|
|
@Hu:
Yes that's the point, that using -O1 will reduce the work done by the compiler, which shortens build time greatly on a machine from 2005. I am aware that the code is less optimized as a result. But to my experience FF needs to be rebuilt not too rarely (when some of its' deps change), which takes rather long on a G4/G5. If I had a Quad-G5 or some POWER6-9 machine, I would of course prefer -O2. Here's some nice comparison of the -O flags and some benchmarks: https://phoronix.com/scan.php?page=news_item&px=GCC-6.1-Compiler-Optimizations
Changing MAKEOPTS to -j2 or -j1 will of course reduce the load but increase build time. I guess running -j3 on this dual core machine is a good choice, and greater values may even increase build time. _________________ Talos II. [Gentoo Linux] | PMac G5 11,2. PMac G4 3,6. PBook G4 5,8. [MorphOS 3.18 / Gentoo Linux] | Vampire V4 SA [ApolloOS / Amiga OS 3.2.2] |
|
Back to top |
|
|
|