NetBSD Problem Report #55953

From john@daisy.zia.io  Sat Jan 23 23:35:57 2021
Return-Path: <john@daisy.zia.io>
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 B83C61A923B
	for <gnats-bugs@gnats.NetBSD.org>; Sat, 23 Jan 2021 23:35:57 +0000 (UTC)
Message-Id: <202101232335.10NNZsFl008062@daisy.zia.io>
Date: Sat, 23 Jan 2021 23:35:54 GMT
From: john@ziaspace.com
Reply-To: john@ziaspace.com
To: gnats-bugs@NetBSD.org
Subject: www/firefox fails to find node.js on first attempt
X-Send-Pr-Version: 3.95

>Number:         55953
>Category:       pkg
>Synopsis:       www/firefox fails to find node.js on first attempt
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Jan 23 23:40:00 +0000 2021
>Originator:     John Klos
>Release:        NetBSD 9.0_STABLE
>Organization:

>Environment:


System: NetBSD daisy.zia.io 9.0_STABLE NetBSD 9.0_STABLE (DAISY) #0: Tue Jul 28 04:48:43 UTC 2020 john@daisy.zia.io:/usr/obj-amd64/sys/arch/amd64/compile/DAISY amd64
Architecture: x86_64
Machine: amd64
>Description:

When attempting to compile firefox when lang/nodejs is already installed, 
firefox fails to find node.js properly. Restarting build of firefox leads 
to it finding node correctly somehow.

checking MOZ_ICU_CFLAGS... -I/usr/local/include
checking MOZ_ICU_LIBS... -L/usr/local/lib -licui18n -Wl,-R/usr/local/lib -licuuc -licudata
checking for nodejs...  1: 0x8fd278 node::Abort() [/usr/local/bin/node]
 2: 0x8d4e90 node::InitializeOncePerProcess(int, char**) [/usr/local/bin/node]
 3: 0x8d4f76 node::Start(int, char**) [/usr/local/bin/node]
no
ERROR: NODEJS must point to node 10.22.1 or newer; found node location: /usr/local/bin/node. 

    Executing `mach bootstrap --no-system-changes` should
    install a compatible version in ~/.mozbuild on most platforms.
    If you believe this is a bug, <https://mzl.la/2vLbXAv> is a good way
    to file.  More details: <https://bit.ly/2BbyD1E>

*** Error code 1
>How-To-Repeat:

Install www/firefox. Clean work directories. Try to use pkg_rolling-replace to update.
>Fix:


>Unformatted:

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.