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

Bastien ROUCARIES roucaries.bastien at gmail.com
Tue Sep 21 09:41:20 BST 2021


Le mar. 21 sept. 2021 à 07:55, Ondrej Zary <ondrej at zary.sk> a écrit :
>
> On Monday 20 September 2021, Bastien Roucariès wrote:
> > Le lundi 20 septembre 2021, 19:32:52 UTC Bastien ROUCARIES a écrit :
> > Could you try one by one the following untested patch. Please compile and run
> > the testsuite.
>
> The first one fails to compile:
> In file included from ../src/util-inl.h:28,
>                  from ../src/aliased_buffer.h:7,
>                  from ../src/memory_tracker.h:12,
>                  from ../src/memory_tracker-inl.h:6,
>                  from ../src/base_object.h:27,
>                  from ../src/async_wrap.h:27,
>                  from ../src/async_wrap-inl.h:27,
>                  from ../src/async_wrap.cc:22:
> ../src/util.h:210:11: error: ‘Persistent’ does not name a type; did you mean ‘gethostent’?
>      const Persistent<TypeName>& persistent);

Add on the top of the files using v8::Global;
and replace  const Persistent<TypeName>& persistent by const
Global<Function>& persistent

>            ^~~~~~~~~~
>
>
> --
> Ondrej Zary



More information about the Pkg-javascript-devel mailing list