[MacPorts] #65137: deal.ii: sundials2 not found during configure; needs sundials instead?

MacPorts noreply at macports.org
Sun May 8 11:50:34 UTC 2022


#65137: deal.ii: sundials2 not found during configure; needs sundials instead?
----------------------+---------------------------------
  Reporter:  mascguy  |      Owner:  MarcusCalhoun-Lopez
      Type:  defect   |     Status:  assigned
  Priority:  Normal   |  Milestone:
 Component:  ports    |    Version:  2.7.1
Resolution:           |   Keywords:
      Port:  deal.ii  |
----------------------+---------------------------------
Description changed by mascguy:

Old description:

> This port currently declares a dependency on `sundials2`, but it appears
> that it requires a newer version - suggesting that `sundials` (which is
> v5.8.x) is necessary instead:
>
> {{{
> :info:configure -- Include
> /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarba
> lls_ports_math_deal.ii/deal.ii/work/dealii-9.3.1/cmake/configure/configure_sundials.cmake
> :info:configure -- Found SUNDIALS_LIB_IDAS
> :info:configure -- Found SUNDIALS_LIB_IDA
> :info:configure -- Found SUNDIALS_LIB_ARKODE
> :info:configure -- Found SUNDIALS_LIB_KINSOL
> :info:configure -- Found SUNDIALS_LIB_SER
> :info:configure -- SUNDIALS_INCLUDE_DIR not found! The call was:
> :info:configure --     FIND_PATH(SUNDIALS_INCLUDE_DIR
> sundials/sundials_version.h HINTS PATH_SUFFIXES include)
> :info:configure -- SUNDIALS_CONFIG_H not found! The call was:
> :info:configure --     FIND_FILE(SUNDIALS_CONFIG_H NAMES
> sundials_config.h HINTS SUNDIALS_INCLUDE_DIR-NOTFOUND/sundials)
> :info:configure --   SUNDIALS_VERSION: 0.0.0
> :info:configure --   SUNDIALS_LIBRARIES:
> /opt/local/lib/libsundials_idas.dylib;/opt/local/lib/libsundials_arkode.dylib;/opt/local/lib/libsundials_kinsol.dylib;/opt/local/lib/libsundials_nvecserial.dylib
> :info:configure --   SUNDIALS_INCLUDE_DIRS: *** Required variable
> "SUNDIALS_INCLUDE_DIR" set to NOTFOUND ***
> :info:configure --   SUNDIALS_USER_INCLUDE_DIRS: *** Required variable
> "SUNDIALS_INCLUDE_DIR" set to NOTFOUND ***
> :info:configure -- Could NOT find SUNDIALS
> :info:configure -- Could not find a sufficient Sundials installation:
> deal.II requires at least version 3.0.0, but version 0.0.0 was found.
> :info:configure -- DEAL_II_WITH_SUNDIALS has unmet external dependencies.
> }}}

New description:

 This port currently declares a dependency on `sundials2`, but it appears
 that it requires a newer version - suggesting that `sundials` (which is
 v5.8.x) is necessary instead:

 {{{
 --   SUNDIALS_VERSION: 0.0.0
 --   SUNDIALS_LIBRARIES:
 /opt/local/lib/libsundials_idas.dylib;/opt/local/lib/libsundials_arkode.dylib;/opt/local/lib/libsundials_kinsol.dylib;/opt/local/lib/libsundials_nvecserial.dylib
 --   SUNDIALS_INCLUDE_DIRS: *** Required variable "SUNDIALS_INCLUDE_DIR"
 set to NOTFOUND ***
 --   SUNDIALS_USER_INCLUDE_DIRS: *** Required variable
 "SUNDIALS_INCLUDE_DIR" set to NOTFOUND ***
 -- Could NOT find SUNDIALS
 -- Could not find a sufficient Sundials installation: deal.II requires at
 least version 3.0.0, but version 0.0.0 was found.
 -- DEAL_II_WITH_SUNDIALS has unmet external dependencies.
 }}}

 Switching to `sundials`, the configure phase does succeed:

 {{{
 --   SUNDIALS_VERSION: 5.8.0
 --   SUNDIALS_LIBRARIES:
 /opt/local/lib/libsundials_idas.dylib;/opt/local/lib/libsundials_arkode.dylib;/opt/local/lib/libsundials_kinsol.dylib;/opt/local/lib/libsundials_nvecserial.dylib
 --   SUNDIALS_INCLUDE_DIRS: /opt/local/include
 --   SUNDIALS_USER_INCLUDE_DIRS: /opt/local/include
 -- Found SUNDIALS
 -- DEAL_II_WITH_SUNDIALS successfully set up with external dependencies.
 }}}

 However, the overall build still fails, due to issue:56106

--

-- 
Ticket URL: <https://trac.macports.org/ticket/65137#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list