Opened 5 years ago

Last modified 4 years ago

#59262 assigned defect

nodejs10 @ 10.16.3_0.darwin_19.x86_64: Failed to Build Error

Reported by: michaelmb Owned by: ci42
Priority: Normal Milestone:
Component: ports Version: 2.6.1
Keywords: Cc: pturley0
Port: nodejs10

Description

I'm trying to install nodejs10 but getting the following error:

--->  Computing dependencies for nodejs10
--->  Fetching archive for nodejs10
--->  Attempting to fetch nodejs10-10.16.3_0.darwin_19.x86_64.tbz2 from https://packages.macports.org/nodejs10
--->  Attempting to fetch nodejs10-10.16.3_0.darwin_19.x86_64.tbz2 from http://ywg.ca.packages.macports.org/mirror/macports/packages/nodejs10
--->  Attempting to fetch nodejs10-10.16.3_0.darwin_19.x86_64.tbz2 from http://aus.us.packages.macports.org/macports/packages/nodejs10
--->  Building nodejs10
Error: Failed to build nodejs10: command execution failed
Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_nodejs10/nodejs10/main.log for details.
Error: Follow https://guide.macports.org/#project.tickets to report a bug.
Error: Processing of port nodejs10 failed

I'm having the same issue installing yarn and librsvg. If it's helpful, I can attach the logs from those attempted installs, as well. I'm not sure if they're related. I've never used MacPorts before and tried my best to troubleshoot. I'm on MacOS Catalina, and I'm using the most recent version of MacPorts, version 2.6.1 .

Attachments (1)

main.log (1.1 MB) - added by michaelmb 5 years ago.

Download all attachments as: .zip

Change History (6)

Changed 5 years ago by michaelmb

Attachment: main.log added

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

please try this:

sudo port -f uninstall ld64
sudo port -v install ld64 +ld64_xcode

sudo port clean nodejs10
sudo port -v install nodejs10

comment:2 in reply to:  1 Changed 5 years ago by michaelmb

Replying to kencu:

please try this:

sudo port -f uninstall ld64
sudo port -v install ld64 +ld64_xcode

sudo port clean nodejs10
sudo port -v install nodejs10

Thank you! This solved the issue with nodejs10 package installation.

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

Owner: set to ci42
Status: newassigned

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

this has nothing to do with nodejs10.

We have to make .ld64 +ld64_xcode the only option available for newer systems, and if it's not already in port diagnose, add it.

It's just not reasonable that we keep seeing this error after two years...

Last edited 5 years ago by kencu (Ken) (previous) (diff)

comment:5 Changed 4 years ago by pturley0

Cc: pturley0 added
Note: See TracTickets for help on using tickets.