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

Bug#1075321: ns2: ftbfs with GCC-14



Package: src:ns2
Version: 2.35+dfsg-5
Severity: important
Tags: sid trixie
User: debian-gcc@lists.debian.org
Usertags: ftbfs-gcc-14

[This bug is 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-14/g++-14, but succeeds to build with gcc-13/g++-13. The
severity of this report will be raised before the trixie release.

The full build log can be found at:
http://qa-logs.debian.net/2024/07/01/ns2_2.35+dfsg-5_unstable_gccexp.log
The last lines of the build log are at the end of this report.

To build with GCC 14, either set CC=gcc-14 CXX=g++-14 explicitly,
or install the gcc, g++, gfortran, ... packages from experimental.

  apt-get -t=experimental install g++ 

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-14/porting_to.html

[...]
  518 |     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
      |           ^~~~~~
/usr/include/tclcl/tclcl.h:88:51: warning: ‘Tcl_Interp::result’ is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
   88 |         inline void result(const char* p) { tcl_->result = (char*)p; }
      |                                                   ^~~~~~
/usr/include/tcl/tcl.h:518:11: note: declared here
  518 |     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
      |           ^~~~~~
/usr/include/tclcl/tclcl.h:88:51: warning: ‘Tcl_Interp::result’ is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
   88 |         inline void result(const char* p) { tcl_->result = (char*)p; }
      |                                                   ^~~~~~
/usr/include/tcl/tcl.h:518:11: note: declared here
  518 |     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
      |           ^~~~~~
In file included from ./config.h:60,
                 from common/packet.h:43,
                 from common/connector.cc:40:
/usr/include/tclcl/tclcl.h: In member function ‘void Tcl::result(const char*)’:
/usr/include/tclcl/tclcl.h:88:51: warning: ‘Tcl_Interp::result’ is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
   88 |         inline void result(const char* p) { tcl_->result = (char*)p; }
      |                                                   ^~~~~~
In file included from /usr/include/tclcl/tclcl.h:42:
/usr/include/tcl/tcl.h:518:11: note: declared here
  518 |     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
      |           ^~~~~~
/usr/include/tclcl/tclcl.h:88:51: warning: ‘Tcl_Interp::result’ is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
   88 |         inline void result(const char* p) { tcl_->result = (char*)p; }
      |                                                   ^~~~~~
/usr/include/tcl/tcl.h:518:11: note: declared here
  518 |     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
      |           ^~~~~~
/usr/include/tclcl/tclcl.h:88:51: warning: ‘Tcl_Interp::result’ is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
   88 |         inline void result(const char* p) { tcl_->result = (char*)p; }
      |                                                   ^~~~~~
/usr/include/tcl/tcl.h:518:11: note: declared here
  518 |     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
      |           ^~~~~~
In file included from ./config.h:60,
                 from routing/route.cc:47:
/usr/include/tclcl/tclcl.h: In member function ‘void Tcl::result(const char*)’:
/usr/include/tclcl/tclcl.h:88:51: warning: ‘Tcl_Interp::result’ is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
   88 |         inline void result(const char* p) { tcl_->result = (char*)p; }
      |                                                   ^~~~~~
In file included from /usr/include/tclcl/tclcl.h:42:
/usr/include/tcl/tcl.h:518:11: note: declared here
  518 |     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
      |           ^~~~~~
/usr/include/tclcl/tclcl.h:88:51: warning: ‘Tcl_Interp::result’ is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
   88 |         inline void result(const char* p) { tcl_->result = (char*)p; }
      |                                                   ^~~~~~
/usr/include/tcl/tcl.h:518:11: note: declared here
  518 |     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
      |           ^~~~~~
/usr/include/tclcl/tclcl.h:88:51: warning: ‘Tcl_Interp::result’ is deprecated: use Tcl_GetStringResult/Tcl_SetResult [-Wdeprecated-declarations]
   88 |         inline void result(const char* p) { tcl_->result = (char*)p; }
      |                                                   ^~~~~~
/usr/include/tcl/tcl.h:518:11: note: declared here
  518 |     char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult");
      |           ^~~~~~
tools/rng.cc: In constructor ‘RNG::RNG(const char*)’:
tools/rng.cc:856:26: warning: array subscript 100 is above array bounds of ‘char [100]’ [-Warray-bounds=]
  856 |                 name_[100] = 0;
      |                 ~~~~~~~~~^
tools/rng.h:333:14: note: while referencing ‘RNG::name_’
  333 |         char name_[100];
      |              ^~~~~
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_build: error: make -j8 returned exit code 2
make: *** [debian/rules:10: build] Error 25
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2


Reply to: