-
-
Notifications
You must be signed in to change notification settings - Fork 17.5k
Closed
Labels
0.kind: build failureA package fails to buildA package fails to build
Description
Nixpkgs version
- Unstable (25.05)
Steps to reproduce
$ nix build \
--expr '
let
pkgs = import <nixpkgs> {};
in
pkgs.clean-css-cli
' \
--impure \
-I nixpkgs=https://github.com/NixOS/nixpkgs/archive/a3a07ac733f5aa4a1b1800d4a4042b65c6a9865f.tar.gz \
--verboseCan Hydra reproduce this build failure?
Yes, Hydra can reproduce this build failure.
Link to Hydra build job
https://hydra.nixos.org/build/289753923
Relevant log output
Running phase: unpackPhase
unpacking source archive /nix/store/7909d84b3kg9g5812pmpvhwl96rzix2n-source
source root is source
Running phase: patchPhase
Executing npmConfigHook
Configuring npm
Validating consistency between /build/source/package-lock.json and /nix/store/vywzmkq9kkxih3zi73yr3l8hh0hnb7cv-clean-css-cli-5.6.3-npm-deps/package-lock.json
Setting npm_config_cache to /nix/store/vywzmkq9kkxih3zi73yr3l8hh0hnb7cv-clean-css-cli-5.6.3-npm-deps
Installing dependencies
npm warn old lockfile
npm warn old lockfile The package-lock.json file was created with an old version of npm,
npm warn old lockfile so supplemental metadata must be fetched from the registry.
npm warn old lockfile
npm warn old lockfile This is a one-time fix-up, please be patient...
npm warn old lockfile
added 56 packages, and audited 57 packages in 2s
found 0 vulnerabilities
patching script interpreter paths in node_modules
node_modules/cli/examples/cat.js: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/7l1wra7b87yci5dln0hm0k8rwww6f2xj-nodejs-22.14.0/bin/node"
node_modules/cli/examples/command.js: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/7l1wra7b87yci5dln0hm0k8rwww6f2xj-nodejs-22.14.0/bin/node"
node_modules/cli/examples/echo.js: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/7l1wra7b87yci5dln0hm0k8rwww6f2xj-nodejs-22.14.0/bin/node"
node_modules/cli/examples/glob.js: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/7l1wra7b87yci5dln0hm0k8rwww6f2xj-nodejs-22.14.0/bin/node"
node_modules/cli/examples/long_desc.js: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/7l1wra7b87yci5dln0hm0k8rwww6f2xj-nodejs-22.14.0/bin/node"
node_modules/cli/examples/progress.js: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/7l1wra7b87yci5dln0hm0k8rwww6f2xj-nodejs-22.14.0/bin/node"
node_modules/cli/examples/sort.js: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/7l1wra7b87yci5dln0hm0k8rwww6f2xj-nodejs-22.14.0/bin/node"
node_modules/cli/examples/spinner.js: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/7l1wra7b87yci5dln0hm0k8rwww6f2xj-nodejs-22.14.0/bin/node"
node_modules/exit/test/fixtures/create-files.sh: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/11ciq72n4fdv8rw6wgjgasfv4mjs1jrw-bash-5.2p37/bin/bash"
node_modules/jshint/bin/build: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/7l1wra7b87yci5dln0hm0k8rwww6f2xj-nodejs-22.14.0/bin/node"
node_modules/jshint/bin/jshint: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/7l1wra7b87yci5dln0hm0k8rwww6f2xj-nodejs-22.14.0/bin/node"
node_modules/jshint/bin/land: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/7l1wra7b87yci5dln0hm0k8rwww6f2xj-nodejs-22.14.0/bin/node"
node_modules/vows/bin/vows: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/7l1wra7b87yci5dln0hm0k8rwww6f2xj-nodejs-22.14.0/bin/node"
rebuilt dependencies successfully
patching script interpreter paths in node_modules
node_modules/strip-json-comments/cli.js: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/7l1wra7b87yci5dln0hm0k8rwww6f2xj-nodejs-22.14.0/bin/node"
Finished npmConfigHook
Running phase: updateAutotoolsGnuConfigScriptsPhase
Running phase: configurePhase
no configure script, doing nothing
Running phase: buildPhase
no Makefile or custom buildPhase, doing nothing
Running phase: installPhase
Executing npmInstallHook
npm warn old lockfile
npm warn old lockfile The package-lock.json file was created with an old version of npm,
npm warn old lockfile so supplemental metadata must be fetched from the registry.
npm warn old lockfile
npm warn old lockfile This is a one-time fix-up, please be patient...
npm warn old lockfile
up to date, audited 30 packages in 699ms
found 0 vulnerabilities
Finished npmInstallHook
Running phase: fixupPhase
shrinking RPATHs of ELF executables and libraries in /nix/store/zcxhc26vkrd28vl8gcpln4879gapmkps-clean-css-cli-5.6.3
checking for references to /build/ in /nix/store/zcxhc26vkrd28vl8gcpln4879gapmkps-clean-css-cli-5.6.3...
patching script interpreter paths in /nix/store/zcxhc26vkrd28vl8gcpln4879gapmkps-clean-css-cli-5.6.3
/nix/store/zcxhc26vkrd28vl8gcpln4879gapmkps-clean-css-cli-5.6.3/lib/node_modules/clean-css-cli/bin/cleancss: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/7l1wra7b87yci5dln0hm0k8rwww6f2xj-nodejs-22.14.0/bin/node"
ERROR: noBrokenSymlinks: the symlink /nix/store/zcxhc26vkrd28vl8gcpln4879gapmkps-clean-css-cli-5.6.3/lib/node_modules/clean-css-cli/node_modules/.bin/vows points to a missing target: /nix/store/zcxhc26vkrd28vl8gcpln4879gapmkps-clean-css-cli-5.6.3/lib/node_modules/clean-css-cli/node_modules/vows/bin/vows
ERROR: noBrokenSymlinks: the symlink /nix/store/zcxhc26vkrd28vl8gcpln4879gapmkps-clean-css-cli-5.6.3/lib/node_modules/clean-css-cli/node_modules/.bin/jshint points to a missing target: /nix/store/zcxhc26vkrd28vl8gcpln4879gapmkps-clean-css-cli-5.6.3/lib/node_modules/clean-css-cli/node_modules/jshint/bin/jshint
ERROR: noBrokenSymlinks: the symlink /nix/store/zcxhc26vkrd28vl8gcpln4879gapmkps-clean-css-cli-5.6.3/lib/node_modules/clean-css-cli/node_modules/.bin/strip-json-comments points to a missing target: /nix/store/zcxhc26vkrd28vl8gcpln4879gapmkps-clean-css-cli-5.6.3/lib/node_modules/clean-css-cli/node_modules/strip-json-comments/cli.js
ERROR: noBrokenSymlinks: found 3 dangling symlinks and 0 reflexive symlinksAdditional context
No response
System metadata
- system:
"x86_64-linux" - host os:
Linux 6.6.69, NixOS, 25.05 (Warbler), 25.05.20250104.8f3e1f8 - multi-user?:
yes - sandbox:
yes - version:
nix-env (Nix) 2.24.12 - nixpkgs:
/home/<USER>/.nix-defexpr/50-home-manager/nixpkgs
Notify maintainers
Note for maintainers: Please tag this issue in your pull request description. (i.e. Resolves #ISSUE.)
I assert that this issue is relevant for Nixpkgs
- I assert that this is a bug and not a support request.
- I assert that this is not a duplicate of an existing issue.
- I assert that I have read the NixOS Code of Conduct and agree to abide by it.
Is this issue important to you?
Add a 👍 reaction to issues you find important.
trueNAHO, Peter3579 and alastortenebris
Metadata
Metadata
Assignees
Labels
0.kind: build failureA package fails to buildA package fails to build