Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.bugs.dist > #1080926 > unrolled thread

Bug#999433: nodejs: please enable riscv64

Started byAdam Borowski <kilobyte@angband.pl>
First post2021-11-10 23:30 +0100
Last post2021-11-28 23:50 +0100
Articles 4 — 3 participants

Back to article view | Back to linux.debian.bugs.dist


Contents

  Bug#999433: nodejs: please enable riscv64 Adam Borowski <kilobyte@angband.pl> - 2021-11-10 23:30 +0100
    Bug#999433: nodejs: please enable riscv64 Jérémy Lal <kapouer@melix.org> - 2021-11-24 11:20 +0100
      Bug#999433: [Pkg-javascript-devel] Bug#999433: nodejs: please enable riscv64 Jonas Smedegaard <jonas@jones.dk> - 2021-11-24 11:40 +0100
        Bug#999433: [Pkg-javascript-devel] Bug#999433: nodejs: please enable riscv64 Jérémy Lal <kapouer@melix.org> - 2021-11-28 23:50 +0100

#1080926 — Bug#999433: nodejs: please enable riscv64

FromAdam Borowski <kilobyte@angband.pl>
Date2021-11-10 23:30 +0100
SubjectBug#999433: nodejs: please enable riscv64
Message-ID<Di4gr-DZ-23@gated-at.bofh.it>
Source: nodejs
Version: 16.13.0~dfsg-2
Severity: wishlist
X-Debbugs-Cc: kilobyte@angband.pl

Hi!
I see you're working on packaging nodejs 16.  That major version includes
support for riscv64, and it'd be nice to have it enabled -- nodejs is in
the Build-Depend chain for many packages.

As the package in its present state fails to build anywhere, I haven't tried
it myself -- but, the point of experimental is to test things and see if
they work.


Meow!
-- System Information:
Debian Release: bookworm/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: riscv64

Kernel: Linux 5.15.1-00015-g8df2193a61ae (SMP w/4 CPU threads)
Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)

[toc] | [next] | [standalone]


#1082909

FromJérémy Lal <kapouer@melix.org>
Date2021-11-24 11:20 +0100
Message-ID<DmXxD-7Ub-1@gated-at.bofh.it>
In reply to#1080926
Source: nodejs
Followup-For: Bug #999433

I've just enabled the arch in latest release.
However a binary build still needs to be done,
and it will pose bootstrap issues.

nodejs needs to be built with nodoc profile first,
then rebuilt without.
However nodejs build-depends on some external modules, which
build-depend on nodejs: acorn, acorn-walk (at the moment).

Since nodejs has a --node-builtin-modules-path flag, i'll add
a "nobuiltin" flag to allow building without including acorn,
and install builtin modules and symlink to acorn.

That should allow acorn to be built and stage 2 built to be done.


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.14.0-4-amd64 (SMP w/4 CPU threads)
Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
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

-- no debconf information

[toc] | [prev] | [next] | [standalone]


#1082912 — Bug#999433: [Pkg-javascript-devel] Bug#999433: nodejs: please enable riscv64

FromJonas Smedegaard <jonas@jones.dk>
Date2021-11-24 11:40 +0100
SubjectBug#999433: [Pkg-javascript-devel] Bug#999433: nodejs: please enable riscv64
Message-ID<DmXQZ-80v-1@gated-at.bofh.it>
In reply to#1082909

[Multipart message — attachments visible in raw view] — view raw

Quoting Jérémy Lal (2021-11-24 11:07:55)
> I've just enabled the arch in latest release. However a binary build 
> still needs to be done, and it will pose bootstrap issues.
> 
> nodejs needs to be built with nodoc profile first, then rebuilt 
> without. However nodejs build-depends on some external modules, which 
> build-depend on nodejs: acorn, acorn-walk (at the moment).
> 
> Since nodejs has a --node-builtin-modules-path flag, i'll add a 
> "nobuiltin" flag to allow building without including acorn, and 
> install builtin modules and symlink to acorn.
> 
> That should allow acorn to be built and stage 2 built to be done.

Please document the bootstrapping build stages and flags needed for each 
in debian/README.source


 - Jonas

-- 
 * Jonas Smedegaard - idealist & Internet-arkitekt
 * Tlf.: +45 40843136  Website: http://dr.jones.dk/

 [x] quote me freely  [ ] ask before reusing  [ ] keep private

[toc] | [prev] | [next] | [standalone]


#1083435 — Bug#999433: [Pkg-javascript-devel] Bug#999433: nodejs: please enable riscv64

FromJérémy Lal <kapouer@melix.org>
Date2021-11-28 23:50 +0100
SubjectBug#999433: [Pkg-javascript-devel] Bug#999433: nodejs: please enable riscv64
Message-ID<DoB9D-1gO-5@gated-at.bofh.it>
In reply to#1082912

[Multipart message — attachments visible in raw view] — view raw

Le mer. 24 nov. 2021 à 11:27, Jonas Smedegaard <jonas@jones.dk> a écrit :

> Quoting Jérémy Lal (2021-11-24 11:07:55)
> > I've just enabled the arch in latest release. However a binary build
> > still needs to be done, and it will pose bootstrap issues.
> >
> > nodejs needs to be built with nodoc profile first, then rebuilt
> > without. However nodejs build-depends on some external modules, which
> > build-depend on nodejs: acorn, acorn-walk (at the moment).
> >
> > Since nodejs has a --node-builtin-modules-path flag, i'll add a
> > "nobuiltin" flag to allow building without including acorn, and
> > install builtin modules and symlink to acorn.
> >
> > That should allow acorn to be built and stage 2 built to be done.
>
> Please document the bootstrapping build stages and flags needed for each
> in debian/README.source
>

I've pushed some work on master-16.x branch:
the stage 1 build should produce a debian package without depending on
nodejs,
but it needs further testing.
See comments in debian/README.source.

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.bugs.dist


csiph-web