Building issue with GCC 10 (solvers)
I tried installing the AUR openfoam-esi package on Manjaro 20.0.3 (GCC 10.1) but it fails building the solvers:
Making dependency list for source file specieReactionRates.C
Making dependency list for source file makeChemistrySolvers.C
Making dependency list for source file makeChemistryTabulationMethods.C
Making dependency list for source file makeChemistryReductionMethods.C
Making dependency list for source file BasicChemistryModels.C
Making dependency list for source file basicChemistryModel.C
g++ -std=c++11 -m64 -pthread -DOPENFOAM=2006 -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 -O3 -DNoRepository -ftemplate-depth-100 -I/var/tmp/pamac-build-tester/openfoam-esi/src/OpenFOAM-v2006/src/finiteVolume/lnInclude -I/var/tmp/pamac-build-tester/openfoam-esi/src/OpenFOAM-v2006/src/meshTools/lnInclude -I/var/tmp/pamac-build-tester/openfoam-esi/src/OpenFOAM-v2006/src/ODE/lnInclude -I/var/tmp/pamac-build-tester/openfoam-esi/src/OpenFOAM-v2006/src/transportModels/compressible/lnInclude -I/var/tmp/pamac-build-tester/openfoam-esi/src/OpenFOAM-v2006/src/thermophysicalModels/reactionThermo/lnInclude -I/var/tmp/pamac-build-tester/openfoam-esi/src/OpenFOAM-v2006/src/thermophysicalModels/basic/lnInclude -I/var/tmp/pamac-build-tester/openfoam-esi/src/OpenFOAM-v2006/src/thermophysicalModels/specie/lnInclude -I/var/tmp/pamac-build-tester/openfoam-esi/src/OpenFOAM-v2006/src/thermophysicalModels/functions/Polynomial -I/var/tmp/pamac-build-tester/openfoam-esi/src/OpenFOAM-v2006/src/thermophysicalModels/thermophysicalFunctions/lnInclude -iquote. -IlnInclude -I/var/tmp/pamac-build-tester/openfoam-esi/src/OpenFOAM-v2006/src/OpenFOAM/lnInclude -I/var/tmp/pamac-build-tester/openfoam-esi/src/OpenFOAM-v2006/src/OSspecific/POSIX/lnInclude
-fPIC -c chemistryModel/basicChemistryModel/basicChemistryModel.C -o /var/tmp/pamac-build-tester/openfoam-esi/src/OpenFOAM-v2006/build/linux64GccDPInt32Opt/src/thermophysicalModels/chemistryModel/chemistryModel/basicChemistryModel/basicChemistryModel.o
g++ -std=c++11 -m64 -pthread -DOPENFOAM=2006 -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 -O3 -DNoRepository -ftemplate-depth-100 -I/var/tmp/pamac-build-tester/openfoam-esi/src/OpenFOAM-v2006/src/finiteVolume/lnInclude -I/var/tmp/pamac-build-tester/openfoam-esi/src/OpenFOAM-v2006/src/meshTools/lnInclude -I/var/tmp/pamac-build-tester/openfoam-esi/src/OpenFOAM-v2006/src/ODE/lnInclude -I/var/tmp/pamac-build-tester/openfoam-esi/src/OpenFOAM-v2006/src/transportModels/compressible/lnInclude -I/var/tmp/pamac-build-tester/openfoam-esi/src/OpenFOAM-v2006/src/thermophysicalModels/reactionThermo/lnInclude -I/var/tmp/pamac-build-tester/openfoam-esi/src/OpenFOAM-v2006/src/thermophysicalModels/basic/lnInclude -I/var/tmp/pamac-build-tester/openfoam-esi/src/OpenFOAM-v2006/src/thermophysicalModels/specie/lnInclude -I/var/tmp/pamac-build-tester/openfoam-esi/src/OpenFOAM-v2006/src/thermophysicalModels/functions/Polynomial -I/var/tmp/pamac-build-tester/openfoam-esi/src/OpenFOAM-v2006/src/thermophysicalModels/thermophysicalFunctions/lnInclude -iquote. -IlnInclude -I/var/tmp/pamac-build-tester/openfoam-esi/src/OpenFOAM-v2006/src/OpenFOAM/lnInclude -I/var/tmp/pamac-build-tester/openfoam-esi/src/OpenFOAM-v2006/src/OSspecific/POSIX/lnInclude -fPIC -c chemistryModel/BasicChemistryModel/BasicChemistryModels.C -o /var/tmp/pamac-build-tester/openfoam-esi/src/OpenFOAM-v2006/build/linux64GccDPInt32Opt/src/thermophysicalModels/chemistryModel/chemistryModel/BasicChemistryModel/BasicChemistryModels.o
g++ -std=c++11 -m64 -pthread -DOPENFOAM=2006 -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 -O3 -DNoRepository -ftemplate-depth-100 -I/var/tmp/pamac-build-tester/openfoam-esi/src/OpenFOAM-v2006/src/finiteVolume/lnInclude -I/var/tmp/pamac-build-tester/openfoam-esi/src/OpenFOAM-v2006/src/meshTools/lnInclude -I/var/tmp/pamac-build-tester/openfoam-esi/src/OpenFOAM-v2006/src/ODE/lnInclude -I/var/tmp/pamac-build-tester/openfoam-esi/src/OpenFOAM-v2006/src/transportModels/compressible/lnInclude -I/var/tmp/pamac-build-tester/openfoam-esi/src/OpenFOAM-v2006/src/thermophysicalModels/reactionThermo/lnInclude -I/var/tmp/pamac-build-tester/openfoam-esi/src/OpenFOAM-v2006/src/thermophysicalModels/basic/lnInclude -I/var/tmp/pamac-build-tester/openfoam-esi/src/OpenFOAM-v2006/src/thermophysicalModels/specie/lnInclude -I/var/tmp/pamac-build-tester/openfoam-esi/src/OpenFOAM-v2006/src/thermophysicalModels/functions/Polynomial -I/var/tmp/pamac-build-tester/openfoam-esi/src/OpenFOAM-v2006/src/thermophysicalModels/thermophysicalFunctions/lnInclude -iquote. -IlnInclude -I/var/tmp/pamac-build-tester/openfoam-esi/src/OpenFOAM-v2006/src/OpenFOAM/lnInclude -I/var/tmp/pamac-build-tester/openfoam-esi/src/OpenFOAM-v2006/src/OSspecific/POSIX/lnInclude -fPIC -c chemistryModel/TDACChemistryModel/reduction/makeChemistryReductionMethods.C -o /var/tmp/pamac-build-tester/openfoam-esi/src/OpenFOAM-v2006/build/linux64GccDPInt32Opt/src/thermophysicalModels/chemistryModel/chemistryModel/TDACChemistryModel/reduction/makeChemistryReductionMethods.o
g++ -std=c++11 -m64 -pthread -DOPENFOAM=2006 -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 -O3 -DNoRepository -ftemplate-depth-100 -I/var/tmp/pamac-build-tester/openfoam-esi/src/OpenFOAM-v2006/src/finiteVolume/lnInclude -I/var/tmp/pamac-build-tester/openfoam-esi/src/OpenFOAM-v2006/src/meshTools/lnInclude -I/var/tmp/pamac-build-tester/openfoam-esi/src/OpenFOAM-v2006/src/ODE/lnInclude -I/var/tmp/pamac-build-tester/openfoam-esi/src/OpenFOAM-v2006/src/transportModels/compressible/lnInclude -I/var/tmp/pamac-build-tester/openfoam-esi/src/OpenFOAM-v2006/src/thermophysicalModels/reactionThermo/lnInclude -I/var/tmp/pamac-build-tester/openfoam-esi/src/OpenFOAM-v2006/src/thermophysicalModels/basic/lnInclude -I/var/tmp/pamac-build-tester/openfoam-esi/src/OpenFOAM-v2006/src/thermophysicalModels/specie/lnInclude -I/var/tmp/pamac-build-tester/openfoam-esi/src/OpenFOAM-v2006/src/thermophysicalModels/functions/Polynomial -I/var/tmp/pamac-build-tester/openfoam-esi/src/OpenFOAM-v2006/src/thermophysicalModels/thermophysicalFunctions/lnInclude -iquote. -IlnInclude -I/var/tmp/pamac-build-tester/openfoam-esi/src/OpenFOAM-v2006/src/OpenFOAM/lnInclude -I/var/tmp/pamac-build-tester/openfoam-esi/src/OpenFOAM-v2006/src/OSspecific/POSIX/lnInclude -fPIC -c chemistryModel/TDACChemistryModel/tabulation/makeChemistryTabulationMethods.C -o /var/tmp/pamac-build-tester/openfoam-esi/src/OpenFOAM-v2006/build/linux64GccDPInt32Opt/src/thermophysicalModels/chemistryModel/chemistryModel/TDACChemistryModel/tabulation/makeChemistryTabulationMethods.o
g++ -std=c++11 -m64 -pthread -DOPENFOAM=2006 -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 -O3 -DNoRepository -ftemplate-depth-100 -I/var/tmp/pamac-build-tester/openfoam-esi/src/OpenFOAM-v2006/src/finiteVolume/lnInclude -I/var/tmp/pamac-build-tester/openfoam-esi/src/OpenFOAM-v2006/src/meshTools/lnInclude -I/var/tmp/pamac-build-tester/openfoam-esi/src/OpenFOAM-v2006/src/ODE/lnInclude -I/var/tmp/pamac-build-tester/openfoam-esi/src/OpenFOAM-v2006/src/transportModels/compressible/lnInclude -I/var/tmp/pamac-build-tester/openfoam-esi/src/OpenFOAM-v2006/src/thermophysicalModels/reactionThermo/lnInclude -I/var/tmp/pamac-build-tester/openfoam-esi/src/OpenFOAM-v2006/src/thermophysicalModels/basic/lnInclude -I/var/tmp/pamac-build-tester/openfoam-esi/src/OpenFOAM-v2006/src/thermophysicalModels/specie/lnInclude -I/var/tmp/pamac-build-tester/openfoam-esi/src/OpenFOAM-v2006/src/thermophysicalModels/functions/Polynomial -I/var/tmp/pamac-build-tester/openfoam-esi/src/OpenFOAM-v2006/src/thermophysicalModels/thermophysicalFunctions/lnInclude -iquote. -IlnInclude -I/var/tmp/pamac-build-tester/openfoam-esi/src/OpenFOAM-v2006/src/OpenFOAM/lnInclude -I/var/tmp/pamac-build-tester/openfoam-esi/src/OpenFOAM-v2006/src/OSspecific/POSIX/lnInclude -fPIC -c chemistrySolver/chemistrySolver/makeChemistrySolvers.C -o /var/tmp/pamac-build-tester/openfoam-esi/src/OpenFOAM-v2006/build/linux64GccDPInt32Opt/src/thermophysicalModels/chemistryModel/chemistrySolver/chemistrySolver/makeChemistrySolvers.o
g++: fatal error: Killed signal terminated program cc1plus
compilation terminated.
make: *** [/var/tmp/pamac-build-tester/openfoam-esi/src/OpenFOAM-v2006/wmake/rules/General/transform:35: /var/tmp/pamac-build-tester/openfoam-esi/src/OpenFOAM-v2006/build/linux64GccDPInt32Opt/src/thermophysicalModels/chemistryModel/chemistryModel/TDACChemistryModel/reduction/makeChemistryReductionMethods.o] Error 1
make: *** Waiting for unfinished jobs....
g++: fatal error: Killed signal terminated program cc1plus
compilation terminated.
make: *** [/var/tmp/pamac-build-tester/openfoam-esi/src/OpenFOAM-v2006/wmake/rules/General/transform:35: /var/tmp/pamac-build-tester/openfoam-esi/src/OpenFOAM-v2006/build/linux64GccDPInt32Opt/src/thermophysicalModels/chemistryModel/chemistrySolver/chemistrySolver/makeChemistrySolvers.o] Error 1
I faced exactly the same problem with the openfoam package building OpenFOAM 7, so I assume that it must be a recent compiler-specific problem.
I am opening this issue to bring your attention to this. In case you know that it should be building with GCC 10, feel free to close it or to ask for more details.
You can probably reproduce the error in Arch or any other system with the latest dependencies.