Currently firefox cannot be merged with USE="X clang dbus gmp-autoupdate hwaccel lto openh264 pgo system-av1 system-harfbuzz system-icu system-jpeg system-libevent system-libvpx system-webp wayland" due to build system trying to chmod the /var/lib/cache/font when built with pgo flag. VERSION 1.0 FORMAT: F - Function called FORMAT: S - Access Status FORMAT: P - Path as passed to function FORMAT: A - Absolute Path (not canonical) FORMAT: R - Canonical Path FORMAT: C - Command Line F: CHMOD S: deny P: /var/lib/cache/fontconfig A: /var/lib/cache/fontconfig R: /var/lib/cache/fontconfig C: /var/portage/tmp/portage/www-client/firefox-106.0.2/work/firefox_build/instrumented/dist/firefox/firefox data:text/html,<script>Quitter.quit()</script> -profile /var/portage/tmp/portage/www-client/firefox-106.0.2/temp/tmplzhyj6u9
Created attachment 825651 [details] build.log
I'm hitting this now as well. When I pushed 106.0.2 it worked. So what's happened after that? I see... fontconfig updated to 2.14.1 and switched from autotools to meson in that release. It's got to be related. As a temporary fix we may get away simply by using addpredict, but I guess it's fontconfig that needs to be fixed longterm here.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ae3cdef3792c2f680eb534e262c30b297f78dcee commit ae3cdef3792c2f680eb534e262c30b297f78dcee Author: Sam James <sam@gentoo.org> AuthorDate: 2022-10-28 11:23:57 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2022-10-28 11:23:57 +0000 media-libs/fontconfig: fix cache-dir for meson In 2.14.1, we lost setting the cache dir in the transition to Meson. Without this, it'd default to /var/lib/cache/fontconfig. Closes: https://bugs.gentoo.org/878471 Signed-off-by: Sam James <sam@gentoo.org> .../fontconfig/{fontconfig-2.14.1.ebuild => fontconfig-2.14.1-r1.ebuild} | 1 + 1 file changed, 1 insertion(+) Additionally, it has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2ca92c711123ecd732147d087779ad85da81712a commit 2ca92c711123ecd732147d087779ad85da81712a Author: Sam James <sam@gentoo.org> AuthorDate: 2022-10-28 11:25:08 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2022-10-28 11:25:08 +0000 profiles: mask =media-libs/fontconfig-2.14.1 Keep the mask for a bit so people know they must upgrade it. Bug: https://bugs.gentoo.org/878471 Signed-off-by: Sam James <sam@gentoo.org> profiles/package.mask | 5 +++++ 1 file changed, 5 insertions(+)
Aaand Firefox +lto +pgo emerged succesfully, thanks Sam!
(In reply to Joonas Niilola from comment #4) > Aaand Firefox +lto +pgo emerged succesfully, thanks Sam! <3