Package: src:libreadline-java Version: 0.8.0.1+dfsg-10 Severity: important Tags: sid trixie User: [email protected] 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/libreadline-java_0.8.0.1+dfsg-10_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 [...] adding: org/gnu/readline/ReadlineCompleter.class(in = 194) (out= 137)(deflated 29%) adding: org/gnu/readline/ReadlineConstBase.class(in = 620) (out= 398)(deflated 35%) adding: org/gnu/readline/ReadlineConstInt.class(in = 283) (out= 190)(deflated 32%) adding: org/gnu/readline/ReadlineConstString.class(in = 289) (out= 193)(deflated 33%) adding: org/gnu/readline/ReadlineLibrary.class(in = 1004) (out= 566)(deflated 43%) adding: org/gnu/readline/ReadlineReader.class(in = 3219) (out= 1654)(deflated 48%) cd src; make T_LIBS="JavaReadline JavaEditline" JAVAINCLUDE="/usr/lib/jvm/default-java/include" \ JAVANATINC="/usr/lib/jvm/default-java/include" native make[3]: Entering directory '/<<PKGBUILDDIR>>/src' cd native ; make T_LIBS="JavaReadline JavaEditline" JAVAINCLUDE="/usr/lib/jvm/default-java/include" \ JAVANATINC="/usr/lib/jvm/default-java/include" all make[4]: Entering directory '/<<PKGBUILDDIR>>/src/native' make TG=JavaReadline lib make[5]: Entering directory '/<<PKGBUILDDIR>>/src/native' touch org_gnu_readline_Readline.h gcc -I /usr/lib/jvm/default-java/include -I /usr/lib/jvm/default-java/include/linux -I /usr/lib/jvm/default-java/include -I /usr/lib/jvm/default-java/include/linux -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fPIC -DPOSIX -fPIC -DPOSIX -DJavaReadline \ -c org_gnu_readline_Readline.c org_gnu_readline_Readline.c:85:3: error: initialization of ‘int *’ from incompatible pointer type ‘long unsigned int *’ [-Wincompatible-pointer-types] 85 | &rl_readline_state, | ^ org_gnu_readline_Readline.c:85:3: note: (near initialization for ‘globalIntegerInternals[2]’) org_gnu_readline_Readline.c:120:14: error: initialization of ‘char **’ from incompatible pointer type ‘const char **’ [-Wincompatible-pointer-types] 120 | /* const */ &rl_library_version, | ^ org_gnu_readline_Readline.c:120:14: note: (near initialization for ‘globalStringInternals[0]’) org_gnu_readline_Readline.c:121:14: error: initialization of ‘char **’ from incompatible pointer type ‘const char **’ [-Wincompatible-pointer-types] 121 | /* const */ &rl_readline_name, | ^ org_gnu_readline_Readline.c:121:14: note: (near initialization for ‘globalStringInternals[1]’) org_gnu_readline_Readline.c:124:14: error: initialization of ‘char **’ from incompatible pointer type ‘const char **’ [-Wincompatible-pointer-types] 124 | /* const */ &rl_terminal_name, | ^ org_gnu_readline_Readline.c:124:14: note: (near initialization for ‘globalStringInternals[4]’) org_gnu_readline_Readline.c:126:14: error: initialization of ‘char **’ from incompatible pointer type ‘const char **’ [-Wincompatible-pointer-types] 126 | /* const */ &rl_basic_word_break_characters, | ^ org_gnu_readline_Readline.c:126:14: note: (near initialization for ‘globalStringInternals[6]’) org_gnu_readline_Readline.c:127:14: error: initialization of ‘char **’ from incompatible pointer type ‘const char **’ [-Wincompatible-pointer-types] 127 | /* const */ &rl_completer_word_break_characters, | ^ org_gnu_readline_Readline.c:127:14: note: (near initialization for ‘globalStringInternals[7]’) org_gnu_readline_Readline.c:128:14: error: initialization of ‘char **’ from incompatible pointer type ‘const char **’ [-Wincompatible-pointer-types] 128 | /* const */ &rl_completer_quote_characters, | ^ org_gnu_readline_Readline.c:128:14: note: (near initialization for ‘globalStringInternals[8]’) org_gnu_readline_Readline.c:129:14: error: initialization of ‘char **’ from incompatible pointer type ‘const char **’ [-Wincompatible-pointer-types] 129 | /* const */ &rl_basic_quote_characters, | ^ org_gnu_readline_Readline.c:129:14: note: (near initialization for ‘globalStringInternals[9]’) org_gnu_readline_Readline.c:130:14: error: initialization of ‘char **’ from incompatible pointer type ‘const char **’ [-Wincompatible-pointer-types] 130 | /* const */ &rl_filename_quote_characters, | ^ org_gnu_readline_Readline.c:130:14: note: (near initialization for ‘globalStringInternals[10]’) org_gnu_readline_Readline.c:131:14: error: initialization of ‘char **’ from incompatible pointer type ‘const char **’ [-Wincompatible-pointer-types] 131 | /* const */ &rl_special_prefixes, | ^ org_gnu_readline_Readline.c:131:14: note: (near initialization for ‘globalStringInternals[11]’) make[5]: *** [Makefile:109: org_gnu_readline_Readline.o] Error 1 make[5]: Leaving directory '/<<PKGBUILDDIR>>/src/native' make[4]: *** [Makefile:72: JavaReadline] Error 2 make[4]: Leaving directory '/<<PKGBUILDDIR>>/src/native' make[3]: *** [Makefile:12: native] Error 2 make[3]: Leaving directory '/<<PKGBUILDDIR>>/src' make[2]: *** [Makefile:98: build-native] Error 2 make[2]: Leaving directory '/<<PKGBUILDDIR>>' dh_auto_build: error: make -j1 "INSTALL=install --strip-program=true" JAVAC=/usr/lib/jvm/default-java/bin/javac "JC_FLAGS=-source 1.8 -target 1.8 -h native" CC=gcc JAVAINCLUDE=/usr/lib/jvm/default-java/include JAVANATINC=/usr/lib/jvm/default-java/include "T_LIBS=JavaReadline JavaEditline" jar build-native returned exit code 2 make[1]: *** [debian/rules:15: override_dh_auto_build] Error 25 make[1]: Leaving directory '/<<PKGBUILDDIR>>' make: *** [debian/rules:12: build] Error 2 dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2 __ This is the maintainer address of Debian's Java team <https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-java-maintainers>. Please use [email protected] for discussions and questions.
