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/coan] rawhide: coan fails to build with gcc 17 snapshot, resolves rhbz#2581961
Date: Mon, 23 Nov 2026 16:26:29 GMT [thread overview]
Message-ID: <179545118913.1.14322177088948105655.rpms-coan-3446f909a99b@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/coan
Branch : rawhide
Commit : 3446f909a99bb02737acce9e46a679df9886d3c3
Author : Filipe Rosset <rosset.filipe@gmail.com>
Date : 2026-11-23T13:25:40-03:00
Stats : +16/-0 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/coan/c/3446f909a99bb02737acce9e46a679df9886d3c3?branch=rawhide
Log:
coan fails to build with gcc 17 snapshot, resolves rhbz#2581961
'filebuf' in namespace 'std' does not name a type
---
diff --git a/coan-gcc17-fstream.patch b/coan-gcc17-fstream.patch
new file mode 100644
index 0000000..3bf67cd
--- /dev/null
+++ b/coan-gcc17-fstream.patch
@@ -0,0 +1,14 @@
+Description: io.h uses std::filebuf without including <fstream>
+ It relied on a transitive include that libstdc++ from gcc 17 removed.
+ Upstream-status: not submitted yet
+ References: https://bugzilla.redhat.com/show_bug.cgi?id=2581961
+--- a/src/io.h
++++ b/src/io.h
+@@ -42,6 +42,7 @@
+ #include "filesys.h"
+ #include <string>
+ #include <cassert>
++#include <fstream>
+
+ /** \file io.h
+ * This defines `struct io`
diff --git a/coan.spec b/coan.spec
index 27438f5..04f434c 100644
--- a/coan.spec
+++ b/coan.spec
@@ -10,6 +10,8 @@ Source0: http://downloads.sourceforge.net/coan2/%{name}-%{version}.tar.gz
Patch0: expression_parser.patch
# https://sourceforge.net/p/coan2/bugs/95/
Patch1: coan-autoconf-c99.patch
+# https://bugzilla.redhat.com/show_bug.cgi?id=2581961
+Patch2: coan-gcc17-fstream.patch
BuildRequires: gcc-c++
BuildRequires: make
BuildRequires: perl-podlators
reply other threads:[~2026-11-23 16:26 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=179545118913.1.14322177088948105655.rpms-coan-3446f909a99b@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