Package: src:hypre
Version: 2.14.0-2

hypre has underlinked libraries, causing build failures with ld --as-needed
, as seen when building the sundials package.

   dh_shlibdeps -a -O--sourcedirectory=src
dpkg-shlibdeps: warning: symbol dgetrf_ used by debian/libhypre-2.14.0/usr/lib/x86_64-linux-gnu/libHYPRE_parcsr_mv-2.14.0.so found in none of the libraries dpkg-shlibdeps: warning: symbol hypre_ExchangeRAPData used by debian/libhypre-2.14.0/usr/lib/x86_64-linux-gnu/libHYPRE_parcsr_mv-2.14.0.so found in none of the libraries dpkg-shlibdeps: warning: symbol dgetri_ used by debian/libhypre-2.14.0/usr/lib/x86_64-linux-gnu/libHYPRE_parcsr_mv-2.14.0.so found in none of the libraries dpkg-shlibdeps: warning: symbol Destroy_CompCol_Permuted used by debian/libhypre-2.14.0/usr/lib/x86_64-linux-gnu/libHYPRE_mli-2.14.0.so found in none of the libraries dpkg-shlibdeps: warning: symbol dCreate_CompCol_Matrix used by debian/libhypre-2.14.0/usr/lib/x86_64-linux-gnu/libHYPRE_mli-2.14.0.so found in none of the libraries dpkg-shlibdeps: warning: symbol StatInit used by debian/libhypre-2.14.0/usr/lib/x86_64-linux-gnu/libHYPRE_mli-2.14.0.so found in none of the libraries dpkg-shlibdeps: warning: symbol Destroy_SuperMatrix_Store used by debian/libhypre-2.14.0/usr/lib/x86_64-linux-gnu/libHYPRE_mli-2.14.0.so found in none of the libraries dpkg-shlibdeps: warning: symbol HYPRE_ParCSRFGMRESSolve used by debian/libhypre-2.14.0/usr/lib/x86_64-linux-gnu/libHYPRE_mli-2.14.0.so found in none of the libraries dpkg-shlibdeps: warning: symbol HYPRE_ParCSRFGMRESSetLogging used by debian/libhypre-2.14.0/usr/lib/x86_64-linux-gnu/libHYPRE_mli-2.14.0.so found in none of the libraries dpkg-shlibdeps: warning: symbol Destroy_SuperNode_Matrix used by debian/libhypre-2.14.0/usr/lib/x86_64-linux-gnu/libHYPRE_mli-2.14.0.so found in none of the libraries dpkg-shlibdeps: warning: symbol HYPRE_ParCSRFGMRESGetFinalRelativeResidualNorm used by debian/libhypre-2.14.0/usr/lib/x86_64-linux-gnu/libHYPRE_mli-2.14.0.so found in none of the libraries dpkg-shlibdeps: warning: symbol sp_ienv used by debian/libhypre-2.14.0/usr/lib/x86_64-linux-gnu/libHYPRE_mli-2.14.0.so found in none of the libraries dpkg-shlibdeps: warning: symbol HYPRE_ParCSRFGMRESCreate used by debian/libhypre-2.14.0/usr/lib/x86_64-linux-gnu/libHYPRE_mli-2.14.0.so found in none of the libraries dpkg-shlibdeps: warning: 14 other similar warnings have been skipped (use -v to see them all)


from a sundials build log:

cd /<<BUILDDIR>>/sundials-3.1.1+dfsg/debian/build/examples/cvode/serial && /usr/bin/cc -I/usr/include/suitesparse -I/usr/include/hypre -I/usr/lib/petscdir/petsc3.8/x86_64-linux-gnu-real/include -I/<<BUILDDIR>>/sundials-3.1.1+dfsg/include -I/<<BUILDDIR>>/sundials-3.1.1+dfsg/debian/build/include -g -O2 -fdebug-prefix-map=/<<BUILDDIR>>/sundials-3.1.1+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -o CMakeFiles/cvDiurnal_kry_bp.dir/cvDiurnal_kry_bp.c.o -c /<<BUILDDIR>>/sundials-3.1.1+dfsg/examples/cvode/serial/cvDiurnal_kry_bp.c /usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/libHYPRE_parcsr_mv.so: undefined reference to `hypre_ExchangeRAPData' /usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/libHYPRE_parcsr_mv.so: undefined reference to `dgetrf_' /usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/libHYPRE_parcsr_mv.so: undefined reference to `dgetri_'
collect2: error: ld returned 1 exit status

so libHYPRE_parcsr_mv.so is underlinked with at least two libraries.

Reply via email to