public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/libgeopmd] rawhide: Fix FTBFS with gcc17-snapshot
@ 2026-11-30 20:01 Filipe Rosset
  0 siblings, 0 replies; only message in thread
From: Filipe Rosset @ 2026-11-30 20:01 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/libgeopmd
Branch : rawhide
Commit : 73f8650a2f6c637eb7021af4b2f2521843183aee
Author : Filipe Rosset <rosset.filipe@gmail.com>
Date   : 2026-11-24T17:56:47-03:00
Stats  : +38/-0 in 2 file(s)
URL    : https://src.fedoraproject.org/rpms/libgeopmd/c/73f8650a2f6c637eb7021af4b2f2521843183aee?branch=rawhide

Log:
Fix FTBFS with gcc17-snapshot

---
diff --git a/libgeopmd-include-string.patch b/libgeopmd-include-string.patch
new file mode 100644
index 0000000..4df456b
--- /dev/null
+++ b/libgeopmd-include-string.patch
@@ -0,0 +1,37 @@
+Subject: [PATCH] libgeopmd: add missing #include <string>
+
+gcc-17 libstdc++ no longer transitively includes <string> via
+<memory>/<vector>/<set>, so BatchClient.hpp, POSIXSignal.hpp, and
+SSTIoctl.hpp fail with "'string' in namespace 'std' does not name a type".
+Add the missing #include <string> directives.
+
+--- a/libgeopmd/src/BatchClient.hpp
++++ b/libgeopmd/src/BatchClient.hpp
+@@ -9,6 +9,7 @@
+ #include <memory>
+ #include <vector>
+ #include <signal.h>
++#include <string>
+ 
+ struct geopm_request_s;
+ 
+--- a/libgeopmd/src/POSIXSignal.hpp
++++ b/libgeopmd/src/POSIXSignal.hpp
+@@ -9,6 +9,7 @@
+ #include <signal.h>
+ #include <memory>
+ #include <set>
++#include <string>
+ 
+ namespace geopm
+ {
+--- a/libgeopmd/src/SSTIoctl.hpp
++++ b/libgeopmd/src/SSTIoctl.hpp
+@@ -8,6 +8,7 @@
+ #include <cstdint>
+ 
+ #include <memory>
++#include <string>
+ #include <vector>
+ 
+ namespace geopm

diff --git a/libgeopmd.spec b/libgeopmd.spec
index df18313..0d2292d 100644
--- a/libgeopmd.spec
+++ b/libgeopmd.spec
@@ -18,6 +18,7 @@ URL:		https://geopm.github.io
 Source0:	https://github.com/geopm/geopm/archive/v%{version}/geopm-%{version}.tar.gz
 
 Patch0:		libgeopmd-fedora.patch
+Patch1:		libgeopmd-include-string.patch
 
 ExclusiveArch:	x86_64
 

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

only message in thread, other threads:[~2026-11-30 20:01 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-30 20:01 [rpms/libgeopmd] rawhide: Fix FTBFS with gcc17-snapshot Filipe Rosset

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