[MacPorts] #65826: nodejs16 @16.17.0_2: requires a full Xcode installation

MacPorts noreply at macports.org
Mon Sep 12 01:58:51 UTC 2022


#65826: nodejs16 @16.17.0_2: requires a full Xcode installation
--------------------+----------------------
 Reporter:  JDLH    |      Owner:  ci42
     Type:  defect  |     Status:  assigned
 Priority:  Normal  |  Milestone:
Component:  ports   |    Version:  2.7.2
 Keywords:          |       Port:  nodejs16
--------------------+----------------------
 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.

-- 
Ticket URL: <https://trac.macports.org/ticket/65826>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list