I noticed that since the end of 2023/beginning of 2024, the `clang` USE for `www-client/firefox` was masked when it worked perfectly fine from around the end of 2022 onwards. Since Clang is the official upstream compiler and the fact musl/llvm profiles aren't focused on (and don't include?) GCC, it doesn't make sense to mask `clang`. After some digging, I found that a bug caused the USE to be masked on 2022-07-27, but this clearly no longer applies since it worked well after that date and it works fine when removing the force-masked `clang` USE by commenting out line 94 in `/var/db/repos/gentoo/profiles/features/musl/package.use.mask`, which seems to be the issue. This seems to be a bug which is caused by reverting the mask when it doesn't seem to be required. I have successfully compiled and run Firefox after I commented out the line in the file in question.
I guess it was related to libcxx being broken. Yeah I have no way to test this currently, I can lift off the mask and let's see what happens.
Oh, actually, I see it's masked in regular musk profile too. I can test it on musl with firefox[clang], but not on musl/llvm.
Yeah, looks like I can't actually compile it on musl with +clang.
I'm unsure about standard musl profile, but it's working for me since first attempt of commenting out the line in the file I mentioned on musl/llvm profile. I've asked other people to test it on their musl profiles.
I can confirm that I can compile on musl with +clang. I am on the musl/hardened/selinux profile.
Actually my bad, I see my musl test container has package.masked rust and it somehow ended up pulling rust-bin >1.73 which is broken. With source-built rust Firefox does compile.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d48fc6e32f86ef142c73c7c546d23d607334319e commit d48fc6e32f86ef142c73c7c546d23d607334319e Author: Joonas Niilola <juippis@gentoo.org> AuthorDate: 2024-02-11 06:37:40 +0000 Commit: Joonas Niilola <juippis@gentoo.org> CommitDate: 2024-02-11 06:40:15 +0000 profiles/default/linux: remove firefox[clang] mask on musl profiles - while with ugly implementation, the current firefox:rapid ebuild should work with source-built rust on musl. Closes: https://bugs.gentoo.org/924061 Signed-off-by: Joonas Niilola <juippis@gentoo.org> profiles/default/linux/amd64/17.0/musl/clang/package.use.mask | 6 ------ profiles/default/linux/amd64/23.0/musl/llvm/package.use.mask | 6 ------ .../default/linux/amd64/23.0/split-usr/musl/llvm/package.use.mask | 6 ------ profiles/default/linux/arm64/17.0/musl/llvm/package.use.mask | 6 ------ profiles/default/linux/arm64/23.0/musl/llvm/package.use.mask | 6 ------ .../default/linux/arm64/23.0/split-usr/musl/llvm/package.use.mask | 6 ------ profiles/features/musl/package.use.mask | 5 ----- 7 files changed, 41 deletions(-)