[MacPorts] #57514: Configure fails on xcode clang

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

[MacPorts] #57514: Configure fails on xcode clang

MacPorts
#57514: Configure fails on xcode clang
-----------------------------------+-----------------------------
 Reporter:  mmaenz                 |      Owner:  (none)
     Type:  defect                 |     Status:  new
 Priority:  Normal                 |  Milestone:
Component:  ports                  |    Version:
 Keywords:  xcode apple clang gcc  |       Port:  openmpi-default
-----------------------------------+-----------------------------
 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

--
Ticket URL: <https://trac.macports.org/ticket/57514>
MacPorts <https://www.macports.org/>
Ports system for macOS
Reply | Threaded
Open this post in threaded view
|

Re: [MacPorts] #57514: openmpi-default: Configure fails on xcode clang (was: Configure fails on xcode clang)

MacPorts
#57514: openmpi-default: Configure fails on xcode clang
------------------------------+------------------------
  Reporter:  mmaenz           |      Owner:  seanfarley
      Type:  defect           |     Status:  assigned
  Priority:  Normal           |  Milestone:
 Component:  ports            |    Version:
Resolution:                   |   Keywords:
      Port:  openmpi-default  |
------------------------------+------------------------
Changes (by jmroot):

 * owner:  (none) => seanfarley
 * keywords:  xcode apple clang gcc =>
 * status:  new => assigned


Comment:

 Please attach the log from the failing build.

--
Ticket URL: <https://trac.macports.org/ticket/57514#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS
Reply | Threaded
Open this post in threaded view
|

Re: [MacPorts] #57514: openmpi-default: Configure fails on xcode clang

MacPorts
In reply to this post by MacPorts
#57514: openmpi-default: Configure fails on xcode clang
------------------------------+------------------------
  Reporter:  mmaenz           |      Owner:  seanfarley
      Type:  defect           |     Status:  assigned
  Priority:  Normal           |  Milestone:
 Component:  ports            |    Version:
Resolution:                   |   Keywords:
      Port:  openmpi-default  |
------------------------------+------------------------

Comment (by mmaenz):

 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!

--
Ticket URL: <https://trac.macports.org/ticket/57514#comment:2>
MacPorts <https://www.macports.org/>
Ports system for macOS
Reply | Threaded
Open this post in threaded view
|

Re: [MacPorts] #57514: openmpi-default: Configure fails on xcode clang

MacPorts
In reply to this post by MacPorts
#57514: openmpi-default: Configure fails on xcode clang
------------------------------+------------------------
  Reporter:  mmaenz           |      Owner:  seanfarley
      Type:  defect           |     Status:  assigned
  Priority:  Normal           |  Milestone:
 Component:  ports            |    Version:
Resolution:                   |   Keywords:
      Port:  openmpi-default  |
------------------------------+------------------------

Old description:

> 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
New description:

 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

--

Comment (by mf2k):

 In the future, please use WikiFormatting.

--
Ticket URL: <https://trac.macports.org/ticket/57514#comment:3>
MacPorts <https://www.macports.org/>
Ports system for macOS