[Pkg-javascript-devel] Bug#994245: nodejs: improve bootstraping nodejs

Bo YU tsu.yubo at gmail.com
Thu Mar 24 23:17:02 GMT 2022


On Fri, Mar 25, 2022 at 7:11 AM Bo YU <tsu.yubo at gmail.com> wrote:

> On Thu, Mar 24, 2022 at 01:11:40AM +0100, Jérémy Lal wrote:
> >   On Thu, Mar 24, 2022 at 1:05 AM Jérémy Lal <[1]kapouer at melix.org>
> >   wrote:
> >
> >   --build=any
> ...
> >
> >     Hi,
> >     After several times build fails about (on riscv hardware):
> >      collect2: fatal error: ld terminated with signal 9 [Killed]
> >     compilation terminated.
> >
> >   Linking nodejs happens to use a lot of memory: make sure enough swap
> >   space is available.
> >   (I had similar crashes with 12GB of RAM and no swap).
> >   Or the linker is broken on riscv64... let's hope it is not.
> >   If you happen to reach the "building deb" stage, you can disable
> >   -dbgsym package creation,
> >   which is very long, with another build profile: noautodbgsym.
> >   DEB_BUILD_PROFILES="nodoc nocheck noautodbgsym pkg.nodejs.nobuiltin"
> >   Jérémy
> Today I checkout master-16.x, and I got:
>
sorry, add more useful info:
cc -o
/home/vimer/git/nodejs/out/Release/obj.target/llhttp/deps/llhttp/src/api.o
../deps/llhttp/src/api.c '-DV8_DEPRECATION_WARNINGS'
'-DV8_IMMINENT_DEPRECATION_WARNINGS' '-D_GLIBCXX_USE_CXX11_ABI=1'
'-DNODE_OPENSSL_CERT_STORE' '-D__STDC_FORMAT_MACROS' -I../deps/llhttp
-I../deps/llhttp/include  -pthread -Wall -Wextra -Wno-unused-parameter
-fPIC -O3 -fno-omit-frame-pointer  -MMD -MF
/home/vimer/git/nodejs/out/Release/.deps//home/vimer/git/nodejs/out/Release/obj.target/llhttp/deps/llhttp/src/api.o.d.raw
-fPIC -g -fPIC -g -fPIC -g -fPIC -g -c
make[3]: *** No rule to make target '../deps/acorn/acorn/dist/acorn.js',
needed by '/home/vimer/git/nodejs/out/Release/obj/gen/node_javascript.cc'.
Stop.
make[3]: *** Waiting for unfinished jobs....
  cc -o
/home/vimer/git/nodejs/out/Release/obj.target/llhttp/deps/llhttp/src/http.o
../deps/llhttp/src/http.c '-DV8_DEPRECATION_WARNINGS'
'-DV8_IMMINENT_DEPRECATION_WARNINGS' '-D_GLIBCXX_USE_CXX11_ABI=1'
'-DNODE_OPENSSL_CERT_STORE' '-D__STDC_FORMAT_MACROS' -I../deps/llhttp
-I../deps/llhttp/include  -pthread -Wall -Wextra -Wno-unused-parameter
-fPIC -O3 -fno-omit-frame-pointer  -MMD -MF
/home/vimer/git/nodejs/out/Release/.deps//home/vimer/git/nodejs/out/Release/obj.target/llhttp/deps/llhttp/src/http.o.d.raw
-fPIC -g -fPIC -g -fPIC -g -fPIC -g -c


>
>    cc -o
> /home/vimer/git/nodejs/out/Release/obj.target/llhttp/deps/llhttp/src/http.o
> ../deps/llhttp/src/http.c '-DV8_DEPRECATION_WARNINGS'
> '-DV8_IMMINENT_DEPRECATION_WARNINGS' '-D_GLIBCXX_USE_CXX11_ABI=1'
> '-DNODE_OPENSSL_CERT_STORE' '-D__STDC_FORMAT_MACROS' -I../deps/llhttp
> -I../deps/llhttp/include  -pthread -Wall -Wextra -Wno-unused-parameter
> -fPIC -O3 -fno-omit-frame-pointer  -MMD -MF
> /home/vimer/git/nodejs/out/Release/.deps//home/vimer/git/nodejs/out/Release/obj.target/llhttp/deps/llhttp/src/http.o.d.raw
> -fPIC -g -fPIC -g -fPIC -g -fPIC -g -c
>    rm 0adbed5b583340328e51a4f1b8ecdc8673323efe.intermediate
>    make[2]: *** [Makefile:113: node] Error 2
>    make[2]: Leaving directory '/home/vimer/git/nodejs'
>    dh_auto_build: error: make -j16 returned exit code 2
>    make[1]: *** [debian/rules:245: override_dh_auto_build-arch] Error 2
>    make[1]: Leaving directory '/home/vimer/git/nodejs'
>    make: *** [debian/rules:186: binary-arch] Error 2
>    dpkg-buildpackage: error: debian/rules binary-arch subprocess returned
> exit status 2
>
> One day ago we update something?
>
> Bo
>
> >
> >References
> >
> >   1. mailto:kapouer at melix.org
> >   2. mailto:tsu.yubo at gmail.com
> >   3. mailto:tsu.yubo at gmail.com
> >   4. mailto:kapouer at melix.org
> >   5. mailto:tsu.yubo at gmail.com
> >   6. mailto:kapouer at melix.org
> >   7. mailto:tsu.yubo at gmail.com
> >   8. mailto:kapouer at melix.org
> >   9. mailto:tsu.yubo at gmail.com
> >  10. mailto:kapouer at melix.org
> >  11. mailto:tsu.yubo at gmail.com
> >  12. https://packages.debian.org/
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-javascript-devel/attachments/20220325/89d45a4d/attachment.htm>


More information about the Pkg-javascript-devel mailing list