NetBSD Problem Report #53497

From bjjl@web.mx.plus  Sat Aug  4 13:58:00 2018
Return-Path: <bjjl@web.mx.plus>
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 7FBFA7A157
	for <gnats-bugs@gnats.NetBSD.org>; Sat,  4 Aug 2018 13:58:00 +0000 (UTC)
Message-Id: <20180804135755.7377E107082@web.mx.plus>
Date: Sat,  4 Aug 2018 15:57:55 +0200 (CEST)
From: ben@pocket.services
Reply-To:
To: gnats-bugs@NetBSD.org
Subject: pkgsrc/nodejs build error
X-Send-Pr-Version: 3.95

>Number:         53497
>Category:       pkg
>Synopsis:       pkgsrc/nodejs build error
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Aug 04 14:00:00 +0000 2018
>Originator:     ben@pocket.services
>Release:        NetBSD 8.0
>Organization:

>Environment:


System: NetBSD web.mx.plus 8.0 NetBSD 8.0 (GENERIC) #0: Tue Jul 17 14:59:51 UTC 2018 mkrepro@mkrepro.NetBSD.org:/usr/src/sys/arch/i386/compile/GENERIC i386
Architecture: i386
Machine: i386
>Description:
  c++ '-DV8_GYP_BUILD' '-DV8_TYPED_ARRAY_MAX_SIZE_IN_HEAP=0' '-DV8_TARGET_ARCH_IA32' '-DV8_EMBEDDER_STRING="-node.8"' '-DENABLE_DISASSEMBLER' '-DV8_PROMISE_INTERNAL_FIELD_COUNT' '-Dv8_promise_internal_field_count' '-DV8_INTL_SUPPORT' '-DV8_CONCURRENT_MARKING' '-DDISABLE_UNTRUSTED_CODE_MITIGATIONS' -I../deps/v8 -I../. -I/usr/pkg/include -I../deps/v8/include  -pthread -Wall -Wextra -Wno-unused-parameter -m32 -msse2 -mfpmath=sse -mmmx -fno-strict-aliasing -I/usr/pkg/include -m32 -fdata-sections -ffunction-sections -O3 -O3 -fno-omit-frame-pointer -fno-rtti -fno-exceptions -std=gnu++1y -MMD -MF /home/bjjl/stable/pkgsrc/lang/nodejs/work/node-v10.5.0/out/Release/.deps//home/bjjl/stable/pkgsrc/lang/nodejs/work/node-v10.5.0/out/Release/obj.target/mksnapshot/deps/v8/src/snapshot/mksnapshot.o.d.raw -I/usr/include -I/usr/pkg/include -O2 -D_FORTIFY_SOURCE=2 -pthread -I/usr/include -I/usr/pkg/include -c -o /home/bjjl/stable/pkgsrc/lang/nodejs/work/node-v10.5.0/out/Release/obj.target/mksnapshot/dep
 s/v8/src/snapshot/mksnapshot.o ../deps/v8/src/snapshot/mksnapshot.cc
  c++ -pthread -rdynamic -m32 -m32 -lexecinfo -L/usr/lib -Wl,-R/usr/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -pthread -o /home/bjjl/stable/pkgsrc/lang/nodejs/work/node-v10.5.0/out/Release/mksnapshot -Wl,--start-group /home/bjjl/stable/pkgsrc/lang/nodejs/work/node-v10.5.0/out/Release/obj.target/mksnapshot/deps/v8/src/snapshot/mksnapshot.o /home/bjjl/stable/pkgsrc/lang/nodejs/work/node-v10.5.0/out/Release/obj.target/deps/v8/gypfiles/libv8_base.a /home/bjjl/stable/pkgsrc/lang/nodejs/work/node-v10.5.0/out/Release/obj.target/deps/v8/gypfiles/libv8_init.a /home/bjjl/stable/pkgsrc/lang/nodejs/work/node-v10.5.0/out/Release/obj.target/deps/v8/gypfiles/libv8_libbase.a /home/bjjl/stable/pkgsrc/lang/nodejs/work/node-v10.5.0/out/Release/obj.target/deps/v8/gypfiles/libv8_libplatform.a /home/bjjl/stable/pkgsrc/lang/nodejs/work/node-v10.5.0/out/Release/obj.target/deps/v8/gypfiles/libv8_nosnapshot.a /home/bjjl/stable/pkgsrc/lang/nodejs/work/node-v10.5.0/out/Release/obj.target/deps/v8/gypfiles/libv8_libs
 ampler.a /home/bjjl/stable/pkgsrc/lang/nodejs/work/node-v10.5.0/out/Release/obj.target/deps/v8/gypfiles/libv8_initializers.a -lz -lhttp_parser -L/usr/pkg/lib -luv -lcares -licui18n -licuuc -licudata -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -lexecinfo -Wl,--end-group
  LD_LIBRARY_PATH=/home/bjjl/stable/pkgsrc/lang/nodejs/work/node-v10.5.0/out/Release/lib.host:/home/bjjl/stable/pkgsrc/lang/nodejs/work/node-v10.5.0/out/Release/lib.target:$LD_LIBRARY_PATH; export LD_LIBRARY_PATH; cd ../deps/v8/gypfiles; mkdir -p /home/bjjl/stable/pkgsrc/lang/nodejs/work/node-v10.5.0/out/Release/obj.target/v8_snapshot/geni; "/home/bjjl/stable/pkgsrc/lang/nodejs/work/node-v10.5.0/out/Release/mksnapshot" --startup_src "/home/bjjl/stable/pkgsrc/lang/nodejs/work/node-v10.5.0/out/Release/obj.target/v8_snapshot/geni/snapshot.cc" ""


#
# Fatal error in , line 0
# Check failed: SetPermissions(buffer, allocated, PageAllocator::kReadExecute).
#
#
#
#FailureMessage Object: 0xbfb8d6f8
==== C stack trace ===============================

    0x8b1cc96 <v8::base::debug::StackTrace::StackTrace()+0x1a> at /home/bjjl/stable/pkgsrc/lang/nodejs/work/node-v10.5.0/out/Release/mksnapshot
    0x8a31d6c <v8::platform::(anonymous namespace)::PrintStackTrace()+0x18> at /home/bjjl/stable/pkgsrc/lang/nodejs/work/node-v10.5.0/out/Release/mksnapshot
    0x8a2c30b <V8_Fatal(char const*, int, char const*, ...)+0xc2> at /home/bjjl/stable/pkgsrc/lang/nodejs/work/node-v10.5.0/out/Release/mksnapshot
    0x86ffcf9 <v8::internal::CreateMemMoveFunction(v8::internal::Isolate*)+0x23c9> at /home/bjjl/stable/pkgsrc/lang/nodejs/work/node-v10.5.0/out/Release/mksnapshot
    0x869942d <v8::internal::init_memcopy_functions(v8::internal::Isolate*)+0x22> at /home/bjjl/stable/pkgsrc/lang/nodejs/work/node-v10.5.0/out/Release/mksnapshot
    0x8543fd9 <v8::internal::Isolate::Isolate(bool)+0x9e9> at /home/bjjl/stable/pkgsrc/lang/nodejs/work/node-v10.5.0/out/Release/mksnapshot
    0x834d19a <v8::SnapshotCreator::SnapshotCreator(int const*, v8::StartupData*)+0x2a> at /home/bjjl/stable/pkgsrc/lang/nodejs/work/node-v10.5.0/out/Release/mksnapshot
    0x83490fb <main+0x11d> at /home/bjjl/stable/pkgsrc/lang/nodejs/work/node-v10.5.0/out/Release/mksnapshot
[1]   Illegal instruction (core dumped) "/home/bjjl/stab...
deps/v8/gypfiles/v8_snapshot.target.mk:13: recipe for target '/home/bjjl/stable/pkgsrc/lang/nodejs/work/node-v10.5.0/out/Release/obj.target/v8_snapshot/geni/snapshot.cc' failed
gmake[1]: *** [/home/bjjl/stable/pkgsrc/lang/nodejs/work/node-v10.5.0/out/Release/obj.target/v8_snapshot/geni/snapshot.cc] Error 132
rm cb2442a6cb43a09017c96f8d3d5d05278f07c421.intermediate 2e7d847cd7358d462ca527cbbc745073a4609621.intermediate
Makefile:87: recipe for target 'node' failed
gmake: *** [node] Error 2
*** Error code 2

Stop.
make[2]: stopped in /home/bjjl/stable/pkgsrc/lang/nodejs
*** Error code 1

Stop.
make[1]: stopped in /home/bjjl/stable/pkgsrc/lang/nodejs
*** Error code 1

Stop.
make: stopped in /home/bjjl/stable/pkgsrc/lang/nodejs
web# 

>How-To-Repeat:

>Fix:


>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.