Bug#1054535: neuron: There is a compilation error for Neuron on the LoongArch machine.

Étienne Mollier emollier at debian.org
Thu Dec 28 11:32:21 GMT 2023


Control: tags -1 - moreinfo

Hi wuruilong,

wuruilong, on 2023-12-21:
> I searched for the local code about neuron and found that it was missing.
> 
> I tried to compile neuron to make a new patach, and found that it could be
> compiled directly successfully.
> 
> Maybe now you can re-trigger the compilation of neuron to get the packages
> in the unreleased state.

Thanks for the hint, I attempted a rebuild of the package on the
loong64 buildd, but the build failed here[1] with:

	-- Could NOT find MPI_CXX (missing: MPI_CXX_WORKS) 
	CMake Error at /usr/share/cmake-3.28/Modules/FindPackageHandleStandardArgs.cmake:230 (message):
	  Could NOT find MPI (missing: MPI_CXX_FOUND) (found version "3.1")
	Call Stack (most recent call first):
	  /usr/share/cmake-3.28/Modules/FindPackageHandleStandardArgs.cmake:600 (_FPHSA_FAILURE_MESSAGE)
	  /usr/share/cmake-3.28/Modules/FindMPI.cmake:1837 (find_package_handle_standard_args)
	  cmake/MacroHelper.cmake:277 (find_package)
	  CMakeLists.txt:309 (nrn_mpi_find_package)

which is weird, because I believe it should capture the file
below, which does exist in the loong64 libopenmpi-dev and
libopenmpi3 packages in the debian-ports archive:

	usr/lib/loongarch64-linux-gnu/openmpi/lib/libmpi_cxx.so: symbolic link to ../../libmpi_cxx.so.40
	usr/lib/loongarch64-linux-gnu/libmpi_cxx.so.40: symbolic link to libmpi_cxx.so.40.30.1
	usr/lib/loongarch64-linux-gnu/libmpi_cxx.so.40.30.1: ELF 64-bit LSB shared object, LoongArch, version 1 (SYSV), dynamically linked, BuildID[sha1]=780933118b0c18c0272f4effb5b438e81410eccd, stripped

[1]: https://buildd.debian.org/status/fetch.php?pkg=neuron&arch=loong64&ver=8.2.2-5&stamp=1703760534&raw=1

I am afraid I am lacking the infrastructure to investigate
further.

Anyway, in hope this helps,
-- 
  .''`.  Étienne Mollier <emollier at debian.org>
 : :' :  gpg: 8f91 b227 c7d6 f2b1 948c  8236 793c f67e 8f0d 11da
 `. `'   sent from /dev/pts/1, please excuse my verbosity
   `-    on air: Hecenia - Le Grimoire
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/debian-science-maintainers/attachments/20231228/4c679bf0/attachment.sig>


More information about the debian-science-maintainers mailing list