Bug#1043313: libsuperlu-dev: Inconsistent declaration of double{C,M}alloc()

2023-08-10 Thread Drew Parsons

Source: superlu
Followup-For: Bug #1043313

Upstream has just released a new version to fix it.
Apparently it introduced other problems however.
Let's see what upstream's response to that is.



Bug#1043313: libsuperlu-dev: Inconsistent declaration of double{C,M}alloc()

2023-08-08 Thread Adrian Bunk
Package: libsuperlu-dev
Version: 6.0.0+dfsg1-2
Severity: serious
Tags: ftbfs
Forwarded: https://github.com/xiaoyeli/superlu/pull/100
Control: affects -1 src:freefem++

https://buildd.debian.org/status/logs.php?pkg=freefem%2B%2B=4.13%2Bdfsg-1%2Bb2

...
In file included from SuperLu.cpp:32:
/usr/include/superlu/slu_zdefs.h:239:17: error: conflicting declaration of C 
function ‘double* doubleMalloc(int)’
  239 | extern double  *doubleMalloc(int);
  | ^~~~
In file included from SuperLu.cpp:29:
/usr/include/superlu/slu_ddefs.h:236:17: note: previous declaration ‘double* 
doubleMalloc(size_t)’
  236 | extern double  *doubleMalloc(size_t);
  | ^~~~
/usr/include/superlu/slu_zdefs.h:240:17: error: conflicting declaration of C 
function ‘double* doubleCalloc(int)’
  240 | extern double  *doubleCalloc(int);
  | ^~~~
/usr/include/superlu/slu_ddefs.h:237:17: note: previous declaration ‘double* 
doubleCalloc(size_t)’
  237 | extern double  *doubleCalloc(size_t);
  | ^~~~
make[6]: *** [Makefile:901: SuperLu.so] Error 1