Opened 3 years ago

Last modified 3 years ago

#64446 closed defect

nodejs16@16.13.2 Failed to buiild - command execution failed — at Initial Version

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

Description

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:

#64139 -- 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 (0)

Note: See TracTickets for help on using tickets.