Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 933702 - www-client/firefox-126.0.1: fails to build: error: could not compile `packed_simd` (lib) due to 45 previous errors; 16 warnings emitted
Summary: www-client/firefox-126.0.1: fails to build: error: could not compile `packed_...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal
Assignee: Mozilla Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-06-06 20:01 UTC by Daniel
Modified: 2024-06-11 05:01 UTC (History)
5 users (show)

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


Attachments
build.log.tail (build.log,824.60 KB, text/x-log)
2024-06-06 20:01 UTC, Daniel
Details
emerge --info '=www-client/firefox-126.0.1::gentoo' (emerge-info,7.40 KB, text/plain)
2024-06-06 20:03 UTC, Daniel
Details
emerge --info '=www-client/firefox-126.0.1::gentoo' (emerge-info,7.39 KB, text/plain)
2024-06-06 20:04 UTC, Daniel
Details
build.log (build.log.bz2,176.29 KB, application/x-bzip2)
2024-06-06 20:33 UTC, Daniel
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel 2024-06-06 20:01:36 UTC
Created attachment 895258 [details]
build.log.tail

ERROR: www-client/firefox-126.0.1::gentoo failed (compile phase):
 *   (no error message)
Comment 1 Daniel 2024-06-06 20:03:00 UTC
Created attachment 895259 [details]
emerge --info '=www-client/firefox-126.0.1::gentoo'
Comment 2 Daniel 2024-06-06 20:04:35 UTC
Created attachment 895260 [details]
emerge --info '=www-client/firefox-126.0.1::gentoo'
Comment 3 Leonardo Hernández Hernández 2024-06-06 20:27:22 UTC
Please always include the full build.log (compressed if necessary).
Comment 4 Daniel 2024-06-06 20:33:31 UTC
Created attachment 895261 [details]
build.log
Comment 5 Joonas Niilola gentoo-dev 2024-06-07 05:44:22 UTC
dev-lang/rust:             1.78.0::gentoo
dev-lang/rust-bin:         1.77.1::gentoo

How does this happen? eselect rust and set it to 1.77 when compiling Firefox. Rust-1.78 doesn't work with ff-126.0.1.
Comment 6 Daniel 2024-06-07 09:06:37 UTC
Yup, that solved it, ff 126.0.1 is merged now. I don't know how this happened, or how it even could happen?
Comment 7 Teodor Petrov 2024-06-09 09:07:00 UTC
I'm also having this same issue.
Are you telling me that I have to either mask 1.78 or explicitly select the version of rust I don't want?
Isn't the ebuild supposed to handle this automatically?

This is the current state:
# eselect rust list
Available Rust versions:
  [1]   rust-bin-1.77.1
  [2]   rust-1.78.0 *

I can upload the build.log but it will probably be the same as the one from Daniel.
What is the point installing me rust-bin-1.77 and then failing to use it. As the very minimum you need to fail with a message that rust-1.77 is not eselected.
Comment 8 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-06-09 09:32:17 UTC
Rust isn't slotted properly and ultimately that needs fixing.

In the meantime, yes, the Firefox ebuild could check what the eselected Rust is.
Comment 9 cyrillic 2024-06-09 15:17:56 UTC
(In reply to Sam James from comment #8)
> Rust isn't slotted properly and ultimately that needs fixing.
> 

What happens if you install rust and rust-bin that are the same version ?
Comment 10 Matthew Marchese Gentoo Infrastructure gentoo-dev 2024-06-10 16:17:38 UTC
Same issue for me. eselecting rust-bin-1.77.1 resolved the issue and FF built properly.
Comment 11 Larry the Git Cow gentoo-dev 2024-06-11 05:01:31 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ffa7da20cc3e9cb6d024de944f95c0a216cff8ad

commit ffa7da20cc3e9cb6d024de944f95c0a216cff8ad
Author:     Joonas Niilola <juippis@gentoo.org>
AuthorDate: 2024-06-11 05:01:00 +0000
Commit:     Joonas Niilola <juippis@gentoo.org>
CommitDate: 2024-06-11 05:01:00 +0000

    www-client/firefox: add 127.0
    
    Closes: https://bugs.gentoo.org/933702
    Closes: https://bugs.gentoo.org/933869
    Closes: https://bugs.gentoo.org/933495
    Signed-off-by: Joonas Niilola <juippis@gentoo.org>

 www-client/firefox/Manifest             |  101 +++
 www-client/firefox/firefox-127.0.ebuild | 1417 +++++++++++++++++++++++++++++++
 2 files changed, 1518 insertions(+)