Opened 2 years ago

Closed 2 years ago

Last modified 2 years ago

#63996 closed defect (fixed)

ace @6.5.2_1: build failure due to version file

Reported by: prtouatisid (S. Touati) Owned by: lockhart (Thomas Lockhart)
Priority: Normal Milestone:
Component: ports Version: 2.7.1
Keywords: Cc: jwillemsen, cjones051073 (Chris Jones)
Port: ace

Description (last modified by ryandesign (Ryan Carsten Schmidt))

Hi, When trying to selfupdate macport on macOS monterrey, I get the error:

--->  Building ace
Error: Failed to build ace: command execution failed

Please find enclose the main.log file regards

Attachments (1)

main.log (88.2 KB) - added by prtouatisid (S. Touati) 2 years ago.

Download all attachments as: .zip

Change History (7)

Changed 2 years ago by prtouatisid (S. Touati)

Attachment: main.log added

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

Your Xcode and Command Line Tools are too old to use on Monterey; please update them.

comment:2 Changed 2 years ago by jmroot (Joshua Root)

Cc: jwillemsen added
Owner: set to lockhart
Port: ace added
Status: newassigned
Summary: Failed to build ace: command execution failedace @6.5.2_1: build failure due to version file

There does also seem to be an incompatibility with C++20 compilers though. The version file conflicts with the new header of that name.

comment:3 Changed 2 years ago by Chris Jones <jonesc@…>

Resolution: fixed
Status: assignedclosed

In c6d72923da34fa1eb9eab4ed027d907b3bf7398e/macports-ports (master):

ace: Rename VERSION file to avoid include conflict
Closes: #63996

comment:4 Changed 2 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: cjones051073 added
Description: modified (diff)

If the developers of ace have not yet been made aware of this problem, please do so so that they can fix it. We do not want to maintain such workarounds forever.

comment:5 in reply to:  1 Changed 2 years ago by prtouatisid (S. Touati)

Replying to jmroot:

Your Xcode and Command Line Tools are too old to use on Monterey; please update them.

I have already xcode 13.1 (last version) installed on my mac. The pb with the compilation of ace remains. An message appears however: "Warning: The macOS 12 SDK does not appear to be installed. Ports may not build correctly." "Warning: You can install it as part of the Xcode Command Line Tools package by running `xcode-select --install'."

when I execute `xcode-select --install', I get "xcode-select: error: command line tools are already installed, use "Software Update" to install updates"

I do not understand what is happening. Best

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

macOS has a bug in which it does not know how to update your command line tools when they are out of date. You must update them manually. See ProblemHotlist#reinstall-clt.

Note: See TracTickets for help on using tickets.