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.13.1 | 8 | ~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~x86 ~x64-macos | 0 |
| 24.22.3 | 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> <flag name="temporal">Enable the Temporal API for handling dates and times</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.13.1 | 24.22.3 |
|---|---|---|---|
| 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 | Enable legacy charset support using <pkg>dev-libs/icu</pkg> ⚠️ | ⊕ | ⊕ |
| inspector | Enable V8 inspector | ⊕ | ⊕ |
| lto | Build using Link Time Optimizations (LTO). Note that GCC is always built with support for building other programs with LTO. This USE flag is for whether GCC itself is built and optimized with 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 | Enable raop-sink support (needs <pkg>dev-libs/openssl</pkg>) ⚠️ | ⊕ | ⊕ |
| system-icu | Use system <pkg>dev-libs/icu</pkg> instead of the bundled version | ⊕ | ⊕ |
| system-ssl | Use system OpenSSL instead of the bundled one | ⊕ | ⊕ |
| temporal | Enable the Temporal API for handling dates and times | ✓ | ✗ |
| test | Build and run the upstream test suite (requires dbus-test-runner) ⚠️ | ✓ | ✓ |
| Type | File | Size | Versions |
|---|---|---|---|
| DIST | node-v24.22.3.tar.xz | 56764640 bytes | 24.22.3 |
| DIST | node-v26.13.1.tar.xz | 63411840 bytes | 26.13.1 |
| Type | File | Size |
|---|