<div dir="ltr"><div dir="ltr">Hi,<div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Le jeu. 29 juil. 2021 à 14:51, John Paul Adrian Glaubitz <<a href="mailto:glaubitz@physik.fu-berlin.de">glaubitz@physik.fu-berlin.de</a>> a écrit :<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Source: nodejs<br>
Severity: normal<br>
Tags: patch<br>
User: <a href="mailto:debian-powerpc@lists.debian.org" target="_blank">debian-powerpc@lists.debian.org</a><br>
Usertags: powerpc<br>
X-Debbugs-Cc: <a href="mailto:debian-powerpc@lists.debian.org" target="_blank">debian-powerpc@lists.debian.org</a><br>
<br>
Hi!<br>
<br>
I just noticed today that NodeJS has principal support for 32-bit PowerPC<br>
which it internally calls it "ppc". While the build does not succeed at<br>
first attempt (see below), the fact that NodeJS supports 32-bit PowerPC<br>
in general means that we should be able to get it working.<br>
<br>
Since "powerpc" is not a release architecture, it's perfectly fine if the<br>
package fails to build from source as this will not inhibit the propagation<br>
of the nodejs package to testing.<br>
<br>
Thus, could you please modify debian/control and debian/rules accordingly<br>
such that nodejs can be built on 32-bit PowerPC (powerpc)? See attached<br>
patch.<br></blockquote><div><br></div><div>Thanks, it's worth a shot.</div><div>There is a chance nodejs won't work on all ppc 32bit cpu supported by debian, though.</div><div>Let's see.</div><div><br></div><div>Jérémy</div><div><br></div><div><br></div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
===========================================================================<br>
<br>
Current build failure of NodeJS version 14 on 32-bit PowerPC:<br>
<br>
In file included from ../deps/v8/src/objects/visitors.h:9,<br>
                 from ../deps/v8/src/heap/heap.h:33,<br>
                 from ../deps/v8/src/heap/factory.h:16,<br>
                 from ../deps/v8/src/execution/isolate.h:28,<br>
                 from ../deps/v8/src/api/api.h:10,<br>
                 from ../deps/v8/src/api/api-arguments.h:8,<br>
                 from ../deps/v8/src/api/api-arguments.cc:5:<br>
../deps/v8/src/objects/code.h:439:2: error: #error Unknown architecture.<br>
  439 | #error Unknown architecture.<br>
      |  ^~~~~<br>
In file included from ../deps/v8/src/execution/isolate.h:18,<br>
                 from ../deps/v8/src/api/api.h:10,<br>
                 from ../deps/v8/src/api/api-arguments.h:8,<br>
                 from ../deps/v8/src/api/api-arguments.cc:5:<br>
../deps/v8/src/objects/code.h:441:55: error: 'kHeaderPaddingSize' was not declared in this scope<br>
  441 |   STATIC_ASSERT(FIELD_SIZE(kOptionalPaddingOffset) == kHeaderPaddingSize);<br>
      |                                                       ^~~~~~~~~~~~~~~~~~<br>
../deps/v8/src/base/macros.h:200:43: note: in definition of macro 'STATIC_ASSERT'<br>
  200 | #define STATIC_ASSERT(test) static_assert(test, #test)<br>
      |                                           ^~~~<br>
<br>
Thanks,<br>
Adrian<br>
<br>
--<br>
 .''`.  John Paul Adrian Glaubitz<br>
: :' :  Debian Developer - <a href="mailto:glaubitz@debian.org" target="_blank">glaubitz@debian.org</a><br>
`. `'   Freie Universitaet Berlin - <a href="mailto:glaubitz@physik.fu-berlin.de" target="_blank">glaubitz@physik.fu-berlin.de</a><br>
  `-    GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913<br>
-- <br>
Pkg-javascript-devel mailing list<br>
<a href="mailto:Pkg-javascript-devel@alioth-lists.debian.net" target="_blank">Pkg-javascript-devel@alioth-lists.debian.net</a><br>
<a href="https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-javascript-devel" rel="noreferrer" target="_blank">https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-javascript-devel</a><br>
</blockquote></div></div>