public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Vitezslav Crhonek <vcrhonek@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/sblim-cmpi-base] rawhide: Fix FTBFS
Date: Tue, 08 Sep 2026 11:59:09 GMT	[thread overview]
Message-ID: <178886874932.1.2963909451934712358.rpms-sblim-cmpi-base-9138c8262357@fedoraproject.org> (raw)

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
 

                 reply	other threads:[~2026-09-08 11:59 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=178886874932.1.2963909451934712358.rpms-sblim-cmpi-base-9138c8262357@fedoraproject.org \
    --to=vcrhonek@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