From 16fe96ce1dfd0b2df92215d46ed8246753b22f55 Mon Sep 17 00:00:00 2001 From: Matt Jolly Date: Wed, 16 Jul 2025 10:19:49 +1000 Subject: [PATCH] www-client/chromium: fix PaX kernel build In M134 `code_cache_generator` was added to the build process. This needs to be `pax-mark`ed for builds to complete successfully. Closes: https://bugs.gentoo.org/959502 Suggested-by: Guillaume Ceccarelli Signed-off-by: Matt Jolly --- www-client/chromium/chromium-138.0.7204.100.ebuild | 2 +- www-client/chromium/chromium-138.0.7204.157.ebuild | 2 +- www-client/chromium/chromium-138.0.7204.92.ebuild | 2 +- www-client/chromium/chromium-139.0.7258.31.ebuild | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/www-client/chromium/chromium-138.0.7204.100.ebuild b/www-client/chromium/chromium-138.0.7204.100.ebuild index 39da36dbde7b2..12f65ebe54781 100644 --- a/www-client/chromium/chromium-138.0.7204.100.ebuild +++ b/www-client/chromium/chromium-138.0.7204.100.ebuild @@ -1240,7 +1240,7 @@ chromium_compile() { # Build mksnapshot and pax-mark it. if use pax-kernel; then local x - for x in mksnapshot v8_context_snapshot_generator; do + for x in mksnapshot v8_context_snapshot_generator code_cache_generator; do if tc-is-cross-compiler; then eninja -C out/Release "host/${x}" pax-mark m "out/Release/host/${x}" diff --git a/www-client/chromium/chromium-138.0.7204.157.ebuild b/www-client/chromium/chromium-138.0.7204.157.ebuild index 39da36dbde7b2..12f65ebe54781 100644 --- a/www-client/chromium/chromium-138.0.7204.157.ebuild +++ b/www-client/chromium/chromium-138.0.7204.157.ebuild @@ -1240,7 +1240,7 @@ chromium_compile() { # Build mksnapshot and pax-mark it. if use pax-kernel; then local x - for x in mksnapshot v8_context_snapshot_generator; do + for x in mksnapshot v8_context_snapshot_generator code_cache_generator; do if tc-is-cross-compiler; then eninja -C out/Release "host/${x}" pax-mark m "out/Release/host/${x}" diff --git a/www-client/chromium/chromium-138.0.7204.92.ebuild b/www-client/chromium/chromium-138.0.7204.92.ebuild index 14e2117f6a112..90e2738a02e4a 100644 --- a/www-client/chromium/chromium-138.0.7204.92.ebuild +++ b/www-client/chromium/chromium-138.0.7204.92.ebuild @@ -1240,7 +1240,7 @@ chromium_compile() { # Build mksnapshot and pax-mark it. if use pax-kernel; then local x - for x in mksnapshot v8_context_snapshot_generator; do + for x in mksnapshot v8_context_snapshot_generator code_cache_generator; do if tc-is-cross-compiler; then eninja -C out/Release "host/${x}" pax-mark m "out/Release/host/${x}" diff --git a/www-client/chromium/chromium-139.0.7258.31.ebuild b/www-client/chromium/chromium-139.0.7258.31.ebuild index ec55ffac45830..db461917a78a2 100644 --- a/www-client/chromium/chromium-139.0.7258.31.ebuild +++ b/www-client/chromium/chromium-139.0.7258.31.ebuild @@ -1239,7 +1239,7 @@ chromium_compile() { # Build mksnapshot and pax-mark it. if use pax-kernel; then local x - for x in mksnapshot v8_context_snapshot_generator; do + for x in mksnapshot v8_context_snapshot_generator code_cache_generator; do if tc-is-cross-compiler; then eninja -C out/Release "host/${x}" pax-mark m "out/Release/host/${x}"