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/libc.so.12
(gdb) bt
#0  0x00007f7ff1e3f6f0 in strlen () from /usr/lib/libc.so.12
#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:

/usr/pkg/bin/node:
        -lexecinfo.0 => /usr/lib/libexecinfo.so.0
        -lelf.1 => /usr/lib/libelf.so.1
        -lgcc_s.1 => /usr/pkg/gcc49/lib/./libgcc_s.so.1
        -lc.12 => /usr/lib/libc.so.12
        -lz.1 => /usr/lib/libz.so.1
        -lhttp_parser.2 => /usr/pkg/lib/libhttp_parser.so.2
        -luv.1 => /usr/pkg/lib/libuv.so.1
        -lkvm.6 => /usr/lib/libkvm.so.6
        -lrt.1 => /usr/lib/librt.so.1
        -lpthread.1 => /usr/lib/libpthread.so.1
        -lcares.2 => /usr/pkg/lib/libcares.so.2
        -lnghttp2.14 => /usr/pkg/lib/libnghttp2.so.14
        -lcrypto.1.1 => /usr/pkg/lib/libcrypto.so.1.1
        -lssl.1.1 => /usr/pkg/lib/libssl.so.1.1
        -licui18n.64 => /usr/pkg/lib/libicui18n.so.64
        -licuuc.64 => /usr/pkg/lib/libicuuc.so.64
        -licudata.64 => /usr/pkg/lib/libicudata.so.64
        -lstdc++.7 => /usr/pkg/gcc49/lib/./libstdc++.so.7
        -lm.0 => /usr/lib/libm.so.0

--
Stephen


Home | Main Index | Thread Index | Old Index