[MacPorts] #60973: nodejs14: Can't install/update with CLT but without XCode
MacPorts
noreply at macports.org
Wed Nov 18 05:04:10 UTC 2020
#60973: nodejs14: Can't install/update with CLT but without XCode
-----------------------+----------------------
Reporter: xeron | Owner: ci42
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: | Keywords:
Port: nodejs14 |
-----------------------+----------------------
Comment (by ryandesign):
Replying to [comment:4 posita]:
> Replying to [comment:2 ryandesign]:
> > Since nodejs14 is distributable, you could have received a binary
archive of 14.5.0 from our build server, on which we do have Xcode
installed.
>
> How does one do that?
You automatically receive a binary if one is available, unless you used
the `-s` flag or set `buildfromsource always` in macports.conf. If a
binary is not available, it builds from source, unless you use the `-b`
flag or set `buildfromsource never` in macports.conf.
> I'm apparently not able to install from the binary archive:
>
>
> {{{
> % sudo port -N -c -b install nodejs14 @14.5.0
> Error: Port nodejs14 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 to report a
bug.
> Error: Processing of port nodejs14 failed
> }}}
Hm. I assumed that if a binary was available, MacPorts would forget about
the Xcode check. If it does not, then I cannot explain your claim that "it
worked before" since as I said "The nodejs14 port has always had
`use_xcode yes` in it".
Note that `port install` does not accept a version number.
--
Ticket URL: <https://trac.macports.org/ticket/60973#comment:8>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list