[Bug 271868] www/node*: fails to build with OpenSSL 3 in base
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 271868] www/node*: fails to build with OpenSSL 3 in base"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 271868] www/node*: fails to build with OpenSSL 3 in base"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 271868] www/node*: fails to build with OpenSSL 3 in base"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 271868] www/node*: fails to build with OpenSSL 3 in base"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 06 Jun 2023 13:22:41 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=271868
Bug ID: 271868
Summary: www/node*: fails to build with OpenSSL 3 in base
Product: Ports & Packages
Version: Latest
Hardware: Any
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: Individual Port(s)
Assignee: ports-bugs@FreeBSD.org
Reporter: emaste@freebsd.org
CC: otis@FreeBSD.org, sunpoet@FreeBSD.org
Blocks: 271656
CC: otis@FreeBSD.org, sunpoet@FreeBSD.org
From exp-run with OpenSSL 3 in the base system (PR271656), www/node16,
www/node18, www/node19 fail
node18 log:
https://pkg-status.freebsd.org/gohan05/data/mainamd64openssl3-default/2023-06-05_08h50m07s/logs/errors/node18-18.16.0.log
Thousands of deprecation warnings like
In file included from ../src/crypto/crypto_keys.h:6:
../src/crypto/crypto_util.h:66:37: warning: 'RSA_free' is deprecated
[-Wdeprecated-declarations]
using RSAPointer = DeleteFnPtr<RSA, RSA_free>;
^
/usr/include/openssl/rsa.h:293:1: note: 'RSA_free' has been explicitly marked
deprecated here
OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r);
^
/usr/include/openssl/macros.h:182:49: note: expanded from macro
'OSSL_DEPRECATEDIN_3_0'
# define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
^
/usr/include/openssl/macros.h:62:52: note: expanded from macro
'OSSL_DEPRECATED'
# define OSSL_DEPRECATED(since) __attribute__((deprecated))
^
And later linking fails with:
ld: error: undefined symbol: ERR_load_ENGINE_strings
>>> referenced by crypto_util.cc
>>> crypto_util.o:(node::crypto::InitCryptoOnce()) in archive /wrkdirs/usr/ports/www/node18/work/node-v18.16.0/out/Release/obj.target/libnode.a
c++: error: linker command failed with exit code 1 (use -v to see invocation)
gmake[2]: *** [cctest.target.mk:222:
/wrkdirs/usr/ports/www/node18/work/node-v18.16.0/out/Release/cctest] Error 1
rm 63902a0a73e4cd25d7b288ca7cc2e339f1989c42.intermediate
ac92fe3c0491fac2032ef0a23325a804b073a653.intermediate
584f7070114ac3f87e6ddd27ba408d8aa8e5883c.intermediate
7b4664fcbb8ea14f25490b16ba2a7472c215e7cb.intermediate
Referenced Bugs:
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=271656
[Bug 271656] [exp-run] with OpenSSL 3.0 in the base system
--
You are receiving this mail because:
You are the assignee for the bug.