NetBSD Problem Report #53353

From www@NetBSD.org  Fri Jun  8 06:48:02 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 BB8657A177
	for <gnats-bugs@gnats.NetBSD.org>; Fri,  8 Jun 2018 06:48:01 +0000 (UTC)
Message-Id: <20180608064800.A7ABD7A233@mollari.NetBSD.org>
Date: Fri,  8 Jun 2018 06:48:00 +0000 (UTC)
From: mayuresh@acm.org
Reply-To: mayuresh@acm.org
To: gnats-bugs@NetBSD.org
Subject: devel/nss fails to build on armv7 on rpi2
X-Send-Pr-Version: www-1.0

>Number:         53353
>Category:       pkg
>Synopsis:       devel/nss fails to build on armv7 on rpi2
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Jun 08 06:50:00 +0000 2018
>Originator:     Mayuresh
>Release:        pkgsrc current updated  Fri Jun 8 01:41:15 2018 +0000
>Organization:
>Environment:
NetBSD armv7 8.0_RC1 NetBSD 8.0_RC1 (RPI2.201804240813Z) evbarm

>Description:
Compilation of devel/nss results in this error:

/usbdisk/usr/pkgsrc/devel/nss/work/nss-3.37.1/nss/cmd/shlibsign/NetBSD8.0_RC1_OPT.OBJ/shlibsign
-v -i
/usbdisk/usr/pkgsrc/devel/nss/work/nss-3.37.1/nss/cmd/shlibsign/../../../dist/NetBSD8.0_RC1_OPT.OBJ/lib/libsoftokn3.so
moduleSpec configdir='' certPrefix='' keyPrefix='' secmod=''
flags=noCertDB, noModDB
C_Initialize failed: 0x00000030, CKR_DEVICE_ERROR
NSPR error code: -5977: Failure to load dynamic library
Initiailzing softoken failed: 0x00000030, CKR_DEVICE_ERROR
NSPR error code: -5977: Failure to load dynamic library
Makefile:92: recipe for target
'../../../dist/NetBSD8.0_RC1_OPT.OBJ/lib/libsoftokn3.chk' failed


I am havng 1GB RAM + 4GB swap, so shouldn't be memory issue.
>How-To-Repeat:
Compile devel/nss on armv7, but may be the issue exists on others.
>Fix:
Not known.

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.