Opened 21 months ago

Last modified 20 months ago

#65826 assigned defect

nodejs16 @16.17.0_2: requires a full Xcode installation — at Initial Version

Reported by: JDLH (Jim DeLaHunt) Owned by: ci42
Priority: Normal Milestone:
Component: ports Version: 2.7.2
Keywords: Cc:
Port: nodejs16

Description

I have nodejs16 @16.17.0_1 installed and active, and nodejs16 @16.17.0_0 installed and inactive. This is now outdated. I tried to upgrade it, and received the following error message:

Error: Port nodejs16 requires a full Xcode installation, which was not found on your system.
Error: You can install Xcode from the Mac App Store or https://developer.apple.com/xcode/
Error: Follow https://guide.macports.org/#project.tickets if you believe there is a bug.

I am pretty sure that I was able to install the earlier versions of nodejs16 without full Xcode. I have never had full Xcode installed on this system, and I started using it less than 6 months ago.

The main.log reads as follows:

version:1
:debug:main Starting logging for nodejs16 @16.17.0_2
:debug:sysinfo macOS 12.5.1 (darwin/21.6.0) arch arm
:debug:sysinfo MacPorts 2.7.2
:debug:sysinfo Xcode none
:debug:sysinfo SDK 12
:debug:sysinfo MACOSX_DEPLOYMENT_TARGET: 12.0
:error:main Port nodejs16 requires a full Xcode installation, which was not found on your system.
:error:main You can install Xcode from the Mac App Store or https://developer.apple.com/xcode/

This appears similar to #60973, which is about nodejs14 not 16. I have not yet tried the workaround in #60973#comment:5 . I suspect that MacPorts might have retrieved precompiled binaries before, but I have no evidence to prove or refute that.

Change History (0)

Note: See TracTickets for help on using tickets.