[Debichem-devel] Bug#1086834: elkcode: FTBFS on arm64: Nonexistent include directory ‘/usr/lib/x86_64-linux-gnu/openmpi/lib’

Emanuele Rocca ema at debian.org
Wed Nov 6 13:01:12 GMT 2024


Source: elkcode
Version: 9.6.8-1
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: debian-arm at lists.debian.org
Usertags: arm64

During a rebuild of all packages in sid, this package failed to build on
arm64. On amd64 it builds correctly.

It seems that the build uses /usr/lib/x86_64-linux-gnu/ instead of the
arch-specific equivalent, so I suspect the package would fail building
on other non-amd64 architectures as well.

mpif90 `dpkg-buildflags --get FFLAGS` `dpkg-buildflags --get CPPFLAGS` -Wall -ffast-math -funroll-loops -fopenmp -fallow-argument-mismat
ch `dpkg-buildflags --get LDFLAGS` -c modmain.f90
f951: Warning: Nonexistent include directory ‘/usr/lib/x86_64-linux-gnu/fortran/gfortran-mod-15/openmpi’ [-Wmissing-include-dirs]
f951: Warning: Nonexistent include directory ‘/usr/lib/x86_64-linux-gnu/openmpi/lib’ [-Wmissing-include-dirs]
mpif90 `dpkg-buildflags --get FFLAGS` `dpkg-buildflags --get CPPFLAGS` -Wall -ffast-math -funroll-loops -fopenmp -fallow-argument-mismat
ch `dpkg-buildflags --get LDFLAGS` -c modmpi.f90
f951: Warning: Nonexistent include directory ‘/usr/lib/x86_64-linux-gnu/fortran/gfortran-mod-15/openmpi’ [-Wmissing-include-dirs]
f951: Warning: Nonexistent include directory ‘/usr/lib/x86_64-linux-gnu/openmpi/lib’ [-Wmissing-include-dirs]
modmpi.f90:8:5:

    8 | use mpi
      |     1
Fatal Error: Cannot open module file ‘mpi.mod’ for reading at (1): No such file or directory
compilation terminated.
make[3]: *** [Makefile:220: modmpi.o] Error 1



More information about the Debichem-devel mailing list