Source: blt Version: 2.5.3+dfsg-5 Severity: serious Tags: ftbfs Justification: fails to build from source (but built successfully in the past)
Hi,
blt/experimental FTBFS, most likely due to GCC 9 bieng the default
compiler nowadays:
x86_64-linux-gnu-gcc -c -Wall -g -O2 -fdebug-prefix-map=/build/blt-2.5.3+dfsg=.
-fstack-protector-strong -Wformat -Werror=format-security -I. -I.
-I/usr/include/tcl8.7/tk-private/generic
-I/usr/include/tcl8.7/tk-private/generic -I/usr/include/tcl8.7/tk-private/unix
-I/usr/include/tcl8.7 -I/usr/include/tcl8.7/tcl-private/generic
-I/usr/include/tcl8.7/tcl-private/unix bltBgexec.c
In file included from /usr/include/tcl8.7/tcl.h:2383,
from bltInt.h:39,
from bltBgexec.c:30:
bltBgexec.c: In function 'DisableTriggers':
bltBgexec.c:1451:3: warning: passing argument 5 of 'Tcl_UntraceVar2' from
incompatible pointer type [-Wincompatible-pointer-types]
1451 | VariableProc, bgPtr);
| ^~~~~~~~~~~~
| |
| char * (*)(void *, Tcl_Interp *, char *, char *, int) {aka char *
(*)(void *, struct Tcl_Interp *, char *, char *, int)}
/usr/include/tcl8.7/tclDecls.h:3998:48: note: in definition of macro
'Tcl_UntraceVar'
3998 | Tcl_UntraceVar2(interp, varName, NULL, flags, proc, clientData)
| ^~~~
In file included from /usr/include/tcl8.7/tcl.h:2383,
from bltInt.h:39,
from bltBgexec.c:30:
/usr/include/tcl8.7/tclDecls.h:800:34: note: expected 'char * (*)(void *,
Tcl_Interp *, const char *, const char *, int)' {aka 'char * (*)(void *, struct
Tcl_Interp *, const char *, const char *, int)'} but argument is of type 'char
* (*)(void *, Tcl_Interp *, char *, char *, int)' {aka 'char * (*)(void *,
struct Tcl_Interp *, char *, char *, int)'}
800 | int flags, Tcl_VarTraceProc *proc,
| ~~~~~~~~~~~~~~~~~~^~~~
bltBgexec.c: In function 'BgexecCmd':
bltBgexec.c:1914:12: error: argument 'argv' doesn't match prototype
1914 | char **argv; /* Argument strings. */
| ^~~~
bltBgexec.c:50:20: error: prototype declaration
50 | static Tcl_CmdProc BgexecCmd;
| ^~~~~~~~~
In file included from /usr/include/tcl8.7/tcl.h:2383,
from bltInt.h:39,
from bltBgexec.c:30:
bltBgexec.c:2011:59: warning: passing argument 5 of 'Tcl_TraceVar2' from
incompatible pointer type [-Wincompatible-pointer-types]
2011 | if (Tcl_TraceVar(interp, bgPtr->statVar, TRACE_FLAGS, VariableProc,
bgPtr) != TCL_OK) {
| ^~~~~~~~~~~~
| |
| char *
(*)(void *, Tcl_Interp *, char *, char *, int) {aka char * (*)(void *, struct
Tcl_Interp *, char *, char *, int)}
/usr/include/tcl8.7/tclDecls.h:3995:46: note: in definition of macro
'Tcl_TraceVar'
3995 | Tcl_TraceVar2(interp, varName, NULL, flags, proc, clientData)
| ^~~~
In file included from /usr/include/tcl8.7/tcl.h:2383,
from bltInt.h:39,
from bltBgexec.c:30:
/usr/include/tcl8.7/tclDecls.h:770:23: note: expected 'char * (*)(void *,
Tcl_Interp *, const char *, const char *, int)' {aka 'char * (*)(void *, struct
Tcl_Interp *, const char *, const char *, int)'} but argument is of type 'char
* (*)(void *, Tcl_Interp *, char *, char *, int)' {aka 'char * (*)(void *,
struct Tcl_Interp *, char *, char *, int)'}
770 | Tcl_VarTraceProc *proc,
| ~~~~~~~~~~~~~~~~~~^~~~
make[3]: *** [Makefile:270: bltBgexec.o] Error 1
Andreas
blt_2.5.3+dfsg-5.log.gz
Description: application/gzip

