[From nobody Wed Oct 28 20:43:09 2026
Received: (at submit) by bugs.debian.org; 23 Oct 2026 19:25:18 +0000
X-Spam-Checker-Version: SpamAssassin 4.0.1-bugs.debian.org_2005_01_02
 (2024-03-25) on buxtehude.debian.org
X-Spam-Level: 
X-Spam-Status: No, score=-109.5 required=4.0 tests=BAYES_00,DKIMWL_WL_HIGH,
 DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FROMDEVELOPER,
 FVGT_m_MULTI_ODD,SPF_HELO_NONE,SPF_PASS,UNPARSEABLE_RELAY,
 USER_IN_DKIM_WELCOMELIST,WEIRD_PORT,XMAILER_REPORTBUG autolearn=ham
 autolearn_force=no version=4.0.1-bugs.debian.org_2005_01_02
X-Spam-Bayes: score:0.0000 Tokens: new, 119; hammy, 150; neutral, 288; spammy,
 0. spammytokens:
 hammytokens:0.000-+--Hx-spam-relays-external:sk:stravin,
 0.000-+--H*RT:sk:stravin, 0.000-+--Hx-spam-relays-external:311,
 0.000-+--H*RT:311, 0.000-+--H*RT:108
Return-path: &lt;aurel32@debian.org&gt;
Received: from stravinsky.debian.org ([2001:41b8:202:deb::311:108]:46470)
 by buxtehude.debian.org with esmtps
 (TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256)
 (Exim 4.96) (envelope-from &lt;aurel32@debian.org&gt;) id 1xKKtC-00FL5b-2N
 for submit@bugs.debian.org; Fri, 23 Oct 2026 19:25:18 +0000
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debian.org; 
 s=smtpauto.stravinsky;
 h=X-Debian-User:Date:Message-ID:Subject:To:From:
 Content-Transfer-Encoding:MIME-Version:Content-Type:Reply-To:Cc:Content-ID:
 Content-Description:In-Reply-To:References;
 bh=7OGdbiZ+Y6zXRHb4qKWeAhIQ9oNvgS8RZlme4wHNu1U=; b=kSubWbyl+WMg8GkxyheQ9F+OqV
 IvPkhtZ5n3PMz4RCG6xK+mchXivE7jPROS0JKbzPkfnKwg09fEMwbdhkRyAgndslkGsDEY/OeuzDk
 2EvlbkIg3Ne9Uw+Xms3JbcqVf57MkzP8iQ7jb6JdgbutPfSYpbabxjzhNLvWFsrKAwFyIbUv6HLbn
 KA06qe9RrhhZesvOczZFTpTVr7yDf1GvPEzTFD9tkB4X+yznRTLFXU0qdzNBoyPK1+BrQ3uvggc+H
 GL5AmOM/RAPyA0muk8yeb2HnolUvj9P6DhBa0gv2x+mO4OibypVRgzYddv9N+2mMH27yDoQAMlM/r
 UzenzU+Q==;
Received: from authenticated-user by stravinsky.debian.org with esmtpsa
 (TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256)
 (Exim 4.96) (envelope-from &lt;aurel32@debian.org&gt;) id 1xKKtA-003QRh-2G
 for submit@bugs.debian.org; Fri, 23 Oct 2026 19:25:16 +0000
Received: from authenticated user by hall.aurel32.net with esmtpsa (TLS1.3) tls
 TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.98.2)
 (envelope-from &lt;aurel32@debian.org&gt;) id 1xKKt4-0000000FlYj-417g;
 Fri, 23 Oct 2026 21:25:11 +0200
Content-Type: text/plain; charset=&quot;us-ascii&quot;
MIME-Version: 1.0
Content-Transfer-Encoding: quoted-printable
From: Aurelien Jarno &lt;aurel32@debian.org&gt;
To: Debian Bug Tracking System &lt;submit@bugs.debian.org&gt;
Subject: FTBFS: on riscv64: Can't determine the arch of: 'out/Release/node'
Message-ID: &lt;179278351052.3412872.13236708768802255410.reportbug@ohm.local&gt;
X-Mailer: reportbug 13.2.0+nmu1
Date: Fri, 23 Oct 2026 21:25:10 +0200
X-Debian-User: aurel32
Delivered-To: submit@bugs.debian.org

Source:=20nodejs
Version:=2024.22.0+dfsg+~cs24.19.2-2
Severity:=20serious
Tags:=20ftbfs=20upstream
Justification:=20fails=20to=20build=20from=20source=20(but=20built=20succes=
sfully=20in=20the=20past)
X-Debbugs-Cc:=20debian-riscv@lists.debian.org
User:=20debian-riscv@lists.debian.org
Usertags:=20riscv64

Dear=20maintainer,

As=20you=20surely=20have=20noticed,=20the=20latest=20version=20of=20nodejs=
=20fails=20to=20build
on=20riscv64.=20It=20fails=20with:

|=20Clean=20up=20any=20leftover=20processes=20but=20don't=20error=20if=20fo=
und.
|=20ps=20awwx=20|=20grep=20Release/node=20|=20grep=20-v=20grep=20|=20cat
|=20Clean=20up=20any=20leftover=20processes,=20error=20if=20found.
|=20python3=20tools/test.py=20=20-p=20tap=20--logfile=20test.tap=20\
|=20=09--mode=3Drelease=20--flaky-tests-mode=3Ddontcare=20\
|=20=09--skip-tests=3Dparallel/test-perf-hooks-sliding-window-histogram,par=
allel/test-process-versions,parallel/test-cli-node-options-docs,parallel/te=
st-config-file,parallel/test-debugger-probe-typescript,parallel/test-util-g=
etcallsites,parallel/test-worker-eval-typescript,parallel/test-node-output-=
eval,parallel/test-worker-cli-options,parallel/test-worker-load-file-with-e=
xtension-other-than-js,parallel/test-node-output-sourcemaps,parallel/test-r=
unner-output,parallel/test-runner-global-setup-teardow,parallel/test-runner=
-run-global-hooks,parallel/test-compile-cache-typescript-commonjs,parallel/=
test-compile-cache-typescript-esm,parallel/test-compile-cache-typescript-st=
rip-miss,parallel/test-compile-cache-typescript-strip-sourcemaps,parallel/t=
est-compile-cache-typescript-transform,parallel/test-npm-install,parallel/t=
est-npm-version,parallel/test-release-npm,parallel/test-dns,parallel/test-n=
et-connect-immediate-finish,parallel/test-net-better-error-messages-port-ho=
stname,parallel/test-https-connect-address-family,parallel/test-tls-connect=
-address-family,parallel/test-dns-cancel-reverse-lookup,parallel/test-dns-r=
esolveany-bad-ancount,parallel/test-child-process-stdio-overlapped,parallel=
/test-crypto-authenticated,parallel/test-corepack-yarn-install,parallel/tes=
t-corepack-version,test/parallel/test-util-styletext,sequential/test-force-=
repl,sequential/test-performance,sequential/test-watch-mode,sequential/test=
-watch-mode-inspect,parallel/test-process-uid-gid,parallel/test-process-ini=
tgroups,parallel/test-process-setgroups,parallel/test-process-euid-egid,par=
allel/test-strace-openat-openssl,parallel/test-fs-error-messages,parallel/t=
est-cluster-bind-privileged-port,parallel/test-cluster-shared-handle-bind-p=
rivileged-port,parallel/test-debugger-preserve-breaks,parallel/test-debugge=
r-heap-profiler,parallel/test-fs-utimes,parallel/test-fs-utimes-y2K38,paral=
lel/test-debug-args,sequential/test-cpu-prof-dir-absolute,sequential/test-c=
pu-prof-exit,parallel/test-inspector-esm,parallel/test-sqlite=20\
|=20=09--arch=3Driscv64=20--timeout=3D600=20--flaky-tests=3Dparallel/test-r=
unner-output,sequential/test-tls-session-timeout,parallel/test-net-listen-a=
fter-destroying-stdin,parallel/test-process-config,parallel/test-regress-GH=
-746,parallel/test-stdout-close-unref,parallel/test-child-process-stdout-fl=
ush-exit,parallel/test-net-connect-options-fd,sequential/test-fs-watch,sequ=
ential/test-http2-session-timeout,sequential/test-debugger-preserve-breaks,=
sequential/test-debugger-exec-scope,sequential/test-worker-heapsnapshot-opt=
ions,parallel/test-cluster-primary-error,parallel/test-cluster-primary-kill=
,sequential/test-http-server-keep-alive-timeout-slow-client-headers,paralle=
l/test-icu-env,parallel/test-tls-ocsp-callback,sequential/test-diagnostic-d=
ir-cpu-prof,sequential/test-cpu-prof-default,sequential/test-cpu-prof-worke=
r-argv,sequential/test-cpu-prof-dir-and-name,sequential/test-cpu-prof-exit,=
sequential/test-cpu-prof-kill,sequential/test-cpu-prof-name,sequential/test=
-diagnostic-dir-cpu-prof,sequential/test-debugger-auto-resume,sequential/te=
st-debugger-preserve-breaks,sequential/test-cpu-prof-dir-relative,sequentia=
l/test-cpu-prof-drained,sequential/test-worker-prof,sequential/test-vm-time=
out-escape-promise-module-2,sequential/test-cpu-prof-dir-absolute,parallel/=
test-fetch,parallel/test-net-socket-connect-without-cb,parallel/test-runner=
-inspect,parallel/test-runner-output,parallel/test-tcp-wrap-listen,parallel=
/test-wasm-web-api,parallel/test-vm-timeout-escape-promise-module,parallel/=
test-crypto-sign-verify,parallel/test-freeze-intrinsics,parallel/test-repl-=
paste-big-data,parallel/test-snapshot-reproducible,parallel/test-tls-root-c=
ertificates,parallel/test-vm-global-non-writable-properties,parallel/test-v=
m-global-setter,parallel/test-vm-module-synthetic,parallel/test-vm-strict-a=
ssign,parallel/test-child-process-spawn-typeerror=20--shell=3Dout/Release/n=
ode=20message=20parallel=20sequential
|=20Can't=20determine=20the=20arch=20of:=20'out/Release/node'
|=20
|=20No=20tests=20to=20run.
|=20make[2]:=20***=20[Makefile:591:=20test-ci-js]=20Error=201
|=20make[2]:=20Leaving=20directory=20'/tmp/tmp.qssLWQ2SLR.nodejs'
|=20make[1]:=20***=20[debian/rules:425:=20override_dh_auto_test-arch]=20Err=
or=201
|=20make[1]:=20Leaving=20directory=20'/build/reproducible-path/nodejs-24.22=
.0+dfsg+~cs24.19.2'
|=20make:=20***=20[debian/rules:348:=20binary-arch]=20Error=202
|=20dpkg-buildpackage:=20error:=20debian/rules=20binary-arch=20subprocess=
=20failed=20with=20exit=20status=202

The=20full=20build=20log=20is=20available=20here:
https://buildd.debian.org/status/fetch.php?pkg=3Dnodejs&amp;arch=3Driscv64&amp;ver=
=3D24.22.0%2Bdfsg%2B%7Ecs24.19.2-2&amp;stamp=3D1792612093&amp;raw=3D0

After=20investigation,=20it=20appears=20that=20version=2024.22.0+dfsg+~cs24=
.19.2-2
just=20segfaults=20on=20start:

|=20$=20gdb=20out/Release/node
|=20GNU=20gdb=20(Debian=2018.1-3)=2018.1
|=20Copyright=20(C)=202026=20Free=20Software=20Foundation,=20Inc.
|=20License=20GPLv3+:=20GNU=20GPL=20version=203=20or=20later=20&lt;http://gnu.=
org/licenses/gpl.html&gt;
|=20This=20is=20free=20software:=20you=20are=20free=20to=20change=20and=20r=
edistribute=20it.
|=20There=20is=20NO=20WARRANTY,=20to=20the=20extent=20permitted=20by=20law.
|=20Type=20&quot;show=20copying&quot;=20and=20&quot;show=20warranty&quot;=20for=20details.
|=20This=20GDB=20was=20configured=20as=20&quot;riscv64-linux-gnu&quot;.
|=20Type=20&quot;show=20configuration&quot;=20for=20configuration=20details.
|=20For=20bug=20reporting=20instructions,=20please=20see:
|=20&lt;https://www.gnu.org/software/gdb/bugs/&gt;.
|=20
|=20+----------------------------------------------------------------------=
--------+
|=20|=20Find=20the=20GDB=20manual=20online=20at:=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20|
|=20|=20http://www.gnu.org/software/gdb/documentation/.=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20|
|=20|=20For=20help,=20type=20&quot;help&quot;.=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20|
|=20|=20Type=20&quot;apropos=20word&quot;=20to=20search=20for=20commands=20related=20=
to=20&quot;word&quot;.=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20|
|=20+----------------------------------------------------------------------=
--------+
|=20
|=20Reading=20symbols=20from=20out/Release/node...
|=20(gdb)=20run
|=20Starting=20program:=20/home/aurel32/nodejs/nodejs-24.22.0+dfsg+~cs24.19=
.2/out/Release/node
|=20[Thread=20debugging=20using=20libthread_db=20enabled]
|=20Using=20host=20libthread_db=20library=20&quot;/usr/lib/riscv64-linux-gnu/lib=
thread_db.so.1&quot;.
|=20bt
|=20[New=20Thread=200x3ff0dcff80=20(LWP=20454149)=20(id=202)]
|=20[New=20Thread=200x3febffef80=20(LWP=20454150)=20(id=203)]
|=20[New=20Thread=200x3feb7fdf80=20(LWP=20454151)=20(id=204)]
|=20[New=20Thread=200x3feaffcf80=20(LWP=20454152)=20(id=205)]
|=20[New=20Thread=200x3fea7fbf80=20(LWP=20454153)=20(id=206)]
|=20[New=20Thread=200x3ff04fef80=20(LWP=20454154)=20(id=207)]
|=20
|=20Thread=201=20&quot;MainThread&quot;=20received=20signal=20SIGSEGV,=20Segmentation=
=20fault.
|=200x0000003ff5467fb6=20in=20std::__atomic_base&lt;long&gt;::load=20(this=3D0x20=
000001f,=20__m=3Dstd::memory_order::relaxed)=20at=20/usr/include/c++/16/bit=
s/atomic_base.h:529
|=20529=20=20=20=20=20=20=20=20=20=20=20=20=20return=20__atomic_load_n(&amp;_M_=
i,=20int(__m));
|=20(gdb)=20bt
|=20#0=20=200x0000003ff5467fb6=20in=20std::__atomic_base&lt;long&gt;::load=20(thi=
s=3D0x20000001f,=20__m=3Dstd::memory_order::relaxed)=20at=20/usr/include/c+=
+/16/bits/atomic_base.h:529
|=20#1=20=20std::atomic_load_explicit&lt;long&gt;=20(__a=3D0x20000001f,=20__m=3Ds=
td::memory_order::relaxed)=20at=20/usr/include/c++/16/atomic:1372
|=20#2=20=20v8::base::Relaxed_Load=20(ptr=3D0x20000001f)=20at=20../deps/v8/=
src/base/atomicops.h:347
|=20#3=20=20v8::base::AsAtomicImpl&lt;long&gt;::Relaxed_Load&lt;unsigned=20long&gt;=20(=
addr=3D0x20000001f)=20at=20../deps/v8/src/base/atomic-utils.h:87
|=20#4=20=20v8::internal::TaggedField&lt;v8::internal::SharedFunctionInfo,=203=
2,=20v8::internal::V8HeapCompressionSchemeImpl&lt;v8::internal::MainCage&gt;=20&gt;:=
:Relaxed_Load=20(cage_base=3D...,=20host=3D...,=20offset=3D0)=20at=20../dep=
s/v8/src/objects/tagged-field-inl.h:272
|=20#5=20=20v8::internal::JSFunction::shared=20(this=3D&lt;optimized=20out&gt;,=
=20cage_base=3D...)=20at=20../deps/v8/src/objects/js-function-inl.h:252
|=20#6=20=20v8::internal::JSFunction::shared=20(this=3D&lt;optimized=20out&gt;,=
=20cage_base=3D...)=20at=20../deps/v8/src/objects/js-function-inl.h:247
|=20#7=20=20v8::internal::JSFunction::shared=20(this=3D&lt;optimized=20out&gt;)=
=20at=20../deps/v8/src/objects/js-function-inl.h:246
|=20#8=20=20v8::internal::__RT_impl_Runtime_InstallBaselineCode=20(args=3D.=
..,=20isolate=3D0x2aaab82000)=20at=20../deps/v8/src/runtime/runtime-compile=
r.cc:91
|=20#9=20=20v8::internal::Runtime_InstallBaselineCode=20(args_length=3D1,=
=20args_object=3D0x3fffffe398,=20isolate=3D0x2aaab82000)=20at=20../deps/v8/=
src/runtime/runtime-compiler.cc:87
|=20#10=200x0000003ff4b12364=20in=20Builtins_CEntry_Return1_ArgvOnStack_NoB=
uiltinExit=20()=20from=20/home/aurel32/nodejs/nodejs-24.22.0+dfsg+~cs24.19.=
2/out/Release/libnode.so.137
|=20Backtrace=20stopped:=20frame=20did=20not=20save=20the=20PC
|=20(gdb)=20

I=20have=20rebuilt=20version=2024.21.0+dfsg+~cs24.13.4-1=20in=20the=20same
environment,=20and=20it=20works=20fine,=20so=20the=20issue=20is=20not=20due=
=20to=20a=20dependency.

I=20have=20also=20been=20able=20to=20reproduce=20the=20issue=20with=20upstr=
eam=20tag=20v24.22.0
as=20well=20as=20v24.22.1.=20On=20the=20other=20hand=20upstream=20tag=20v24=
.21.0=20works=20fine,
so=20the=20issue=20is=20not=20due=20to=20a=20debian=20change.

I=20have=20started=20bisecting,=20but=20it=20will=20take=20some=20time.

Regards
Aurelien
]