NetBSD Problem Report #56845

From www@netbsd.org  Wed May 18 14:49:33 2022
Return-Path: <www@netbsd.org>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))
	(Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified))
	by mollari.NetBSD.org (Postfix) with ESMTPS id EF51B1A921F
	for <gnats-bugs@gnats.NetBSD.org>; Wed, 18 May 2022 14:49:32 +0000 (UTC)
Message-Id: <20220518144931.A450B1A923A@mollari.NetBSD.org>
Date: Wed, 18 May 2022 14:49:31 +0000 (UTC)
From: nia@pkgsrc.org
Reply-To: nia@pkgsrc.org
To: gnats-bugs@NetBSD.org
Subject: nodejs fails to build on netbsd 9.0 due to use of private openssl symbols
X-Send-Pr-Version: www-1.0

>Number:         56845
>Category:       pkg
>Synopsis:       nodejs fails to build on netbsd 9.0 due to use of private openssl symbols
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed May 18 14:50:00 +0000 2022
>Originator:     nia
>Release:        9.0 / pkgsrc-current
>Organization:
>Environment:
>Description:
Fails with: crypto_rsa.cc:(.text+0x1b99): undefined reference to `RSA_get0_pss_params'

Due to a mistake in OpenSSL, this symbol is not exported with the correct
visibility.  Unfortunately, it's necessary to support this version of
the OpenSSL library with NetBSD since it's the version we build packages
using.

This is a serious regression that needs to be fixed before we branch.
>How-To-Repeat:
Attempt to build lang/nodejs on NetBSD 9.0.
>Fix:
Aside from the obvious fix of downgrading nodejs, it does seem to include
its own internal copy of OpenSSL. However, it's not immediately obvious
to me how we get nodejs to use that...

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.46 2020/01/03 16:35:01 leot Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2020 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.