[From nobody Wed Aug 19 16:37:10 2026
Received: (at maintonly) by bugs.debian.org; 17 Feb 2025 17:41:42 +0000
X-Spam-Checker-Version: SpamAssassin 3.4.6-bugs.debian.org_2005_01_02
 (2021-04-09) on buxtehude.debian.org
X-Spam-Level: 
X-Spam-Status: No, score=-118.2 required=4.0 tests=ALL_TRUSTED,BAYES_00,
 BODY_INCLUDES_PACKAGE,DKIMWL_WL_HIGH,DKIM_SIGNED,DKIM_VALID,
 DKIM_VALID_AU,DKIM_VALID_EF,FROMDEVELOPER,FVGT_m_MULTI_ODD,HAS_PACKAGE,
 SPF_HELO_PASS,SPF_NONE,USER_IN_DKIM_WELCOMELIST,USER_IN_DKIM_WHITELIST
 autolearn=ham autolearn_force=no
 version=3.4.6-bugs.debian.org_2005_01_02
X-Spam-Bayes: score:0.0000 Tokens: new, 76; hammy, 150; neutral, 159; spammy,
 0. spammytokens: hammytokens:0.000-+--trixie, 0.000-+--H*F:U*doko,
 0.000-+--qa-logs.debian.net, 0.000-+--qalogsdebiannet,
 0.000-+--UD:qa-logs.debian.net
Return-path: &lt;doko@paradis.debian.org&gt;
Received: from mailly.debian.org ([2001:41b8:202:deb:6564:a62:52c3:4b72]:55400)
 from C=NA, ST=NA, L=Ankh Morpork, O=Debian SMTP, OU=Debian SMTP CA,
 CN=mailly.debian.org, EMAIL=hostmaster@mailly.debian.org (verified)
 by buxtehude.debian.org with esmtps
 (TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256)
 (Exim 4.94.2) (envelope-from &lt;doko@paradis.debian.org&gt;)
 id 1tk57m-00AdRL-K2
 for maintonly@bugs.debian.org; Mon, 17 Feb 2025 17:41:42 +0000
Received: from paradis.debian.org ([2607:f8f0:614:1::1274:67]:52094)
 from C=NA, ST=NA, L=Ankh Morpork, O=Debian SMTP, OU=Debian SMTP CA,
 CN=paradis.debian.org, EMAIL=hostmaster@paradis.debian.org (verified)
 by mailly.debian.org with esmtps
 (TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256)
 (Exim 4.94.2) (envelope-from &lt;doko@paradis.debian.org&gt;)
 id 1tk57k-006RAi-So
 for maintonly@bugs.debian.org; Mon, 17 Feb 2025 17:41:41 +0000
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debian.org; 
 s=smtpauto.paradis;
 h=Date:Message-Id:Content-Transfer-Encoding:Content-Type:
 MIME-Version:From:Subject:To:Reply-To:Cc:Content-ID:Content-Description:
 In-Reply-To:References; bh=5Tc2xncB3/UzIGt782UW/KjhhKoUMS0wlOn9T0+K34c=; b=Bx
 k+115DjwD/vRC/gcNxFiYaGvvCZDxW79q4B1z3H1sy522b0733L/zx10sU3zmlZDgdFjRgxY+O0yH
 tD5BcTNEQ62m+kz7FqwLyUtOCswf0fgf8Qe4hL9jw/OHM50hWne8mt9ZZr0BykD3zhJarFVss48Uy
 NlmwAadeh0Ck8IC5ddEADAuH2DagzbGuWwsxAmFZpx7/I/5NzftyTTmpq3Yc8ASDsFrmqg5EY1LrG
 IHr7ZlmfW6R54IhuV4Z+XurkAetjbXhcF9nOaaAADa2pFC2dMRMHf7ZDpprWZKB6LVYYXnSpwq1Fj
 a46CrCEtBy/+oQcDwh11mM0HcDz89ldQ==;
Received: from doko by paradis.debian.org with local (Exim 4.94.2)
 (envelope-from &lt;doko@paradis.debian.org&gt;) id 1tk57j-009O2O-5c
 for maintonly@bugs.debian.org; Mon, 17 Feb 2025 17:41:39 +0000
To: maintonly@bugs.debian.org
Subject: openfoam: ftbfs with GCC-15
From: Matthias Klose &lt;doko@debian.org&gt;
MIME-Version: 1.0
Content-Type: text/plain; charset=&quot;UTF-8&quot;
Content-Transfer-Encoding: 8bit
Message-Id: &lt;E1tk57j-009O2O-5c@paradis.debian.org&gt;
Date: Mon, 17 Feb 2025 17:41:39 +0000
Delivered-To: maintonly@bugs.debian.org

Package: src:openfoam
Version: 1912.200626-3
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/openfoam_1912.200626-3_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

[...]
  271 |     virtual ~faPatchField&lt;Type&gt;() = default;
      |             ^
lnInclude/faPatchField.H:271:13: note: remove the ‘&lt; &gt;’
In file included from lnInclude/faPatchFields.H:31,
                 from lnInclude/areaFields.H:48,
                 from interpolation/edgeInterpolation/edgeInterpolation.C:29:
lnInclude/faPatchField.H:271:13: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor]
  271 |     virtual ~faPatchField&lt;Type&gt;() = default;
      |             ^
lnInclude/faPatchField.H:271:13: note: remove the ‘&lt; &gt;’
In file included from lnInclude/faePatchField.H:371,
                 from lnInclude/faePatchFields.H:37,
                 from lnInclude/edgeFields.H:49,
                 from interpolation/edgeInterpolation/edgeInterpolation.C:30:
lnInclude/calculatedFaePatchField.H: In instantiation of ‘class Foam::calculatedFaePatchField&lt;double&gt;’:
lnInclude/calculatedFaePatchField.C:36:43:   required from ‘static const Foam::word&amp; Foam::faePatchField&lt;Type&gt;::calculatedType() [with Type = double]’
   36 |     return calculatedFaePatchField&lt;Type&gt;::typeName;
      |                                           ^~~~~~~~
/build/reproducible-path/openfoam-1912.200626/src/OpenFOAM/lnInclude/GeometricField.H:304:74:   required from here
  304 |             const word&amp; patchFieldType = PatchField&lt;Type&gt;::calculatedType()
      |                                          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
lnInclude/faePatchField.C:179:6: warning: ‘void Foam::faePatchField&lt;Type&gt;::operator=(const Foam::UList&lt;T&gt;&amp;) [with Type = double]’ was hidden [-Woverloaded-virtual=]
  179 | void Foam::faePatchField&lt;Type&gt;::operator=
      |      ^~~~
In file included from lnInclude/faePatchField.H:372:
lnInclude/calculatedFaePatchField.H:56:7: note:   by ‘Foam::calculatedFaePatchField&lt;double&gt;&amp; Foam::calculatedFaePatchField&lt;double&gt;::operator=(const Foam::calculatedFaePatchField&lt;double&gt;&amp;)’
   56 | class calculatedFaePatchField
      |       ^~~~~~~~~~~~~~~~~~~~~~~
lnInclude/faePatchField.C:189:6: warning: ‘void Foam::faePatchField&lt;Type&gt;::operator=(const Foam::faePatchField&lt;Type&gt;&amp;) [with Type = double]’ was hidden [-Woverloaded-virtual=]
  189 | void Foam::faePatchField&lt;Type&gt;::operator=
      |      ^~~~
lnInclude/calculatedFaePatchField.H:56:7: note:   by ‘Foam::calculatedFaePatchField&lt;double&gt;&amp; Foam::calculatedFaePatchField&lt;double&gt;::operator=(const Foam::calculatedFaePatchField&lt;double&gt;&amp;)’
   56 | class calculatedFaePatchField
      |       ^~~~~~~~~~~~~~~~~~~~~~~
lnInclude/faePatchField.H:344:22: warning: ‘void Foam::faePatchField&lt;Type&gt;::operator=(const Type&amp;) [with Type = double]’ was hidden [-Woverloaded-virtual=]
  344 |         virtual void operator=(const Type&amp;);
      |                      ^~~~~~~~
lnInclude/calculatedFaePatchField.H:56:7: note:   by ‘Foam::calculatedFaePatchField&lt;double&gt;&amp; Foam::calculatedFaePatchField&lt;double&gt;::operator=(const Foam::calculatedFaePatchField&lt;double&gt;&amp;)’
   56 | class calculatedFaePatchField
      |       ^~~~~~~~~~~~~~~~~~~~~~~
lnInclude/calculatedFaePatchField.H: In instantiation of ‘class Foam::calculatedFaePatchField&lt;Foam::Vector&lt;double&gt; &gt;’:
lnInclude/calculatedFaePatchField.C:36:43:   required from ‘static const Foam::word&amp; Foam::faePatchField&lt;Type&gt;::calculatedType() [with Type = Foam::Vector&lt;double&gt;]’
   36 |     return calculatedFaePatchField&lt;Type&gt;::typeName;
      |                                           ^~~~~~~~
/build/reproducible-path/openfoam-1912.200626/src/OpenFOAM/lnInclude/GeometricField.H:304:74:   required from here
  304 |             const word&amp; patchFieldType = PatchField&lt;Type&gt;::calculatedType()
      |                                          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
lnInclude/faePatchField.C:189:6: warning: ‘void Foam::faePatchField&lt;Type&gt;::operator=(const Foam::faePatchField&lt;Type&gt;&amp;) [with Type = Foam::Vector&lt;double&gt;]’ was hidden [-Woverloaded-virtual=]
  189 | void Foam::faePatchField&lt;Type&gt;::operator=
      |      ^~~~
lnInclude/calculatedFaePatchField.H:56:7: note:   by ‘Foam::calculatedFaePatchField&lt;Foam::Vector&lt;double&gt; &gt;&amp; Foam::calculatedFaePatchField&lt;Foam::Vector&lt;double&gt; &gt;::operator=(const Foam::calculatedFaePatchField&lt;Foam::Vector&lt;double&gt; &gt;&amp;)’
   56 | class calculatedFaePatchField
      |       ^~~~~~~~~~~~~~~~~~~~~~~
lnInclude/faePatchField.C:296:6: warning: ‘void Foam::faePatchField&lt;Type&gt;::operator=(const Type&amp;) [with Type = Foam::Vector&lt;double&gt;]’ was hidden [-Woverloaded-virtual=]
  296 | void Foam::faePatchField&lt;Type&gt;::operator=
      |      ^~~~
lnInclude/calculatedFaePatchField.H:56:7: note:   by ‘Foam::calculatedFaePatchField&lt;Foam::Vector&lt;double&gt; &gt;&amp; Foam::calculatedFaePatchField&lt;Foam::Vector&lt;double&gt; &gt;::operator=(const Foam::calculatedFaePatchField&lt;Foam::Vector&lt;double&gt; &gt;&amp;)’
   56 | class calculatedFaePatchField
      |       ^~~~~~~~~~~~~~~~~~~~~~~
lnInclude/faePatchField.C:179:6: warning: ‘void Foam::faePatchField&lt;Type&gt;::operator=(const Foam::UList&lt;T&gt;&amp;) [with Type = Foam::Vector&lt;double&gt;]’ was hidden [-Woverloaded-virtual=]
  179 | void Foam::faePatchField&lt;Type&gt;::operator=
      |      ^~~~
lnInclude/calculatedFaePatchField.H:56:7: note:   by ‘Foam::calculatedFaePatchField&lt;Foam::Vector&lt;double&gt; &gt;&amp; Foam::calculatedFaePatchField&lt;Foam::Vector&lt;double&gt; &gt;::operator=(const Foam::calculatedFaePatchField&lt;Foam::Vector&lt;double&gt; &gt;&amp;)’
   56 | class calculatedFaePatchField
      |       ^~~~~~~~~~~~~~~~~~~~~~~
make[2]: *** [/build/reproducible-path/openfoam-1912.200626/wmake/rules/General/transform:34: /build/reproducible-path/openfoam-1912.200626/build/linux64Gcc/src/finiteArea/faMatrices/faScalarMatrix/faScalarMatrix.o] Error 1
make[1]: *** [debian/rules:80: override_dh_auto_build] Error 2
make[1]: Leaving directory '/build/reproducible-path/openfoam-1912.200626'
make: *** [debian/rules:19: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
]