Opened 2 years ago

Closed 2 years ago

Last modified 2 years ago

#64446 closed defect (duplicate)

nodejs16@16.13.2 Failed to buiild - command execution failed

Reported by: wcvinyard (Bill) Owned by: ci42
Priority: Normal Milestone:
Component: ports Version: 2.7.1
Keywords: HighSierra Cc: wcvinyard@…, chrstphrchvz (Christopher Chavez)
Port: nodejs16

Description (last modified by jmroot (Joshua Root))

macbook pro late 2011 macOS High Sierra 10.13.6

Attempting to install py39-spyder. nodejs16 is dependency

nodejs16 install failed.

Searched existing tickets for same/similar error

One potential existing/duplicate ticket is:

#64130 -- nodejs16 @16.13.1: build fails on older OSs: error: unknown type name 'CCCryptorStatus' - appears fixed in upstream OpenSSL 1.1.1

I can't tell if my problem is same.

If same then related ports installed on my machine are:

openssl @3_2 (active)

openssl3 @3.0.1_0+legacy (active)

openssl11 @1.1.1l_5 (active)

below is copy/paste of install command, error, and grep'd error lines from main.log of build

sudo port install nodejs16
Computing dependencies for nodejs16
Fetching archive for nodejs16
Attempting to fetch nodejs16-16.13.2_0.darwin_17.x86_64.tbz2 from http://packages.macports.org/nodejs16
Attempting to fetch nodejs16-16.13.2_0.darwin_17.x86_64.tbz2 from http://ywg.ca.packages.macports.org/mirror/macports/packages/nodejs16
Attempting to fetch nodejs16-16.13.2_0.darwin_17.x86_64.tbz2 from http://mse.uk.packages.macports.org/nodejs16
Fetching distfiles for nodejs16
Verifying checksums for nodejs16
Extracting nodejs16
Applying patches to nodejs16
Configuring nodejs16
Building nodejs16                                  
Error: Failed to build nodejs16: command execution failed
Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_nodejs16/nodejs16/main.log for details.
Error: Follow https://guide.macports.org/#project.tickets if you believe there is a bug.
Error: Processing of port nodejs16 failed

main.log | grep 'error' returned:

:debug:archivefetch Fetching archive failed: The requested URL returned error: 404 Not Found
:debug:archivefetch Fetching archive failed: The requested URL returned error: 404 Not Found
:debug:archivefetch Fetching archive failed: The requested URL returned error: 404 Not Found
:debug:patch Executing reinplace: /usr/bin/sed s|'python3'|'/opt/local/bin/python3.9'| </opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_nodejs16/nodejs16/work/node-v16.13.2/test/js-native-api/test_error/binding.gyp >@file11
:debug:patch chowned /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_nodejs16/nodejs16/work/node-v16.13.2/test/js-native-api/test_error/binding.gyp to macports
:debug:patch setting attributes on /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_nodejs16/nodejs16/work/node-v16.13.2/test/js-native-api/test_error/binding.gyp
:debug:patch Executing reinplace: /usr/bin/sed s|'python'|'/opt/local/bin/python3.9'| </opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_nodejs16/nodejs16/work/node-v16.13.2/test/js-native-api/test_error/binding.gyp >@file11
:debug:patch chowned /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_nodejs16/nodejs16/work/node-v16.13.2/test/js-native-api/test_error/binding.gyp to macports
:debug:patch setting attributes on /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_nodejs16/nodejs16/work/node-v16.13.2/test/js-native-api/test_error/binding.gyp
:info:build   /usr/bin/clang -o /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_nodejs16/nodejs16/work/node-v16.13.2/out/Release/obj.target/cares/deps/cares/src/lib/ares_strerror.o ../deps/cares/src/lib/ares_strerror.c '-DV8_DEPRECATION_WARNINGS' '-DV8_IMMINENT_DEPRECATION_WARNINGS' '-D_GLIBCXX_USE_CXX11_ABI=1' '-D_DARWIN_USE_64_BIT_INODE=1' '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' '-D_GNU_SOURCE' '-DCARES_STATICLIB' '-DHAVE_CONFIG_H' -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_nodejs16/nodejs16/work/zlib-inc -I/opt/local/include/openssl -I../deps/cares/include -I../deps/cares/config/darwin  -O3 -gdwarf-2 -arch x86_64 -Wall -Wendif-labels -W -Wno-unused-parameter -fno-strict-aliasing -MMD -MF /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_nodejs16/nodejs16/work/node-v16.13.2/out/Release/.deps//opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_nodejs16/nodejs16/work/node-v16.13.2/out/Release/obj.target/cares/deps/cares/src/lib/ares_strerror.o.d.raw -I/opt/local/include -Os -I/opt/local/include -c
:info:build /usr/include/CommonCrypto/CommonRandom.h:35:9: error: unknown type name 'CCCryptorStatus'
:info:build ../deps/openssl/openssl/crypto/rand/rand_unix.c:385:47: error: use of undeclared identifier 'kCCSuccess'
:info:build 2 errors generated.
:error:build Failed to build nodejs16: command execution failed
:error:build See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_nodejs16/nodejs16/main.log for details.

Change History (5)

comment:1 Changed 2 years ago by jmroot (Joshua Root)

Owner: set to ci42
Port: nodejs16 added; nodejs16@16.13.2 removed
Status: newassigned

comment:2 Changed 2 years ago by jmroot (Joshua Root)

Resolution: duplicate
Status: assignedclosed

Yes, this is the same as #64130.

Last edited 2 years ago by jmroot (Joshua Root) (previous) (diff)

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

Description: modified (diff)

comment:4 Changed 2 years ago by chrstphrchvz (Christopher Chavez)

The nodejs16 dependency is likely for building qt5-qtwebengine, which the build bot currently would not build it due to lacking Xcode 10 or later. qt5-qtwebengine does not specifically require nodejs16 to build; some slightly older versions will also work. Because of unavailability of nodejs16 on macOS 10.13, I have proposed that qt5-qtwebengine instead fall back to using nodejs14 on macOS 10.13: https://github.com/macports/macports-ports/pull/13332. Until that is merged, you should be able to install nodejs14 and have the qt5-qtwebengine build proceed.

comment:5 Changed 2 years ago by chrstphrchvz (Christopher Chavez)

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