Bug#838327: dune-pdelab: FTBFS in testing (error: cannot convert 'mem_usage_t*' to 'GlobalLU_t*')
Santiago Vila
sanvila at debian.org
Mon Sep 19 22:21:13 UTC 2016
Package: src:dune-pdelab
Version: 2.4.1-1
Severity: serious
Dear maintainer:
I tried to build this package in stretch with "dpkg-buildpackage -A"
(which is what the "Arch: all" autobuilder would do to build it)
but it failed:
--------------------------------------------------------------------------------
[...]
debian/rules build-indep
dh build-indep --parallel
dh_testdir -i -O--parallel
dh_update_autotools_config -i -O--parallel
debian/rules override_dh_auto_configure
make[1]: Entering directory '/<<PKGBUILDDIR>>'
/usr/bin/dunecontrol autogen
WARNING: could not find module dune-alugrid,
module is also unknown to pkg-config.
Maybe you need to adjust PKG_CONFIG_PATH!
dune-alugrid is suggested by dune-pdelab
Skipping dune-alugrid!
--- going to build dune-pdelab ---
[... snipped ...]
libtool: link: g++ -std=c++11 -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -fpermissive -pthread -pthread -Wl,-z -Wl,relro -o .libs/testgridfunctionspace testgridfunctionspace.o -pthread -Wl,-rpath -Wl,/usr/lib/openmpi/lib -Wl,--enable-new-dtags ../../../lib/.libs/libdunepdelab.so -ldunegrid -ldunegeometry -ldunecommon -L/usr/lib/openmpi/lib -lmpi -lugS2 -lugS3 -ldevS -lm -pthread
g++ -std=c++11 -DHAVE_CONFIG_H -I. -I../../.. -pthread -I./ -I./ -I./ -I./ -I./ -I./ -I./ -I./ -I./ -I./ -I./ -I./ -DENABLE_POSIX_CLOCK -I../../.. -DGRIDSDIR="\"./grids\"" -DENABLE_UG -pthread -I./ -I./ -I./ -I./ -I./ -I./ -I./ -I./ -I./ -I./ -I./ -I./ -DENABLE_POSIX_CLOCK -I/usr/lib/openmpi/include/openmpi/opal/mca/event/libevent2021/libevent -I/usr/lib/openmpi/include/openmpi/opal/mca/event/libevent2021/libevent/include -I/usr/lib/openmpi/include -I/usr/lib/openmpi/include/openmpi -pthread -DMPIPP_H -DENABLE_MPI=1 -I/usr/include/superlu -DENABLE_SUPERLU -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -fpermissive -c -o testelasticity-testelasticity.o `test -f 'testelasticity.cc' || echo './'`testelasticity.cc
In file included from /usr/include/dune/istl/paamg/amg.hh:13:0,
from ../../../dune/pdelab/backend/istl/seqistlsolverbackend.hh:15,
from ../../../dune/pdelab/backend/istl/istlsolverbackend.hh:6,
from ../../../dune/pdelab/backend/istl.hh:7,
from testelasticity.cc:20:
/usr/include/dune/istl/superlu.hh: In static member function 'static void Dune::SuperLUSolveChooser<double>::solve(superlu_options_t*, SuperMatrix*, int*, int*, int*, char*, double*, double*, SuperMatrix*, SuperMatrix*, void*, int, SuperMatrix*, SuperMatrix*, double*, double*, double*, double*, mem_usage_t*, SuperLUStat_t*, int*)':
/usr/include/dune/istl/superlu.hh:172:34: error: cannot convert 'mem_usage_t*' to 'GlobalLU_t*' for argument '19' to 'void dgssvx(superlu_options_t*, SuperMatrix*, int*, int*, int*, char*, double*, double*, SuperMatrix*, SuperMatrix*, void*, int, SuperMatrix*, SuperMatrix*, double*, double*, double*, double*, GlobalLU_t*, mem_usage_t*, SuperLUStat_t*, int*)'
memusage, stat, info);
^
Makefile:1646: recipe for target 'testelasticity-testelasticity.o' failed
make[7]: *** [testelasticity-testelasticity.o] Error 1
make[7]: Leaving directory '/<<PKGBUILDDIR>>/dune/pdelab/test'
Makefile:2231: recipe for target 'check-am' failed
make[6]: *** [check-am] Error 2
make[6]: Leaving directory '/<<PKGBUILDDIR>>/dune/pdelab/test'
Makefile:1808: recipe for target 'check-recursive' failed
make[5]: *** [check-recursive] Error 1
make[5]: Leaving directory '/<<PKGBUILDDIR>>/dune/pdelab/test'
Makefile:638: recipe for target 'check-recursive' failed
make[4]: *** [check-recursive] Error 1
make[4]: Leaving directory '/<<PKGBUILDDIR>>/dune/pdelab'
Makefile:620: recipe for target 'check-recursive' failed
make[3]: *** [check-recursive] Error 1
make[3]: Leaving directory '/<<PKGBUILDDIR>>/dune'
Makefile:798: recipe for target 'check-recursive' failed
make[2]: *** [check-recursive] Error 1
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_test: make -j1 check VERBOSE=1 returned exit code 2
/usr/share/dune/dune-debian.mk:26: recipe for target 'override_dh_auto_test' failed
make[1]: *** [override_dh_auto_test] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
debian/rules:10: recipe for target 'build-indep' failed
make: *** [build-indep] Error 2
dpkg-buildpackage: error: debian/rules build-indep gave error exit status 2
--------------------------------------------------------------------------------
Seems a GCC 6 related problem.
Thanks.
More information about the debian-science-maintainers
mailing list