Opened 8 weeks ago

Last modified 7 weeks ago

#69799 assigned defect

slepc @3.15.0: error: too few arguments provided to function-like macro invocation

Reported by: astrofitz (Michael Fitzgerald) Owned by: MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port: slepc

Description (last modified by ryandesign (Ryan Carsten Schmidt))

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.

Attachments (1)

main.log (275.2 KB) - added by astrofitz (Michael Fitzgerald) 8 weeks ago.
build log

Download all attachments as: .zip

Change History (3)

Changed 8 weeks ago by astrofitz (Michael Fitzgerald)

Attachment: main.log added

build log

comment:1 Changed 8 weeks ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)
Owner: set to MarcusCalhoun-Lopez
Port: slepc added
Status: newassigned
Summary: slepc build failureslepc @3.15.0: error: too few arguments provided to function-like macro invocation

comment:2 Changed 7 weeks ago by astrofitz (Michael Fitzgerald)

As an update, I tried to modify the Portfile to use version 3.20.0 of slepc, to provide a better match to the current petsc version in macports. I ran into a compilation error,

ld: warning: -commons use_dylibs is no longer supported, using error treatment instead

which I surmise is another result of Xcode 15.3.

As far as I can tell, this same error is being addressed in petsc, https://gitlab.com/petsc/petsc/-/merge_requests/7341. Perhaps this will be helpful.

Note: See TracTickets for help on using tickets.