public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/chromium] rawhide: Disable gn strict include checking
@ 2026-11-24 20:51 Than Ngo
  0 siblings, 0 replies; only message in thread
From: Than Ngo @ 2026-11-24 20:51 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/chromium
            Branch : rawhide
            Commit : 324de31e42bad33e4c0fec113c8fe568d023d6ba
            Author : Than Ngo <than@redhat.com>
            Date   : 2026-11-24T21:50:01+01:00
            Stats  : +6/-0 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/chromium/c/324de31e42bad33e4c0fec113c8fe568d023d6ba?branch=rawhide

            Log:
            Disable gn strict include checking
fix FTBFS : "ERROR Input to target not generated by a dependency.

---
diff --git a/chromium.spec b/chromium.spec
index 746551a..f199873 100644
--- a/chromium.spec
+++ b/chromium.spec
@@ -1293,6 +1293,12 @@ cp -a $(pkg-config --variable=includedir libusb-1.0)/libusb-1.0/libusb.h third_p
 ln -sf %{_includedir}/simdutf.h third_party/simdutf/simdutf.h
 %endif
 
+# Fix FTBFS : "ERROR Input to target not generated by a dependency.
+# disable gn strict include checking
+if ! grep -q '^check_includes_strict' build/config/BUILDCONFIG.gn ; then
+  sed -i '1i # Disable gn strict include checking (default since gn 5262954)\ncheck_includes_strict = false\n' build/config/BUILDCONFIG.gn
+fi
+
 # Unpack official Rust 1.100.0 source (pre-vendored with .cargo/config.toml included)
 tar xf %{SOURCE20} -C %{_builddir}
 

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-11-24 20:51 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-24 20:51 [rpms/chromium] rawhide: Disable gn strict include checking Than Ngo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox