Bug#740285: src:dune-pdelab: FTBFS against libsuperlu-dev >= 4.3

Sébastien Villemot sebastien at debian.org
Thu Feb 27 21:05:36 UTC 2014


Package: src:dune-pdelab
Version: 2.0~20140205g0cee0ce-1
Severity: serious
Forwarded: https://dune-project.org/flyspray/index.php?do=details&task_id=831

Dear Maintainer,

superlu 4.3 has been uploaded to unstable. The -dev package is now
libsuperlu-dev (it should be updated in your Build-Depends and in the Depends
field of libdune-pdelab-dev).

Unfortunately, dune-pdelab FTBFS against superlu 4.3:

g++ -std=c++11 -DHAVE_CONFIG_H -I. -I../../..  -I./ -I./   -I./ -I./   -I./ -I./   -I./ -I./   -I./ -I./   -I./ -I./ -DENABLE_POSIX_CLOCK -I../../.. -DGRIDSDIR="\"./grids\""    -I./ -I./   -I./ -I./   -I./ -I./   -I./ -I./   -I./ -I./   -I./ -I./ -DENABLE_POSIX_CLOCK -I/usr/lib/openmpi/include -I/usr/lib/openmpi/include/openmpi -pthread -DMPIPP_H -DENABLE_MPI=1  -I/usr/include -I/usr/include/alberta -DALBERTA_DIM=2 -DENABLE_ALBERTA -I/usr/include/superlu -DENABLE_SUPERLU -D_FORTIFY_SOURCE=2  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -fpermissive -c -o testlaplacedirichletccfv-testlaplacedirichletccfv.o `test -f 'testlaplacedirichletccfv.cc' || echo './'`testlaplacedirichletccfv.cc
In file included from /usr/include/alberta/alberta.h:52:0,
                 from /usr/include/dune/grid/albertagrid/albertaheader.hh:57,
                 from /usr/include/dune/grid/albertagrid/agrid.hh:33,
                 from /usr/include/dune/grid/albertagrid.hh:5,
                 from gridexamples.hh:16,
                 from testlaplacedirichletccfv.cc:32:
/usr/include/alberta/alberta_util.h:209:57: error: declaration of C function ‘void print_int_vec(const char*, const int*, int)’ conflicts with
 void print_int_vec(const char *s, const int *vec, int no);
                                                         ^
In file included from /usr/include/superlu/slu_ddefs.h:84:0,
                 from /usr/include/dune/istl/superlu.hh:23,
                 from /usr/include/dune/istl/paamg/amg.hh:14,
                 from ../../../dune/pdelab/backend/seqistlsolverbackend.hh:15,
                 from testlaplacedirichletccfv.cc:25:
/usr/include/superlu/slu_util.h:360:16: error: previous declaration ‘int print_int_vec(char*, int, int*)’ here
 extern int     print_int_vec(char *,int, int *);
                ^

There is a name clash between headers from libalberta2-dev and libsuperlu-dev.

According to the upstream bug report, alberta has renamed the function in
recent source snapshots (and maybe in 3.0-rc7 available for download, this
needs to be checked). So the right solution is probably to update alberta in
Debian.

Cheers,

-- 
 .''`.    Sébastien Villemot
: :' :    Debian Developer
`. `'     http://www.dynare.org/sebastien
  `-      GPG Key: 4096R/381A7594
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/debian-science-maintainers/attachments/20140227/63710241/attachment.sig>


More information about the debian-science-maintainers mailing list