[From nobody Thu Sep 24 01:51:05 2026
Received: (at maintonly) by bugs.debian.org; 17 Feb 2025 17:39:14 +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.1 required=4.0 tests=ALL_TRUSTED,BAYES_00,
 BODY_INCLUDES_PACKAGE,DKIMWL_WL_HIGH,DKIM_SIGNED,DKIM_VALID,
 DKIM_VALID_AU,DKIM_VALID_EF,FOURLA,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, 108; hammy, 150; neutral, 253; spammy,
 0. spammytokens: hammytokens:0.000-+--trixie, 0.000-+--H*F:U*doko,
 0.000-+--qalogsdebiannet, 0.000-+--qa-logs.debian.net,
 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]:58032)
 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 1tk55O-00Acoc-7R
 for maintonly@bugs.debian.org; Mon, 17 Feb 2025 17:39:14 +0000
Received: from paradis.debian.org ([2607:f8f0:614:1::1274:67]:40298)
 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 1tk55M-006R5Y-8Z
 for maintonly@bugs.debian.org; Mon, 17 Feb 2025 17:39:12 +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=KgVSj5xUFBLU8Yi9aR0+bogU3arWFnkgdEmbCCJwhfg=; b=d9
 sN6PmagfWvx44HcWupwseanKTG3hDGmh1eSy2lMFtPAz86dF610AdNbK37W/k5Fs7yjNzbwQT83CN
 F4iEd/bKGEb4KAJ+Bb5Uclm/o/N7rWSqJSNLF/HjJN4q/8fnDQwWQ4pGRK9xA8OWBbrqD+EAormCf
 eKeDZvXSZNBDWtRuPEDYmTOaXul3fdT7o15mcwTHK3TnDyVZ5dXqq6TEM6bmvBA3uDaTXQ6KPznQh
 YqLuTNR+YWGlHe4vywAqg5IylyFe3WQU1EOG5UVgPJMMcBu2mNGTn6CkxTASaoI98IRIOul9fUnv/
 biwdUU5HSTGiMpaWJa6daqs6wAseUoEw==;
Received: from doko by paradis.debian.org with local (Exim 4.94.2)
 (envelope-from &lt;doko@paradis.debian.org&gt;) id 1tk55K-009Nfv-Bb
 for maintonly@bugs.debian.org; Mon, 17 Feb 2025 17:39:10 +0000
To: maintonly@bugs.debian.org
Subject: neartree: 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;E1tk55K-009Nfv-Bb@paradis.debian.org&gt;
Date: Mon, 17 Feb 2025 17:39:10 +0000
Delivered-To: maintonly@bugs.debian.org

Package: src:neartree
Version: 5.1.1+dfsg1-2.1
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/neartree_5.1.1+dfsg1-2.1_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

[...]
./TNear.h:3415:28: warning: comparison of integer expressions of different signedness: 'int' and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare]
 3415 |                 if (numrad &lt; cneartree_dimsamples) {
      |                     ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
./TNear.h: In instantiation of 'long int CNearTree&lt;T, DistanceType, distMinValue&gt;::FindK_NearestNeighbors(size_t, const DistanceType&amp;, OutputContainerType&amp;, const T&amp;) [with OutputContainerType = std::vector&lt;int, std::allocator&lt;int&gt; &gt;; T = int; DistanceType = double; int distMinValue = -1; size_t = long unsigned int]':
./CNearTreeTest.cpp:3521:63:   required from here
 3521 |             const size_t lFound5 = tree.FindK_NearestNeighbors(
      |                                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~^
 3522 |                                                                nToFind5,
      |                                                                ~~~~~~~~~
 3523 |                                                                radius5,
      |                                                                ~~~~~~~~
 3524 |                                                                outVector,
      |                                                                ~~~~~~~~~~
 3525 |                                                                searchPoint );
      |                                                                ~~~~~~~~~~~~~
./TNear.h:2750:28: warning: comparison of integer expressions of different signedness: 'int' and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare]
 2750 |                 if (numrad &lt; cneartree_dimsamples) {
      |                     ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
./TNear.h: In instantiation of 'long int CNearTree&lt;T, DistanceType, distMinValue&gt;::FindK_NearestNeighbors(size_t, const DistanceType&amp;, OutputContainerType&amp;, const T&amp;) [with OutputContainerType = std::__cxx11::list&lt;int&gt;; T = int; DistanceType = double; int distMinValue = -1; size_t = long unsigned int]':
./CNearTreeTest.cpp:3538:63:   required from here
 3538 |             const size_t lFound6 = tree.FindK_NearestNeighbors(
      |                                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~^
 3539 |                                                                nToFind5,
      |                                                                ~~~~~~~~~
 3540 |                                                                radius5,
      |                                                                ~~~~~~~~
 3541 |                                                                outList,
      |                                                                ~~~~~~~~
 3542 |                                                                searchPoint );
      |                                                                ~~~~~~~~~~~~~
./TNear.h:2750:28: warning: comparison of integer expressions of different signedness: 'int' and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare]
 2750 |                 if (numrad &lt; cneartree_dimsamples) {
      |                     ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
./TNear.h: In instantiation of 'long int CNearTree&lt;T, DistanceType, distMinValue&gt;::FindK_NearestNeighbors(size_t, const DistanceType&amp;, OutputContainerType&amp;, const T&amp;) [with OutputContainerType = CNearTree&lt;vec17&gt;; T = vec17; DistanceType = double; int distMinValue = -1; size_t = long unsigned int]':
./CNearTreeTest.cpp:3563:61:   required from here
 3563 |         const size_t lFound17a = tree.FindK_NearestNeighbors( n2Finda, 100000.0, outTree, probe );
      |                                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./TNear.h:2750:28: warning: comparison of integer expressions of different signedness: 'int' and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare]
 2750 |                 if (numrad &lt; cneartree_dimsamples) {
      |                     ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
./TNear.h: In instantiation of 'long int CNearTree&lt;T, DistanceType, distMinValue&gt;::FindK_NearestNeighbors(size_t, const DistanceType&amp;, OutputContainerType&amp;, const T&amp;) [with OutputContainerType = CNearTree&lt;vecn&gt;; T = vecn; DistanceType = double; int distMinValue = -1; size_t = long unsigned int]':
./CNearTreeTest.cpp:3672:71:   required from here
 3672 |                 const size_t lFound17awc = tree.FindK_NearestNeighbors(
      |                                            ~~~~~~~~~~~~~~~~~~~~~~~~~~~^
 3673 |                                                                        n2Finda,
      |                                                                        ~~~~~~~~
 3674 |                                                                        testrad2,
      |                                                                        ~~~~~~~~~
 3675 |                                                                        outTree, probe );
      |                                                                        ~~~~~~~~~~~~~~~~
./TNear.h:2750:28: warning: comparison of integer expressions of different signedness: 'int' and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare]
 2750 |                 if (numrad &lt; cneartree_dimsamples) {
      |                     ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
make[1]: *** [Makefile:292: bin/CPPMain] Error 1
make[1]: *** Waiting for unfinished jobs....
cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++
make[1]: *** [Makefile:300: bin/CPPNearTreeTest] Error 1
libtool: compile:  gcc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/neartree-5.1.1+dfsg1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -O3 -Wall -ansi -pedantic -DCNEARTREE_SAFE_TRIANG=1 -I. -c -c ./CNearTree.c -o CNearTree.o &gt;/dev/null 2&gt;&amp;1
libtool --mode=link gcc -version-info 7:0:0 -no-undefined -rpath /usr/lib/x86_64-linux-gnu -Wl,-z,relro -Wl,-z,now -o ./lib/libCNearTree.la CNearTree.lo  -I.  \
 -lCVector -lm
libtool: link: gcc -shared  -fPIC -DPIC  .libs/CNearTree.o   -lCVector -lm  -Wl,-z -Wl,relro -Wl,-z -Wl,now   -Wl,-soname -Wl,libCNearTree.so.7 -o ./lib/.libs/libCNearTree.so.7.0.0
libtool: link: (cd &quot;./lib/.libs&quot; &amp;&amp; rm -f &quot;libCNearTree.so.7&quot; &amp;&amp; ln -s &quot;libCNearTree.so.7.0.0&quot; &quot;libCNearTree.so.7&quot;)
libtool: link: (cd &quot;./lib/.libs&quot; &amp;&amp; rm -f &quot;libCNearTree.so&quot; &amp;&amp; ln -s &quot;libCNearTree.so.7.0.0&quot; &quot;libCNearTree.so&quot;)
libtool: link: ar cr ./lib/.libs/libCNearTree.a  CNearTree.o
libtool: link: ranlib ./lib/.libs/libCNearTree.a
libtool: link: ( cd &quot;./lib/.libs&quot; &amp;&amp; rm -f &quot;libCNearTree.la&quot; &amp;&amp; ln -s &quot;../libCNearTree.la&quot; &quot;libCNearTree.la&quot; )
make[1]: Leaving directory '/build/reproducible-path/neartree-5.1.1+dfsg1'
dh_auto_install: error: make -j8 install DESTDIR=/build/reproducible-path/neartree-5.1.1\+dfsg1/debian/tmp AM_UPDATE_INFO_DIR=no &quot;INSTALL=install --strip-program=true&quot; returned exit code 2
make: *** [debian/rules:14: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
]