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] rawhide: Disable gn strict include checking
Date: Tue, 24 Nov 2026 20:51:13 GMT	[thread overview]
Message-ID: <179555347361.1.16368182027600969934.rpms-chromium-324de31e42ba@fedoraproject.org> (raw)

            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}
 

                 reply	other threads:[~2026-11-24 20:51 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=179555347361.1.16368182027600969934.rpms-chromium-324de31e42ba@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