[Pkg-javascript-devel] Bug#991638: Bug#991638: nodejs: Please enable build on 32-bit PowerPC (powerpc)

Jérémy Lal kapouer at melix.org
Thu Jul 29 20:22:11 BST 2021


Hi,


Le jeu. 29 juil. 2021 à 14:51, John Paul Adrian Glaubitz <
glaubitz at physik.fu-berlin.de> a écrit :

> Source: nodejs
> Severity: normal
> Tags: patch
> User: debian-powerpc at lists.debian.org
> Usertags: powerpc
> X-Debbugs-Cc: debian-powerpc at lists.debian.org
>
> Hi!
>
> I just noticed today that NodeJS has principal support for 32-bit PowerPC
> which it internally calls it "ppc". While the build does not succeed at
> first attempt (see below), the fact that NodeJS supports 32-bit PowerPC
> in general means that we should be able to get it working.
>
> Since "powerpc" is not a release architecture, it's perfectly fine if the
> package fails to build from source as this will not inhibit the propagation
> of the nodejs package to testing.
>
> Thus, could you please modify debian/control and debian/rules accordingly
> such that nodejs can be built on 32-bit PowerPC (powerpc)? See attached
> patch.
>

Thanks, it's worth a shot.
There is a chance nodejs won't work on all ppc 32bit cpu supported by
debian, though.
Let's see.

Jérémy




> ===========================================================================
>
> Current build failure of NodeJS version 14 on 32-bit PowerPC:
>
> In file included from ../deps/v8/src/objects/visitors.h:9,
>                  from ../deps/v8/src/heap/heap.h:33,
>                  from ../deps/v8/src/heap/factory.h:16,
>                  from ../deps/v8/src/execution/isolate.h:28,
>                  from ../deps/v8/src/api/api.h:10,
>                  from ../deps/v8/src/api/api-arguments.h:8,
>                  from ../deps/v8/src/api/api-arguments.cc:5:
> ../deps/v8/src/objects/code.h:439:2: error: #error Unknown architecture.
>   439 | #error Unknown architecture.
>       |  ^~~~~
> In file included from ../deps/v8/src/execution/isolate.h:18,
>                  from ../deps/v8/src/api/api.h:10,
>                  from ../deps/v8/src/api/api-arguments.h:8,
>                  from ../deps/v8/src/api/api-arguments.cc:5:
> ../deps/v8/src/objects/code.h:441:55: error: 'kHeaderPaddingSize' was not
> declared in this scope
>   441 |   STATIC_ASSERT(FIELD_SIZE(kOptionalPaddingOffset) ==
> kHeaderPaddingSize);
>       |
>  ^~~~~~~~~~~~~~~~~~
> ../deps/v8/src/base/macros.h:200:43: note: in definition of macro
> 'STATIC_ASSERT'
>   200 | #define STATIC_ASSERT(test) static_assert(test, #test)
>       |                                           ^~~~
>
> Thanks,
> Adrian
>
> --
>  .''`.  John Paul Adrian Glaubitz
> : :' :  Debian Developer - glaubitz at debian.org
> `. `'   Freie Universitaet Berlin - glaubitz at physik.fu-berlin.de
>   `-    GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913
> --
> Pkg-javascript-devel mailing list
> Pkg-javascript-devel at alioth-lists.debian.net
>
> https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-javascript-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-javascript-devel/attachments/20210729/bd9fcade/attachment.htm>


More information about the Pkg-javascript-devel mailing list