public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/sblim-cmpi-base] rawhide: Fix FTBFS
@ 2026-09-08 11:59 Vitezslav Crhonek
  0 siblings, 0 replies; only message in thread
From: Vitezslav Crhonek @ 2026-09-08 11:59 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/sblim-cmpi-base
Branch : rawhide
Commit : 9138c826235701cf20cdeb714d1e69f6080b5436
Author : Vitezslav Crhonek <vcrhonek@redhat.com>
Date   : 2026-09-08T13:58:56+02:00
Stats  : +19/-1 in 2 file(s)
URL    : https://src.fedoraproject.org/rpms/sblim-cmpi-base/c/9138c826235701cf20cdeb714d1e69f6080b5436?branch=rawhide

Log:
Fix FTBFS

---
diff --git a/sblim-cmpi-base-1.6.4-remove-wc-ldflag.patch b/sblim-cmpi-base-1.6.4-remove-wc-ldflag.patch
new file mode 100644
index 0000000..db4d4ca
--- /dev/null
+++ b/sblim-cmpi-base-1.6.4-remove-wc-ldflag.patch
@@ -0,0 +1,12 @@
+diff -up sblim-cmpi-base-1.6.4/Makefile.am.no-Wc-ldflag sblim-cmpi-base-1.6.4/Makefile.am
+--- sblim-cmpi-base-1.6.4/Makefile.am.no-Wc-ldflag	2026-09-08 10:36:45.873039582 +0200
++++ sblim-cmpi-base-1.6.4/Makefile.am	2026-09-08 10:36:56.669866609 +0200
+@@ -143,8 +143,6 @@ libcmpiOSBase_CSBaseBoardProvider_la_DEP
+ lib_LTLIBRARIES = libcmpiOSBase_Common.la libdmiinfo.la
+ 
+ libcmpiOSBase_Common_la_SOURCES=OSBase_Common.c cmpiOSBase_Common.c
+-# This gcc/ld specific flag is ugly - need to check in configure
+-libcmpiOSBase_Common_la_LDFLAGS = -Wc
+ 
+ libdmiinfo_la_SOURCES=dmiinfo.c dmiinfo.h dmifind.h
+ 

diff --git a/sblim-cmpi-base.spec b/sblim-cmpi-base.spec
index 1f33f3c..9053988 100644
--- a/sblim-cmpi-base.spec
+++ b/sblim-cmpi-base.spec
@@ -2,7 +2,7 @@
 
 Name:           sblim-cmpi-base
 Version:        1.6.4
-Release:        33%{?dist}
+Release:        34%{?dist}
 Summary:        SBLIM CMPI Base Providers
 
 License:        EPL-1.0
@@ -30,6 +30,8 @@ Patch9:         sblim-cmpi-base-1.6.4-fix-possible-null-dereference.patch
 Patch10:        sblim-cmpi-base-1.6.4-gcc15-fixes.patch
 # Patch11: adds support for Image Mode
 Patch11:        sblim-cmpi-base-1.6.4-image-mode.patch
+# Patch12: drops bogus bare -Wc libtool flag that breaks LTO link (FTBFS)
+Patch12:        sblim-cmpi-base-1.6.4-remove-wc-ldflag.patch
 Requires:       cim-server sblim-indication_helper
 BuildRequires: make
 BuildRequires:  perl-generators
@@ -78,6 +80,7 @@ autoreconf --install --force
 %patch -P9 -p1 -b .fix-possible-null-dereference
 %patch -P10 -p1 -b .gcc15-fixes
 %patch -P11 -p1 -b .image-mode
+%patch -P12 -p1 -b .no-wc-ldflag
 
 %build
 %configure \
@@ -136,6 +139,9 @@ rm -f $RPM_BUILD_ROOT/%{_libdir}/cmpi/*a
 %postun -p /sbin/ldconfig
 
 %changelog
+* Tue Sep 08 2026 Vitezslav Crhonek <vcrhonek@redhat.com> - 1.6.4-34
+- Drop bogus bare -Wc libtool flag that breaks the LTO link (fixes FTBFS)
+
 * Fri Jul 17 2026 Fedora Release Engineering <releng@fedoraproject.org> - 1.6.4-33
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild
 

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

only message in thread, other threads:[~2026-09-08 11:59 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-08 11:59 [rpms/sblim-cmpi-base] rawhide: Fix FTBFS Vitezslav Crhonek

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