NetBSD Problem Report #53792

From www@NetBSD.org  Sun Dec 16 13:55:10 2018
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-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 B5F457A1C5
	for <gnats-bugs@gnats.NetBSD.org>; Sun, 16 Dec 2018 13:55:10 +0000 (UTC)
Message-Id: <20181216135509.B834E7A222@mollari.NetBSD.org>
Date: Sun, 16 Dec 2018 13:55:09 +0000 (UTC)
From: nia@netbsd.org
Reply-To: nia@netbsd.org
To: gnats-bugs@NetBSD.org
Subject: SIGSEGV while building lang/npm with lang/nodejs
X-Send-Pr-Version: www-1.0

>Number:         53792
>Category:       pkg
>Synopsis:       SIGSEGV while building lang/npm with lang/nodejs
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    fhajny
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Dec 16 14:00:00 +0000 2018
>Closed-Date:    Sun May 05 23:17:28 +0000 2019
>Last-Modified:  Sun May 05 23:17:28 +0000 2019
>Originator:     nia
>Release:        NetBSD -current, pkgsrc -current
>Organization:
>Environment:
>Description:
node.core is an empty file. This happens regardless of whether MPROTECT is enabled.

pkgsrc-users thread: https://mail-index.netbsd.org/pkgsrc-users/2018/10/16/msg027550.html

I was pointed to this thread after noticing the problem and posting about it in #pkgsrc, so apparently I'm not the only one. npm package also seems to be missing from bulk builds going as far back as I can find.

yarn also segfaults when it's actually used with node.js 10.
>How-To-Repeat:
Attempt to build lang/npm.
>Fix:
Use lang/nodejs8 instead.

>Release-Note:

>Audit-Trail:

Responsible-Changed-From-To: pkg-manager->fhajny
Responsible-Changed-By: leot@NetBSD.org
Responsible-Changed-When: Sun, 16 Dec 2018 14:09:52 +0000
Responsible-Changed-Why:
Filip, can you please give it a look?
(over to MAINTAINER)


State-Changed-From-To: open->feedback
State-Changed-By: tsutsui@NetBSD.org
State-Changed-When: Sat, 23 Mar 2019 13:01:19 +0000
State-Changed-Why:
Could you try the following fix?
http://mail-index.netbsd.org/pkgsrc-changes/2019/03/23/msg189565.html


State-Changed-From-To: feedback->closed
State-Changed-By: nia@NetBSD.org
State-Changed-When: Sun, 05 May 2019 23:17:28 +0000
State-Changed-Why:
resolved by upstream PR #21848


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.43 2018/01/16 07:36:43 maya Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2017 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.