public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/gcc] snapshot: Drop fixincludes output and installed-testing files
@ 2026-11-21  3:26 Siddhesh Poyarekar
  0 siblings, 0 replies; only message in thread
From: Siddhesh Poyarekar @ 2026-11-21  3:26 UTC (permalink / raw)
  To: git-commits

            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,

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

only message in thread, other threads:[~2026-11-21  3:26 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-21  3:26 [rpms/gcc] snapshot: Drop fixincludes output and installed-testing files Siddhesh Poyarekar

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