Your message dated Sat, 16 Nov 2024 09:37:49 +0000 with message-id <e1tcffv-007wgb...@fasolo.debian.org> and subject line Bug#1086209: fixed in openmpi 5.0.5-6 has caused the Debian Bug report #1086209, regarding prime-phylo:FTBFS:build failure (Imported target "MPI::MPI_Fortran" includes non-existent path ) 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.) -- 1086209: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1086209 Debian Bug Tracking System Contact ow...@bugs.debian.org with problems
--- Begin Message ---Source: prime-phylo Version: 1.0.11-13 Severity: serious Tags: FTBFS, patch User: debian-ri...@lists.debian.org Usertags: riscv64 X-Debbugs-Cc: debian-ri...@lists.debian.org Dear prime-phylo Maintainer, The package prime-phylo build failed on all architectures except amd64. The crucial buildd log below: ``` -- Found MPI_C: /usr/lib/riscv64-linux-gnu/openmpi/lib/libmpi.so (found version "3.1") -- Found MPI_CXX: /usr/lib/riscv64-linux-gnu/openmpi/lib/libmpi.so (found version "3.1") CMake Error in /<<PKGBUILDDIR>>/obj-riscv64-linux-gnu/CMakeFiles/CMakeScratch/TryCompile-RHCg58/CMakeLists.txt: Imported target "MPI::MPI_Fortran" includes non-existent path "/usr/lib/x86_64-linux-gnu/fortran/gfortran-mod-15/openmpi" in its INTERFACE_INCLUDE_DIRECTORIES. Possible reasons include: * The path was deleted, renamed, or moved to another location. * An install or uninstall procedure did not complete successfully. * The installation package was faulty and references files it does not provide. CMake Error at /usr/share/cmake-3.30/Modules/FindMPI.cmake:1282 (try_compile): Failed to generate test project build system. Call Stack (most recent call first): /usr/share/cmake-3.30/Modules/FindMPI.cmake:1301 (_MPI_try_staged_settings) /usr/share/cmake-3.30/Modules/FindMPI.cmake:1649 (_MPI_check_lang_works) src/cxx/CMakeLists.txt:19 (find_package) ``` The full buildd log is here: https://buildd.debian.org/status/fetch.php?pkg=prime-phylo&arch=riscv64&ver=1.0.11-13&stamp=1730649664&raw=0 My solution to this issue: The configure failed because MPIFORTRAN was not set to the correct path. My solution is to properly set the path of MPIFORTRAN in the CMakeLists based on the current architecture. I have tested this method, and it is very effective. The debpatch is in the attachment. This patch can automatically set MPIFORTRAN to the correct path based on the current architecture. Please let me know whether this solution can be accepted. Gui-Yue Best Regards
fix_prime-phylo_configure_failed.patch
Description: Binary data
--- 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 1086...@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-----
pgpin8eTrpI3G.pgp
Description: PGP signature
--- End Message ---