pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

lang/npm on -7

I cannot build lang/npm on netbsd-7 (and judging by the bulk builds, no-one else can either). I suspect this actually means that it is /usr/pkg/bin/node (from lang/nodejs10) that is at fault rather than npm.

(gdb) run bin/npm-cli.js install
Starting program: /usr/pkg/bin/node bin/npm-cli.js install
[New LWP 8]........] | postinstall: sill install executeActions
[       ...........] | postinstall: sill install executeActions
Program received signal SIGSEGV, Segmentation fault.
[Switching to LWP 1]
0x00007f7ff1e3f6f0 in strlen () from /usr/lib/
(gdb) bt
#0  0x00007f7ff1e3f6f0 in strlen () from /usr/lib/
#1  0x00000000009fd3f8 in v8::String::NewFromOneByte(v8::Isolate*, unsigned char const*, v8::NewStringType, int) ()
#2  0x00000000008a4aac in node::(anonymous namespace)::CompressionStream<node::(anonymous namespace)::ZlibContext>::EmitError(node::(anonymous namespace)::CompressionError const&) ()
#3  0x00000000008a52b3 in node::(anonymous namespace)::ZlibStream::Init(v8::FunctionCallbackInfo<v8::Value> const&) ()
#4  0x0000000000effc5d in v8::internal::MaybeHandle<v8::internal::Object> v8::internal::(anonymous namespace)::HandleApiCallHelper<false>(v8::internal::Isolate*, v8::internal::Handle<v8::internal::HeapObject>, v8::internal::Handle<v8::internal::HeapObject>, v8::internal::Handle<v8::internal::FunctionTemplateInfo>, v8::internal::Handle<v8::internal::Object>, v8::internal::BuiltinArguments) ()
#5  0x0000000000f0038f in v8::internal::Builtin_Impl_HandleApiCall(v8::internal::BuiltinArguments, v8::internal::Isolate*) ()
#6  0x0000000000f00636 in v8::internal::Builtin_HandleApiCall(int, v8::internal::Object**, v8::internal::Isolate*) ()

I wonder if this is related to it pulling in gcc 4.9 to build nodejs10:

        -lexecinfo.0 => /usr/lib/
        -lelf.1 => /usr/lib/
        -lgcc_s.1 => /usr/pkg/gcc49/lib/./
        -lc.12 => /usr/lib/
        -lz.1 => /usr/lib/
        -lhttp_parser.2 => /usr/pkg/lib/
        -luv.1 => /usr/pkg/lib/
        -lkvm.6 => /usr/lib/
        -lrt.1 => /usr/lib/
        -lpthread.1 => /usr/lib/
        -lcares.2 => /usr/pkg/lib/
        -lnghttp2.14 => /usr/pkg/lib/
        -lcrypto.1.1 => /usr/pkg/lib/
        -lssl.1.1 => /usr/pkg/lib/
        -licui18n.64 => /usr/pkg/lib/
        -licuuc.64 => /usr/pkg/lib/
        -licudata.64 => /usr/pkg/lib/
        -lstdc++.7 => /usr/pkg/gcc49/lib/./
        -lm.0 => /usr/lib/


Home | Main Index | Thread Index | Old Index