Opened 6 years ago

Closed 6 years ago

#55947 closed defect (duplicate)

openmpi @3.0.0: error: 'LOG_ERR' undeclared (first use in this function)

Reported by: gepenn (Gregory Penn) Owned by: seanfarley (Sean Farley)
Priority: Normal Milestone:
Component: ports Version: 2.4.2
Keywords: highsierra Cc:
Port: openmpi

Description

I installed gcc5 and then tried to install openmpi-gcc5, which failed. The same thing happened when I uninstalled gcc5 and tried again with gcc6 and then openmpi-gcc6.

This is on mac os 10.13 with a new installation of macports.

Attachments (1)

main.log (315.8 KB) - added by gepenn (Gregory Penn) 6 years ago.
log file from failed port install

Download all attachments as: .zip

Change History (4)

Changed 6 years ago by gepenn (Gregory Penn)

Attachment: main.log added

log file from failed port install

comment:1 Changed 6 years ago by ryandesign (Ryan Carsten Schmidt)

Keywords: highsierra added
Owner: set to seanfarley
Status: newassigned
Summary: openmpi does not work with older versions of gccopenmpi @3.0.0: error: 'LOG_ERR' undeclared (first use in this function)

According to the upstream bug report the problem is specific to using any version of gcc to build openmpi on High Sierra. The problem was fixed in this upstream PR by disabling syslog support on High Sierra. The PR was merged in October, there just hasn't been a new stable release of openmpi 3 since then. The most recent release candidates of 3.0.1 and 3.1.0 were posted 8 days ago. Hopefully the final versions will be released soon and the port can be updated then. Or we can add a patch of the PR to the port.

comment:2 Changed 6 years ago by nickcrabtree

What is the "correct" way for me to get this running now, such that when a macports updated port is released my system won't break?

comment:3 in reply to:  2 Changed 6 years ago by seanfarley (Sean Farley)

Resolution: duplicate
Status: assignedclosed

Replying to nickcrabtree:

What is the "correct" way for me to get this running now, such that when a macports updated port is released my system won't break?

You can use one of the clang compilers or bug the openmpi devs to not write broken code (or at the very least do more testing).

Duplicate of #54993.

Note: See TracTickets for help on using tickets.