--- Begin Message ---
Package: src:jupp
Version: 3.1.41-1
Severity: important
Tags: sid forky
User: [email protected]
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/jupp_3.1.41-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
[...]
110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m,
flag, arg }
| ^~~~
../undo.h:28:5: note: 'uyapp' declared here
28 | int uyapp(BW *bw);
| ^~~~~
../cmd.c: In function 'execmd':
../cmd.c:284:64: warning: comparison of distinct pointer types lacks a cast
[-Wcompare-distinct-pointer-types]
284 | (k==3 || k==13 || k==8 || k==127 || k==4 || ((cmd->func==utype)
&& (k>=32) && (k<256)))) {
| ^~
../cmd.c:318:15: error: too many arguments to function 'cmd->func'; expected 0,
have 2
318 | ret = cmd->func(maint->curwin->object, k);
| ^~~ ~~~~~~~~~~~~~~~~~~~~~
In file included from ../cmd.c:10:
../types.h:245:20: note: declared here
245 | jpoly_int *func; /* Function bound to name */
| ^~~~
../cmd.c: In function 'uexecmd':
../cmd.c:458:53: error: passing argument 4 of 'wmkpw' from incompatible pointer
type [-Wincompatible-pointer-types]
458 | if (wmkpw(bw->parent, UC "cmd: ", &cmdhist, docmd, UC "cmd",
NULL, cmdcmplt, NULL, NULL, locale_map)) {
| ^~~~~
| |
| int (*)(BW *,
unsigned char *, void *, int *) {aka int (*)(struct bw *, unsigned char *, void
*, int *)}
../pw.h:19:70: note: expected 'int (*)(void)' but argument is of type 'int
(*)(BW *, unsigned char *, void *, int *)' {aka 'int (*)(struct bw *, unsigned
char *, void *, int *)'}
19 | BW *wmkpw(W *w, const unsigned char *prompt, B **history, jpoly_int
*func, const unsigned char *huh, jpoly_int *abrt, jpoly_int *tab, void *object,
int *notify, union charmap *map);
|
~~~~~~~~~~~^~~~
../cmd.c:434:12: note: 'docmd' declared here
434 | static int docmd(BW *bw, unsigned char *s, void *object, int *notify)
| ^~~~~
../cmd.c:458:76: error: passing argument 7 of 'wmkpw' from incompatible pointer
type [-Wincompatible-pointer-types]
458 | if (wmkpw(bw->parent, UC "cmd: ", &cmdhist, docmd, UC "cmd",
NULL, cmdcmplt, NULL, NULL, locale_map)) {
|
^~~~~~~~
|
|
|
int (*)(BW *) {aka int (*)(struct bw *)}
../pw.h:19:130: note: expected 'int (*)(void)' but argument is of type 'int
(*)(BW *)' {aka 'int (*)(struct bw *)'}
19 | BW *wmkpw(W *w, const unsigned char *prompt, B **history, jpoly_int
*func, const unsigned char *huh, jpoly_int *abrt, jpoly_int *tab, void *object,
int *notify, union charmap *map);
|
~~~~~~~~~~~^~~
../cmd.c:426:12: note: 'cmdcmplt' declared here
426 | static int cmdcmplt(BW *bw)
| ^~~~~~~~
../cmd.c: In function 'u_helpcard':
../cmd.c:493:13: error: passing argument 4 of 'wmkpw' from incompatible pointer
type [-Wincompatible-pointer-types]
493 | do_helpcard, NULL, NULL, utypebw, NULL, NULL, locale_map)) {
| ^~~~~~~~~~~
| |
| int (*)(BASE *, unsigned char *, void *, int *) {aka int
(*)(struct base *, unsigned char *, void *, int *)}
../pw.h:19:70: note: expected 'int (*)(void)' but argument is of type 'int
(*)(BASE *, unsigned char *, void *, int *)' {aka 'int (*)(struct base *,
unsigned char *, void *, int *)'}
19 | BW *wmkpw(W *w, const unsigned char *prompt, B **history, jpoly_int
*func, const unsigned char *huh, jpoly_int *abrt, jpoly_int *tab, void *object,
int *notify, union charmap *map);
|
~~~~~~~~~~~^~~~
../cmd.c:468:12: note: 'do_helpcard' declared here
468 | static int do_helpcard(BASE *base, unsigned char *s, void *object, int
*notify)
| ^~~~~~~~~~~
../cmd.c:493:38: error: passing argument 7 of 'wmkpw' from incompatible pointer
type [-Wincompatible-pointer-types]
493 | do_helpcard, NULL, NULL, utypebw, NULL, NULL, locale_map)) {
| ^~~~~~~
| |
| int (*)(jobject, int)
../pw.h:19:130: note: expected 'int (*)(void)' but argument is of type 'int
(*)(jobject, int)'
19 | BW *wmkpw(W *w, const unsigned char *prompt, B **history, jpoly_int
*func, const unsigned char *huh, jpoly_int *abrt, jpoly_int *tab, void *object,
int *notify, union charmap *map);
|
~~~~~~~~~~~^~~
../uedit.h:54:5: note: 'utypebw' declared here
54 | int utypebw(jobject, int k);
| ^~~~~~~
make[3]: *** [Makefile:673: cmd.o] Error 1
make[3]: Leaving directory '/build/reproducible-path/jupp-3.1.41/builddir'
make[2]: *** [Makefile:460: all] Error 2
make[2]: Leaving directory '/build/reproducible-path/jupp-3.1.41/builddir'
make[1]: *** [debian/rules:329: debian/.build_stamp] Error 2
make[1]: Leaving directory '/build/reproducible-path/jupp-3.1.41'
make: *** [debian/rules:379: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--- End Message ---