Created attachment 210538 [details]
Build fails due to due to undefined indentifier in file src/node_crypto.cc line 7102.
(In reply to Kipa Tachak from comment #0)
Which system, platform and buildtool?
I build node-13.3.0 on 6.1 with poudriere without problems on 12.0.
@Kipa Thank you for your report. Could you please provide additional information, including:
- Exact FreeBSD version (uname -a)
- Complete failing build log (as an attachment)
- pkg version -v output (as an attachment)
- /etc/make.conf contents (as an attachment)
(In reply to Kubilay Kocak from comment #2)
- Output of uname -a
>> FreeBSD 12.0-RELEASE-p10
- pkg version
The build error came up for node as a dependency for firefox. Unfortunately I didn't save the error log. Also I don't have /etc/make.conf. I have included a patch file in my report earlier. The build succeeded on applying the patch. I think it is not a bug, just a error in variable naming.
(In reply to Walter Schwarzenfeld from comment #1)
I am using portmaster. The build succeeds on applying the patch.
This is a known problem when building Node.js against the OpenSSL version included in 12.0-RELEASE. I highly recommend upgrading to 12.1-RELEASE at least, alternatively you can enable the BUNDLED_SSL option to get it to build.
Comment on attachment 210538 [details]
I am not sure that these two functions are interchangeable. As I commented on the bug, I recommend either upgrading to 12.1-RELEASE or enabling BUNDLED_SSL. Changing to using OpenSSL is also an option, I think.