NetBSD Problem Report #55953

From  Sat Jan 23 23:35:57 2021
Return-Path: <>
Received: from ( [])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))
	(Client CN "", Issuer " CA" (not verified))
	by (Postfix) with ESMTPS id B83C61A923B
	for <>; Sat, 23 Jan 2021 23:35:57 +0000 (UTC)
Message-Id: <>
Date: Sat, 23 Jan 2021 23:35:54 GMT
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


System: NetBSD 9.0_STABLE NetBSD 9.0_STABLE (DAISY) #0: Tue Jul 28 04:48:43 UTC 2020 amd64
Architecture: x86_64
Machine: amd64

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]
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, <> is a good way
    to file.  More details: <>

*** Error code 1

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


NetBSD Home
NetBSD PR Database Search

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