net-libs/nodejs (bentoo)

Search

Masked: This package is masked.

Reason: This overlay slots net-libs/nodejs by major version, giving each slot its own prefix under /usr/lib*/node-<major>. ::gentoo keeps the package unslotted at SLOT=0, installed into the shared /usr, so the two layouts own the same paths (/usr/bin/node, /usr/include/node) and cannot coexist. The unslotted one is excluded here rather than left to lose on version: the day ::gentoo ships a release newer than this overlay's, an unmasked :0 would be preferred again and the collision would come back. Upstream will not slot it -- bug #580698 is RESOLVED WONTFIX since 2020-11-09, "highly non-trivial to slot NodeJS", and still maintainer-needed -- so expect this mask to be long-lived. The :0 is what retires this entry: it stops matching the moment a repository ships a slotted nodejs, so a future ::gentoo that slots the package is not masked. A bare net-libs/nodejs::gentoo would keep masking even then, forever. Remove this entry when ::gentoo slots the package itself. The ::gentoo is not a second axis, it is what makes the mask reach anything at all. Portage rewrites every repo-level mask atom as "<atom>::bentoo", so an unqualified :0 would mask only this overlay's own ebuilds -- measured: with it, emerge still picked net-libs/nodejs-26.3.0:0/26::gentoo over bentoo's :26. It requires profile-formats = profile-repo-deps in metadata/layout.conf, and profiles/eapi = 5, without which a slot dep here is rejected outright ("Slot deps are not allowed in EAPI 0") and the whole entry is inert. Accepted consequence: while :0 is masked, a major this overlay does not ship has no source here -- notably Node 22, in Maintenance until 2027-04-30. See the nodejs-slotted news item.

Masked by Lucas Couto on 2026-08-02

Install

Install this package:

emerge -a net-libs/nodejs

Package Information

Description:
A JavaScript runtime built on Chrome's V8 JavaScript engine
Homepage:
https://nodejs.org/
License:
Apache-1.1 Apache-2.0 BlueOak-1.0.0 BSD BSD-2 MIT npm? ( Artistic-2 )

Versions

Version EAPI Keywords Slot
26.5.1 8 ~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~x86 ~x64-macos 0
24.18.1 8 ~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~x86 ~x64-macos 0

Metadata

Maintainers

Upstream

Raw Metadata XML
<pkgmetadata>
	<maintainer type="person">
		<email>williamh@gentoo.org</email>
		<name>William Hubbs</name>
	</maintainer>
	<use>
		<flag name="inspector">Enable V8 inspector</flag>
		<flag name="npm">Enable NPM package manager</flag>
		<flag name="pax-kernel">Enable building under a PaX enabled kernel</flag>
		<flag name="pnpm">Install the <pkg>sys-apps/pnpm</pkg> package manager</flag>
		<flag name="snapshot">Enable snapshot creation for faster startup</flag>
		<flag name="system-icu">Use system <pkg>dev-libs/icu</pkg> instead of the bundled version</flag>
		<flag name="system-ssl">Use system OpenSSL instead of the bundled one</flag>
	</use>
	<upstream>
		<remote-id type="github">nodejs/node</remote-id>
		<remote-id type="cpe">cpe:/a:nodejs:nodejs</remote-id>
	</upstream>
</pkgmetadata>

Lint Warnings

USE Flags

Manage flags for this package: euse -i <flag> -p net-libs/nodejs | euse -E <flag> -p net-libs/nodejs | euse -D <flag> -p net-libs/nodejs

Flag Description 26.5.1 24.18.1
cpu_flags_x86_sse2 ⚠️
debug Enable DCHECK feature with severity configurable at runtime. Mostly intended for debugging and development, NOT RECOMMENDED for general use. ⚠️
doc ⚠️
icu ⚠️
inspector Enable V8 inspector
lto ⚠️
npm Enable NPM package manager
pax-kernel Enable building under a PaX enabled kernel
pnpm Install the <pkg>sys-apps/pnpm</pkg> package manager
snapshot Enable snapshot creation for faster startup
ssl ⚠️
system-icu Use system <pkg>dev-libs/icu</pkg> instead of the bundled version
system-ssl Use system OpenSSL instead of the bundled one
test Build and run the upstream test suite (requires dbus-test-runner) ⚠️

Files

Manifest

Type File Size Versions
DIST node-v24.18.1.tar.xz 54650432 bytes 24.18.1
DIST node-v26.5.1.tar.xz 60388776 bytes 26.5.1
Unmatched Entries
Type File Size