Opened 7 months ago

Closed 7 months ago

#68641 closed defect (duplicate)

openmpi-default @4.1.4_0: error: unknown argument '-qversion'; did you mean '--version'?

Reported by: isolated-matrix Owned by:
Priority: Normal Milestone:
Component: ports Version: 2.8.1
Keywords: sonoma Cc:
Port: openmpi

Description (last modified by isolated-matrix)

I recently updated my MacBook Pro M1 max to macOS Sonoma (14.1) and, as a result, had to reinstall all of my ports. While most compiled without issue, I have not been able to compile openmpi-default. The relevant errors in the config.log file appear to be:

Apple clang version 15.0.0 (clang-1500.0.40.1)
Target: arm64-apple-darwin23.1.0
Thread model: posix
InstalledDir: /Library/Developer/CommandLineTools/usr/bin
configure:6571: $? = 0
configure:6560: /usr/bin/clang -v >&5
Apple clang version 15.0.0 (clang-1500.0.40.1)
Target: arm64-apple-darwin23.1.0
Thread model: posix
InstalledDir: /Library/Developer/CommandLineTools/usr/bin
configure:6571: $? = 0
configure:6560: /usr/bin/clang -V >&5
clang: error: argument to '-V' is missing (expected 1 value)
clang: error: no input files
configure:6571: $? = 1
configure:6560: /usr/bin/clang -qversion >&5
clang: error: unknown argument '-qversion'; did you mean '--version'?
clang: error: no input files

There was a ticket submitted recently in which someone reports a similar problem (#68552), and this ticket was closed successfully. In their case, their versions of Xcode and CLT did not match; once this was fixed, openMPI could be installed. In my case, however, both Xcode and CLT are the same:

:debug:sysinfo Xcode 15.0.1, CLT 15.0.0.0.1.1694021235

so I'm not sure what the problem might be.

The config.log and main.log files should be attached below. Any help would be greatly appreciated!

Attachments (2)

config.log (478.5 KB) - added by isolated-matrix 7 months ago.
main.log (181.7 KB) - added by isolated-matrix 7 months ago.

Download all attachments as: .zip

Change History (4)

Changed 7 months ago by isolated-matrix

Attachment: config.log added

Changed 7 months ago by isolated-matrix

Attachment: main.log added

comment:1 Changed 7 months ago by isolated-matrix

Description: modified (diff)

comment:2 Changed 7 months ago by ryandesign (Ryan Carsten Schmidt)

Keywords: sonoma added; Sonoma removed
Resolution: duplicate
Status: newclosed

Duplicate of #68226.

Note: See TracTickets for help on using tickets.