Bug#960013: freefem++: FTBFS with gsl 2.6

Graham Inggs ginggs at debian.org
Fri May 8 11:00:30 BST 2020


Source: freefem++
Version: 3.61.1+dfsg1-5
Severity: serious
Tags: ftbfs bullseye sid

Hi Maintainer

In a recent rebuild for the gsl 2.6 transition, freefem++ FTBFS on all
architectures.
I 've copied what I hope is the relevant part of the log below.

Regards
Graham


[1] https://buildd.debian.org/status/package.php?p=freefem%2B%2B


./ff-c++ -auto MUMPS_seq.cpp
eval ./ff-c++ MUMPS_seq.cpp -ldmumps_seq -lzmumps_seq
-lmumps_common_seq -lpord_seq -lmpiseq_seq -lblas -lmpiseq_seq
/usr/lib/gcc/x86_64-linux-gnu/9/libgfortran.so
/usr/lib/gcc/x86_64-linux-gnu/9/libquadmath.so -DAdd_ -lpthread
g++ -Wl,-z,relro -Wl,--as-needed -c -fPIC -g
-fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong
-Wformat -Werror=format-security -DNDEBUG -O3 -mmmx -mavx
-DBAMG_LONG_LONG -DNCHECKPTR -fPIC -g
-fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong
-Wformat -Werror=format-security -DNDEBUG -O3 -mmmx -mavx
-DBAMG_LONG_LONG -DNCHECKPTR -fPIC -Wdate-time -D_FORTIFY_SOURCE=2
-I./include '-DAdd_' 'MUMPS_seq.cpp'
In file included from /usr/include/gsl/gsl_blas_types.h:28,
                 from /usr/include/gsl/gsl_matrix_complex_long_double.h:29,
                 from /usr/include/gsl/gsl_matrix.h:4,
                 from /usr/include/gsl/gsl_eigen.h:24,
                 from /usr/include/gsl/gsl_sf_mathieu.h:26,
                 from /usr/include/gsl/gsl_sf.h:31,
                 from gsl.cpp:32:
/usr/include/gsl/gsl_cblas.h:46:6: error: multiple definition of ‘enum
CBLAS_ORDER’
   46 | enum CBLAS_ORDER {CblasRowMajor=101, CblasColMajor=102};
      |      ^~~~~~~~~~~
In file included from ./include/MatriceCreuse_tpl.hpp:19,
                 from ./include/ff++.hpp:32,
                 from gsl.cpp:30:
/usr/include/x86_64-linux-gnu/cblas.h:49:14: note: previous definition here
   49 | typedef enum CBLAS_ORDER     {CblasRowMajor=101,
CblasColMajor=102} CBLAS_ORDER;
      |              ^~~~~~~~~~~
In file included from /usr/include/gsl/gsl_blas_types.h:28,
                 from /usr/include/gsl/gsl_matrix_complex_long_double.h:29,
                 from /usr/include/gsl/gsl_matrix.h:4,
                 from /usr/include/gsl/gsl_eigen.h:24,
                 from /usr/include/gsl/gsl_sf_mathieu.h:26,
                 from /usr/include/gsl/gsl_sf.h:31,
                 from gsl.cpp:32:
/usr/include/gsl/gsl_cblas.h:47:6: error: multiple definition of ‘enum
CBLAS_TRANSPOSE’
   47 | enum CBLAS_TRANSPOSE {CblasNoTrans=111, CblasTrans=112,
CblasConjTrans=113};
      |      ^~~~~~~~~~~~~~~
In file included from ./include/MatriceCreuse_tpl.hpp:19,
                 from ./include/ff++.hpp:32,
                 from gsl.cpp:30:
/usr/include/x86_64-linux-gnu/cblas.h:50:14: note: previous definition here
   50 | typedef enum CBLAS_TRANSPOSE {CblasNoTrans=111,
CblasTrans=112, CblasConjTrans=113, CblasConjNoTrans=114}
CBLAS_TRANSPOSE;
      |              ^~~~~~~~~~~~~~~
In file included from /usr/include/gsl/gsl_blas_types.h:28,
                 from /usr/include/gsl/gsl_matrix_complex_long_double.h:29,
                 from /usr/include/gsl/gsl_matrix.h:4,
                 from /usr/include/gsl/gsl_eigen.h:24,
                 from /usr/include/gsl/gsl_sf_mathieu.h:26,
                 from /usr/include/gsl/gsl_sf.h:31,
                 from gsl.cpp:32:
/usr/include/gsl/gsl_cblas.h:48:6: error: multiple definition of ‘enum
CBLAS_UPLO’
   48 | enum CBLAS_UPLO {CblasUpper=121, CblasLower=122};
      |      ^~~~~~~~~~
In file included from ./include/MatriceCreuse_tpl.hpp:19,
                 from ./include/ff++.hpp:32,
                 from gsl.cpp:30:
/usr/include/x86_64-linux-gnu/cblas.h:51:14: note: previous definition here
   51 | typedef enum CBLAS_UPLO      {CblasUpper=121, CblasLower=122}
CBLAS_UPLO;
      |              ^~~~~~~~~~
In file included from /usr/include/gsl/gsl_blas_types.h:28,
                 from /usr/include/gsl/gsl_matrix_complex_long_double.h:29,
                 from /usr/include/gsl/gsl_matrix.h:4,
                 from /usr/include/gsl/gsl_eigen.h:24,
                 from /usr/include/gsl/gsl_sf_mathieu.h:26,
                 from /usr/include/gsl/gsl_sf.h:31,
                 from gsl.cpp:32:
/usr/include/gsl/gsl_cblas.h:49:6: error: multiple definition of ‘enum
CBLAS_DIAG’
   49 | enum CBLAS_DIAG {CblasNonUnit=131, CblasUnit=132};
      |      ^~~~~~~~~~
In file included from ./include/MatriceCreuse_tpl.hpp:19,
                 from ./include/ff++.hpp:32,
                 from gsl.cpp:30:
/usr/include/x86_64-linux-gnu/cblas.h:52:14: note: previous definition here
   52 | typedef enum CBLAS_DIAG      {CblasNonUnit=131, CblasUnit=132}
CBLAS_DIAG;
      |              ^~~~~~~~~~
In file included from /usr/include/gsl/gsl_blas_types.h:28,
                 from /usr/include/gsl/gsl_matrix_complex_long_double.h:29,
                 from /usr/include/gsl/gsl_matrix.h:4,
                 from /usr/include/gsl/gsl_eigen.h:24,
                 from /usr/include/gsl/gsl_sf_mathieu.h:26,
                 from /usr/include/gsl/gsl_sf.h:31,
                 from gsl.cpp:32:
/usr/include/gsl/gsl_cblas.h:50:6: error: multiple definition of ‘enum
CBLAS_SIDE’
   50 | enum CBLAS_SIDE {CblasLeft=141, CblasRight=142};
      |      ^~~~~~~~~~
In file included from ./include/MatriceCreuse_tpl.hpp:19,
                 from ./include/ff++.hpp:32,
                 from gsl.cpp:30:
/usr/include/x86_64-linux-gnu/cblas.h:53:14: note: previous definition here
   53 | typedef enum CBLAS_SIDE      {CblasLeft=141, CblasRight=142} CBLAS_SIDE;
      |              ^~~~~~~~~~
In file included from /usr/include/gsl/gsl_blas_types.h:28,
                 from /usr/include/gsl/gsl_matrix_complex_long_double.h:29,
                 from /usr/include/gsl/gsl_matrix.h:4,
                 from /usr/include/gsl/gsl_eigen.h:24,
                 from /usr/include/gsl/gsl_sf_mathieu.h:26,
                 from /usr/include/gsl/gsl_sf.h:31,
                 from gsl.cpp:32:
/usr/include/gsl/gsl_cblas.h:602:6: error: conflicting declaration of
C function ‘void cblas_xerbla(int, const char*, const char*, ...)’
  602 | void cblas_xerbla(int p, const char *rout, const char *form, ...);
      |      ^~~~~~~~~~~~
In file included from ./include/MatriceCreuse_tpl.hpp:19,
                 from ./include/ff++.hpp:32,
                 from gsl.cpp:30:
/usr/include/x86_64-linux-gnu/cblas.h:341:6: note: previous
declaration ‘void cblas_xerbla(blasint, char*, char*, ...)’
  341 | void cblas_xerbla(blasint p, char *rout, char *form, ...);
      |      ^~~~~~~~~~~~



More information about the debian-science-maintainers mailing list