Opened 6 years ago

Closed 6 years ago

#57514 closed defect (worksforme)

openmpi-default: Configure fails on xcode clang

Reported by: mmaenz (Michael Maenz) Owned by:
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port: openmpi-default

Description (last modified by mf2k (Frank Schima))

Configure fails with xcode clang in /usr/bin/clang -> Apple LLVM version 8.1.0 (clang-802.0.42).

My $PATH exports first /opt/local/bin but port defaults to /usr/bin.

Only help was to edit Portfile and comment out all supported compilers except gcc8 {macports-gcc-8}, put

compiler.blacklist-append *clang* 

and add

compiler.fallback macports-gcc-8

Configure runs fine with gcc8.

I didn't try other methods. This was my first idea.

Thanks! -Michael

Change History (5)

comment:1 Changed 6 years ago by jmroot (Joshua Root)

Keywords: xcode apple clang gcc removed
Owner: set to seanfarley
Status: newassigned
Summary: Configure fails on xcode clangopenmpi-default: Configure fails on xcode clang

Please attach the log from the failing build.

comment:2 Changed 6 years ago by mmaenz (Michael Maenz)

The original log got overwritten by the successful compile. I don't have it anymore.

After that I did an uninstall and leave (which whipped gcc8 too). I reverted my changes to Portfile and tried install openmpi-default (with gcc8 as dependency) again.

This time with no problems.

It works as expected. May some others had problems too but I think it was related to my machine. As long as it won't happen again, we can close this ticket...

Sorry for the inconvenience and thanks - I really appreciate the immediate support!

comment:3 Changed 6 years ago by mf2k (Frank Schima)

Description: modified (diff)

In the future, please use WikiFormatting.

comment:4 Changed 6 years ago by mf2k (Frank Schima)

Owner: seanfarley deleted

comment:5 Changed 6 years ago by mf2k (Frank Schima)

Resolution: worksforme
Status: assignedclosed
Note: See TracTickets for help on using tickets.