Re: git: 46ce086c7130 - main - Mk/Uses: default version for nodejs

From: Dima Panov <fluffy_at_FreeBSD.org>
Date: Mon, 15 Nov 2021 14:26:19 UTC
I use openssl from base.
Got failures on 13.0/12.2 amd64

With BUNDLED_SSL it cannot be packaged due to plist issues.

--
Dima. (desktop, kde, x11, office, ports-secteam)@FreeBSD team
(fluffy@FreeBSD.org, https://t.me/dima_panov)

> On Monday, Nov 15, 2021 at 5:16 PM, Matthias Fechner <mfechner@FreeBSD.org (mailto:mfechner@FreeBSD.org)> wrote:
> Am 15.11.2021 um 15:02 schrieb Dima Panov:
> >
> > Can confirm it. Fils in poudriere.
> >
> >
> > ld: error: undefined symbol: RSA_get0_pss_params
> > > > > referenced by crypto_rsa.cc
> > > > > crypto_rsa.o:(node::crypto::GetRsaKeyDetail(node::Environment*,
> > std::__1::shared_ptr<node::crypto::KeyObjectData>,
> > v8::Local<v8::Object>)) in archive /wrkdirs/usr/ports/www/node16/wo
> > rk/node-v16.13.0/out/Release/obj.target/libnode.a
> > ld: error: undefined symbol: RSA_get0_pss_params
> > > > > referenced by crypto_rsa.cc
> > > > > crypto_rsa.o:(node::crypto::GetRsaKeyDetail(node::Environment*,
> > std::__1::shared_ptr<node::crypto::KeyObjectData>,
> > v8::Local<v8::Object>)) in archive /wrkdirs/usr/ports/www/node16/wo
> > rk/node-v16.13.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:211:
> > /wrkdirs/usr/ports/www/node16/work/node-v16.13.0/out/Release/cctest]
> > Error 1
> > gmake[2]: *** Waiting for unfinished jobs....
> >
> >
> > ===> The following configuration options are available for node16-16.13.0:
> > BUNDLED_SSL=off: Use node.js's bundled OpenSSL implementation
> > DOCS=on: Build and/or install documentation
> > DTRACE=on: Build with DTrace probes
> > NLS=on: Native Language Support
> > ===> Use 'make config' to modify these settings
>
> ok, this look like a problem with maybe openssl, do you use openssl from
> ports or from base?
> If you use openssl from base, you maybe have to switch BUNDLED_SSL on
> node16 on?
> I use openssl from ports and there it is working fine.
> Let me recompile my packages with OPENSSL from base, but this will take
> some time.
>
> Gruß
> Matthias
>
> --
>
> "Programming today is a race between software engineers striving to
> build bigger and better idiot-proof programs, and the universe trying to
> produce bigger and better idiots. So far, the universe is winning." --
> Rich Cook
>