Package: src:fastjet
Version: 3.4.0+dfsg-1
Severity: important
Tags: sid forky
User: debian-...@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/fastjet_3.4.0+dfsg-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

[...]
      |                                                                        1
Warning: Fortran 2018 deleted feature: DO termination statement which is not 
END DO or CONTINUE with label 31 at (1)
libtool: compile:  gfortran -g -O2 
-ffile-prefix-map=/build/reproducible-path/fastjet-3.4.0+dfsg=. 
-fstack-protector-strong -fstack-clash-protection -fcf-protection -g -O2 
-ffile-prefix-map=/build/reproducible-path/fastjet-3.4.0+dfsg=. 
-fstack-protector-strong -fstack-clash-protection -fcf-protection -c pxcone.f 
-o pxcone.o >/dev/null 2>&1
In file included from ./../../include/fastjet/SharedPtr.hh:37,
                 from ./../../include/fastjet/PseudoJet.hh:43,
                 from ./../../include/fastjet/JetDefinition.hh:36,
                 from fastjet/PxConePlugin.hh:34,
                 from PxConePlugin.cc:31:
./../../include/fastjet/ClusterSequence.hh:377:44: warning: 'template<class> 
class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead 
[-Wdeprecated-declarations]
  377 |   inline void plugin_associate_extras(std::auto_ptr<Extras> extras_in)){
      |                                            ^~~~~~~~
./../../include/fastjet/internal/deprecated.hh:43:71: note: in definition of 
macro 'FASTJET_DEPRECATED_MSG'
   43 | #define FASTJET_DEPRECATED_MSG(message,func)  [[deprecated(message)]] 
func
      |                                                                       
^~~~
In file included from /usr/include/c++/15/memory:80,
                 from ./../../include/fastjet/JetDefinition.hh:39:
/usr/include/c++/15/bits/unique_ptr.h:59:28: note: declared here
   59 |   template<typename> class auto_ptr;
      |                            ^~~~~~~~
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../../include/fastjet -Wdate-time 
-D_FORTIFY_SOURCE=2 -g -Woverloaded-virtual -DDROP_CGAL -I. -I./../../include 
-g -O2 -ffile-prefix-map=/build/reproducible-path/fastjet-3.4.0+dfsg=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -fcf-protection -c PxConePlugin.cc -o 
libPxConePlugin_la-PxConePlugin.o >/dev/null 2>&1
/bin/bash ../../libtool  --tag=CXX   --mode=link g++ -g  -Woverloaded-virtual  
-DDROP_CGAL  -I. -I./../../include -g -O2 
-ffile-prefix-map=/build/reproducible-path/fastjet-3.4.0+dfsg=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -fcf-protection  -Wl,-z,relro -o libPxConePlugin.la  
pxcone.lo libPxConePlugin_la-PxConePlugin.lo ../../src/libfastjet.la -lm 
libtool: link: ar cr .libs/libPxConePlugin.a .libs/pxcone.o 
.libs/libPxConePlugin_la-PxConePlugin.o 
libtool: link: ranlib .libs/libPxConePlugin.a
libtool: link: ( cd ".libs" && rm -f "libPxConePlugin.la" && ln -s 
"../libPxConePlugin.la" "libPxConePlugin.la" )
make[5]: Leaving directory 
'/build/reproducible-path/fastjet-3.4.0+dfsg/plugins/PxCone'
make[4]: Leaving directory 
'/build/reproducible-path/fastjet-3.4.0+dfsg/plugins/PxCone'
Making all in D0RunIICone
make[4]: Entering directory 
'/build/reproducible-path/fastjet-3.4.0+dfsg/plugins/D0RunIICone'
Making all in fastjet
make[5]: Entering directory 
'/build/reproducible-path/fastjet-3.4.0+dfsg/plugins/D0RunIICone/fastjet'
make[5]: Nothing to be done for 'all'.
make[5]: Leaving directory 
'/build/reproducible-path/fastjet-3.4.0+dfsg/plugins/D0RunIICone/fastjet'
make[5]: Entering directory 
'/build/reproducible-path/fastjet-3.4.0+dfsg/plugins/D0RunIICone'
/bin/bash ../../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. 
-I../../include/fastjet   -Wdate-time -D_FORTIFY_SOURCE=2 -g  
-Woverloaded-virtual  -DDROP_CGAL  -fno-inline -I. -I./../../include -g -O2 
-ffile-prefix-map=/build/reproducible-path/fastjet-3.4.0+dfsg=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -fcf-protection -c -o 
libD0RunIIConePlugin_la-D0RunIIConePlugin.lo `test -f 'D0RunIIConePlugin.cc' || 
echo './'`D0RunIIConePlugin.cc
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../../include/fastjet -Wdate-time 
-D_FORTIFY_SOURCE=2 -g -Woverloaded-virtual -DDROP_CGAL -fno-inline -I. 
-I./../../include -g -O2 
-ffile-prefix-map=/build/reproducible-path/fastjet-3.4.0+dfsg=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -fcf-protection -c D0RunIIConePlugin.cc  -fPIC -DPIC -o 
.libs/libD0RunIIConePlugin_la-D0RunIIConePlugin.o
In file included from ./../../include/fastjet/SharedPtr.hh:37,
                 from ./../../include/fastjet/PseudoJet.hh:43,
                 from ./../../include/fastjet/JetDefinition.hh:36,
                 from fastjet/D0RunIIConePlugin.hh:34,
                 from D0RunIIConePlugin.cc:31:
./../../include/fastjet/ClusterSequence.hh:377:44: warning: 'template<class> 
class std::auto_ptr' is deprecated: use 'std::unique_ptr' instead 
[-Wdeprecated-declarations]
  377 |   inline void plugin_associate_extras(std::auto_ptr<Extras> extras_in)){
      |                                            ^~~~~~~~
./../../include/fastjet/internal/deprecated.hh:43:71: note: in definition of 
macro 'FASTJET_DEPRECATED_MSG'
   43 | #define FASTJET_DEPRECATED_MSG(message,func)  [[deprecated(message)]] 
func
      |                                                                       
^~~~
In file included from /usr/include/c++/15/memory:80,
                 from ./../../include/fastjet/JetDefinition.hh:39:
/usr/include/c++/15/bits/unique_ptr.h:59:28: note: declared here
   59 |   template<typename> class auto_ptr;
      |                            ^~~~~~~~
In file included from ILConeAlgorithm.hpp:88,
                 from D0RunIIConePlugin.cc:38:
ProtoJet.hpp: In member function 'void 
fastjet::d0::ProtoJet<Item>::print(std::ostream&) const':
ProtoJet.hpp:198:51: error: 'const class fastjet::d0::ProtoJet<Item>' has no 
member named '_Et' [-Wtemplate-body]
  198 |   os<<"y phi Et = ("<<_y<<", "<<_phi<<", "<<this->_Et<<")"<<std::endl;
      |                                                   ^~~
make[5]: *** [Makefile:554: libD0RunIIConePlugin_la-D0RunIIConePlugin.lo] Error 
1
make[5]: Leaving directory 
'/build/reproducible-path/fastjet-3.4.0+dfsg/plugins/D0RunIICone'
make[4]: *** [Makefile:569: all-recursive] Error 1
make[4]: Leaving directory 
'/build/reproducible-path/fastjet-3.4.0+dfsg/plugins/D0RunIICone'
make[3]: *** [Makefile:588: all-recursive] Error 1
make[3]: Leaving directory '/build/reproducible-path/fastjet-3.4.0+dfsg/plugins'
make[2]: *** [Makefile:707: all-recursive] Error 1
make[2]: Leaving directory '/build/reproducible-path/fastjet-3.4.0+dfsg'
dh_auto_build: error: make -j8 returned exit code 2
make[1]: *** [debian/rules:13: override_dh_auto_build-indep] Error 25
make[1]: Leaving directory '/build/reproducible-path/fastjet-3.4.0+dfsg'
make: *** [debian/rules:19: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2

-- 
debian-science-maintainers mailing list
debian-science-maintainers@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/debian-science-maintainers

Reply via email to