Hi,
Le jeu. 29 juil. 2021 à 14:51, John Paul Adrian Glaubitz < glaub...@physik.fu-berlin.de> a écrit : > Source: nodejs > Severity: normal > Tags: patch > User: debian-powe...@lists.debian.org > Usertags: powerpc > X-Debbugs-Cc: debian-powe...@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 - glaub...@debian.org > `. `' Freie Universitaet Berlin - glaub...@physik.fu-berlin.de > `- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913 > -- > Pkg-javascript-devel mailing list > pkg-javascript-de...@alioth-lists.debian.net > > https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-javascript-devel >