public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/chromium] epel9-next: Error TS6053: File '/builddir/build/BUILD/chromium-145.0.7632.45/out/Release/gen/third_party/devtools-frontend/src/front_end/ui/components/code_highlighter/css_files-tsconfig.json' not found.
@ 2026-08-07 16:08 Than Ngo
0 siblings, 0 replies; only message in thread
From: Than Ngo @ 2026-08-07 16:08 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/chromium
Branch : epel9-next
Commit : 6c753bc92193de746bf8669c32172b31ca2374a7
Author : Than Ngo <than@redhat.com>
Date : 2026-02-13T22:54:26+01:00
Stats : +90/-41 in 5 file(s)
URL : https://src.fedoraproject.org/rpms/chromium/c/6c753bc92193de746bf8669c32172b31ca2374a7?branch=epel9-next
Log:
Error TS6053: File '/builddir/build/BUILD/chromium-145.0.7632.45/out/Release/gen/third_party/devtools-frontend/src/front_end/ui/components/code_highlighter/css_files-tsconfig.json' not found.
update nodejs_version to v22.22.0 for epel9
---
diff --git a/.gitignore b/.gitignore
index 4dfc6e9..17434f0 100644
--- a/.gitignore
+++ b/.gitignore
@@ -45,3 +45,4 @@
/node-v22.14.0-stripped.tar.gz
/rollup-linux-arm64-gnu-4.22.4.tgz
/rollup-linux-powerpc64le-gnu-4.22.4.tgz
+/node-v22.22.0-stripped.tar.gz
diff --git a/0001-fips-disable-options.patch b/0001-fips-disable-options.patch
new file mode 100644
index 0000000..56482a2
--- /dev/null
+++ b/0001-fips-disable-options.patch
@@ -0,0 +1,84 @@
+From 98738d27288bd9ca634e29181ef665e812e7bbd3 Mon Sep 17 00:00:00 2001
+From: Michael Dawson <midawson@redhat.com>
+Date: Fri, 23 Feb 2024 13:43:56 +0100
+Subject: [PATCH] Disable FIPS options
+
+On RHEL, FIPS should be configured only on system level.
+Additionally, the related options may cause segfault when used on RHEL.
+
+This patch causes the option processing to end sooner
+than the problematic code gets executed.
+Additionally, the JS-level options to mess with FIPS settings
+are similarly disabled.
+
+Upstream report: https://github.com/nodejs/node/pull/48950
+RHBZ: https://bugzilla.redhat.com/show_bug.cgi?id=2226726
+---
+ lib/crypto.js | 10 ++++++++++
+ lib/internal/errors.js | 6 ++++++
+ src/crypto/crypto_util.cc | 2 ++
+ 3 files changed, 18 insertions(+)
+
+diff --git a/lib/crypto.js b/lib/crypto.js
+index 41adecc..b2627ac 100644
+--- a/lib/crypto.js
++++ b/lib/crypto.js
+@@ -36,7 +36,10 @@ const {
+ assertCrypto();
+
+ const {
++ // RHEL specific error
++ ERR_CRYPTO_FIPS_SYSTEM_CONTROLLED,
++
+ ERR_CRYPTO_FIPS_FORCED,
+ ERR_WORKER_UNSUPPORTED_OPERATION,
+ } = require('internal/errors').codes;
+ const constants = internalBinding('constants').crypto;
+@@ -251,6 +254,13 @@ function getFips() {
+ }
+
+ function setFips(val) {
++ // in RHEL FIPS enable/disable should only be done at system level
++ if (getFips() != val) {
++ throw new ERR_CRYPTO_FIPS_SYSTEM_CONTROLLED();
++ } else {
++ return;
++ }
++
+ if (getOptionValue('--force-fips')) {
+ if (val) return;
+ throw new ERR_CRYPTO_FIPS_FORCED();
+diff --git a/lib/internal/errors.js b/lib/internal/errors.js
+index a722360..04d8a53 100644
+--- a/lib/internal/errors.js
++++ b/lib/internal/errors.js
+@@ -1111,6 +1111,12 @@ module.exports = {
+ //
+ // Note: Node.js specific errors must begin with the prefix ERR_
+
++// insert RHEL specific erro
++E('ERR_CRYPTO_FIPS_SYSTEM_CONTROLLED',
++ 'Cannot set FIPS mode. FIPS should be enabled/disabled at system level. See' +
++ 'https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/9/html/security_hardening/assembly_installing-the-system-in-fips-mode_security-hardening for more details.\n',
++ Error);
++
+ E('ERR_ACCESS_DENIED',
+ function(msg, permission = '', resource = '') {
+ this.permission = permission;
+diff --git a/src/crypto/crypto_util.cc b/src/crypto/crypto_util.cc
+index 5734d8f..ef9d1b1 100644
+--- a/src/crypto/crypto_util.cc
++++ b/src/crypto/crypto_util.cc
+@@ -121,6 +121,8 @@ bool ProcessFipsOptions() {
+ /* Override FIPS settings in configuration file, if needed. */
+ if (per_process::cli_options->enable_fips_crypto ||
+ per_process::cli_options->force_fips_crypto) {
++ fprintf(stderr, "ERROR: Using options related to FIPS is not recommended, configure FIPS in openssl instead. See https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/9/html/security_hardening/assembly_installing-the-system-in-fips-mode_security-hardening for more details.\n");
++ return false;
+ #if OPENSSL_VERSION_MAJOR >= 3
+ OSSL_PROVIDER* fips_provider = OSSL_PROVIDER_load(nullptr, "fips");
+ if (fips_provider == nullptr)
+--
+2.43.2
+
+
diff --git a/0002-Fix-Missing-OPENSSL_NO_ENGINE-Guard.patch b/0002-Fix-Missing-OPENSSL_NO_ENGINE-Guard.patch
deleted file mode 100644
index 3e2bfb6..0000000
--- a/0002-Fix-Missing-OPENSSL_NO_ENGINE-Guard.patch
+++ /dev/null
@@ -1,36 +0,0 @@
-# crypto: fix missing OPENSSL_NO_ENGINE guard
-# PR-URL: https://github.com/nodejs/node/pull/57012
-# Reviewed-By: Richard Lau <rlau@redhat.com>
-# Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
-# Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
-# Reviewed-By: James M Snell <jasnell@gmail.com>
-
-diff --git a/src/crypto/crypto_context.cc b/src/crypto/crypto_context.cc
-index abcdef1..2345678 100644
---- a/src/crypto/crypto_context.cc
-+++ b/src/crypto/crypto_context.cc
-@@ -34,7 +34,9 @@ using ncrypto::BIOPointer;
- using ncrypto::ClearErrorOnReturn;
- using ncrypto::CryptoErrorList;
- using ncrypto::DHPointer;
-+#ifndef OPENSSL_NO_ENGINE
- using ncrypto::EnginePointer;
-+#endif // !OPENSSL_NO_ENGINE
- using ncrypto::EVPKeyPointer;
- using ncrypto::MarkPopErrorOnReturn;
- using ncrypto::SSLPointer;
-
-diff --git a/src/crypto/crypto_util.cc b/src/crypto/crypto_util.cc
-index 1234567..abcdef0 100644
---- a/src/crypto/crypto_util.cc
-+++ b/src/crypto/crypto_util.cc
-@@ -30,7 +30,9 @@
- using ncrypto::BIOPointer;
- using ncrypto::CryptoErrorList;
-+#ifndef OPENSSL_NO_ENGINE
- using ncrypto::EnginePointer;
-+#endif // !OPENSSL_NO_ENGINE
- using ncrypto::EVPKeyCtxPointer;
- using v8::ArrayBuffer;
- using v8::BackingStore;
- using v8::BigInt;
diff --git a/chromium.spec b/chromium.spec
index 980a64f..c22289e 100644
--- a/chromium.spec
+++ b/chromium.spec
@@ -48,7 +48,7 @@
%endif
# set nodejs_version
-%global nodejs_version v22.14.0
+%global nodejs_version v22.22.0
%global system_nodejs 1
# RHEL 9 needs newer nodejs
@@ -489,7 +489,7 @@ Patch502: flatpak-Expose-Widevine-into-the-sandbox.patch
# nodejs patches
%if ! %{system_nodejs}
Patch510: 0001-Remove-unused-OpenSSL-config.patch
-Patch511: 0002-Fix-Missing-OPENSSL_NO_ENGINE-Guard.patch
+Patch511: 0001-fips-disable-options.patch
%endif
# upstream patches
@@ -1257,8 +1257,8 @@ export CXX=c++
tar xf %{SOURCE12}
pushd node-%{nodejs_version}
patch -p1 < %{_sourcedir}/0001-Remove-unused-OpenSSL-config.patch
-patch -p1 < %{_sourcedir}/0002-Fix-Missing-OPENSSL_NO_ENGINE-Guard.patch
-./configure --ninja --shared-openssl --openssl-conf-name=openssl_conf --enable-static --prefix=node-%{nodejs_version}-linux-x64
+patch -p1 < %{_sourcedir}/0001-fips-disable-options.patch
+./configure --ninja --shared-openssl --openssl-is-fips --openssl-conf-name=openssl_conf --enable-static --prefix=node-%{nodejs_version}-linux-x64
ninja -j %{numjobs} -C %{chromebuilddir}
make install
popd
diff --git a/sources b/sources
index 65bbace..90bf905 100644
--- a/sources
+++ b/sources
@@ -1,4 +1,4 @@
-SHA512 (node-v22.14.0-stripped.tar.gz) = affddb541009c6d378049c2d7845b981335d9e7aa387efcc472e5efb621c345cd58ca69778a394f7e4ebbb5e4b1a115a389838ef1b6458ef5e98f2071b166e15
SHA512 (chromium-145.0.7632.45-clean.tar.xz) = 83dd783e891787b67622045ad2f2a818e9292f03d45a6313a14e7b7b18496beb2ffa55961e6f9886b325d07dbd5845217a40c74fbe554d9e7b3ebe03016771c9
SHA512 (rollup-linux-arm64-gnu-4.22.4.tgz) = 01d3d1a0d8b734a54ba2508dfd2a7817837577df1ce120671cc2a82ee886e915e0a19e2c965b1eb868a8b33ba69cf1a63ccd8eeea6805ff20975e0d4f1fdba03
SHA512 (rollup-linux-powerpc64le-gnu-4.22.4.tgz) = dda5422bdc5f596d68190a53b182493c5e9b7e959f85b46785d97285a936662c852c369acb3d043f98fd5754552c003196658a4c37d2f70c91c98de1be13e83a
+SHA512 (node-v22.22.0-stripped.tar.gz) = f32a8a73063b3c78cbacf941e11dd529ebcf2618b3ba661966312e49ee9870c43a3acf256e8d331a4b0b621b16a501810c02a3ad763c75884cc250addca8e106
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-08-07 16:08 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-07 16:08 [rpms/chromium] epel9-next: Error TS6053: File '/builddir/build/BUILD/chromium-145.0.7632.45/out/Release/gen/third_party/devtools-frontend/src/front_end/ui/components/code_highlighter/css_files-tsconfig.json' not found Than Ngo
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox