Opened 6 years ago

Closed 6 years ago

Last modified 6 years ago

#58200 closed defect (fixed)

cmake @3.14 build failure

Reported by: deldotvee Owned by: michaelld (Michael Dickens)
Priority: Normal Milestone:
Component: ports Version: 2.5.4
Keywords: Cc: thetrial (alabay)
Port: cmake

Description

Fails in configuration phase. No log. All I find in /opt/local/var/macports/distfiles is the archive. I am building this on 10.11 El Capitan.

Change History (7)

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

Cc: michaelld removed
Owner: set to michaelld
Port: 3.14 removed
Status: newassigned
Summary: cmake 3.14 build failurecmake @3.14 build failure

Likely a duplicate of #58199 but the log would be needed to confirm. It would be very strange for there to be no log, but if that's the case please run these two commands:

sudo port clean cmake
sudo port -d destroot cmake 2>&1 | tee cmake.log

and then attach cmake.log to this ticket.

comment:2 Changed 6 years ago by thetrial (alabay)

Cc: thetrial added

comment:3 Changed 6 years ago by michaelld (Michael Dickens)

In 5eba5a27c81f2b508944bcee3216f753ec6c4c45/macports-ports (master):

cmake: temporary fix for LegacySupport issue

Hopefully addresses < #58199 > and < #58200 >.

Just temporary while we figure out a better way to handle this specific circumstance within the LegacySupport headers.

We believe that Xcode 8+ provides "clock_gettime"; we know this is true for Xcode 8.2.1, and we know that Xcode 7.2.1. does not provide this feature. legacysupport is used for 10.11 just for this specific feature, so use it only if OSX <= 10.11 && Xcode < 8.

See also < https://trac.macports.org/wiki/XcodeVersionInfo > for the various combinations of OSX and Xcode versions.

comment:4 Changed 6 years ago by michaelld (Michael Dickens)

For folks with this issue: I just pushed a temporary fix that should work for you. Please update your ports & try again & please do comment back here success or failure ... and if the latter please attach the build logfile for us to review.

comment:5 Changed 6 years ago by michaelld (Michael Dickens)

Resolution: fixed
Status: assignedclosed

Closing as fixed, since I'm guessing this issue is really a duplicate of #58199 . If the OP, after updating ports, still has this issue then you'll need to provide a build log for us to review. If you can do that, then please reopen this ticket with the fresh build log attached.

comment:6 Changed 6 years ago by deldotvee

The fix worked for me; I posted in 58199 to say so, and to report my version of Xcode. It must have been the same issue.

comment:7 Changed 6 years ago by michaelld (Michael Dickens)

OK; glad this fix worked && thanks for reporting back!

Note: See TracTickets for help on using tickets.