[MacPorts] #69799: slepc @3.15.0: error: too few arguments provided to function-like macro invocation (was: slepc build failure)

MacPorts noreply at macports.org
Sun Apr 21 22:07:33 UTC 2024


#69799: slepc @3.15.0: error: too few arguments provided to function-like macro
invocation
------------------------+---------------------------------
  Reporter:  astrofitz  |      Owner:  MarcusCalhoun-Lopez
      Type:  defect     |     Status:  assigned
  Priority:  Normal     |  Milestone:
 Component:  ports      |    Version:
Resolution:             |   Keywords:
      Port:  slepc      |
------------------------+---------------------------------
Changes (by ryandesign):

 * status:  new => assigned
 * owner:  (none) => MarcusCalhoun-Lopez
 * port:   => slepc


Old description:

> I am building slepc on Sonoma 14.4.1 with Xcode 15.3 (Build version
> 15E204a).  The pre-built package installs OK, but macports complains
> about linking errors, and on the rev-upgrade step fails.
>
> The build log is attached, but I believe the first error is
> ```
> :info:build
> /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_math_slepc/slepc/work/slepc-3.15.0/include/slepcmat.h:23:84:
> error: too few arguments provided to function-like macro invocation
> ```
> Other errors are similar to this:
> ```
> :info:build
> /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_math_slepc/slepc/work/slepc-3.15.0/include/slepcsys.h:23:/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_math_slepc/slepc/work/slepc-3.15.0/include/slepcmat.h
> :14error: :
> :info:build too few arguments provided to function-like macro
> invocation#define PETSC_DEPRECATED_FUNCTION(major, minor, subminor,
> replacement, ...)
> PETSC_DEPRECATED_IDENTIFIER(PETSC_DEPRECATED_FUNCTION_BASE, major, minor,
> subminor, replacement, __VA_ARGS__):
> ```
>
> I wonder if it is due to the version divergence between petsc (3.20.2)
> and slepc (3.15.1) within macports.
>
> I was curious if there was something particular about system, so I did a
> clean macports install and have the same issue.

New description:

 I am building slepc on Sonoma 14.4.1 with Xcode 15.3 (Build version
 15E204a).  The pre-built package installs OK, but macports complains about
 linking errors, and on the rev-upgrade step fails.

 The build log is attached, but I believe the first error is
 {{{
 :info:build
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_math_slepc/slepc/work/slepc-3.15.0/include/slepcmat.h:23:84:
 error: too few arguments provided to function-like macro invocation
 }}}
 Other errors are similar to this:
 {{{
 :info:build
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_math_slepc/slepc/work/slepc-3.15.0/include/slepcsys.h:23:/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_math_slepc/slepc/work/slepc-3.15.0/include/slepcmat.h
 :14error: :
 :info:build too few arguments provided to function-like macro
 invocation#define PETSC_DEPRECATED_FUNCTION(major, minor, subminor,
 replacement, ...)
 PETSC_DEPRECATED_IDENTIFIER(PETSC_DEPRECATED_FUNCTION_BASE, major, minor,
 subminor, replacement, __VA_ARGS__):
 }}}

 I wonder if it is due to the version divergence between petsc (3.20.2) and
 slepc (3.15.1) within macports.

 I was curious if there was something particular about system, so I did a
 clean macports install and have the same issue.

--

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


More information about the macports-tickets mailing list