Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Desktop Environments
  • Search

firefox 128 can not be compiled

Problems with GUI applications? Questions about X, KDE, Gnome, Fluxbox, etc.? Come on in. NOTE: For multimedia, go up one forum
Post Reply
Advanced search
8 posts • Page 1 of 1
Author
Message
st834
Tux's lil' helper
Tux's lil' helper
Posts: 100
Joined: Thu Jun 23, 2022 8:03 pm

firefox 128 can not be compiled

  • Quote

Post by st834 » Wed Nov 13, 2024 2:33 pm

Hello, an error occurs when building firefox 128.4.0. i have now received my compilation output:
>>> Failed to emerge www-client/firefox-128.4.0, Log file:

>>> '/var/tmp/portage/www-client/firefox-128.4.0/temp/build.log'

* Messages for package www-client/firefox-128.4.0:

* ERROR: www-client/firefox-128.4.0::gentoo failed (compile phase):
* Failed to run './mach build --verbose'
*
* Call stack:
* ebuild.sh, line 136: Called src_compile
* environment, line 5178: Called virtx './mach' 'build' '--verbose'
* environment, line 6685: Called die
* The specific snippet of code:
* [[ ${retval} -ne 0 ]] && die "Failed to run '$@'";
*
* If you need support, post the output of `emerge --info '=www-client/firefox-128.4.0::gentoo'`,
* the complete build log and the output of `emerge -pqv '=www-client/firefox-128.4.0::gentoo'`.
* The complete build log is located at '/var/tmp/portage/www-client/firefox-128.4.0/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/www-client/firefox-128.4.0/temp/environment'.
* Working directory: '/var/tmp/portage/www-client/firefox-128.4.0/work/firefox-128.4.0'
* S: '/var/tmp/portage/www-client/firefox-128.4.0/work/firefox-128.4.0'
Further firefox was compiled without problems, after update to 128 version the problem is occurred. MAKEOPTS is on "-j1" setup.

I googled the Internet, but unfortunately I did not find the reason, maybe someone has already encountered this.

Thanks a lot for ideas,
Top
Juippisi
Developer
Developer
User avatar
Posts: 784
Joined: Fri Sep 30, 2005 3:51 pm
Location: /home

  • Quote

Post by Juippisi » Thu Nov 14, 2024 6:04 am

Nothing can be said from that error. You should open a bug in bugs.gentoo.org. Post your emerge --info and full build.log file. If the log file is too big, you can "xz -9" to compress it and post as compressed archive.
Top
steveo314
n00b
n00b
User avatar
Posts: 56
Joined: Fri Sep 08, 2006 3:50 am

  • Quote

Post by steveo314 » Fri Nov 15, 2024 12:53 am

Will it compile if you add

Code: Select all

-lto -pgo
to your

Code: Select all

USE
Top
ruby_R53
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 94
Joined: Sat Nov 09, 2024 1:33 pm
Location: State of São Paulo, Brazil
Contact:
Contact ruby_R53
Website

  • Quote

Post by ruby_R53 » Fri Nov 15, 2024 6:04 am

maybe you just don't have enough resources (like RAM maybe) to compile it? i had a similar error when compiling Chromium, fixed it by making a huge swap file
Top
sam_
Developer
Developer
User avatar
Posts: 2817
Joined: Fri Aug 14, 2020 12:33 am

  • Quote

Post by sam_ » Fri Nov 15, 2024 11:06 pm

I would recommend speculation be avoided until logs are provided.
Top
alogim
Tux's lil' helper
Tux's lil' helper
Posts: 132
Joined: Fri Aug 21, 2015 10:48 am

  • Quote

Post by alogim » Sun Nov 17, 2024 12:06 am

Also got the same error a few minutes ago, with -j 32 in my MAKEOPTS.
Lowering the amounts of parallel jobs did the trick for me.
I would suggest to maybe monitor your RAM usage, just to make sure it is not a memory problem.
Desktop: Gigabyte X670E Aorus Master - 7950X3D - 2x16 GB - Sapphire RX 7900XTX Vapor-X - 1 TB MP700 - be quiet! 800 FX - Samsung Odyssey Ark 55"
Phone: Samsung Galaxy S22 Ultra - 256 GB - 12 GB
Top
Juippisi
Developer
Developer
User avatar
Posts: 784
Joined: Fri Sep 30, 2005 3:51 pm
Location: /home

  • Quote

Post by Juippisi » Sun Nov 17, 2024 6:20 am

We recently flipped the default clang use flag off. By default it now builds the browser with gcc, which requires more memory. If you had no problems building Firefox before, I'd suggest enabling the clang use flag back for it.

Most likely the +clang use flag will be enabled again soon, since we now have slotted rust available in Gentoo that solves the common problems we had with +clang previously.
Top
rogge
Tux's lil' helper
Tux's lil' helper
Posts: 148
Joined: Fri Oct 13, 2006 8:20 pm
Location: Erfurt

  • Quote

Post by rogge » Tue Nov 19, 2024 8:05 am

I'd the very same issue recently. The fix was indeed '-clang'.

Thanks!
Top
Post Reply

8 posts • Page 1 of 1

Return to “Desktop Environments”

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