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 C.S. on 2026-08-02
Install this package:
emerge -a net-libs/nodejs
| Version | EAPI | Keywords | Slot |
|---|---|---|---|
| 26.8.2 | 8 | ~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~x86 ~x64-macos | 0 |
| 24.21.0 | 8 | ~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~x86 ~x64-macos | 0 |
<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>
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.8.2 | 24.21.0 |
|---|---|---|---|
| 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 | Build the Doxygen API documentation for the library. Upstream enables this by default; here it is opt-in so that installing the library does not pull in app-text/doxygen and Graphviz. ⚠️ | ✓ | ✓ |
| 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) ⚠️ | ✓ | ✓ |
| Type | File | Size | Versions |
|---|---|---|---|
| DIST | node-v24.21.0.tar.xz | 57357488 bytes | 24.21.0 |
| DIST | node-v26.8.2.tar.xz | 61307988 bytes | 26.8.2 |
| Type | File | Size |
|---|