This bug has definitely not been fixed. Here is a simple reproducer for Debian bookworm:
# apt install cmake libscalapack-mpi-dev # cat <<EOF >CMakeLists.txt cmake_minimum_required(VERSION 3.25) project(broken LANGUAGES C) find_package(SCALAPACK CONFIG) EOF # cmake . -- The C compiler identification is GNU 12.2.0 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/cc - skipped -- Detecting C compile features -- Detecting C compile features - done CMake Error at /usr/lib/cmake/scalapack-2.2.1.openmpi/scalapack-targets.cmake:93 (message): The imported target "scalapack" references the file "/usr/lib/libscalapack-openmpi.so.2.2.1" but this file does not exist. Possible reasons include: * The file was deleted, renamed, or moved to another location. * An install or uninstall procedure did not complete successfully. * The installation package was faulty and contained "/usr/lib/cmake/scalapack-2.2.1.openmpi/scalapack-targets.cmake" but not all the files it references. Call Stack (most recent call first): /usr/lib/cmake/scalapack-2.2.1.openmpi/scalapack-config.cmake:2 (include) CMakeLists.txt:3 (find_package) -- Configuring incomplete, errors occurred! See also "/__w/test/CMakeFiles/CMakeOutput.log" On Thu, 26 Oct 2023 00:32:43 +0000 Debian FTP Masters <ftpmas...@ftp-master.debian.org> wrote: > Source: scalapack > Source-Version: 2.2.1-3 > Done: Drew Parsons <dpars...@debian.org> > > We believe that the bug you reported is fixed in the latest version of > scalapack, 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 1051...@bugs.debian.org, > and the maintainer will reopen the bug report if appropriate. > > Debian distribution maintenance software > pp. > Drew Parsons <dpars...@debian.org> (supplier of updated scalapack 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 ftpmas...@ftp-master.debian.org) > > > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA256 > > Format: 1.8 > Date: Thu, 26 Oct 2023 00:08:06 +0200 > Source: scalapack > Architecture: source > Version: 2.2.1-3 > Distribution: unstable > Urgency: medium > Maintainer: Debian Science Maintainers > <debian-science-maintain...@lists.alioth.debian.org> > Changed-By: Drew Parsons <dpars...@debian.org> > Closes: 1051986 > Changes: > scalapack (2.2.1-3) unstable; urgency=medium > . > * Team upload. > . > [ Debian Janitor ] > * Trim trailing whitespace. > * Use secure URI in Homepage field. > * Update renamed lintian tag names in lintian overrides. > * Set upstream metadata fields: Repository-Browse. > * Fix day-of-week for changelog entry 1.8.0-7. > * Avoid explicitly specifying -Wl,--as-needed linker flag. > . > [ Drew Parsons ] > * debian patch install_libdir_multiarch.patch installs libraries, > cmake and pkgconfig files into multiarch destinations > (CMAKE_INSTALL_LIBDIR from GNUInstallDirs). Closes: #1051986. > * extend debian patch sharedlibs-soname.patch to add MPI_FLAVOR > suffix to installed pkgconfig files and cmake install dirs. > Simplifies package install scripts (executable scripts no longer > needed). > * debian/rules: set LD_LIBRARY_PATH to new libraries only when > running tests > * Standards-Version: 4.6.2