Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 917694 - www-client/firefox-120.0 with libcxx-18: error[E0412]: cannot find type `_Pred` in this scope
Summary: www-client/firefox-120.0 with libcxx-18: error[E0412]: cannot find type `_Pre...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Mozilla Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-11-22 01:15 UTC by Alfred Wingate
Modified: 2024-03-19 09:44 UTC (History)
4 users (show)

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


Attachments
emerge --info (emerge--info.txt,7.73 KB, text/plain)
2023-11-22 01:15 UTC, Alfred Wingate
Details
www-client/firefox-120.0 build.log (xz compressed) (firefox-120.0.log.xz,491.16 KB, application/x-xz)
2023-11-22 01:16 UTC, Alfred Wingate
Details
www-client/firefox-119.0.1 build.log (xz compressed) (firefox-119.0.1.log.xz,532.92 KB, application/x-xz)
2023-11-22 01:16 UTC, Alfred Wingate
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alfred Wingate 2023-11-22 01:15:32 UTC
Created attachment 875314 [details]
emerge --info

Luckily built 119.0 prior which failed in the exact same way, so its 120.0 specific.

10:36.54 error[E0412]: cannot find type `_Pred` in this scope
10:36.54   --> /var/tmp/notmpfs/portage/www-client/firefox-120.0/work/firefox_build/instrumented/x86_64-unknown-linux-gnu/release/build/style-fd41ad599e00a9c8/out/gecko/structs.rs:18:1423905
10:36.54    |
10:36.55 18 | ...ypesCtor { pub _base : root :: std :: __1 :: _And < _Pred > , } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct tuple__Enabl...
10:36.55    |                                                        ^^^^^ not found in this scope
10:36.55    |
10:36.55 help: you might be missing a type parameter
10:36.55    |
Comment 1 Alfred Wingate 2023-11-22 01:16:02 UTC
Created attachment 875315 [details]
www-client/firefox-120.0 build.log (xz compressed)
Comment 2 Alfred Wingate 2023-11-22 01:16:32 UTC
Created attachment 875316 [details]
www-client/firefox-119.0.1 build.log (xz compressed)
Comment 3 Alfred Wingate 2023-11-22 01:29:06 UTC
To clarify

119.0.1 and 120.0.0 are both affected.

This is an llvm system with libcxx and the rest.

There is a similarish bug report in relation to llvm here https://github.com/rust-skia/rust-skia/issues/571 . But it actually being related in its cause is a question.
Comment 4 Violet Purcell 2024-01-15 22:47:58 UTC
Upstream fix will be in 123. Build still fails with a link error on libc++ 18 though.
Comment 5 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-02-27 23:29:17 UTC
*** Bug 925502 has been marked as a duplicate of this bug. ***
Comment 6 Chris Pritchard 2024-03-17 08:57:17 UTC
Violet: Since the problem with libcxx-18 that you mentioned causes an entirely different error, I opened a new bug (https://bugs.gentoo.org/927148) for it, and I've managed to patch it on my system so it now builds.
Comment 7 Larry the Git Cow gentoo-dev 2024-03-19 09:44:46 UTC
The bug has been closed via the following commit(s):

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

commit 0140e8055efe738995965ccaad8b9948f2a601a4
Author:     Joonas Niilola <juippis@gentoo.org>
AuthorDate: 2024-03-19 09:41:07 +0000
Commit:     Joonas Niilola <juippis@gentoo.org>
CommitDate: 2024-03-19 09:44:43 +0000

    www-client/firefox: add 124.0
    
     - include libcxx-18 patches, although llvm_slot_18 is still masked so
       couldn't test that,
     - rebase some patches (like always),
     - update, simplify and combine sandbox addpredict conditions with +pgo.
    
    Closes: https://bugs.gentoo.org/927148
    Closes: https://bugs.gentoo.org/917694
    Signed-off-by: Joonas Niilola <juippis@gentoo.org>

 www-client/firefox/Manifest             |  101 +++
 www-client/firefox/firefox-124.0.ebuild | 1425 +++++++++++++++++++++++++++++++
 2 files changed, 1526 insertions(+)