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

Bug#1075613: uudeview: ftbfs with GCC-14



Package: src:uudeview
Version: 0.5.20-14
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/uudeview_0.5.20-14_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

[...]
      |                                                      ~~~~~~~~~~~~~^~~~
uutcl.c:1180:50: error: passing argument 3 of ‘Tcl_CreateCommand’ from incompatible pointer type [-Wincompatible-pointer-types]
 1180 |   Tcl_CreateCommand (interp, "uu_InfoFile",      uutcl_InfoFile, NULL, NULL);
      |                                                  ^~~~~~~~~~~~~~
      |                                                  |
      |                                                  int (*)(void *, Tcl_Interp *, int,  char **)
/usr/include/tcl/tclDecls.h:303:67: note: expected ‘int (*)(void *, Tcl_Interp *, int,  const char **)’ but argument is of type ‘int (*)(void *, Tcl_Interp *, int,  char **)’
  303 |                                 const char *cmdName, Tcl_CmdProc *proc,
      |                                                      ~~~~~~~~~~~~~^~~~
uutcl.c:1181:50: error: passing argument 3 of ‘Tcl_CreateCommand’ from incompatible pointer type [-Wincompatible-pointer-types]
 1181 |   Tcl_CreateCommand (interp, "uu_ListFile",      uutcl_ListFile, NULL, NULL);
      |                                                  ^~~~~~~~~~~~~~
      |                                                  |
      |                                                  int (*)(void *, Tcl_Interp *, int,  char **)
/usr/include/tcl/tclDecls.h:303:67: note: expected ‘int (*)(void *, Tcl_Interp *, int,  const char **)’ but argument is of type ‘int (*)(void *, Tcl_Interp *, int,  char **)’
  303 |                                 const char *cmdName, Tcl_CmdProc *proc,
      |                                                      ~~~~~~~~~~~~~^~~~
uutcl.c:1182:50: error: passing argument 3 of ‘Tcl_CreateCommand’ from incompatible pointer type [-Wincompatible-pointer-types]
 1182 |   Tcl_CreateCommand (interp, "uu_Rename",        uutcl_Rename, NULL, NULL);
      |                                                  ^~~~~~~~~~~~
      |                                                  |
      |                                                  int (*)(void *, Tcl_Interp *, int,  char **)
/usr/include/tcl/tclDecls.h:303:67: note: expected ‘int (*)(void *, Tcl_Interp *, int,  const char **)’ but argument is of type ‘int (*)(void *, Tcl_Interp *, int,  char **)’
  303 |                                 const char *cmdName, Tcl_CmdProc *proc,
      |                                                      ~~~~~~~~~~~~~^~~~
uutcl.c:1183:50: error: passing argument 3 of ‘Tcl_CreateCommand’ from incompatible pointer type [-Wincompatible-pointer-types]
 1183 |   Tcl_CreateCommand (interp, "uu_CleanUp",       uutcl_CleanUp, NULL, NULL);
      |                                                  ^~~~~~~~~~~~~
      |                                                  |
      |                                                  int (*)(void *, Tcl_Interp *, int,  char **)
/usr/include/tcl/tclDecls.h:303:67: note: expected ‘int (*)(void *, Tcl_Interp *, int,  const char **)’ but argument is of type ‘int (*)(void *, Tcl_Interp *, int,  char **)’
  303 |                                 const char *cmdName, Tcl_CmdProc *proc,
      |                                                      ~~~~~~~~~~~~~^~~~
uutcl.c:1184:50: error: passing argument 3 of ‘Tcl_CreateCommand’ from incompatible pointer type [-Wincompatible-pointer-types]
 1184 |   Tcl_CreateCommand (interp, "uu_EncodeToFile",  uutcl_EncodeToFile,NULL,NULL);
      |                                                  ^~~~~~~~~~~~~~~~~~
      |                                                  |
      |                                                  int (*)(void *, Tcl_Interp *, int,  char **)
/usr/include/tcl/tclDecls.h:303:67: note: expected ‘int (*)(void *, Tcl_Interp *, int,  const char **)’ but argument is of type ‘int (*)(void *, Tcl_Interp *, int,  char **)’
  303 |                                 const char *cmdName, Tcl_CmdProc *proc,
      |                                                      ~~~~~~~~~~~~~^~~~
uutcl.c:1185:50: error: passing argument 3 of ‘Tcl_CreateCommand’ from incompatible pointer type [-Wincompatible-pointer-types]
 1185 |   Tcl_CreateCommand (interp, "uu_EncodeToMail",  uutcl_EncodeToMail,NULL,NULL);
      |                                                  ^~~~~~~~~~~~~~~~~~
      |                                                  |
      |                                                  int (*)(void *, Tcl_Interp *, int,  char **)
/usr/include/tcl/tclDecls.h:303:67: note: expected ‘int (*)(void *, Tcl_Interp *, int,  const char **)’ but argument is of type ‘int (*)(void *, Tcl_Interp *, int,  char **)’
  303 |                                 const char *cmdName, Tcl_CmdProc *proc,
      |                                                      ~~~~~~~~~~~~~^~~~
uutcl.c:1186:50: error: passing argument 3 of ‘Tcl_CreateCommand’ from incompatible pointer type [-Wincompatible-pointer-types]
 1186 |   Tcl_CreateCommand (interp, "uu_EncodeToNews",  uutcl_EncodeToNews,NULL,NULL);
      |                                                  ^~~~~~~~~~~~~~~~~~
      |                                                  |
      |                                                  int (*)(void *, Tcl_Interp *, int,  char **)
/usr/include/tcl/tclDecls.h:303:67: note: expected ‘int (*)(void *, Tcl_Interp *, int,  const char **)’ but argument is of type ‘int (*)(void *, Tcl_Interp *, int,  char **)’
  303 |                                 const char *cmdName, Tcl_CmdProc *proc,
      |                                                      ~~~~~~~~~~~~~^~~~
make[3]: *** [Makefile:103: uutcl.o] Error 1
make[3]: Leaving directory '/<<PKGBUILDDIR>>/tcl'
make[2]: *** [Makefile:173: xdeview] Error 2
make[2]: *** Waiting for unfinished jobs....
gcc -o uuenview uuenview.o uufnflt.o -L../uulib -luu -Wl,-z,relro -Wl,-z,now
gcc -o uudeview uudeview.o uufnflt.o -L../uulib -luu -Wl,-z,relro -Wl,-z,now
make[3]: Leaving directory '/<<PKGBUILDDIR>>/unix'
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_build: error: make -j8 returned exit code 2
make[1]: *** [debian/rules:16: override_dh_auto_build] Error 25
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:41: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2


Reply to: