Your message dated Thu, 26 Oct 2023 00:32:43 +0000 with message-id <[email protected]> and subject line Bug#1051986: fixed in scalapack 2.2.1-3 has caused the Debian Bug report #1051986, regarding scalapack: cmake files miss multiarch, referencing missing file 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.) -- 1051986: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1051986 Debian Bug Tracking System Contact [email protected] with problems
--- Begin Message ---Source: scalapack Version: 2.2.1-2 Severity: serious Hi, I'm building a package that can use scalapack; it uses cmake as build system and fails configuring as such: |dh_auto_configure -- \ | -DCMAKE_BUILD_TYPE= \ | -DBUILD_SHARED_LIBS=NO \ | -DBUILD_TESTING=YES \ | -DENABLE_SCALAPACK_MPI=YES | cd obj-x86_64-linux-gnu && DEB_PYTHON_INSTALL_LAYOUT=deb cmake |-DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=None |-DCMAKE_INSTALL_SYSCONFDIR=/etc -DCMAKE_INSTALL_LOCALSTATEDIR=/var |-DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=ON |-DCMAKE_FIND_USE_PACKAGE_REGISTRY=OFF |-DCMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY=ON |-DFETCHCONTENT_FULLY_DISCONNECTED=ON -DCMAKE_INSTALL_RUNSTATEDIR=/run |"-GUnix Makefiles" -DCMAKE_VERBOSE_MAKEFILE=ON |-DCMAKE_INSTALL_LIBDIR=lib/x86_64-linux-gnu -DCMAKE_BUILD_TYPE= |-DBUILD_SHARED_LIBS=NO -DBUILD_TESTING=YES -DENABLE_SCALAPACK_MPI=YES .. |-- Setting build type to Release as none was set |-- Will use the mpi_f08 Fortran module |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:61 (find_package) Looking at /usr/lib/cmake/scalapack-2.2.1.openmpi/scalapack-targets-none.cmake it does not take multiarch into account: |# grep PREFIX.*openmpi /usr/lib/cmake/scalapack-2.2.1.openmpi/scalapack-targets-none.cmake | IMPORTED_LOCATION_NONE "${_IMPORT_PREFIX}/lib/libscalapack-openmpi.so.2.2.1" |list(APPEND _cmake_import_check_files_for_scalapack "${_IMPORT_PREFIX}/lib/libscalapack-openmpi.so.2.2.1" ) If I add (see attached patch), the build goes fine. I have not looked so far at what it would take to change in the scalapack build system to fix this. Michael -- System Information: Debian Release: 10.13 APT prefers oldoldstable-updates APT policy: (500, 'oldoldstable-updates'), (500, 'oldoldstable') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 4.19.0-22-amd64 (SMP w/2 CPU cores) Kernel taint flags: TAINT_UNSIGNED_MODULE Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US:en (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled--- /usr/lib/cmake/scalapack-2.2.1.openmpi/scalapack-targets-none.cmake 2023-09-15 11:27:13.423032655 +0000 +++ /usr/lib/cmake/scalapack-2.2.1.openmpi/scalapack-targets-none.cmake.new 2023-09-15 11:26:56.347447809 +0000 @@ -8,12 +8,12 @@ # Import target "scalapack" for configuration "None" set_property(TARGET scalapack APPEND PROPERTY IMPORTED_CONFIGURATIONS NONE) set_target_properties(scalapack PROPERTIES - IMPORTED_LOCATION_NONE "${_IMPORT_PREFIX}/lib/libscalapack-openmpi.so.2.2.1" + IMPORTED_LOCATION_NONE "${_IMPORT_PREFIX}/lib/${CMAKE_LIBRARY_ARCHITECTURE}/libscalapack-openmpi.so.2.2.1" IMPORTED_SONAME_NONE "libscalapack-openmpi.so.2.2" ) list(APPEND _cmake_import_check_targets scalapack ) -list(APPEND _cmake_import_check_files_for_scalapack "${_IMPORT_PREFIX}/lib/libscalapack-openmpi.so.2.2.1" ) +list(APPEND _cmake_import_check_files_for_scalapack "${_IMPORT_PREFIX}/lib/${CMAKE_LIBRARY_ARCHITECTURE}/libscalapack-openmpi.so.2.2.1" ) # Commands beyond this point should not need to know the version. set(CMAKE_IMPORT_FILE_VERSION)
--- End Message ---
--- Begin Message ---Source: scalapack Source-Version: 2.2.1-3 Done: Drew Parsons <[email protected]> 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 [email protected], and the maintainer will reopen the bug report if appropriate. Debian distribution maintenance software pp. Drew Parsons <[email protected]> (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 [email protected]) -----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 <[email protected]> Changed-By: Drew Parsons <[email protected]> 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 Checksums-Sha1: d08f68dec06806cdf493af5f92730ba4eb9a393d 2669 scalapack_2.2.1-3.dsc 4d07fe790aa3349b40b1b4dba4c079bb2205c38d 14916 scalapack_2.2.1-3.debian.tar.xz Checksums-Sha256: 900e4703c1ed7c79082f819320813c3c44138574b6bb3a3dcb0733144e66d1e5 2669 scalapack_2.2.1-3.dsc 9fd0088320cfde8cf436a2e41bd85fccb9ea9e823ee0b238d745200f0e3be747 14916 scalapack_2.2.1-3.debian.tar.xz Files: 2c3c776db05a266fd50a2990822e46b9 2669 devel optional scalapack_2.2.1-3.dsc 7811233c6f6ad32c911d0b581c1ac60a 14916 devel optional scalapack_2.2.1-3.debian.tar.xz -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEI8mpPlhYGekSbQo2Vz7x5L1aAfoFAmU5qnAACgkQVz7x5L1a AfolEQ/9GjUsUVleOM2fMduO2GOIX8wzM81HEjXtXMfO8jVlMBtbZqHXlJ619UZ8 C8LBiBbACjwSFboijk2fEFYq3ZlKLVePvjHEX+DBmD983Iq4OOWU5VNApe+XoXzc Oofn7kjBYoeknSVLvUBnSa4EsPiEAhYPHEl2JxOytaK1kCCoPZ/kO6C/IqGWJgjc vf5lHijZZlqYSQ+zeTeziLeOO1tiS6OQSca+2rcfLeXdnCHywQuIhEg1ihwMoH7k IRpQYR0rOhTbUx0mgvXtvkTl2ltMH24Xj1d5k2OZvclZd+C3gfTRzL8p7eL1+2b0 lentlrkQJmi+kdrMO3Uc5PWgw3FJImAxLd09zFtEkJV6FrIWUD+PSnzXLeKNT+Nx 4NrbphN4dNpcduL2AuSaIkiXQOWAELYNle+UfBTda4sLBNPbO4Gzwst1ZkmJ7EwF WenmRdvms3Fuwkwg1P1P4H1rQZbmC3vmRGAhplLUltfygupjMN3RUSR3b/MIHNFP oK/55MFezEYBy1JTSuX63kJbb1bh+ebfYymf/5EGn3cK9STB+dt0zy+z0FPvkLNo Su0zQFcR6xIPkz8/HX8HBwQswAkTTOcMPBGvN082LwHqTcOXhWusjaSma0WddjY1 tq82D+4R1ljKgEhfg4lgXFRbWXcDd2xWeHfXUM8iW8zyPRQjYnk= =MD1h -----END PGP SIGNATURE-----
--- End Message ---

