Skip to content

Build failure: nodejs-slim_26.x86_64-linux #564449

Closed
nodejs/node
#66104

Description

@anispwyn

Nixpkgs version

  • Unstable (26.11)

Steps to reproduce

  • use nixos-unstable-small
  • build either latest or v26
  • build succeed but test fails

Can Hydra reproduce this build failure?

Yes, Hydra can reproduce this build failure.

Link to Hydra build job

https://hydra.nixos.org/build/345890932

Relevant log output

ok 5769 wpt/test-webstorage
  ---
  duration_ms: 2008.84500
  ...
ok 5770 wpt/test-workers
  ---
  duration_ms: 707.24800
  ...

Failed tests:
out/Release/node /build/node-v26.9.0/test/parallel/test-fs-cp-async-file-modes.mjs
make: *** [Makefile:631: test-ci-js] Error 1

Additional context

No response

System metadata

  • system: "x86_64-linux"
  • host os: Linux 7.2.4, NixOS, 26.11 (Zokor), 26.11.20260908.d6524aa
  • multi-user?: yes
  • sandbox: yes
  • version: nix-env (Lix, like Nix) 2.95.2 System type: x86_64-linux Additional system types: i686-linux, x86_64-v1-linux, x86_64-v2-linux, x86_64-v3-linux Features: gc, signed-caches System configuration file: /etc/nix/nix.conf User configuration files: /home/anisp/.config/nix/nix.conf:/nix/store/44wk614nwm58bak0f6gf80xq0xxdfk4z-stylix-kde-config/nix/nix.conf:/etc/xdg/nix/nix.conf:/home/anisp/.local/share/flatpak/exports/etc/xdg/nix/nix.conf:/var/lib/flatpak/exports/etc/xdg/nix/nix.conf:/home/anisp/.nix-profile/etc/xdg/nix/nix.conf:/nix/profile/etc/xdg/nix/nix.conf:/home/anisp/.local/state/nix/profile/etc/xdg/nix/nix.conf:/etc/profiles/per-user/anisp/etc/xdg/nix/nix.conf:/nix/var/nix/profiles/default/etc/xdg/nix/nix.conf:/run/current-system/sw/etc/xdg/nix/nix.conf Store directory: /nix/store State directory: /nix/var/nix Data directory: /nix/store/i3x3d9ym1ja94vpjn14in2snyg2rpnnn-lix-2.95.2/share
  • nixpkgs: /nix/store/j0xsrr9a6dx6b4rf3lnzmak43ff82cs6-source

Notify maintainers

@aduh95 take your time!

I assert that this issue is relevant for Nixpkgs

Is this issue important to you?

Add a 👍 reaction to issues you find important.

Activity

  1. aduh95 commented on Sep 18, 2026

    @aduh95
    Contributor

    Relevant log is from https://hydra.nixos.org/log/njhj371sv6q9b1h2lwxj49gf8yckyb6f-nodejs-slim-26.9.0.drv

    not ok 1180 parallel/test-fs-cp-async-file-modes
      ---
      duration_ms: 156.24200
      severity: fail
      exitcode: 1
      stack: |-
        node:fs:2537
          binding.chmod(path, mode);
                  ^
        
        Error: EPERM: operation not permitted, chmod '/build/node-v26.9.0/test/.tmp.1214/copy_%1/suid'
            at chmodSync (node:fs:2537:11)
            at file:///build/node-v26.9.0/test/parallel/test-fs-cp-async-file-modes.mjs:19:3
            at ModuleJob.run (node:internal/modules/esm/module_job:569:25)
            at async node:internal/modules/esm/loader:650:26
            at async asyncRunEntryPointWithESMLoader (node:internal/modules/run_main:101:5) {
          errno: -1,
          code: 'EPERM',
          syscall: 'chmod',
          path: '/build/node-v26.9.0/test/.tmp.1214/copy_%1/suid'
        }
        
        Node.js v26.9.0
    
  2. aduh95 commented on Sep 18, 2026

    @aduh95
    Contributor

    I'm able to reproduce on aarch64-linux as well, and nodejs/node#66104 seems to fix the issue for me.

  3. anispwyn commented on Sep 18, 2026

    @anispwyn
    Author

    Will try building that on my laptop after I got back home

  4. anispwyn commented on Sep 18, 2026

    @anispwyn
    Author

    builds fine on my side

    anisp@cutie ~/nixos> ./result/bin/node --version
    v27.0.0-pre
    anisp@cutie ~/nixos> nix build --impure --expr '
                           let
                             pkgs = (builtins.getFlake (toString ./.)).inputs.nixpkgs.legacyPackages.${builtins.currentSystem};
                           in pkgs.nodejs-slim_latest.overrideAttrs {
                             src = pkgs.fetchFromGitHub {
                               owner = "aduh95";
                               repo = "node";
                               rev = "0fa81a4588834c4563997b0d0e9f29e878f67dd0";
                               hash = "sha256-L1GJWGz1PyBYU01Di0/5Qy5rw/8a2sCvVZ56zynzXh8=";
                             };
                           }
                         '
    
  5. BlastboomStrice commented on Sep 18, 2026

    @BlastboomStrice
  6. aduh95 commented on Sep 22, 2026

    @aduh95
    Contributor

    Fixed by #565790

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions