Your message dated Wed, 11 Jan 2023 17:12:43 +0000
with message-id <[email protected]>
and subject line Bug#1028404: fixed in nodejs 18.13.0+dfsg1-1
has caused the Debian Bug report #1028404,
regarding nodejs: ftbfs on riscv64
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
1028404: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1028404
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: nodejs
Version: 18.13.0+dfsg-1
Severity: important
Tags: ftbfs, patch
User: [email protected]
Usertags: riscv64
X-Debbugs-Cc: [email protected]
Dear Maintainer,
Although #1026065 was closed, but unfortunately the build still fails on
riscv64 on
new release:
```
...
ar crsT
/<<PKGBUILDDIR>>/out/Release/obj.target/tools/v8_gypfiles/libv8_compiler.a
@/<<PKGBUILDDIR>>/out/Release/obj.target/tools/v8_gypfiles/libv8_compiler.a.ar-file-list
g++-11 -o
/<<PKGBUILDDIR>>/out/Release/obj.target/v8_base_without_compiler/deps/v8/src/api/api-arguments.o
../deps/v8/src/api/api-arguments.cc '-D_GLIBCXX_USE_CXX11_ABI=1'
'-DNODE_OPENSSL_CONF_NAME=nodejs_conf' '-DNODE_OPENSSL_CERT_STORE'
'-DNODE_SHARED_BUILTIN_CJS_MODULE_LEXER_LEXER_PATH=/usr/share/nodejs/cjs-module-lexer/lexer.js'
'-DNODE_SHARED_BUILTIN_CJS_MODULE_LEXER_DIST_LEXER_PATH=/usr/share/nodejs/cjs-module-lexer/dist/lexer.js'
'-DNODE_SHARED_BUILTIN_UNDICI_UNDICI_PATH=/usr/share/nodejs/undici/undici-fetch.js'
'-DNODE_SHARED_BUILTIN_ACORN_PATH=/usr/share/nodejs/acorn/dist/acorn.js'
'-DNODE_SHARED_BUILTIN_ACORN_WALK_PATH=/usr/share/nodejs/acorn-walk/dist/walk.js'
'-DV8_GYP_BUILD' '-DV8_TYPED_ARRAY_MAX_SIZE_IN_HEAP=64'
'-D__STDC_FORMAT_MACROS' '-DV8_TARGET_ARCH_RISCV64' '-D__riscv_xlen=64'
'-DCAN_USE_FPU_INSTRUCTIONS' '-DV8_HAVE_TARGET_OS' '-DV8_TARGET_OS_LINUX'
'-DV8_EMBEDDER_STRING="-node.21"' '-DENABLE_DISASSEMBLER'
'-DV8_PROMISE_INTERNAL_FIELD_COUNT=1' '-DOBJECT_PRINT' '-DV8_INTL_SUPPORT'
'-DV8_ATOMIC_OBJECT_FIELD_WRITES' '-DV8_ENABLE_LAZY_SOURCE_POSITIONS'
'-DV8_USE_SIPHASH' '-DV8_SHARED_RO_HEAP' '-DV8_WIN64_UNWINDING_INFO'
'-DV8_ENABLE_REGEXP_INTERPRETER_THREADED_DISPATCH' '-DV8_ENABLE_WEBASSEMBLY'
'-DV8_ENABLE_JAVASCRIPT_PROMISE_HOOKS' '-DV8_ALLOCATION_FOLDING'
'-DV8_ALLOCATION_SITE_TRACKING' '-DV8_SCRIPTORMODULE_LEGACY_LIFETIME'
'-DV8_ADVANCED_BIGINT_ALGORITHMS' '-DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_STATIC'
-I../deps/v8 -I../deps/v8/include
-I/<<PKGBUILDDIR>>/out/Release/obj/gen/inspector-generated-output-root
-I../deps/v8/third_party/inspector_protocol
-I/<<PKGBUILDDIR>>/out/Release/obj/gen
-I/<<PKGBUILDDIR>>/out/Release/obj/gen/generate-bytecode-output-root
-I../deps/v8/third_party/zlib -I../deps/v8/third_party/zlib/google -pthread
-Wno-unused-parameter -fPIC -Wno-return-type -fno-strict-aliasing -O3
-fno-omit-frame-pointer -fdata-sections -ffunction-sections -O3 -fno-rtti
-fno-exceptions -std=gnu++17 -MMD -MF
/<<PKGBUILDDIR>>/out/Release/.deps//<<PKGBUILDDIR>>/out/Release/obj.target/v8_base_without_compiler/deps/v8/src/api/api-arguments.o.d.raw
-fPIC -g -fPIC -g -fPIC -g -fPIC -g -fPIC -g -c
touch
/<<PKGBUILDDIR>>/out/Release/obj.target/tools/v8_gypfiles/v8_compiler_for_mksnapshot.stamp
rm -f
/<<PKGBUILDDIR>>/out/Release/obj.target/tools/v8_gypfiles/libv8_base_without_compiler.a
ar-file-list; mkdir -p `dirname
/<<PKGBUILDDIR>>/out/Release/obj.target/tools/v8_gypfiles/libv8_base_without_compiler.a`
ar crsT
/<<PKGBUILDDIR>>/out/Release/obj.target/tools/v8_gypfiles/libv8_base_without_compiler.a
@/<<PKGBUILDDIR>>/out/Release/obj.target/tools/v8_gypfiles/libv8_base_without_compiler.a.ar-file-list
ar:
/<<PKGBUILDDIR>>/out/Release/obj.target/v8_base_without_compiler/deps/v8/src/heap/base/asm/riscv/push_registers_asm.o:
No such file or directory
make[3]: *** [tools/v8_gypfiles/v8_base_without_compiler.target.mk:1057:
/<<PKGBUILDDIR>>/out/Release/obj.target/tools/v8_gypfiles/libv8_base_without_compiler.a]
Error 1
rm eee8578ecd823158ee12ab47c0d976248710b8f6.intermediate
2c15f5d9778bb7d3c456b64354e5e794102f5a4d.intermediate
```
The root cause maybe here:
https://github.com/nodejs/node/pull/45149/files
But 18.13 branch still contains old code path:
https://github.com/nodejs/node/tree/v18.x-staging/deps/v8/src/heap/base/asm/riscv64
The fix is easy and I tested it on my local machine(qemu). Please apply
the patch attached in next upload.
If I understand correctly, the nodejs build failed since 18.10.0 on
riscv64 so no nodejs package(>18.10.0) on unstable. This caused some
dependency issues like node-esrecurse[0] on debci:
[0]: https://ci.debian.net/packages/n/node-esrecurse/unstable/riscv64/
--
Regards,
--
Bo YU
diff -Nru nodejs-18.13.0+dfsg/debian/changelog
nodejs-18.13.0+dfsg/debian/changelog
--- nodejs-18.13.0+dfsg/debian/changelog 2023-01-07 04:15:20.000000000
+0800
+++ nodejs-18.13.0+dfsg/debian/changelog 2023-01-10 18:41:53.000000000
+0800
@@ -1,3 +1,10 @@
+nodejs (18.13.0+dfsg-1.1) UNRELEASED; urgency=medium
+
+ * Non-maintainer upload.
+ * Fix ftbfs on riscv64. (Closes: #-1)
+
+ -- Bo YU <[email protected]> Tue, 10 Jan 2023 18:41:53 +0800
+
nodejs (18.13.0+dfsg-1) unstable; urgency=medium
* New upstream version 18.13.0+dfsg
diff -Nru nodejs-18.13.0+dfsg/debian/patches/fix-ftbfs-riscv64-18-13-0.patch
nodejs-18.13.0+dfsg/debian/patches/fix-ftbfs-riscv64-18-13-0.patch
--- nodejs-18.13.0+dfsg/debian/patches/fix-ftbfs-riscv64-18-13-0.patch
1970-01-01 07:30:00.000000000 +0730
+++ nodejs-18.13.0+dfsg/debian/patches/fix-ftbfs-riscv64-18-13-0.patch
2023-01-10 18:41:11.000000000 +0800
@@ -0,0 +1,11 @@
+--- a/tools/v8_gypfiles/v8.gyp
++++ b/tools/v8_gypfiles/v8.gyp
+@@ -1646,7 +1646,7 @@
+ }],
+ ['_toolset == "host" and host_arch == "riscv64" or _toolset ==
"target" and target_arch=="riscv64"', {
+ 'sources': [
+- '<(V8_ROOT)/src/heap/base/asm/riscv/push_registers_asm.cc',
++
'<(V8_ROOT)/src/heap/base/asm/riscv64/push_registers_asm.cc',
+ ],
+ }],
+ ['_toolset == "host" and host_arch == "loong64" or _toolset ==
"target" and target_arch=="loong64"', {
diff -Nru
nodejs-18.13.0+dfsg/debian/patches/riscv/fix-ftbfs-riscv64-18-13-0.patch
nodejs-18.13.0+dfsg/debian/patches/riscv/fix-ftbfs-riscv64-18-13-0.patch
--- nodejs-18.13.0+dfsg/debian/patches/riscv/fix-ftbfs-riscv64-18-13-0.patch
1970-01-01 07:30:00.000000000 +0730
+++ nodejs-18.13.0+dfsg/debian/patches/riscv/fix-ftbfs-riscv64-18-13-0.patch
2023-01-10 18:41:25.000000000 +0800
@@ -0,0 +1,11 @@
+--- a/tools/v8_gypfiles/v8.gyp
++++ b/tools/v8_gypfiles/v8.gyp
+@@ -1646,7 +1646,7 @@
+ }],
+ ['_toolset == "host" and host_arch == "riscv64" or _toolset ==
"target" and target_arch=="riscv64"', {
+ 'sources': [
+- '<(V8_ROOT)/src/heap/base/asm/riscv/push_registers_asm.cc',
++
'<(V8_ROOT)/src/heap/base/asm/riscv64/push_registers_asm.cc',
+ ],
+ }],
+ ['_toolset == "host" and host_arch == "loong64" or _toolset ==
"target" and target_arch=="loong64"', {
diff -Nru nodejs-18.13.0+dfsg/debian/patches/series
nodejs-18.13.0+dfsg/debian/patches/series
--- nodejs-18.13.0+dfsg/debian/patches/series 2023-01-06 21:44:33.000000000
+0800
+++ nodejs-18.13.0+dfsg/debian/patches/series 2023-01-10 18:41:43.000000000
+0800
@@ -17,6 +17,7 @@
mips/mipsel_even_register_fix.patch
build/skip-buffer-nan-internal-check.patch
riscv/flaky_tests.patch
+riscv/fix-ftbfs-riscv64-18-13-0.patch
armel/configure.patch
build/openssl_related_test_issues.patch
build/doc_template_home.html
signature.asc
Description: PGP signature
--- End Message ---
--- Begin Message ---
Source: nodejs
Source-Version: 18.13.0+dfsg1-1
Done: Jérémy Lal <[email protected]>
We believe that the bug you reported is fixed in the latest version of
nodejs, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Jérémy Lal <[email protected]> (supplier of updated nodejs package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Format: 1.8
Date: Wed, 11 Jan 2023 17:42:19 +0100
Source: nodejs
Architecture: source
Version: 18.13.0+dfsg1-1
Distribution: unstable
Urgency: medium
Maintainer: Debian Javascript Maintainers
<[email protected]>
Changed-By: Jérémy Lal <[email protected]>
Closes: 1028404
Changes:
nodejs (18.13.0+dfsg1-1) unstable; urgency=medium
.
[ Bo YU ]
* Fix FTBFS on riscv64. Closes: 1028404
.
[ Jérémy Lal ]
* doc-generator: update types
* copyright: deps/v8/third_party/ittapi
* copyright: Files-Excluded snapshot.blob, new orig tarball
Checksums-Sha1:
2917b8c7ad6e0c942f82a1aeb4684bd786fceec1 4084 nodejs_18.13.0+dfsg1-1.dsc
91c16ce5d68b80e6b3fe45f4bcb5b5b72d189d3c 253492
nodejs_18.13.0+dfsg1.orig-types-node.tar.xz
bbfd87dc6d99777d4149f4b8ce6018b60d928f16 25666728
nodejs_18.13.0+dfsg1.orig.tar.xz
a209fbdeca8f3138a4482df24d6a1d6a3d642b6d 163556
nodejs_18.13.0+dfsg1-1.debian.tar.xz
a3820ef5783406f9cc44e47db622d9359a878a7a 10672
nodejs_18.13.0+dfsg1-1_source.buildinfo
Checksums-Sha256:
2cc8f345048fa99ea93f14561367ec0e7a45fc066a2bd3e9b0eca58017b7096f 4084
nodejs_18.13.0+dfsg1-1.dsc
3b6dcdfc5167c6d78c10844fa3f30e6eb6b58b64b674e2795533b2d2bcd366a4 253492
nodejs_18.13.0+dfsg1.orig-types-node.tar.xz
570ad29f0f06ba743a9609d767b61a45293a233497f7417265cce4b49247a4d2 25666728
nodejs_18.13.0+dfsg1.orig.tar.xz
22385f99299eeb843c1d2e04b23f512d5343e681f470d7b80e0eb6b174f9efbf 163556
nodejs_18.13.0+dfsg1-1.debian.tar.xz
7b82bb1a2ee3d3a6af17155d552870dad79a8b35761ed1aa4cecff10cf8ed8a8 10672
nodejs_18.13.0+dfsg1-1_source.buildinfo
Files:
9c06947dcd2b82477ad08fcb45b17cd4 4084 javascript optional
nodejs_18.13.0+dfsg1-1.dsc
8d9494ff1eaa893c1b144f5aa4e2e24f 253492 javascript optional
nodejs_18.13.0+dfsg1.orig-types-node.tar.xz
81cf1d894d99293e88a3adbb4385ba33 25666728 javascript optional
nodejs_18.13.0+dfsg1.orig.tar.xz
6390587919b47c716f2c9949922411e9 163556 javascript optional
nodejs_18.13.0+dfsg1-1.debian.tar.xz
bcffa5be26f148970d26e36d20742648 10672 javascript optional
nodejs_18.13.0+dfsg1-1_source.buildinfo
-----BEGIN PGP SIGNATURE-----
iQJGBAEBCAAwFiEEA8Tnq7iA9SQwbkgVZhHAXt0583QFAmO+52ESHGthcG91ZXJA
bWVsaXgub3JnAAoJEGYRwF7dOfN0EBAP+wRJ+JtGyjZ4PsLWucLoqOGebLFw8J65
RH72/ywfdeB3kJmB6ZpoElfet+HTBrf82kpfyW669fFYDIRwChEfN3m5YqVdSrut
mtlCdoqONtCeNoSMyprU3DR12ETjFacYI2I0NDTdgsdfedC/hAb++lzDlvpBDTVG
9jbfpSLSU0zKWshCsGlaNd3Sq48TSVxl+UhodKC6fn9Se3GR+gFCTey/9fnTuL4P
qntjIrW+9Wmp/SUwYi8aaEBo/tKdjw5mNgfDeIkFQ6LXs2wQV7vVsjO6JZIiUZK4
wUc1XJsx6glZYzvM4eOtm0yQ1ySB1MXyttPwYaaxuUvU4TtXVcFsQ11kq+wbdvF5
VABMuDDbWY4MTzQzTbUEqDrvBFLZQaP5b8+HTTuvkAlrhrOlYaIBqGvUuG6f3PE7
bt/aT6inILLoCR9z2lOaRgzzRo/SEcpqDrImIL75M7qtmO5xFCfwctBizIP+BCIC
AV3vRmE4KVPIlcwXmOZ7ikAKnnjcMo8fUkcVSVkcnzcWdonLWgsZrdSFM0YwiBgP
/XjrmD8GzxJ8mEqulZY2N5xD0S4M/Lls4l6S8S/uQ+IAqYVrSBe8eyk43RFmZ2HS
3cweb/f/MX2hUfIhb/4lCtPpMsYtbkZ5ZtsIHB1BilBuzKfa6CNMcAM8fpYlcZSz
MwUYmNPmCBr4
=Ions
-----END PGP SIGNATURE-----
--- End Message ---
--
Pkg-javascript-devel mailing list
[email protected]
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-javascript-devel