Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Architectures & Platforms Gentoo on PPC
  • Search

firefox-52.4.0 ppc64 fails to build

Have a PowerPC specific problem? This is the spot.
Post Reply
Advanced search
9 posts • Page 1 of 1
Author
Message
rican-linux
n00b
n00b
Posts: 34
Joined: Mon Apr 13, 2015 2:27 am
Contact:
Contact rican-linux
Website

firefox-52.4.0 ppc64 fails to build

  • Quote

Post by rican-linux » Fri Jan 12, 2018 6:04 am

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: Select all

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'
Top
johker
n00b
n00b
Posts: 3
Joined: Thu Mar 15, 2018 8:49 am

  • Quote

Post by johker » Thu Mar 15, 2018 8:57 am

Hi there, exactly same error here, Kernel 4.14.24, ppc64.
Any help will be much apreciated. Thanks
Top
fedeliallalinea
Administrator
Administrator
User avatar
Posts: 31985
Joined: Sat Mar 08, 2003 11:15 pm
Location: here
Contact:
Contact fedeliallalinea
Website

  • Quote

Post by fedeliallalinea » Thu Mar 15, 2018 10:42 am

You enabled debug use flag (see here)?
Questions are guaranteed in life; Answers aren't.

"Those who would give up essential liberty to purchase a little temporary safety,
deserve neither liberty nor safety."
- Ben Franklin
https://www.news.admin.ch/it/nsb?id=103968
Top
John R. Graham
Administrator
Administrator
User avatar
Posts: 10898
Joined: Tue Mar 08, 2005 3:39 pm
Location: Somewhere over Winder, Georgia, USA

  • Quote

Post by John R. Graham » Thu Mar 15, 2018 11:11 am

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.
Top
johker
n00b
n00b
Posts: 3
Joined: Thu Mar 15, 2018 8:49 am

  • Quote

Post by johker » Thu Mar 15, 2018 6:20 pm

Thanks, but no success..
Compilation took more to complete, like 4h or more didn't take notice, but failed with same error, trying +custom-optimiztion, as described in https://forums.gentoo.org/viewtopic-t-1 ... 5c7d8dcd06
Top
johker
n00b
n00b
Posts: 3
Joined: Thu Mar 15, 2018 8:49 am

  • Quote

Post by johker » Sat Mar 17, 2018 4:30 pm

Still same output.
neither -debug or +custom-optimization worked.
Top
schwarzygesetzlos
Apprentice
Apprentice
Posts: 192
Joined: Sat Dec 11, 2004 2:58 pm
Location: Funeralopolis

  • Quote

Post by schwarzygesetzlos » Mon Mar 26, 2018 4:54 pm

My working USE-flag combination for ppc64, built with gcc-7.3.0:

Code: Select all

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.19 / Gentoo Linux / Adelie Linux] | A600GS [Amibench / Amiga OS 3.2.3]
Top
Hu
Administrator
Administrator
Posts: 24389
Joined: Tue Mar 06, 2007 5:38 am

  • Quote

Post by Hu » Tue Mar 27, 2018 1:54 am

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.
Top
schwarzygesetzlos
Apprentice
Apprentice
Posts: 192
Joined: Sat Dec 11, 2004 2:58 pm
Location: Funeralopolis

  • Quote

Post by schwarzygesetzlos » Sun Apr 01, 2018 8:04 pm

@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 ... imizations

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.19 / Gentoo Linux / Adelie Linux] | A600GS [Amibench / Amiga OS 3.2.3]
Top
Post Reply

9 posts • Page 1 of 1

Return to “Gentoo on PPC”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic