[MacPorts] #69636: Failed build for port deal.ii
MacPorts
noreply at macports.org
Sun Mar 31 18:36:59 UTC 2024
#69636: Failed build for port deal.ii
---------------------------+---------------------------------
Reporter: Matteo-Malve | Owner: MarcusCalhoun-Lopez
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: | Keywords:
Port: deal.ii |
---------------------------+---------------------------------
Changes (by ryandesign):
* status: new => assigned
* owner: (none) => MarcusCalhoun-Lopez
Comment:
The main.log contains several attempts to build the port without cleaning
in between. The first attempt on March 1 failed with:
{{{
/opt/local/include/OpenMP/Kokkos_OpenMP.hpp:46:10: fatal error: 'omp.h'
file not found
46 | #include <omp.h>
| ^~~~~~~
}}}
The subsequent attempts on March 31 failed with:
{{{
Call Stack (most recent call first):
cmake/macros/macro_verbose_include.cmake:19 (INCLUDE)
CMakeLists.txt:138 (VERBOSE_INCLUDE)
CMake Error at cmake/setup_finalize.cmake:137 (MESSAGE):
Configuration error: Cannot compile a test program with the final set
of
compiler and linker flags:
CXX flags (RELEASE): -pedantic -fPIC -Wall -Wextra -Wmissing-braces
-Woverloaded-virtual -Wpointer-arith -Wsign-compare -Wsuggest-override
-Wswitch -Wsynth -Wwrite-strings -Wno-deprecated-declarations -Wno-psabi
-Wfloat-conversion -Qunused-arguments -Wno-unsupported-friend -Wno-
undefined-var-template -Wno-pass-failed -openmp-simd -ftemplate-depth=1024
-Wno-unused-local-typedefs -O2 -funroll-loops -fstrict-aliasing -Wno-
unused-local-typedefs
LD flags (RELEASE): -fuse-ld=lld -DKOKKOS_DEPENDENCE
LIBRARIES (RELEASE):
/opt/local/lib/libz.dylib;/opt/local/lib/libumfpack.dylib;/opt/local/lib/libcholmod.dylib;/opt/local/lib/libccolamd.dylib;/opt/local/lib/libcolamd.dylib;/opt/local/lib/libcamd.dylib;/opt/local/lib/libsuitesparseconfig.dylib;/opt/local/lib/libamd.dylib;/opt/local/lib/libmetis.dylib;/opt/local/lib/libkokkoscore.dylib;/opt/local/lib/libkokkoscontainers.dylib;/opt/local/lib/libadolc.dylib;/opt/local/libexec/boost/1.76/lib
/libboost_iostreams-mt.dylib;/opt/local/libexec/boost/1.76/lib
/libboost_serialization-mt.dylib;/opt/local/libexec/boost/1.76/lib
/libboost_system-mt.dylib;/opt/local/libexec/boost/1.76/lib
/libboost_thread-mt.dylib;/opt/local/libexec/boost/1.76/lib
/libboost_regex-mt.dylib;/opt/local/libexec/boost/1.76/lib
/libboost_chrono-mt.dylib;/opt/local/libexec/boost/1.76/lib
/libboost_date_time-mt.dylib;/opt/local/libexec/boost/1.76/lib
/libboost_atomic-
mt.dylib;/opt/local/lib/libarpack.dylib;/opt/local/lib/libopenblas.dylib;/opt/local/lib/libassimp.dylib;/opt/local/lib/libgmpxx.dylib;/opt/local/lib/libgmsh.dylib;/opt/local/lib/libgsl.dylib;/opt/local/lib/libgslcblas.dylib;/opt/local/lib/libmuparser.dylib;/opt/local/libexec/opencascade/lib/libTKBO.dylib;/opt/local/libexec/opencascade/lib/libTKBool.dylib;/opt/local/libexec/opencascade/lib/libTKBRep.dylib;/opt/local/libexec/opencascade/lib/libTKernel.dylib;/opt/local/libexec/opencascade/lib/libTKFeat.dylib;/opt/local/libexec/opencascade/lib/libTKFillet.dylib;/opt/local/libexec/opencascade/lib/libTKG2d.dylib;/opt/local/libexec/opencascade/lib/libTKG3d.dylib;/opt/local/libexec/opencascade/lib/libTKGeomAlgo.dylib;/opt/local/libexec/opencascade/lib/libTKGeomBase.dylib;/opt/local/libexec/opencascade/lib/libTKHLR.dylib;/opt/local/libexec/opencascade/lib/libTKIGES.dylib;/opt/local/libexec/opencascade/lib/libTKMath.dylib;/opt/local/libexec/opencascade/lib/libTKMesh.dylib;/opt/local/libexec/opencascade/lib/libTKOffset.dylib;/opt/local/libexec/opencascade/lib/libTKPrim.dylib;/opt/local/libexec/opencascade/lib/libTKShHealing.dylib;/opt/local/libexec/opencascade/lib/libTKSTEP.dylib;/opt/local/libexec/opencascade/lib/libTKSTEPAttr.dylib;/opt/local/libexec/opencascade/lib/libTKSTEPBase.dylib;/opt/local/libexec/opencascade/lib/libTKSTEP209.dylib;/opt/local/libexec/opencascade/lib/libTKSTL.dylib;/opt/local/libexec/opencascade/lib/libTKTopAlgo.dylib;/opt/local/libexec/opencascade/lib/libTKXSBase.dylib;/opt/local/libexec/sundials5/lib/libsundials_idas.dylib;/opt/local/libexec/sundials5/lib/libsundials_arkode.dylib;/opt/local/libexec/sundials5/lib/libsundials_kinsol.dylib;/opt/local/libexec/sundials5/lib/libsundials_nvecserial.dylib;/opt/local/lib/libsymengine.0.11.2.dylib;/opt/local/lib/libflint.dylib;/opt/local/lib/libmpc.dylib;/opt/local/lib/libmpfr.dylib;/opt/local/lib/libgmp.dylib;
}}}
I don't know which aspect of the CMake logs corresponds to this failure
but it may not be relevant since it may have been caused by the original
error. I suggest running `sudo port clean deal.ii` and then trying again
so that we can see which error happens upon a new clean build.
The deal.ii port is outdated (#68123); maybe updating it would help.
The /opt/local/include/OpenMP/Kokkos_OpenMP.hpp file is provided by the
kokkos port; maybe the problem lies with that port instead.
--
Ticket URL: <https://trac.macports.org/ticket/69636#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list