Your message dated Sun, 06 Aug 2023 20:43:44 +0000 with message-id <[email protected]> and subject line Bug#1039904: fixed in openblas 0.3.23+ds-3 has caused the Debian Bug report #1039904, regarding libopenblas64-pthread-dev: 64-bit lapack-openblas.pc needs -lopenblas64 to be marked as done.
This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact [email protected] immediately.) -- 1039904: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1039904 Debian Bug Tracking System Contact [email protected] with problems
--- Begin Message ---Package: libopenblas64-pthread-dev Version: 0.3.23+ds-2 Severity: important I'm trying to build hypre 2.29.0. It uses lapack+blas, configuring via pkg-config to get the appropriate -llapack -lblas flags. The debian hypre package builds both 32 bit and 64 bit variants of libhypre.so. On my local system blas,lapack are installed as OpenBLAS-pthread (libopenblas-pthread-dev, libopenblas64-pthread-dev) The 64-bit variant of hypre fails to build with an error mpicc -shared -o libHYPRE64-2.29.0.so .... -L/usr/lib/x86_64-linux-gnu/openblas64-pthread -llapack64 -L/usr/lib/x86_64-linux-gnu/openblas64-pthread -lblas64 -lmpi -lm .... /usr/bin/ld: /home/drew/projects/mathlibs/build/hypre/src64/parcsr_ls/par_mgr.o: in function `hypre_BlockDiagInvLapack': ./src64/parcsr_ls/./src64/parcsr_ls/par_mgr.c:4430: undefined reference to `dgetri_' /usr/bin/ld: ./src64/parcsr_ls/./src64/parcsr_ls/par_mgr.c:4422: undefined reference to `dgetri_' ... /usr/bin/ld: /home/drew/projects/mathlibs/build/hypre/src64/parcsr_ls/schwarz.o:./src64/parcsr_ls/./src64/parcsr_ls/schwarz.c:1083: more undefined references to `dpotrs_' follow /usr/bin/ld: /home/drew/projects/mathlibs/build/hypre/src64/parcsr_mv/par_csr_matop.o: in function `hypre_ParcsrBdiagInvScal': ./src64/parcsr_mv/./src64/parcsr_mv/par_csr_matop.c:4573: undefined reference to `dgetri_' /usr/bin/ld: ./src64/parcsr_mv/./src64/parcsr_mv/par_csr_matop.c:4583: undefined reference to `dgetri_' /usr/bin/ld: /home/drew/projects/mathlibs/build/hypre/src64/parcsr_ls/ame.obj: in function `hypre_AMESolve': ./src64/parcsr_ls/./src64/parcsr_ls/ame.c:840: undefined reference to `dsygv_' collect2: error: ld returned 1 exit status openblas uses the debian BLAS alternatives system. The pkgconfig file alternative for lapack64.pc points at /usr/lib/x86_64-linux-gnu/openblas64-pthread/pkgconfig/lapack-openblas.pc The liblapack64.so alternative points ultimate at /usr/lib/x86_64-linux-gnu/openblas64-pthread/liblapack64.so which is not the same as /usr/lib/x86_64-linux-gnu/openblas64-pthread/libopenblas64.so both provided by libopenblas64-0-pthread lapack-openblas.pc defines the lib as -llapack64 not -lopenblas64 (which is reasonable) If I inspect $ nm -D /usr/lib/x86_64-linux-gnu/openblas64-pthread/liblapack64.so | grep -P "dgetri_|dsygv_" I see the symbols are indeed missing. though they can be found in the 32 bit variant $ nm -D /usr/lib/x86_64-linux-gnu/openblas-pthread/liblapack.so | grep -P "dgetri_|dsygv_" 000000000020cdd0 T dgetri_ 00000000002e4c80 T dsygv_ 00000000002e5110 T dsygv_2stage_ I find the symbols are also found (in 64 bit) in libopenblas64.so $ nm -D /usr/lib/x86_64-linux-gnu/openblas64-pthread/libopenblas64.so | grep -P "dgetri_|dsygv_" 0000000001cd7e20 T dgetri_ 0000000001db1c40 T dsygv_ 0000000001db2110 T dsygv_2stage_ I also see from objdump -p /usr/lib/x86_64-linux-gnu/openblas64-pthread/liblapack64.so that openblas's liblapack64.so needs NEEDED libopenblas64.so.0 Following that, I can get hypre to compile by adding -lopenblas64 after -llapack64. So it looks like lapack-openblas.pc is incomplete It currently declares (for openblas64-pthread) Libs: -L${libdir} -llapack64 Looks like that should be Libs: -L${libdir} -llapack64 -lopenblas64 (I guess Libs.private should be patched the same way) I presume the same problem also exists with libopenblas64-openmp-dev and libopenblas64-serial-dev -- System Information: Debian Release: trixie/sid APT prefers unstable-debug APT policy: (500, 'unstable-debug'), (500, 'unstable'), (1, 'experimental') merged-usr: no Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 6.3.0-1-amd64 (SMP w/8 CPU threads; PREEMPT) Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_WARN, TAINT_OOT_MODULE Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8), LANGUAGE=en_AU:en Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages libopenblas64-pthread-dev depends on: ii libopenblas64-0-pthread 0.3.23+ds-2 libopenblas64-pthread-dev recommends no packages. libopenblas64-pthread-dev suggests no packages. -- no debconf information
--- End Message ---
--- Begin Message ---Source: openblas Source-Version: 0.3.23+ds-3 Done: Sébastien Villemot <[email protected]> We believe that the bug you reported is fixed in the latest version of openblas, which is due to be installed in the Debian FTP archive. A summary of the changes between this version and the previous one is attached. Thank you for reporting the bug, which will now be closed. If you have further comments please address them to [email protected], and the maintainer will reopen the bug report if appropriate. Debian distribution maintenance software pp. Sébastien Villemot <[email protected]> (supplier of updated openblas package) (This message was generated automatically at their request; if you believe that there is a problem with it please contact the archive administrators by mailing [email protected]) -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 Format: 1.8 Date: Sun, 06 Aug 2023 20:45:18 +0200 Source: openblas Architecture: source Version: 0.3.23+ds-3 Distribution: unstable Urgency: medium Maintainer: Debian Science Team <[email protected]> Changed-By: Sébastien Villemot <[email protected]> Closes: 1039904 1043048 Changes: openblas (0.3.23+ds-3) unstable; urgency=medium . * mips64-generic.patch: new patch from upstream. Fixes incorrect numerical results on mips64el. (Closes: #1043048) * shared-blas-lapack.patch: restore missing symbols in liblapack64.so.3. Many symbols were inadvertently dropped in version 0.3.22+ds-1, because of the overhaul of no-embedded-lapack.patch that removed the lapack64-netlib directory. (Closes: #1039904) * shared-blas-lapack.patch: add missing clean rule for lib{blas,lapack}64.so.3 * Remove all references to kfreebsd-{amd64,i386} ports * README.Debian: update binary packages names for custom installation procedure Checksums-Sha1: 5f24c0b74d1bac0ac5e3f4ac65751b5b2217eeba 4419 openblas_0.3.23+ds-3.dsc 0e3e1ef117ca63005839f3f6965289899b5ea9dd 24372 openblas_0.3.23+ds-3.debian.tar.xz 6ffc49bf930925fa459d178cff986e04f8fda240 13139 openblas_0.3.23+ds-3_amd64.buildinfo Checksums-Sha256: 70bfdbe0cdf6452c218145b81c92512e60dd6b36de8b4a22096e41dfc1a3a005 4419 openblas_0.3.23+ds-3.dsc 386c2ef24b62da25ecae28fe3842aaea02d288bc8795156a6bbee20b12808086 24372 openblas_0.3.23+ds-3.debian.tar.xz c76368f777c5c9c053f00408979d36a23eb654a2374850b7a3718faeef7fc1fd 13139 openblas_0.3.23+ds-3_amd64.buildinfo Files: 730c2018ebda924f635d73d218dd1cbd 4419 devel optional openblas_0.3.23+ds-3.dsc 93a786c9546d05bcb42dda9383e5fdbe 24372 devel optional openblas_0.3.23+ds-3.debian.tar.xz 97365728fea344553bf59f798b14db98 13139 devel optional openblas_0.3.23+ds-3_amd64.buildinfo -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEU5UdlScuDFuCvoxKLOzpNQ7OvkoFAmTP/7MACgkQLOzpNQ7O vkrHuw/+Pyr8DHAutUOq5QocyLOSyDKE/Je1AKgnOKOOq2ZedVSkYROToMMypDLq jmXncuIK335L9BgONz/qYUUp5lN7DNiDgCKIRUIuo1YbS0rugXR1pruj3p9dNJ76 xx633KAJWINNe+e/bxzThkcE+8g5CL+aRHVndBeBGfN7Yf8IcL7e1KrI6ULhPZvT RNXWQqixH+DYqX6jbWvPLn0wvJ3uzhj6YCPskdrDzMAqsYyFWrFwlTOP65Yu7alI HFJIldiFQTlAgs5WuBcWA6dot7VC3yyKnZaF110loHsvhGPr8c5aMKRlrtPoLU60 v4CqsOsig4Ys/3tU6gJzHnKdBY6NzIz/tuZ+GQmuzWEk40i6BLBTMDyXCGoTuZjC y4nn4G2TienpVnMPSfLEqGkcrJQMyYT9bc+FTxCXhI10/5L0YWfRj6nkPGCPaQSu CECp+OGYqKSQpmJ+/sMPgC5VdDPtNbos4HqDqxkcnSXLPm3iso+TS8xrIiL2bdby +2og7EtO0ztkVHGecB/jXYpTQSIEBuWwLxwXYpX6Nf7H4UcmVsBuvAqJfK2SSGPk de48sFaIXCRKIuGSoVwUnZWjYhUzEXGvMaGEVBFDwAgqnPb/Eoo79rLkK2xPC2H5 X/OZZYGDC9L/ATQRlAPWllbdJwNyVPgZphjkr+N8uzfnYhxCfQw= =uLUj -----END PGP SIGNATURE-----
--- End Message ---
-- debian-science-maintainers mailing list [email protected] https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/debian-science-maintainers
