Opened 4 weeks ago

Last modified 4 weeks ago

#73730 accepted defect

cdf: fails to build on macOS 26

Reported by: reneeotten (Renee Otten) Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version:
Keywords: tahoe Cc:
Port: cdf

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

see the buildbot log here: https://build.macports.org/builders/ports-26_arm64-builder/builds/27580

First error appears to be:

xcode-select: error: tool 'xcodebuild' requires Xcode, but active developer directory '/Library/Developer/CommandLineTools' is a command line tools instance

followed by a variety of other messages.

As a first attempt, I tried to update the port to the latest upstream version (3.9.1).

Setting use_xcode yes in the Portfile -as expected- works around the xcodebuild issue, but then fails later on due to issues with the vendored zlib library. Adding the patch zlib-fdopen.patch from, for example, the tkimg port can resolve that.

However, then the build still fails somewhere down the line... not sure exactly why/how.

In any case, it would be good to fix building version 3.9.0 on Tahoe and/or update the port to the latest upstream version.

Thanks!

Change History (1)

comment:1 Changed 4 weeks ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)
Status: assignedaccepted

I don't think it needs Xcode; it's just more junk in their ridiculous Makefile that I should patch out. But all it's doing is printing silly messages to the log; I don't think it's harming the build.

The zlib issue and whatever happens after that does certainly need to be addressed. Thanks for letting me know.

Note: See TracTickets for help on using tickets.