Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
firefox 128 can not be compiled
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
st834
Tux's lil' helper
Tux's lil' helper


Joined: 23 Jun 2022
Posts: 96

PostPosted: Wed Nov 13, 2024 2:33 pm    Post subject: firefox 128 can not be compiled Reply with quote

Hello, an error occurs when building firefox 128.4.0. i have now received my compilation output:

Quote:

>>> 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,
Back to top
View user's profile Send private message
Juippisi
Developer
Developer


Joined: 30 Sep 2005
Posts: 756
Location: /home

PostPosted: Thu Nov 14, 2024 6:04 am    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message
steveo314
n00b
n00b


Joined: 08 Sep 2006
Posts: 55

PostPosted: Fri Nov 15, 2024 12:53 am    Post subject: Reply with quote

Will it compile if you add
Code:
-lto -pgo
to your
Code:
USE
Back to top
View user's profile Send private message
ruby_R53
n00b
n00b


Joined: 09 Nov 2024
Posts: 6
Location: State of São Paulo, Brazil

PostPosted: Fri Nov 15, 2024 6:04 am    Post subject: Reply with quote

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
Back to top
View user's profile Send private message
sam_
Developer
Developer


Joined: 14 Aug 2020
Posts: 1972

PostPosted: Fri Nov 15, 2024 11:06 pm    Post subject: Reply with quote

I would recommend speculation be avoided until logs are provided.
Back to top
View user's profile Send private message
alogim
Tux's lil' helper
Tux's lil' helper


Joined: 21 Aug 2015
Posts: 132

PostPosted: Sun Nov 17, 2024 12:06 am    Post subject: Reply with quote

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
Back to top
View user's profile Send private message
Juippisi
Developer
Developer


Joined: 30 Sep 2005
Posts: 756
Location: /home

PostPosted: Sun Nov 17, 2024 6:20 am    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message
rogge
Tux's lil' helper
Tux's lil' helper


Joined: 13 Oct 2006
Posts: 133
Location: Erfurt

PostPosted: Tue Nov 19, 2024 8:05 am    Post subject: Reply with quote

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

Thanks!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum