Opened 5 years ago

Closed 5 years ago

#59984 closed defect (duplicate)

nodejs12: gyp: No Xcode or CLT version detected!

Reported by: David-Noble-at-work (David Noble) Owned by: ci42
Priority: Normal Milestone:
Component: ports Version: 2.6.2
Keywords: Cc:
Port: nodejs12

Description (last modified by David-Noble-at-work (David Noble))

Here's the command line output:

# sudo port install -v  nodejs12                   
--->  Computing dependencies for nodejs12
--->  Fetching archive for nodejs12
--->  Attempting to fetch nodejs12-12.14.1_0.darwin_19.x86_64.tbz2 from https://packages.macports.org/nodejs12
--->  Attempting to fetch nodejs12-12.14.1_0.darwin_19.x86_64.tbz2 from http://aus.us.packages.macports.org/macports/packages/nodejs12
--->  Attempting to fetch nodejs12-12.14.1_0.darwin_19.x86_64.tbz2 from http://ywg.ca.packages.macports.org/mirror/macports/packages/nodejs12
--->  Configuring nodejs12
Error: Failed to configure nodejs12: configure failure: command execution failed
Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_nodejs12/nodejs12/main.log for details.
Error: Follow https://guide.macports.org/#project.tickets to report a bug.
Error: Processing of port nodejs12 failed

Here are some facts about my system:

Darwin 19.2.0 Darwin Kernel Version 19.2.0: Sat Nov  9 03:47:04 PST 2019; root:xnu-6153.61.1~20/RELEASE_X86_64 x86_64 i386 MacBookPro16,1 Darwin
xcode-select version 2373.
Model Name:	MacBook Pro
  Model Identifier:	MacBookPro16,1
  Processor Name:	8-Core Intel Core i9
  Processor Speed:	2.3 GHz
  Number of Processors:	1
  Total Number of Cores:	8
  L2 Cache (per Core):	256 KB
  L3 Cache:	16 MB
  Hyper-Threading Technology:	Enabled
  Memory:	64 GB
  Boot ROM Version:	1037.60.58.0.0 (iBridge: 17.16.12551.0.0,0)
  Serial Number (system):	C02ZP8HQMD6T
  Hardware UUID:	AEB0BA70-F500-5048-A171-28387C01CF4E
  Activation Lock Status:	Enabled

Attachments (1)

main.log (766.1 KB) - added by David-Noble-at-work (David Noble) 5 years ago.
main.log

Download all attachments as: .zip

Change History (5)

Changed 5 years ago by David-Noble-at-work (David Noble)

Attachment: main.log added

main.log

comment:1 Changed 5 years ago by David-Noble-at-work (David Noble)

Description: modified (diff)

comment:2 Changed 5 years ago by kencu (Ken)

looks quite similar to #59974 and #59382.

There are some hints in #59382 that might help.

comment:3 Changed 5 years ago by ryandesign (Ryan Carsten Schmidt)

Owner: set to ci42
Status: newassigned
Summary: "sudo port install nodejs12" fails to configure nodejs12nodejs12: gyp: No Xcode or CLT version detected!

The log says you have Xcode 11.3.1 installed, yet it also says:

:info:configure gyp: No Xcode or CLT version detected!

comment:4 Changed 5 years ago by jmroot (Joshua Root)

Resolution: duplicate
Status: assignedclosed
Note: See TracTickets for help on using tickets.