[Pkg-javascript-devel] Bug#922075: Bug#922075: npm: segfault during extract on i386

Ondrej Zary ondrej at zary.sk
Tue Sep 21 07:34:03 BST 2021


On Tuesday 21 September 2021, Jérémy Lal wrote:
> Le lun. 20 sept. 2021 à 22:30, Ondrej Zary <ondrej at zary.sk> a écrit :
> 
> > On Monday 20 September 2021 21:32:52 Bastien ROUCARIES wrote:
> > > Could you try first to apply
> > https://github.com/nodejs/node/commit/c60780ff52
> > >
> > > And see if the reject are bad ?
> >
> > Lots of failed hunks, I'll never get this to compile:
> >
> > $ patch -p1 <../node.git/custom-smart-pointers.patch
> > patching file node.gyp
> > Hunk #1 succeeded at 937 with fuzz 1 (offset -163 lines).
> > patching file src/base_object-inl.h
> > Hunk #1 FAILED at 32.
> > Hunk #2 succeeded at 50 (offset 1 line).
> > Hunk #3 FAILED at 58.
> > Hunk #4 succeeded at 78 (offset -2 lines).
> > Hunk #5 succeeded at 91 (offset -2 lines).
> > Hunk #6 succeeded at 138 with fuzz 1 (offset -16 lines).
> > 2 out of 6 hunks FAILED -- saving rejects to file src/base_object-inl.h.rej
> > patching file src/base_object.h
> > Hunk #1 succeeded at 32 (offset 1 line).
> > Hunk #2 FAILED at 64.
> > Hunk #3 FAILED at 88.
> > Hunk #4 FAILED at 105.
> > Hunk #5 succeeded at 110 (offset -16 lines).
> > 3 out of 5 hunks FAILED -- saving rejects to file src/base_object.h.rej
> > patching file src/env-inl.h
> > Hunk #1 FAILED at 1151.
> > 1 out of 1 hunk FAILED -- saving rejects to file src/env-inl.h.rej
> > patching file src/env.cc
> > Hunk #1 succeeded at 412 with fuzz 2 (offset -19 lines).
> > Hunk #2 succeeded at 725 (offset -365 lines).
> > patching file src/env.h
> > Hunk #1 succeeded at 938 with fuzz 2 (offset -278 lines).
> > Hunk #2 FAILED at 1433.
> > 1 out of 2 hunks FAILED -- saving rejects to file src/env.h.rej
> > patching file src/handle_wrap.cc
> > Hunk #1 FAILED at 84.
> > Hunk #2 succeeded at 111 (offset -11 lines).
> > 1 out of 2 hunks FAILED -- saving rejects to file src/handle_wrap.cc.rej
> > patching file src/handle_wrap.h
> > Hunk #1 FAILED at 76.
> > 1 out of 1 hunk FAILED -- saving rejects to file src/handle_wrap.h.rej
> > patching file src/memory_tracker-inl.h
> > Hunk #1 succeeded at 111 (offset -8 lines).
> > patching file src/memory_tracker.h
> > Hunk #1 succeeded at 29 (offset -1 lines).
> > Hunk #2 FAILED at 140.
> > 1 out of 2 hunks FAILED -- saving rejects to file src/memory_tracker.h.rej
> > patching file test/cctest/node_test_fixture.h
> > Hunk #1 FAILED at 105.
> > 1 out of 1 hunk FAILED -- saving rejects to file
> > test/cctest/node_test_fixture.h.rej
> > patching file test/cctest/test_base_object_ptr.cc
> > patching file test/cctest/test_node_postmortem_metadata.cc
> > Hunk #1 succeeded at 91 (offset -2 lines).
> >
> 
> Libuv1 1.34.2 - same version as the one in nodejs/deps/uv/ - is in
> buster-backports.
> It would be nice to try building against that version.
> Some nodejs tests might fail (patched to support old uv).

I've alrady tried installing it (stretch-backports), still segfaulted the same way.
Could rebuilding nodejs change anything?

-- 
Ondrej Zary



More information about the Pkg-javascript-devel mailing list