public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Than Ngo <than@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/chromium] epel10: Fix FTBFS with python-3.9.x on EL9
Date: Fri, 18 Sep 2026 18:41:16 GMT [thread overview]
Message-ID: <178975687623.1.9775113652472212377.rpms-chromium-3692666f6a54@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/chromium
Branch : epel10
Commit : 3692666f6a54e05b669dccaba2f8593c5abd0e79
Author : Than Ngo <than@redhat.com>
Date : 2026-09-17T11:56:32+02:00
Stats : +22/-1 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/chromium/c/3692666f6a54e05b669dccaba2f8593c5abd0e79?branch=epel10
Log:
Fix FTBFS with python-3.9.x on EL9
---
diff --git a/chromium-153-el9-python-3.9-build-error.patch b/chromium-153-el9-python-3.9-build-error.patch
new file mode 100644
index 0000000..fe433aa
--- /dev/null
+++ b/chromium-153-el9-python-3.9-build-error.patch
@@ -0,0 +1,16 @@
+Fix FTBFS with python-3.9.x on EL9
+
+def _XmlToET(tree: xml.dom.minidom.Node | ET.Element) -> ET.Element:
+TypeError: unsupported operand type(s) for |: 'type' and 'type'
+
+diff -up chromium-153.0.8010.36/tools/metrics/histograms/extract_histograms.py.me chromium-153.0.8010.36/tools/metrics/histograms/extract_histograms.py
+--- chromium-153.0.8010.36/tools/metrics/histograms/extract_histograms.py.me 2026-09-17 10:05:03.615742994 +0200
++++ chromium-153.0.8010.36/tools/metrics/histograms/extract_histograms.py 2026-09-17 11:45:18.983075013 +0200
+@@ -8,6 +8,7 @@ see histograms.xml; example path:
+ tools/metrics/histograms/metadata/uma/histograms.xml
+ """
+
++from __future__ import annotations
+ import bisect
+ import copy
+ import datetime
diff --git a/chromium.spec b/chromium.spec
index 2f993c2..266fe73 100644
--- a/chromium.spec
+++ b/chromium.spec
@@ -351,11 +351,15 @@ Patch136: chromium-133-workaround-system-ffmpeg-whitelist.patch
Patch137: chromium-147-system-ffmpeg.patch
# Workaround for missing AVDynamicHDRSmpte2094App5 in system ffmpeg
Patch138: chromium-150-ffmpeg-AVDynamicHDRSmpte2094App5.patch
+
+# Fix FTBFS with python-3.9 on el9
+Patch139: chromium-153-el9-python-3.9-build-error.patch
+
# file conflict with old kernel on el8/el9
Patch141: chromium-118-dma_buf_export_sync_file-conflict.patch
+
# Fix FTBFS with rustc-1.88 on el9 and epel10.1
Patch142: chromium-149-rust-1.88-build-error.patch
-# fix ftbfs caused by old rustc-1.88 on el9 and 10.1
Patch143: chromium-153-rust-1.88-enable-unstable_features.patch
Patch144: chromium-146-rust-1.88-undefined-symbol.patch
@@ -1121,6 +1125,7 @@ Qt6 UI for chromium.
%if 0%{?rhel} == 8 || 0%{?rhel} == 9
%patch -P141 -p1 -b .dma_buf_export_sync_file-conflict
+%patch -P139 -p1 -b .el9-python-3.9-build-error.patch
%endif
%if (0%{?rhel} && 0%{?rhel} < 10) || (0%{?rhel} == 10 && 0%{?rhel_minor_version} < 2)
reply other threads:[~2026-09-18 18:41 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=178975687623.1.9775113652472212377.rpms-chromium-3692666f6a54@fedoraproject.org \
--to=than@redhat.com \
--cc=git-commits@fedoraproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox