Bug#1076029: openfoam: FTBFS with mpich as default MPI implementation on armhf and i386: PstreamGlobals.H:42:10: fatal error: mpi.h: No such file or directory
Sebastian Ramacher
sramacher at debian.org
Tue Jul 9 18:47:11 BST 2024
Source: openfoam
Version: 1912.200626-2
Severity: serious
Tags: ftbfs
Justification: fails to build from source (but built successfully in the past)
X-Debbugs-Cc: sramacher at debian.org
https://buildd.debian.org/status/fetch.php?pkg=openfoam&arch=armhf&ver=1912.200626-2%2Bb4&stamp=1720486618&raw=0
g++ -std=c++11 -pthread -DOPENFOAM=1912 -DWM_DP -DWM_LABEL_SIZE=32 -Wall -Wextra -Wold-style-cast -Wnon-virtual-dtor -Wno-unused-parameter -Wno-invalid-offsetof -Wno-attributes -Wno-unknown-pragmas -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>/src/Pstream/dummy=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -O3 -DNoRepository -ftemplate-depth-100 -IlnInclude -I. -I/<<PKGBUILDDIR>>/src/OpenFOAM/lnInclude -I/<<PKGBUILDDIR>>/src/OSspecific/POSIX/lnInclude -fPIC -shared -Xlinker --add-needed -Xlinker --no-as-needed /<<PKGBUILDDIR>>/build/linux64Gcc/src/Pstream/dummy/UPstream.o /<<PKGBUILDDIR>>/build/linux64Gcc/src/Pstream/dummy/UIPread.o /<<PKGBUILDDIR>>/build/linux64Gcc/src/Pstream/dummy/UOPwrite.o -L/<<PKGBUILDDIR>>/platforms/linux64Gcc/lib \
-o /<<PKGBUILDDIR>>/platforms/linux64Gcc/lib/dummy/libPstream.so
wclean mpi
wmake mpi (mpi=SYSTEMOPENMPI)
wmake mpi
ln: ./lnInclude
gcc: error: unrecognized command-line option ‘--showme:compile’
Making dependency list for source file PstreamGlobals.C
gcc: error: unrecognized command-line option ‘--showme:compile’
Making dependency list for source file UPstream.C
gcc: error: unrecognized command-line option ‘--showme:compile’
Making dependency list for source file UIPread.C
gcc: error: unrecognized command-line option ‘--showme:compile’
Making dependency list for source file UOPwrite.C
gcc: error: unrecognized command-line option ‘--showme:compile’
g++ -std=c++11 -pthread -DOPENFOAM=1912 -DWM_DP -DWM_LABEL_SIZE=32 -Wall -Wextra -Wold-style-cast -Wnon-virtual-dtor -Wno-unused-parameter -Wno-invalid-offsetof -Wno-attributes -Wno-unknown-pragmas -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>/src/Pstream/mpi=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -O3 -DNoRepository -ftemplate-depth-100 -DMPICH_SKIP_MPICXX -DOMPI_SKIP_MPICXX -Wno-old-style-cast -Wno-unused-local-typedefs -Wno-array-bounds -Wno-deprecated-declarations -fpermissive -IlnInclude -I. -I/<<PKGBUILDDIR>>/src/OpenFOAM/lnInclude -I/<<PKGBUILDDIR>>/src/OSspecific/POSIX/lnInclude -fPIC -c UOPwrite.C -o /<<PKGBUILDDIR>>/build/linux64GccSYSTEMOPENMPI/src/Pstream/mpi/UOPwrite.o
gcc: error: unrecognized command-line option ‘--showme:compile’
g++ -std=c++11 -pthread -DOPENFOAM=1912 -DWM_DP -DWM_LABEL_SIZE=32 -Wall -Wextra -Wold-style-cast -Wnon-virtual-dtor -Wno-unused-parameter -Wno-invalid-offsetof -Wno-attributes -Wno-unknown-pragmas -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>/src/Pstream/mpi=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -O3 -DNoRepository -ftemplate-depth-100 -DMPICH_SKIP_MPICXX -DOMPI_SKIP_MPICXX -Wno-old-style-cast -Wno-unused-local-typedefs -Wno-array-bounds -Wno-deprecated-declarations -fpermissive -IlnInclude -I. -I/<<PKGBUILDDIR>>/src/OpenFOAM/lnInclude -I/<<PKGBUILDDIR>>/src/OSspecific/POSIX/lnInclude -fPIC -c UIPread.C -o /<<PKGBUILDDIR>>/build/linux64GccSYSTEMOPENMPI/src/Pstream/mpi/UIPread.o
In file included from UOPwrite.C:33:
PstreamGlobals.H:42:10: fatal error: mpi.h: No such file or directory
42 | #include <mpi.h>
| ^~~~~~~
compilation terminated.
gcc: error: unrecognized command-line option ‘--showme:compile’
make[2]: *** [/<<PKGBUILDDIR>>/wmake/rules/General/transform:35: /<<PKGBUILDDIR>>/build/linux64GccSYSTEMOPENMPI/src/Pstream/mpi/UOPwrite.o] Error 1
make[2]: *** Waiting for unfinished jobs....
In file included from UIPread.C:33:
PstreamGlobals.H:42:10: fatal error: mpi.h: No such file or directory
42 | #include <mpi.h>
| ^~~~~~~
compilation terminated.
make[2]: *** [/<<PKGBUILDDIR>>/wmake/rules/General/transform:35: /<<PKGBUILDDIR>>/build/linux64GccSYSTEMOPENMPI/src/Pstream/mpi/UIPread.o] Error 1
Cheers
--
Sebastian Ramacher
More information about the debian-science-maintainers
mailing list