Opened 11 months ago

Last modified 9 months ago

#68837 assigned defect

openmpi-gcc13 fails to build

Reported by: rhaas80 (Roland Haas) Owned by: mascguy (Christopher Nielsen)
Priority: Normal Milestone:
Component: ports Version: 2.8.1
Keywords: Cc: JJHelly, matsbn (Mats Bentsen)
Port: openmpi-gcc13

Description

Hello all,

On my Apple M1 Mac macOS 14.0 23A344 I get build failures in opnempi-gcc13 from this command (freshly installed macpors, XCode App and XCode command line utilities):

sudo port -N install pkgconfig gcc13 openmpi-gcc13 fftw-3 gsl zlib openssl subversion ld64 hdf5 +fortran +gfortran

The error message is:

info:build pget_elements_x.c: In function 'PMPI_Get_elements_x':
:info:build pget_elements_x.c:79:63: error: 'SSIZE_MAX' undeclared (first use in this function); did you mean 'RSIZE_MAX'?
:info:build    79 |         if (OMPI_SUCCESS == ret && internal_count <= (size_t) SSIZE_MAX) {
:info:build       |                                                               ^~~~~~~~~
:info:build       |                                                               RSIZE_MAX
:info:build pget_elements_x.c:79:63: note: each undeclared identifier is reported only once for each function it appears in
:info:build make[3]: *** [pget_elements_x.lo] Error 1

Seems like ssize_max (or so) is being used without correct header files being included.

Log file attached.

Attachments (1)

main.log (705.2 KB) - added by rhaas80 (Roland Haas) 11 months ago.
main log file

Download all attachments as: .zip

Change History (5)

Changed 11 months ago by rhaas80 (Roland Haas)

Attachment: main.log added

main log file

comment:1 Changed 11 months ago by jmroot (Joshua Root)

Keywords: openmpi gcc13 removed
Owner: set to mascguy
Status: newassigned

comment:2 Changed 11 months ago by JJHelly

Cc: JJHelly added

comment:3 Changed 10 months ago by matsbn (Mats Bentsen)

Cc: matsbn added
Note: See TracTickets for help on using tickets.