Opened 21 months ago

Last modified 20 months ago

#65826 assigned defect

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

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

Description (last modified by JDLH (Jim DeLaHunt))

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 ticket: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 (1)

comment:1 Changed 21 months ago by JDLH (Jim DeLaHunt)

Description: modified (diff)

May be related to commit 3aefb5, dated 6 hours before this report, which bumped the revision number in the Portfile because the ICU library, on which the port depends, had changed. Maybe the buildbot has not compiled this commit for macOS 12 arm64. I do not know how to read the Buildbot UI to find that out. It seems to say that the builder for macOS 12 arm64 is idle, and has been for over 10 hours. That seems curious to me, so maybe I am not reading the UI correctly.

Also: fixed up the wikilink to a ticket's comment, in the Description above.

Note: See TracTickets for help on using tickets.