commit:     16fe96ce1dfd0b2df92215d46ed8246753b22f55
Author:     Matt Jolly <kangie <AT> gentoo <DOT> org>
AuthorDate: Wed Jul 16 00:19:49 2025 +0000
Commit:     Matt Jolly <kangie <AT> gentoo <DOT> org>
CommitDate: Wed Jul 16 16:56:57 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=16fe96ce

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 <guillaume <AT> gcs-ventures.com>
Signed-off-by: Matt Jolly <kangie <AT> gentoo.org>

 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 39da36dbde7b..12f65ebe5478 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 39da36dbde7b..12f65ebe5478 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 14e2117f6a11..90e2738a02e4 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 ec55ffac4583..db461917a78a 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}"

Reply via email to