On Mon, Mar 14, 2022 at 02:25:14AM +0100, Jérémy Lal wrote:
Package: nodejs
Followup-For: Bug #994245
X-Debbugs-Cc: Bo YU <tsu.y...@gmail.com>

Hi,

recently Bo YU has worked on building nodejs 14 for riscv64.

Bo, you can tell us here what you achieved, and what's blocking you right now ?
hi,

I try to build the pkg-js-tools package firstly as you suggested to solve
dependency of nodejs. But I was blocked by fowllow error:

1. DEB_BUILD_PROFILES="nocheck"
2. sudo sbuild --arch=riscv64 -d sid-riscv64-sbuild 
--extra-package=/home/vimer/nodejs_riscv64_debs/
the ` --extra-package`  argument is path the point to  riscv64 nodejs-* deb 
packages last time build. It seem like to start build, but at last get:
···
dh_auto_configure: error: unable to load build system class 'nodejs': Can't locate JSON.pm in @INC (you may need to 
install the JSON module) (@INC contains: /<<PKGBUILDDIR>>/blib/lib 
/<<PKGBUILDDIR>>/blib/arch /etc/perl /usr/local/lib/riscv64-linux-gnu/perl/5.34.0 
/usr/local/share/perl/5.34.0 /usr/lib/riscv64-linux-gnu/perl5/5.34 /usr/share/perl5 
/usr/lib/riscv64-linux-gnu/perl-base /usr/lib/riscv64-linux-gnu/perl/5.34 /usr/share/perl/5.34 
/usr/local/lib/site_perl .) at /<<PKGBUILDDIR>>/blib/lib/Debian/Debhelper/Buildsystem/nodejs.pm line 12.
BEGIN failed--compilation aborted at 
/<<PKGBUILDDIR>>/blib/lib/Debian/Debhelper/Buildsystem/nodejs.pm line 12.
Compilation failed in require at (eval 2) line 1.
BEGIN failed--compilation aborted at (eval 2) line 1.

dh_additional.t: error: dh_auto_configure --buildsystem=nodejs subprocess 
returned exit status 25
# Looks like your test exited with 25 before it could output anything.
t/dh_additional.t ..........
1..19
Dubious, test returned 25 (wstat 6400, 0x1900)
Failed 19/19 subtests
...

I'm wondering if I should try this solution:
https://bugs.debian.org/cgi-bin/bugreport.cgi?att=1;bug=939521;filename=openjdk-11_11.0.5%2B6-1.1.debdiff;msg=5
BTW, I have replyed the another mail thread to send help solve above issue :-)

thanks,

Bo


Thanks,

Jérémy


-- System Information:
Debian Release: bookworm/sid
 APT prefers stable-security
 APT policy: (500, 'stable-security'), (500, 'unstable'), (101, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 5.16.0-3-amd64 (SMP w/4 CPU threads; PREEMPT)
Locale: LANG=fr_FR.utf8, LC_CTYPE=fr_FR.utf8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages nodejs depends on:
ii  libc6      2.33-7
ii  libnode83  14.19.0~dfsg-1

Versions of packages nodejs recommends:
ii  ca-certificates  20211016
ii  nodejs-doc       14.19.0~dfsg-1

Versions of packages nodejs suggests:
ii  npm  8.5.4~ds1-1

-- no debconf information

Reply via email to