[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1096487: csound: ftbfs with GCC-15



Control: tags -1 +patch

Hello there,

it looks like this bug is just due to a … typo. And one that upstream has 
fixed in https://github.com/csound/csound/commit/bb9bafc(attached, for 
convenience).

I have test-built this locally, and pushed this change as a Salsa MR:
 https://salsa.debian.org/multimedia-team/csound/-/merge_requests/4

I'm happy to NMU-upload if that helps.

Best,

OdyX

On Mon, 17 Feb 2025 17:08:47 +0000 Matthias Klose <doko@debian.org> wrote:
> Package: src:csound
> Version: 1:6.18.1+dfsg-4
> Severity: important
> Tags: sid forky
> User: debian-gcc@lists.debian.org
> Usertags: ftbfs-gcc-15
> 
> [This bug is NOT targeted to the upcoming trixie release]
> 
> Please keep this issue open in the bug tracker for the package it
> was filed for.  If a fix in another package is required, please
> file a bug for the other package (or clone), and add a block in this
> package. Please keep the issue open until the package can be built in
> a follow-up test rebuild.
> 
> The package fails to build in a test rebuild on at least amd64 with
> gcc-15/g++-15, but succeeds to build with gcc-14/g++-14. The
> severity of this report will be raised before the forky release.
> 
> The full build log can be found at:
> http://qa-logs.debian.net/2025/02/16/amd64exp/
csound_6.18.1+dfsg-4_unstable_gccexp.log.gz
> The last lines of the build log are at the end of this report.
> 
> To build with GCC 15, either set CC=gcc-15 CXX=g++-15 explicitly,
> or install the gcc, g++, gfortran, ... packages from experimental.
> 
>   apt-get -t=experimental install g++ 
> 
> GCC 15 now defaults to the C23/C++23 standards, exposing many FTBFS.
> Other Common build failures are new warnings resulting in build failures
> with -Werror turned on, or new/dropped symbols in Debian symbols files.
> For other C/C++ related build failures see the porting guide at
> http://gcc.gnu.org/gcc-15/porting_to.html
> 
> [...]
> 
> 
> -- Build files have been written to: /build/reproducible-path/
csound-6.18.1+dfsg/obj-x86_64-linux-gnu
> make[1]: Leaving directory '/build/reproducible-path/csound-6.18.1+dfsg'
>    debian/rules execute_before_dh_auto_build
> make[1]: Entering directory '/build/reproducible-path/csound-6.18.1+dfsg'
> blhc: ignore-line-regexp: ^C\+\+ analysis\.\.\.$
> make[1]: Leaving directory '/build/reproducible-path/csound-6.18.1+dfsg'
>    dh_auto_build -O--buildsystem=cmake\+ninja -O--builddirectory=obj-x86_64-
linux-gnu
> 	cd obj-x86_64-linux-gnu &
-- 
    OdyX
>From bb9bafcfa17a87d3733eda1e25a812fd0be08ac6 Mon Sep 17 00:00:00 2001
From: vlazzarini <victor.lazzarini@mu.ie>
Date: Tue, 8 Apr 2025 09:07:32 +0100
Subject: [PATCH] fixed typo

---
 include/plugin.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/plugin.h b/include/plugin.h
index dcf011e6b54..55e8055bf39 100644
--- a/include/plugin.h
+++ b/include/plugin.h
@@ -1002,7 +1002,7 @@ template <std::size_t N> struct InPlug : OPDS {
   /** check if this opcode runs at perf time
   */
   bool is_perf() {
-      return this->opaddr ? true : false;
+      return this->opadr ? true : false;
   }
 
 };

Attachment: signature.asc
Description: This is a digitally signed message part.


Reply to: