Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 06 Jun 2023 13:22:41 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 271868] www/node*: fails to build with OpenSSL 3 in base
Message-ID:  <bug-271868-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D271868

            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 =3D DeleteFnPtr<RSA, RSA_free>;
                                    ^
/usr/include/openssl/rsa.h:293:1: note: 'RSA_free' has been explicitly mark=
ed
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/li=
bnode.a
c++: error: linker command failed with exit code 1 (use -v to see invocatio=
n)
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=3D271656
[Bug 271656] [exp-run] with OpenSSL 3.0 in the base system
--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-271868-7788>