public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Siddhesh Poyarekar <siddhesh@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/gcc] snapshot: Drop fixincludes output and installed-testing files
Date: Sat, 21 Nov 2026 03:26:29 GMT	[thread overview]
Message-ID: <179523158935.1.1684176558626199869.rpms-gcc-825fd3db1e09@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : rpms/gcc
            Branch : snapshot
            Commit : 825fd3db1e09150903dbaa3ad607df48050c044c
            Author : Siddhesh Poyarekar <siddhesh@redhat.com>
            Date   : 2026-11-20T22:26:20-05:00
            Stats  : +11/-2 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/gcc/c/825fd3db1e09150903dbaa3ad607df48050c044c?branch=snapshot

            Log:
            Drop fixincludes output and installed-testing files

The %_unpackaged_files_terminate_build check caught three files at
the end of the S16 build: include-fixed/python3.15/internal/mimalloc/
mimalloc/prim.h (fixincludes output -- python 3.15, new in the rawhide
buildroot since S15, bundles mimalloc internals that trip a fixincludes
heuristic) and testsuite/auto-host.h + testsuite/et-static.exp (from
upstream r55bca2dd389 install-testsuite target, installed for
contrib/test_installed).

Nothing in Fedora gcc ships include-fixed content, and we do not ship
the testsuite, so remove both in %install, with one-line comments
noting they could be packaged instead if either is ever needed.

Assisted-by: GLM 5.3

---
diff --git a/gcc.spec b/gcc.spec
index ecbff2e..870414a 100644
--- a/gcc.spec
+++ b/gcc.spec
@@ -8,7 +8,7 @@
 %if %{snapshot_build}
 %global snapext s
 %global gcc_release 999
-%global gcc_release_suffix .%{DATE}%{snapext}.2
+%global gcc_release_suffix .%{DATE}%{snapext}.3
 %else
 %global gcc_release 0
 %global gcc_release_suffix .11
@@ -3340,7 +3340,12 @@ rm -f %{buildroot}%{_prefix}/%{_lib}/lib{itm,lsan,m2{cor,iso,log,min,pim},objc,q
 rm -f %{buildroot}%{_prefix}/%{_lib}/libatomic_asneeded.a || :
 rm -f %{buildroot}%{_prefix}/libexec/gcc/%{gcc_target_platform}/%{gcc_major}/install-tools/{fixinc.sh,mkinstalldirs} || :
 rm -f %{buildroot}%{_prefix}/share/locale/*/LC_MESSAGES/libstdc++.mo || :
-rm -f %{buildroot}%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_major}/include-fixed/README || :
+# Buildroot-dependent fixincludes output (e.g. python3.15's mimalloc internals); nothing ships it, package it instead if that ever changes.
+rm -rf %{buildroot}%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_major}/include-fixed || :
+# Only useful for installed testing (contrib/test_installed); package them instead if we ever need that.
+rm -f %{buildroot}%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_major}/testsuite/auto-host.h \
+      %{buildroot}%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_major}/testsuite/et-static.exp || :
+rmdir %{buildroot}%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_major}/testsuite 2>/dev/null || :
 rm -rf %{buildroot}%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_major}/include/ssp || :
 rm -rf %{buildroot}%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_major}/install-tools || :
 %ifarch ppc ppc64 ppc64le ppc64p7
@@ -5220,6 +5225,10 @@ end
 %endif
 
 %changelog
+* Fri Nov 20 2026 Siddhesh Poyarekar <siddhesh@redhat.com> gcc-17.0.0-999.20261120s.3
+- remove buildroot-dependent fixincludes output and unused
+  installed-testing files (testsuite/auto-host.h,
+  testsuite/et-static.exp), which broke the %files check
 * Fri Nov 20 2026 Siddhesh Poyarekar <siddhesh@redhat.com> gcc-17.0.0-999.20261120s.2
 - update from trunk
   - PRs ada/128457, ada/128693, ada/128723, ada/128810, algol68/128378,

                 reply	other threads:[~2026-11-21  3:26 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=179523158935.1.1684176558626199869.rpms-gcc-825fd3db1e09@fedoraproject.org \
    --to=siddhesh@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