Your message dated Sat, 16 Nov 2024 09:37:48 +0000 with message-id <e1tcffu-007wg6...@fasolo.debian.org> and subject line Bug#1085509: fixed in openmpi 5.0.5-6 has caused the Debian Bug report #1085509, regarding Rpath used in OpenMPI compiler wrappers 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 ow...@bugs.debian.org immediately.) -- 1085509: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1085509 Debian Bug Tracking System Contact ow...@bugs.debian.org with problems
--- Begin Message ---Source: cmake Version: 3.30.5 Severity: important Dear Maintainer, I have been hunting this down for a few days, as I got lintian errors in my packges telling me that there is an rapth to /usr/lib/x86_64-linux- gnu/openmpi/lib in the shared libraries of my packages. This happened in experimental, but there is the same problem in sid. The packages are using CMake as a build system, use it to search for MPI and link to that. One use "cmake -DCMAKE_SKIP_RPATH" to tell cmake to never add any rpath anywhere. Unfortunately this does not work for the current openmpi version 5.0.5-3 (it worked for version 4.1.6-13. To reproduce unpack the attached example project and execute the following there apt-get install chrpath mpi-default-dev cmake g++ mkdir mpi/build; cd mpi/build; cmake -DCMAKE_SKIP_RPATH=ON .. make VERBOSE=1 chrpath mpi_test In current sid/experimental you will see: $ cmake -DCMAKE_SKIP_RPATH=ON .. CMake Warning (dev) at CMakeLists.txt:1 (project): cmake_minimum_required() should be called prior to this top-level project() call. Please see the cmake-commands(7) manual for usage documentation of both commands. This warning is for project developers. Use -Wno-dev to suppress it. -- The CXX compiler identification is GNU 14.2.0 -- The C compiler identification is GNU 14.2.0 -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /usr/bin/c++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- 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 -- Found MPI_C: /usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi.so (found suitable version "3.1", minimum required is "3.0") -- Found MPI: TRUE (found suitable version "3.1", minimum required is "3.0") found components: C in= INTERFACE_LINK_OPTIONS=$<HOST_LINK:SHELL:-Wl$<COMMA>-rpath -Wl$<COMMA>/usr/lib/x86_64-linux-gnu/openmpi/lib> INTERFACE_LINK_LIBRARIES=/usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi.so INTERFACE_LINK_OPTIONS=$<HOST_LINK:SHELL:-Wl$<COMMA>-rpath -Wl$<COMMA>/usr/lib/x86_64-linux-gnu/openmpi/lib> INTERFACE_INCLUDE_DIRECTORIES=/usr/lib/x86_64-linux- gnu/openmpi/include;/usr/lib/x86_64-linux-gnu/openmpi/include/openmpi INTERFACE_LINK_DIRECTORIES= INTERFACE_COMPILE_OPTIONS= INTERFACE_COMPILE_DEFINITIONS= -- Configuring done (0.5s) -- Generating done (0.0s) -- Build files have been written to: /mpi/build-new $ make VERBOSE=1 /usr/bin/cmake -S/mpi -B/mpi/build-new --check-build-system CMakeFiles/Makefile.cmake 0 /usr/bin/cmake -E cmake_progress_start /mpi/build-new/CMakeFiles /mpi/build- new//CMakeFiles/progress.marks make -f CMakeFiles/Makefile2 all make[1]: Entering directory '/mpi/build-new' make -f CMakeFiles/mpi_test.dir/build.make CMakeFiles/mpi_test.dir/dependmake[2]: Entering directory '/mpi/build-new' cd /mpi/build-new && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /mpi /mpi /mpi/build-new /mpi/build-new /mpi/build- new/CMakeFiles/mpi_test.dir/DependInfo.cmake "--color=" make[2]: Leaving directory '/mpi/build-new' make -f CMakeFiles/mpi_test.dir/build.make CMakeFiles/mpi_test.dir/build make[2]: Entering directory '/mpi/build-new' [ 50%] Building CXX object CMakeFiles/mpi_test.dir/mpi_test.cpp.o /usr/bin/c++ -DHAVE_MPI=1 -DMPICH_SKIP_MPICXX=1 -DMPIPP_H -DMPI_NO_CPPBIND=1 -DOMPI_SKIP_MPICXX=1 -D_MPICC_H -isystem /usr/lib/x86_64-linux- gnu/openmpi/include -isystem /usr/lib/x86_64-linux-gnu/openmpi/include/openmpi -MD -MT CMakeFiles/mpi_test.dir/mpi_test.cpp.o -MF CMakeFiles/mpi_test.dir/mpi_test.cpp.o.d -o CMakeFiles/mpi_test.dir/mpi_test.cpp.o -c /mpi/mpi_test.cpp [100%] Linking CXX executable mpi_test /usr/bin/cmake -E cmake_link_script CMakeFiles/mpi_test.dir/link.txt --verbose=1 /usr/bin/c++ -Wl,-rpath -Wl,/usr/lib/x86_64-linux-gnu/openmpi/lib CMakeFiles/mpi_test.dir/mpi_test.cpp.o -o mpi_test /usr/lib/x86_64-linux- gnu/openmpi/lib/libmpi.so make[2]: Leaving directory '/mpi/build-new' [100%] Built target mpi_test make[1]: Leaving directory '/mpi/build-new' /usr/bin/cmake -E cmake_progress_start /mpi/build-new/CMakeFiles 0 chrpath mpi_test mpi_test: RUNPATH=/usr/lib/x86_64-linux-gnu/openmpi/lib Normally (and on stable that is the case) one would expect INTERFACE_LINK_OPTIONS to be empty and no rpath in the built binary. On sid this is printed: INTERFACE_LINK_OPTIONS=$<HOST_LINK:SHELL:-Wl$<COMMA>-rpath -Wl$<COMMA>/usr/lib/x86_64-linux-gnu/openmpi/lib> On stable the variable is empty: INTERFACE_LINK_OPTIONS= My guess is that this variable on the MPI::MPI_C target results in the RUNPATH added regardless of the value of CMAKE_SKIP_RPATH. Note that this situation is highly problematic as any packages using cmake and openmpi will now have an RUNPATH from openmpi in their libraries and binaries. Lintian will report this as an error. CUrrently the only workaround seems to be to use chrpath to remove the RUNPATH before installation. Thanks a lot for fixing this. -- System Information: Debian Release: 12.7 APT prefers stable-updates APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable') Architecture: amd64 (x86_64) Kernel: Linux 6.1.0-26-amd64 (SMP w/64 CPU threads; PREEMPT) Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), LANGUAGE not set Shell: /bin/sh linked to /usr/bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled -- no debconf informationmpi_cmake.xz
Description: Unix tar archive
--- End Message ---
--- Begin Message ---Source: openmpi Source-Version: 5.0.5-6 Done: Alastair McKinstry <mckins...@debian.org> We believe that the bug you reported is fixed in the latest version of openmpi, 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 1085...@bugs.debian.org, and the maintainer will reopen the bug report if appropriate. Debian distribution maintenance software pp. Alastair McKinstry <mckins...@debian.org> (supplier of updated openmpi 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: Sat, 16 Nov 2024 06:29:12 +0000 Source: openmpi Architecture: source Version: 5.0.5-6 Distribution: unstable Urgency: medium Maintainer: Debian Science Maintainers <debian-science-maintain...@lists.alioth.debian.org> Changed-By: Alastair McKinstry <mckins...@debian.org> Closes: 1085509 1086209 10870100 Changes: openmpi (5.0.5-6) unstable; urgency=medium . * libmca_* not shipped; delete broken symlinks * Fix other broken symlinks: docs,etc * Correct paths in mpi wrappers. Closes: #1086209, #10870100 * Update d/tests/* for pkgconf tests * Drop rpath from libs. Closes: #1085509 * Update README.Debian Checksums-Sha1: bdf3cd643d71ee967184a2ba87b2deeab0e89cf7 2834 openmpi_5.0.5-6.dsc 7677742858bff6d805e28210531b7b618ca6febf 68052 openmpi_5.0.5-6.debian.tar.xz Checksums-Sha256: a5bc50a8edf822237c90bcd5bd5abb17cc8cf936714a067b594d5d214f388dfd 2834 openmpi_5.0.5-6.dsc db4c8174199f9d7c67f65e238c00a34ab5d163d31667dc1e326b0efa7040ea28 68052 openmpi_5.0.5-6.debian.tar.xz Files: 0ff02d8a1737b888e5f662f4478b24ee 2834 net optional openmpi_5.0.5-6.dsc 769ae8f6bfe529457b31c9ba3d98a288 68052 net optional openmpi_5.0.5-6.debian.tar.xz -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEgjg86RZbNHx4cIGiy+a7Tl2a06UFAmc4YVUACgkQy+a7Tl2a 06VzFQ/9GWkZKNcjmlMJzfgOCzg6TdyY6td8CJ6fMXIJBm6ZUSJjy6HCY/VNUx6v 0+UbN8i7EWKP2rGAeUx/NnCoa5DEDEh8xuLs+crBT8C+8AIqgGyHbLppEhLliUpK 1CazUmLwkym+L2z3Tqp7nG0lp3S8lOckFPFXhI1WzVvyitq9tTaz01+iGzx+VkKf wOIV69crtcDIIZGtbzb8fZ8AIol+MWu65g+p+vnJr1NPkbQNrfW7UyNAIN/u7gh6 SlHCvzC3FsFDThtL4mm2koSTJkuwpOx9H6lDNvB6fqCaqhIHlKM3TEYipqA4BwQ7 0HKz2+ON+/X14aZ9EYBfBH+rlcVv/0T5fM3I9nV4GNCn7mjqTqh++9DeDKCrmnK0 txsl8oVnn8bdcsVPyLJNU3qZ/R7wNuyF7rAuvRDD7itkXl1LjPX1kxtHGg6/My5B Heg4hXykx4IF3g5glBjg2OcCfhnQ5k404426jd5ivW3PxUjW8WeOZIFXpmNDv6FS F5yEp2yLnYGbDwtvSCexrxJ/BbPg/FslBfRrh91L3fH82vMCwOOG9L1nWPjbTtNB HQHArl612eBQtP3WJPGeuXgLDl+0YahG/ZdJfZ45+fhM4Nt6H2DP+MZtSbFi+eni EdOu6tX/Tkbp/FTFPYup7qGGtBgqf6nwS3m7BxA6SzZ7swFK730= =4vjO -----END PGP SIGNATURE-----pgpFqe1NTlNw8.pgp
Description: PGP signature
--- End Message ---