Opened 6 years ago

Closed 6 years ago

#56720 closed defect (fixed)

The C compiler "/usr/bin/clang" is not able to compile a simple test program.

Reported by: conradwt (Conrad Taylor) Owned by: eborisch (Eric A. Borisch)
Priority: Normal Milestone:
Component: ports Version: 2.5.2
Keywords: mojave Cc:
Port: libomp

Description

I'm seeing folowing issue when I attempt to upgrade libomp:

:info:configure CMake Error at /opt/local/share/cmake-3.11/Modules/CMakeTestCCompiler.cmake:52 (message):
:info:configure   The C compiler
:info:configure     "/usr/bin/clang"
:info:configure   is not able to compile a simple test program.
:info:configure   It fails with the following output:
:info:configure     Change Dir: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_libomp/libomp/work/build-i386/CMakeFiles/CMakeTmp

The above represents the first issue that I'm seeing and I also noticed other potential issues. Please see attached file for further details.

Attachments (1)

main.log (48.7 KB) - added by conradwt (Conrad Taylor) 6 years ago.
libomp-main.log

Download all attachments as: .zip

Change History (12)

Changed 6 years ago by conradwt (Conrad Taylor)

Attachment: main.log added

libomp-main.log

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

Keywords: mojave added; macOS 10.14 removed

We can't discuss developer or beta versions of macOS here; consult your NDA. See wiki:FAQ#prerelease.

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

Cc: eborisch removed
Owner: set to eborisch
Status: newassigned

comment:3 Changed 6 years ago by mamoll (Mark Moll)

Now that Mojave is released, the libomp port can be installed like so:

sudo port install libomp -universal

comment:4 Changed 6 years ago by eborisch (Eric A. Borisch)

Soo... perhaps +universal needs to be an across-the-board no-op on Mojave?

comment:5 Changed 6 years ago by pmetzger (Perry E. Metzger)

Eric, for the moment, perhaps you should bring up this error on the developers list? It seems very bad.

comment:6 Changed 6 years ago by eborisch (Eric A. Borisch)

See #57133 (Don't offer universal variant when multiple architectures aren't supported)

comment:7 Changed 6 years ago by eborisch (Eric A. Borisch)

comment:8 Changed 6 years ago by eborisch (Eric A. Borisch)

Committed (hopefully) a fix: https://github.com/macports/macports-ports/commit/06df52a7fda865f033c65f3923ea4c74b51be1a8

Could some Mojave users could please update, test, and report back? It's intended to drop the universal variant from existence on Mojave.

comment:9 Changed 6 years ago by pmetzger (Perry E. Metzger)

It seems to build now under Mojave. I'd argue we should temporarily turn off universal for Mojave entirely. (I mean globally, across all ports.)

comment:10 Changed 6 years ago by kencu (Ken)

There is already a separate initiative going on for that 57133 and <https://github.com/macports/macports-base/pull/107>

comment:11 Changed 6 years ago by eborisch (Eric A. Borisch)

Resolution: fixed
Status: assignedclosed

Fixed for libomp; closing. Follow the -base progress on the ticket / pull listed above.

Note: See TracTickets for help on using tickets.