Your message dated Sat, 09 Nov 2024 07:21:46 +0000
with message-id <e1t9fn0-007uhz...@fasolo.debian.org>
and subject line Bug#1086209: fixed in openmpi 5.0.5-5
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

Attachment: fix_prime-phylo_configure_failed.patch
Description: Binary data


--- End Message ---
--- Begin Message ---
Source: openmpi
Source-Version: 5.0.5-5
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, 09 Nov 2024 06:29:12 +0000
Source: openmpi
Binary: libopenmpi-dev libopenmpi40 libopenmpi40-dbgsym openmpi-bin 
openmpi-bin-dbgsym openmpi-common openmpi-doc
Architecture: source arm64 all
Version: 5.0.5-5
Distribution: experimental
Urgency: medium
Maintainer: Debian Science Maintainers 
<debian-science-maintain...@lists.alioth.debian.org>
Changed-By: Alastair McKinstry <mckins...@debian.org>
Description:
 libopenmpi-dev - high performance message passing library -- header files
 libopenmpi40 - high performance message passing library -- shared library
 openmpi-bin - high performance message passing library -- binaries
 openmpi-common - high performance message passing library -- common files
 openmpi-doc - high performance message passing library -- man pages
Closes: 1085509 1086209 10870100
Changes:
 openmpi (5.0.5-5) experimental; urgency=medium
 .
   * libmca_* not shipped; delete broken symlinks
   * Fix other broken symlinks: docs,etc
   * Correct paths in mpi wrappers. Closes: #1086209, #10870100
   * Drop rpath from libs. Closes: #1085509
   * Drop Provides: as incorrect
   * Change remaining refs to openmpi3->openmpi40
   * Update README.Debian
Checksums-Sha1:
 4ea461d7da5fe660d78361224db0fc021279af0e 2820 openmpi_5.0.5-5.dsc
 3084269cb10b5bdbe004d78891f61c599b3aca06 68256 openmpi_5.0.5-5.debian.tar.xz
 6d15e40f4b077a14df5903e1c784f4e443cc3321 1087776 
libopenmpi-dev_5.0.5-5_arm64.deb
 a1d10ed1fa10213a42d8d90a61df7b9973f57f83 10343880 
libopenmpi40-dbgsym_5.0.5-5_arm64.deb
 885ea7842841abd9c8eacf654688743338ac1d8a 2083848 libopenmpi40_5.0.5-5_arm64.deb
 1e0a3afb7b1ffdc623677a1631c37864083271ba 683152 
openmpi-bin-dbgsym_5.0.5-5_arm64.deb
 18b733ded2ede4e63c267bf635ed00a107646ebd 179764 openmpi-bin_5.0.5-5_arm64.deb
 dc1dd9eb96003c4eabfafd17d020aaca11254d28 94856 openmpi-common_5.0.5-5_all.deb
 dae466fdbe085014a88338af3bac84cdd9547d2b 8518244 openmpi-doc_5.0.5-5_all.deb
 55ee52e92e44614a8c56695c9ff185e0212be9d9 16960 openmpi_5.0.5-5_arm64.buildinfo
Checksums-Sha256:
 5345b4c3944ede37b51be71869b817b88a8ffe7cbf3754798900e0d18a53a6b3 2820 
openmpi_5.0.5-5.dsc
 63269fd4cd379ded082fb805cfe0df3cf88e9f465bf4e7ae87548350fc0acabe 68256 
openmpi_5.0.5-5.debian.tar.xz
 a00f146f5614708eb989982b1cb4d6a1742241676f719f7ba0ddaaf6d3dc9e71 1087776 
libopenmpi-dev_5.0.5-5_arm64.deb
 3439b2b57dd6110fd86085921eb748fc640d401455b9f4c6348e9cc68981318c 10343880 
libopenmpi40-dbgsym_5.0.5-5_arm64.deb
 129fe42574838f3613a97985141863390b4ff8b317a9f100bd80eed0079fb10d 2083848 
libopenmpi40_5.0.5-5_arm64.deb
 f2f8038aae6bb012bb492954dda7c696c65666e43eefd46b226294a01f505301 683152 
openmpi-bin-dbgsym_5.0.5-5_arm64.deb
 f95719a97d2274cf2fa258cc774bc9c489f75b3848b05b7e4982907aea83a517 179764 
openmpi-bin_5.0.5-5_arm64.deb
 e8675e29dd4bfed363083f825f6cc18d6790777d710f107f4ea48f1569b19360 94856 
openmpi-common_5.0.5-5_all.deb
 2e1cf81b947b6a8cabb58374a48047ef2d6c1521829cba047d928ed005fa9fa3 8518244 
openmpi-doc_5.0.5-5_all.deb
 94a625da658488885ddd444f5dd0b8f7099f332d83e610fda5e5db1f5061ed4b 16960 
openmpi_5.0.5-5_arm64.buildinfo
Files:
 7070e3b9b6d3186c18bef1ac43df7223 2820 net optional openmpi_5.0.5-5.dsc
 cf5a28aaf9d324479f5ac69e82f8b064 68256 net optional 
openmpi_5.0.5-5.debian.tar.xz
 7a804b582d3faba6f22969372399de67 1087776 libdevel optional 
libopenmpi-dev_5.0.5-5_arm64.deb
 d691a7262caf40d470e8317d88e87149 10343880 debug optional 
libopenmpi40-dbgsym_5.0.5-5_arm64.deb
 72423754022e545ba289b3f7eb3f51f0 2083848 libs optional 
libopenmpi40_5.0.5-5_arm64.deb
 df6dcecdea3243f5c73006508e8449f7 683152 debug optional 
openmpi-bin-dbgsym_5.0.5-5_arm64.deb
 e6fe81c75991835fcca9e0e5211945f3 179764 net optional 
openmpi-bin_5.0.5-5_arm64.deb
 578fd76f2b8291a9cefe428c692da5ed 94856 net optional 
openmpi-common_5.0.5-5_all.deb
 e1447b89e71836bacc9135c345240a31 8518244 doc optional 
openmpi-doc_5.0.5-5_all.deb
 e8f5c6b496c48b65c5a757213a0416c6 16960 net optional 
openmpi_5.0.5-5_arm64.buildinfo

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEEgjg86RZbNHx4cIGiy+a7Tl2a06UFAmcvCecACgkQy+a7Tl2a
06WpKQ//WL8Xy/XSacosOGcsHNrxHuoZyNu6xTfh0k581yc8Xhisg2X+8ltHfgH3
PqOrzkoxv/Up1HFMfcxLNKcRnqbmLwpr708fgswIP9WtfAY055xcGY6ODb94fgSv
DO+D8fBd7pnGYL1uXXopQ4pigJ55jHp10yW1yjFC4AvZy+mMC6wPRTSovgq3jXuw
8zmSCtptPA10y1in5qhCm8E+83dPiwf416OFDvFYOurlHl0wzu5e9yRXWGlWVDvG
KlW4PSr4OHqfllBeiTMsoxBFKos2InxfvlfXKxEWDX6mtwXQUpsH9LaXVlEG/YVi
RHOEQBMFGuG+KWxDe+Bx3e6JdhZmXojIMsJOcnRjVmwhhZRsCWTZid0q1XFREvDH
tVAis5XjqPv65UaoG9Gs8uI7+QySN6slXZXiHQt3zDu7iPwJbezfXX8pNIti6JkZ
Ksxa65mSs7FnOn+XECbbXCbacIoyoJfWnDAagHsF3CNd0gj6Pdr9vlGdnLg7Ws1L
xLYF2B5HWPj69DbcYpaKIEjBveRDNsvVJIT3A9w92WEsv0F5jZvpbZiWUj7h3nLq
Qyspo72aU4chvH3VfTsA/53INrLVekurRG8WDmnwMntjsJ7mfixEp94g8vO82N1R
afSkCTqgxwGub7w7rhDHm+It4apbawGNq3Pnsw/ojeFcELptAkA=
=Jp+3
-----END PGP SIGNATURE-----

Attachment: pgpqjyS_gYchb.pgp
Description: PGP signature


--- End Message ---

Reply via email to