[Debian-med-packaging] Bug#1078141: cufflinks: FTBFS with GCC 14: locfit/c_plot.c:470:14: error: passing argument 1 of 'setvarname' from incompatible pointer type
Andreas Beckmann
anbe at debian.org
Wed Aug 7 12:44:13 BST 2024
Source: cufflinks
Version: 2.2.1+dfsg.1-9
Severity: serious
Tags: ftbfs sid trixie
Justification: fails to build from source (but built successfully in the past)
Hi,
cufflinks started to FTBFS when GCC 14 was made the default compiler:
gcc -DHAVE_CONFIG_H -I. -I.. -I../src -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -Wall -Wno-strict-aliasing -g -gdwarf-2 -Wunused -Wuninitialized -ftemplate-depth-1024 -O3 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/cufflink
s-2.2.1+dfsg.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=c++14 -DNDEBUG -c -o c_plot.o `test -f 'locfit/c_plot.c' || echo './'`locfit/c_plot.c
cc1: warning: command-line option '-std=c++14' is valid for C++/ObjC++ but not for C
cc1: warning: command-line option '-ftemplate-depth=1024' is valid for C++/ObjC++ but not for C
locfit/c_plot.c: In function 'plotfit':
locfit/c_plot.c:228:13: warning: variable 'sd' set but not used [-Wunused-but-set-variable]
228 | double c, sd, xl[2*MXDIM], xll[2];
| ^~
locfit/c_plot.c:226:36: warning: variable 'sef' set but not used [-Wunused-but-set-variable]
226 | { INT add, d, dp, i = 0, j = 0, n, sef;
| ^~~
locfit/c_plot.c: In function 'setplot':
locfit/c_plot.c:470:14: error: passing argument 1 of 'setvarname' from incompatible pointer type [-Wincompatible-pointer-types]
470 | setvarname(curstr,tname);
| ^~~~~~
| |
| char *
In file included from locfit/lffuns.h:214,
from locfit/local.h:106,
from locfit/c_plot.c:6:
locfit/vari.hpp:16:27: note: expected 'vari *' but argument is of type 'char *'
16 | void setvarname(vari* v, varname name);
| ~~~~~~^
make[3]: *** [Makefile:1044: c_plot.o] Error 1
Andreas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cufflinks_2.2.1+dfsg.1-9.log.gz
Type: application/gzip
Size: 32907 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/debian-med-packaging/attachments/20240807/694a831c/attachment-0001.gz>
More information about the Debian-med-packaging
mailing list