public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Filipe Rosset <rosset.filipe@gmail.com>
To: git-commits@fedoraproject.org
Subject: [rpms/libgeopmd] rawhide: Fix FTBFS with gcc17-snapshot
Date: Mon, 30 Nov 2026 20:01:59 GMT [thread overview]
Message-ID: <179606891926.1.2901267911492104460.rpms-libgeopmd-73f8650a2f6c@fedoraproject.org> (raw)
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
reply other threads:[~2026-11-30 20:01 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=179606891926.1.2901267911492104460.rpms-libgeopmd-73f8650a2f6c@fedoraproject.org \
--to=rosset.filipe@gmail.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