[Pkg-javascript-devel] help to port nodejs to Debian riscv

Yadd yadd at debian.org
Sat Mar 12 13:41:12 GMT 2022


On 12/03/2022 14:38, Bo YU wrote:
>     Attention: those packages must be rebuilt
>     with DEB_BUILD_PROFILES="nocheck"
>     or else you'll have to face a dependency hell, which i'm not sure
>     you will not fall into anyway :)
> 
> I try to build the pkg-js-tools package firstly(maybe it has the minimum 
> dependency of node, at last, it can build startup).
> 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 
> <http://nodejs.pm> line 12.
> BEGIN failed--compilation aborted at 
> /<<PKGBUILDDIR>>/blib/lib/Debian/Debhelper/Buildsystem/nodejs.pm 
> <http://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
>   ...
> In fact, I have looked into dh_auto_configure usage to see what it is, 
> but have nothing to get. Could you to help find some clues
> to train it? thank again!
> BR,
> Bo

Hi,

pkg-js-tools is a arch=all package and depends on libjson-perl. I don't 
understand why you want to rebuild it



More information about the Pkg-javascript-devel mailing list