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

From: Torsten Zuehlsdorff <freebsd_at_toco-domains.de>
Date: Mon, 15 Nov 2021 14:51:14 UTC

On 15.11.21 15:16, Matthias Fechner 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.

I have the same issue like Dima.

And i build GitLab without ANY configurations (beside setting the 
PostgreSQL default version). So it should be an error visible in default 
package building?

Best,
Torsten