NixOS / nixpkgs

Nix Packages collection & NixOS
MIT License
17.4k stars 13.62k forks source link

Cross compiling static node on aarch64-multiplatform errors with 'nodejs gyp: --disable-shared not found' #188743

Open ParetoOptimalDev opened 2 years ago

ParetoOptimalDev commented 2 years ago

Steps To Reproduce

Steps to reproduce the behavior:

build pkgs.pkgsCross.aarch64-multiplatform-musl.pkgsStatic.nodejs

Error returned is:

       > Node.js configure: Found Python 3.9.11...
       > WARNING: building --without-snapshot is no longer possible
       > WARNING: warnings were emitted in the configure phase
       > gyp: --disable-shared not found (cwd: /build/node-v16.14.2) while trying to load --disable-shared
       > Error running GYP

See build log for full reproducible example.

Build log

```sh $ nix-build . -A pkgs.pkgsCross.aarch64-multiplatform-musl.pkgsStatic.nodejs this derivation will be built: /nix/store/kv1159x1pnpnrh2wvnriy52dc64xfwcy-nodejs-static-aarch64-unknown-linux-musl-16.14.2.drv building '/nix/store/kv1159x1pnpnrh2wvnriy52dc64xfwcy-nodejs-static-aarch64-unknown-linux-musl-16.14.2.drv'... unpacking sources unpacking source archive /nix/store/2y0xsqvf16awpxrkvbb2scmbz2w7icaq-node-v16.14.2.tar.xz source root is node-v16.14.2 setting SOURCE_DATE_EPOCH to timestamp 1647554369 of file node-v16.14.2/vcbuild.bat patching sources applying patch /nix/store/cqn0y2wklslppakf9zwrwm6c139mh9dj-disable-darwin-v8-system-instrumentation.patch patching file tools/v8_gypfiles/features.gypi applying patch /nix/store/c9g5g8996c2b7lpihfa71z5xy2saz62g-65119a89586b94b0dd46b45f6d315c9d9f4c9261.patch patching file node.gyp Hunk #1 succeeded at 1394 (offset -82 lines). patching script interpreter paths in . ./configure: interpreter directive changed from "#!/bin/sh" to "/nix/store/30j23057fqnnc1p4jqmq73p0gxgn0frq-bash-5.1-p16/bin/sh" ./deps/openssl/openssl/fuzz/helper.py: interpreter directive changed from "#!/usr/bin/python" to "/nix/store/bvzpppawf2naqv3qhxqv66jxaq3iaxyj-python3-3.9.11/bin/python" ./deps/openssl/openssl/config: interpreter directive changed from "#!/bin/sh" to "/nix/store/30j23057fqnnc1p4jqmq73p0gxgn0frq-bash-5.1-p16/bin/sh" ./deps/openssl/openssl/util/fix-includes: interpreter directive changed from "#!/bin/sh" to "/nix/store/30j23057fqnnc1p4jqmq73p0gxgn0frq-bash-5.1-p16/bin/sh" ./deps/openssl/openssl/util/check-malloc-errs: interpreter directive changed from "#! /bin/sh" to "/nix/store/30j23057fqnnc1p4jqmq73p0gxgn0frq-bash-5.1-p16/bin/sh" ./deps/openssl/openssl/util/openssl-format-source: interpreter directive changed from "#!/bin/sh" to "/nix/store/30j23057fqnnc1p4jqmq73p0gxgn0frq-bash-5.1-p16/bin/sh" ./deps/openssl/openssl/util/mktar.sh: interpreter directive changed from "#! /bin/sh" to "/nix/store/30j23057fqnnc1p4jqmq73p0gxgn0frq-bash-5.1-p16/bin/sh" ./deps/openssl/openssl/util/find-unused-errs: interpreter directive changed from "#! /bin/bash" to "/nix/store/30j23057fqnnc1p4jqmq73p0gxgn0frq-bash-5.1-p16/bin/bash" ./deps/openssl/openssl/util/shlib_wrap.sh.in: interpreter directive changed from "#!/bin/sh" to "/nix/store/30j23057fqnnc1p4jqmq73p0gxgn0frq-bash-5.1-p16/bin/sh" ./deps/openssl/openssl/util/opensslwrap.sh: interpreter directive changed from "#!/bin/sh" to "/nix/store/30j23057fqnnc1p4jqmq73p0gxgn0frq-bash-5.1-p16/bin/sh" ./deps/openssl/openssl/util/openssl-update-copyright: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/30j23057fqnnc1p4jqmq73p0gxgn0frq-bash-5.1-p16/bin/bash" ./deps/cares/ltmain.sh: interpreter directive changed from "#! /bin/sh" to "/nix/store/30j23057fqnnc1p4jqmq73p0gxgn0frq-bash-5.1-p16/bin/sh" ./deps/cares/configure: interpreter directive changed from "#! /bin/sh" to "/nix/store/30j23057fqnnc1p4jqmq73p0gxgn0frq-bash-5.1-p16/bin/sh" ./deps/cares/install-sh: interpreter directive changed from "#!/bin/sh" to "/nix/store/30j23057fqnnc1p4jqmq73p0gxgn0frq-bash-5.1-p16/bin/sh" ./deps/cares/compile: interpreter directive changed from "#! /bin/sh" to "/nix/store/30j23057fqnnc1p4jqmq73p0gxgn0frq-bash-5.1-p16/bin/sh" ./deps/cares/missing: interpreter directive changed from "#! /bin/sh" to "/nix/store/30j23057fqnnc1p4jqmq73p0gxgn0frq-bash-5.1-p16/bin/sh" ./deps/cares/config.sub: interpreter directive changed from "#! /bin/sh" to "/nix/store/30j23057fqnnc1p4jqmq73p0gxgn0frq-bash-5.1-p16/bin/sh" ./deps/cares/buildconf: interpreter directive changed from "#!/bin/sh" to "/nix/store/30j23057fqnnc1p4jqmq73p0gxgn0frq-bash-5.1-p16/bin/sh" ./deps/cares/depcomp: interpreter directive changed from "#! /bin/sh" to "/nix/store/30j23057fqnnc1p4jqmq73p0gxgn0frq-bash-5.1-p16/bin/sh" ./deps/cares/config.guess: interpreter directive changed from "#! /bin/sh" to "/nix/store/30j23057fqnnc1p4jqmq73p0gxgn0frq-bash-5.1-p16/bin/sh" ./deps/zlib/google/test/data/create_test_zip.sh: interpreter directive changed from "#!/bin/bash" to "/nix/store/30j23057fqnnc1p4jqmq73p0gxgn0frq-bash-5.1-p16/bin/bash" ./deps/uv/autogen.sh: interpreter directive changed from "#!/bin/sh" to "/nix/store/30j23057fqnnc1p4jqmq73p0gxgn0frq-bash-5.1-p16/bin/sh" ./deps/v8/tools/linux-tick-processor: interpreter directive changed from "#!/bin/sh" to "/nix/store/30j23057fqnnc1p4jqmq73p0gxgn0frq-bash-5.1-p16/bin/sh" ./deps/v8/tools/freebsd-tick-processor: interpreter directive changed from "#!/bin/sh" to "/nix/store/30j23057fqnnc1p4jqmq73p0gxgn0frq-bash-5.1-p16/bin/sh" ./deps/v8/tools/android-ll-prof.sh: interpreter directive changed from "#!/bin/bash" to "/nix/store/30j23057fqnnc1p4jqmq73p0gxgn0frq-bash-5.1-p16/bin/bash" ./deps/v8/tools/stats-viewer.py: interpreter directive changed from "#!/usr/bin/env python" to "/nix/store/bvzpppawf2naqv3qhxqv66jxaq3iaxyj-python3-3.9.11/bin/python" ./deps/v8/tools/torque/format-torque.py: interpreter directive changed from "#!/usr/bin/env python" to "/nix/store/bvzpppawf2naqv3qhxqv66jxaq3iaxyj-python3-3.9.11/bin/python" ./deps/v8/tools/ignition/bytecode_dispatches_report.py: interpreter directive changed from "#! /usr/bin/python" to "/nix/store/bvzpppawf2naqv3qhxqv66jxaq3iaxyj-python3-3.9.11/bin/python" ./deps/v8/tools/ignition/linux_perf_bytecode_annotate.py: interpreter directive changed from "#! /usr/bin/python" to "/nix/store/bvzpppawf2naqv3qhxqv66jxaq3iaxyj-python3-3.9.11/bin/python" ./deps/v8/tools/check-inline-includes.sh: interpreter directive changed from "#!/bin/bash" to "/nix/store/30j23057fqnnc1p4jqmq73p0gxgn0frq-bash-5.1-p16/bin/bash" ./deps/v8/tools/ic-processor: interpreter directive changed from "#!/bin/sh" to "/nix/store/30j23057fqnnc1p4jqmq73p0gxgn0frq-bash-5.1-p16/bin/sh" ./deps/v8/tools/wasm-compilation-hints/inject-compilation-hints.py: interpreter directive changed from "#!/usr/bin/env python" to "/nix/store/bvzpppawf2naqv3qhxqv66jxaq3iaxyj-python3-3.9.11/bin/python" ./deps/v8/tools/wasm-compilation-hints/wasm-objdump-compilation-hints.py: interpreter directive changed from "#!/usr/bin/env python" to "/nix/store/bvzpppawf2naqv3qhxqv66jxaq3iaxyj-python3-3.9.11/bin/python" ./deps/v8/tools/v8_presubmit.py: interpreter directive changed from "#!/usr/bin/env python" to "/nix/store/bvzpppawf2naqv3qhxqv66jxaq3iaxyj-python3-3.9.11/bin/python" ./deps/v8/tools/find-commit-for-patch.py: interpreter directive changed from "#!/usr/bin/env python" to "/nix/store/bvzpppawf2naqv3qhxqv66jxaq3iaxyj-python3-3.9.11/bin/python" ./deps/v8/tools/jsfunfuzz/fuzz-harness.sh: interpreter directive changed from "#!/bin/bash" to "/nix/store/30j23057fqnnc1p4jqmq73p0gxgn0frq-bash-5.1-p16/bin/bash" ./deps/v8/tools/mac-nm: interpreter directive changed from "#!/bin/sh" to "/nix/store/30j23057fqnnc1p4jqmq73p0gxgn0frq-bash-5.1-p16/bin/sh" ./deps/v8/tools/run-num-fuzzer.py: interpreter directive changed from "#!/usr/bin/env python" to "/nix/store/bvzpppawf2naqv3qhxqv66jxaq3iaxyj-python3-3.9.11/bin/python" ./deps/v8/tools/collect_deprecation_stats.sh: interpreter directive changed from "#!/bin/bash" to "/nix/store/30j23057fqnnc1p4jqmq73p0gxgn0frq-bash-5.1-p16/bin/bash" ./deps/v8/tools/update-object-macros-undef.py: interpreter directive changed from "#!/usr/bin/env python3" to "/nix/store/bvzpppawf2naqv3qhxqv66jxaq3iaxyj-python3-3.9.11/bin/python3" ./deps/v8/tools/eval_gc_nvp.py: interpreter directive changed from "#!/usr/bin/env python" to "/nix/store/bvzpppawf2naqv3qhxqv66jxaq3iaxyj-python3-3.9.11/bin/python" ./deps/v8/tools/draw_instruction_graph.sh: interpreter directive changed from "#!/bin/bash" to "/nix/store/30j23057fqnnc1p4jqmq73p0gxgn0frq-bash-5.1-p16/bin/bash" ./deps/v8/tools/try_perf.py: interpreter directive changed from "#!/usr/bin/env python" to "/nix/store/bvzpppawf2naqv3qhxqv66jxaq3iaxyj-python3-3.9.11/bin/python" ./deps/v8/tools/android-sync.sh: interpreter directive changed from "#!/bin/bash" to "/nix/store/30j23057fqnnc1p4jqmq73p0gxgn0frq-bash-5.1-p16/bin/bash" ./deps/v8/tools/sanitizers/sanitize_pcs.py: interpreter directive changed from "#!/usr/bin/env python" to "/nix/store/bvzpppawf2naqv3qhxqv66jxaq3iaxyj-python3-3.9.11/bin/python" ./deps/v8/tools/sanitizers/sancov_formatter.py: interpreter directive changed from "#!/usr/bin/env python" to "/nix/store/bvzpppawf2naqv3qhxqv66jxaq3iaxyj-python3-3.9.11/bin/python" ./deps/v8/tools/sanitizers/sancov_merger.py: interpreter directive changed from "#!/usr/bin/env python" to "/nix/store/bvzpppawf2naqv3qhxqv66jxaq3iaxyj-python3-3.9.11/bin/python" ./deps/v8/tools/android-run.py: interpreter directive changed from "#!/usr/bin/env python" to "/nix/store/bvzpppawf2naqv3qhxqv66jxaq3iaxyj-python3-3.9.11/bin/python" ./deps/v8/tools/run-clang-tidy.py: interpreter directive changed from "#!/usr/bin/env python" to "/nix/store/bvzpppawf2naqv3qhxqv66jxaq3iaxyj-python3-3.9.11/bin/python" ./deps/v8/tools/cpu.sh: interpreter directive changed from "#!/bin/bash" to "/nix/store/30j23057fqnnc1p4jqmq73p0gxgn0frq-bash-5.1-p16/bin/bash" ./deps/v8/tools/ll_prof.py: interpreter directive changed from "#!/usr/bin/env python" to "/nix/store/bvzpppawf2naqv3qhxqv66jxaq3iaxyj-python3-3.9.11/bin/python" ./deps/v8/tools/gc-nvp-to-csv.py: interpreter directive changed from "#!/usr/bin/env python" to "/nix/store/bvzpppawf2naqv3qhxqv66jxaq3iaxyj-python3-3.9.11/bin/python" ./deps/v8/tools/eval_gc_time.sh: interpreter directive changed from "#!/bin/bash" to "/nix/store/30j23057fqnnc1p4jqmq73p0gxgn0frq-bash-5.1-p16/bin/bash" ./deps/v8/tools/get_landmines.py: interpreter directive changed from "#!/usr/bin/env python" to "/nix/store/bvzpppawf2naqv3qhxqv66jxaq3iaxyj-python3-3.9.11/bin/python" ./deps/v8/tools/unittests/v8_presubmit_test.py: interpreter directive changed from "#!/usr/bin/env python" to "/nix/store/bvzpppawf2naqv3qhxqv66jxaq3iaxyj-python3-3.9.11/bin/python" ./deps/v8/tools/unittests/run_perf_test.py: interpreter directive changed from "#!/usr/bin/env python" to "/nix/store/bvzpppawf2naqv3qhxqv66jxaq3iaxyj-python3-3.9.11/bin/python" ./deps/v8/tools/unittests/run_tests_test.py: interpreter directive changed from "#!/usr/bin/env python" to "/nix/store/bvzpppawf2naqv3qhxqv66jxaq3iaxyj-python3-3.9.11/bin/python" ./deps/v8/tools/unittests/predictable_wrapper_test.py: interpreter directive changed from "#!/usr/bin/env python" to "/nix/store/bvzpppawf2naqv3qhxqv66jxaq3iaxyj-python3-3.9.11/bin/python" ./deps/v8/tools/wasm/update-wasm-spec-tests.sh: interpreter directive changed from "#!/bin/bash" to "/nix/store/30j23057fqnnc1p4jqmq73p0gxgn0frq-bash-5.1-p16/bin/bash" ./deps/v8/tools/wasm/update-wasm-fuzzers.sh: interpreter directive changed from "#!/bin/bash" to "/nix/store/30j23057fqnnc1p4jqmq73p0gxgn0frq-bash-5.1-p16/bin/bash" ./deps/v8/tools/check-unused-bailouts.sh: interpreter directive changed from "#!/bin/bash" to "/nix/store/30j23057fqnnc1p4jqmq73p0gxgn0frq-bash-5.1-p16/bin/bash" ./deps/v8/tools/clusterfuzz/v8_foozzie.py: interpreter directive changed from "#!/usr/bin/env python" to "/nix/store/bvzpppawf2naqv3qhxqv66jxaq3iaxyj-python3-3.9.11/bin/python" ./deps/v8/tools/clusterfuzz/v8_foozzie_test.py: interpreter directive changed from "#!/usr/bin/env python" to "/nix/store/bvzpppawf2naqv3qhxqv66jxaq3iaxyj-python3-3.9.11/bin/python" ./deps/v8/tools/clusterfuzz/js_fuzzer/package.sh: interpreter directive changed from "#!/bin/bash" to "/nix/store/30j23057fqnnc1p4jqmq73p0gxgn0frq-bash-5.1-p16/bin/bash" ./deps/v8/tools/objdump-v8: interpreter directive changed from "#!/usr/bin/env python" to "/nix/store/bvzpppawf2naqv3qhxqv66jxaq3iaxyj-python3-3.9.11/bin/python" ./deps/v8/tools/fuzz-harness.sh: interpreter directive changed from "#!/bin/bash" to "/nix/store/30j23057fqnnc1p4jqmq73p0gxgn0frq-bash-5.1-p16/bin/bash" ./deps/v8/tools/bigint-tester.py: interpreter directive changed from "#!/usr/bin/python" to "/nix/store/bvzpppawf2naqv3qhxqv66jxaq3iaxyj-python3-3.9.11/bin/python" ./deps/v8/tools/mac-tick-processor: interpreter directive changed from "#!/bin/sh" to "/nix/store/30j23057fqnnc1p4jqmq73p0gxgn0frq-bash-5.1-p16/bin/sh" ./deps/v8/tools/run-perf.sh: interpreter directive changed from "#! /bin/sh" to "/nix/store/30j23057fqnnc1p4jqmq73p0gxgn0frq-bash-5.1-p16/bin/sh" ./deps/v8/tools/bash-completion.sh: interpreter directive changed from "#!/bin/bash" to "/nix/store/30j23057fqnnc1p4jqmq73p0gxgn0frq-bash-5.1-p16/bin/bash" ./deps/v8/tools/check-static-initializers.sh: interpreter directive changed from "#!/bin/bash" to "/nix/store/30j23057fqnnc1p4jqmq73p0gxgn0frq-bash-5.1-p16/bin/bash" ./deps/v8/tools/generate-runtime-call-stats.py: interpreter directive changed from "#!/usr/bin/python3" to "/nix/store/bvzpppawf2naqv3qhxqv66jxaq3iaxyj-python3-3.9.11/bin/python3" ./deps/v8/tools/gc-nvp-trace-processor.py: interpreter directive changed from "#!/usr/bin/env python" to "/nix/store/bvzpppawf2naqv3qhxqv66jxaq3iaxyj-python3-3.9.11/bin/python" ./deps/v8/tools/run.py: interpreter directive changed from "#!/usr/bin/env python" to "/nix/store/bvzpppawf2naqv3qhxqv66jxaq3iaxyj-python3-3.9.11/bin/python" ./deps/v8/tools/cross_build_gcc.sh: interpreter directive changed from "#!/bin/sh" to "/nix/store/30j23057fqnnc1p4jqmq73p0gxgn0frq-bash-5.1-p16/bin/sh" ./deps/v8/tools/gcmole/run-gcmole.py: interpreter directive changed from "#!/usr/bin/env python" to "/nix/store/bvzpppawf2naqv3qhxqv66jxaq3iaxyj-python3-3.9.11/bin/python" ./deps/v8/tools/gcmole/bootstrap.sh: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/30j23057fqnnc1p4jqmq73p0gxgn0frq-bash-5.1-p16/bin/bash" ./deps/v8/tools/gcmole/package.sh: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/30j23057fqnnc1p4jqmq73p0gxgn0frq-bash-5.1-p16/bin/bash" ./deps/v8/tools/regexp-sequences.py: interpreter directive changed from "#!/usr/bin/env python" to "/nix/store/bvzpppawf2naqv3qhxqv66jxaq3iaxyj-python3-3.9.11/bin/python" ./deps/v8/tools/generate_shim_headers/generate_shim_headers.py: interpreter directive changed from "#!/usr/bin/env python" to "/nix/store/bvzpppawf2naqv3qhxqv66jxaq3iaxyj-python3-3.9.11/bin/python" ./deps/v8/tools/gen-keywords-gen-h.py: interpreter directive changed from "#!/usr/bin/env python" to "/nix/store/bvzpppawf2naqv3qhxqv66jxaq3iaxyj-python3-3.9.11/bin/python" ./deps/v8/tools/mb/mb.py: interpreter directive changed from "#!/usr/bin/env python" to "/nix/store/bvzpppawf2naqv3qhxqv66jxaq3iaxyj-python3-3.9.11/bin/python" ./deps/v8/tools/mb/mb: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/30j23057fqnnc1p4jqmq73p0gxgn0frq-bash-5.1-p16/bin/bash" ./deps/v8/tools/mb/mb_unittest.py: interpreter directive changed from "#!/usr/bin/python" to "/nix/store/bvzpppawf2naqv3qhxqv66jxaq3iaxyj-python3-3.9.11/bin/python" ./deps/v8/tools/run-wasm-api-tests.py: interpreter directive changed from "#!/usr/bin/env python" to "/nix/store/bvzpppawf2naqv3qhxqv66jxaq3iaxyj-python3-3.9.11/bin/python" ./deps/v8/tools/turbolizer/deploy.sh: interpreter directive changed from "#!/bin/bash" to "/nix/store/30j23057fqnnc1p4jqmq73p0gxgn0frq-bash-5.1-p16/bin/bash" ./deps/v8/tools/cppgc/test_cmake.sh: interpreter directive changed from "#!/bin/sh" to "/nix/store/30j23057fqnnc1p4jqmq73p0gxgn0frq-bash-5.1-p16/bin/sh" ./deps/v8/tools/cppgc/gen_cmake.py: interpreter directive changed from "#!/usr/bin/env python3" to "/nix/store/bvzpppawf2naqv3qhxqv66jxaq3iaxyj-python3-3.9.11/bin/python3" ./deps/v8/tools/cppgc/export_to_github.sh: interpreter directive changed from "#!/bin/sh" to "/nix/store/30j23057fqnnc1p4jqmq73p0gxgn0frq-bash-5.1-p16/bin/sh" ./deps/v8/tools/cppgc/gen_cmake_test.py: interpreter directive changed from "#!/usr/bin/env python3" to "/nix/store/bvzpppawf2naqv3qhxqv66jxaq3iaxyj-python3-3.9.11/bin/python3" ./deps/v8/tools/locs.py: interpreter directive changed from "#!/usr/bin/env python" to "/nix/store/bvzpppawf2naqv3qhxqv66jxaq3iaxyj-python3-3.9.11/bin/python" ./deps/v8/tools/dev/v8gen.py: interpreter directive changed from "#!/usr/bin/env python" to "/nix/store/bvzpppawf2naqv3qhxqv66jxaq3iaxyj-python3-3.9.11/bin/python" ./deps/v8/tools/dev/gen-tags.py: interpreter directive changed from "#!/usr/bin/env python" to "/nix/store/bvzpppawf2naqv3qhxqv66jxaq3iaxyj-python3-3.9.11/bin/python" ./deps/v8/tools/dev/update-vscode.sh: interpreter directive changed from "#!/bin/bash" to "/nix/store/30j23057fqnnc1p4jqmq73p0gxgn0frq-bash-5.1-p16/bin/bash" ./deps/v8/tools/dev/update-compile-commands.py: interpreter directive changed from "#!/usr/bin/env python3" to "/nix/store/bvzpppawf2naqv3qhxqv66jxaq3iaxyj-python3-3.9.11/bin/python3" ./deps/v8/tools/testrunner/num_fuzzer.py: interpreter directive changed from "#!/usr/bin/env python" to "/nix/store/bvzpppawf2naqv3qhxqv66jxaq3iaxyj-python3-3.9.11/bin/python" ./deps/v8/tools/testrunner/testproc/variant_unittest.py: interpreter directive changed from "#!/usr/bin/env python" to "/nix/store/bvzpppawf2naqv3qhxqv66jxaq3iaxyj-python3-3.9.11/bin/python" ./deps/v8/tools/testrunner/testproc/shard_unittest.py: interpreter directive changed from "#!/usr/bin/env python" to "/nix/store/bvzpppawf2naqv3qhxqv66jxaq3iaxyj-python3-3.9.11/bin/python" ./deps/v8/tools/testrunner/local/pool_unittest.py: interpreter directive changed from "#!/usr/bin/env python" to "/nix/store/bvzpppawf2naqv3qhxqv66jxaq3iaxyj-python3-3.9.11/bin/python" ./deps/v8/tools/testrunner/local/statusfile_unittest.py: interpreter directive changed from "#!/usr/bin/env python" to "/nix/store/bvzpppawf2naqv3qhxqv66jxaq3iaxyj-python3-3.9.11/bin/python" ./deps/v8/tools/testrunner/local/testsuite_unittest.py: interpreter directive changed from "#!/usr/bin/env python" to "/nix/store/bvzpppawf2naqv3qhxqv66jxaq3iaxyj-python3-3.9.11/bin/python" ./deps/v8/tools/testrunner/standard_runner.py: interpreter directive changed from "#!/usr/bin/env python" to "/nix/store/bvzpppawf2naqv3qhxqv66jxaq3iaxyj-python3-3.9.11/bin/python" ./deps/v8/tools/avg.py: interpreter directive changed from "#!/usr/bin/env python" to "/nix/store/bvzpppawf2naqv3qhxqv66jxaq3iaxyj-python3-3.9.11/bin/python" ./deps/v8/tools/check-unused-symbols.sh: interpreter directive changed from "#!/bin/bash" to "/nix/store/30j23057fqnnc1p4jqmq73p0gxgn0frq-bash-5.1-p16/bin/bash" ./deps/v8/tools/parse-processor: interpreter directive changed from "#!/bin/sh" to "/nix/store/30j23057fqnnc1p4jqmq73p0gxgn0frq-bash-5.1-p16/bin/sh" ./deps/v8/tools/perf-compare.py: interpreter directive changed from "#!/usr/bin/env python" to "/nix/store/bvzpppawf2naqv3qhxqv66jxaq3iaxyj-python3-3.9.11/bin/python" ./deps/v8/tools/run-llprof.sh: interpreter directive changed from "#!/bin/sh" to "/nix/store/30j23057fqnnc1p4jqmq73p0gxgn0frq-bash-5.1-p16/bin/sh" ./deps/v8/tools/grokdump.py: interpreter directive changed from "#!/usr/bin/env python" to "/nix/store/bvzpppawf2naqv3qhxqv66jxaq3iaxyj-python3-3.9.11/bin/python" ./deps/v8/tools/generate-builtins-tests.py: interpreter directive changed from "#!/usr/bin/env python" to "/nix/store/bvzpppawf2naqv3qhxqv66jxaq3iaxyj-python3-3.9.11/bin/python" ./deps/v8/tools/find-builtin: interpreter directive changed from "#!/bin/bash" to "/nix/store/30j23057fqnnc1p4jqmq73p0gxgn0frq-bash-5.1-p16/bin/bash" ./deps/v8/tools/generate-header-include-checks.py: interpreter directive changed from "#!/usr/bin/env python" to "/nix/store/bvzpppawf2naqv3qhxqv66jxaq3iaxyj-python3-3.9.11/bin/python" ./deps/v8/tools/release/roll_merge.py: interpreter directive changed from "#!/usr/bin/env python" to "/nix/store/bvzpppawf2naqv3qhxqv66jxaq3iaxyj-python3-3.9.11/bin/python" ./deps/v8/tools/release/create_release.py: interpreter directive changed from "#!/usr/bin/env python" to "/nix/store/bvzpppawf2naqv3qhxqv66jxaq3iaxyj-python3-3.9.11/bin/python" ./deps/v8/tools/release/test_search_related_commits.py: interpreter directive changed from "#!/usr/bin/env python" to "/nix/store/bvzpppawf2naqv3qhxqv66jxaq3iaxyj-python3-3.9.11/bin/python" ./deps/v8/tools/release/auto_roll.py: interpreter directive changed from "#!/usr/bin/env python" to "/nix/store/bvzpppawf2naqv3qhxqv66jxaq3iaxyj-python3-3.9.11/bin/python" ./deps/v8/tools/release/test_scripts.py: interpreter directive changed from "#!/usr/bin/env python" to "/nix/store/bvzpppawf2naqv3qhxqv66jxaq3iaxyj-python3-3.9.11/bin/python" ./deps/v8/tools/release/auto_tag.py: interpreter directive changed from "#!/usr/bin/env python" to "/nix/store/bvzpppawf2naqv3qhxqv66jxaq3iaxyj-python3-3.9.11/bin/python" ./deps/v8/tools/release/check_clusterfuzz.py: interpreter directive changed from "#!/usr/bin/env python" to "/nix/store/bvzpppawf2naqv3qhxqv66jxaq3iaxyj-python3-3.9.11/bin/python" ./deps/v8/tools/release/filter_build_files.py: interpreter directive changed from "#!/usr/bin/env python" to "/nix/store/bvzpppawf2naqv3qhxqv66jxaq3iaxyj-python3-3.9.11/bin/python" ./deps/v8/tools/release/test_mergeinfo.py: interpreter directive changed from "#!/usr/bin/env python" to "/nix/store/bvzpppawf2naqv3qhxqv66jxaq3iaxyj-python3-3.9.11/bin/python" ./deps/v8/tools/release/auto_push.py: interpreter directive changed from "#!/usr/bin/env python" to "/nix/store/bvzpppawf2naqv3qhxqv66jxaq3iaxyj-python3-3.9.11/bin/python" ./deps/v8/tools/release/list_deprecated.py: interpreter directive changed from "#!/usr/bin/env python3" to "/nix/store/bvzpppawf2naqv3qhxqv66jxaq3iaxyj-python3-3.9.11/bin/python3" ./deps/v8/tools/release/mergeinfo.py: interpreter directive changed from "#!/usr/bin/env python" to "/nix/store/bvzpppawf2naqv3qhxqv66jxaq3iaxyj-python3-3.9.11/bin/python" ./deps/v8/tools/release/merge_to_branch.py: interpreter directive changed from "#!/usr/bin/env python" to "/nix/store/bvzpppawf2naqv3qhxqv66jxaq3iaxyj-python3-3.9.11/bin/python" ./deps/v8/tools/release/script_test.py: interpreter directive changed from "#!/usr/bin/env python" to "/nix/store/bvzpppawf2naqv3qhxqv66jxaq3iaxyj-python3-3.9.11/bin/python" ./deps/v8/tools/release/search_related_commits.py: interpreter directive changed from "#!/usr/bin/env python" to "/nix/store/bvzpppawf2naqv3qhxqv66jxaq3iaxyj-python3-3.9.11/bin/python" ./deps/v8/tools/callstats.py: interpreter directive changed from "#!/usr/bin/env python" to "/nix/store/bvzpppawf2naqv3qhxqv66jxaq3iaxyj-python3-3.9.11/bin/python" ./deps/v8/tools/adb-d8.py: interpreter directive changed from "#!/usr/bin/env python" to "/nix/store/bvzpppawf2naqv3qhxqv66jxaq3iaxyj-python3-3.9.11/bin/python" ./deps/v8/tools/gen-v8-gn.py: interpreter directive changed from "#!/usr/bin/env python" to "/nix/store/bvzpppawf2naqv3qhxqv66jxaq3iaxyj-python3-3.9.11/bin/python" ./deps/v8/gni/protoc.py: interpreter directive changed from "#!/usr/bin/env python" to "/nix/store/bvzpppawf2naqv3qhxqv66jxaq3iaxyj-python3-3.9.11/bin/python" ./deps/v8/third_party/jinja2/get_jinja2.sh: interpreter directive changed from "#!/bin/bash" to "/nix/store/30j23057fqnnc1p4jqmq73p0gxgn0frq-bash-5.1-p16/bin/bash" ./deps/v8/third_party/inspector_protocol/concatenate_protocols.py: interpreter directive changed from "#!/usr/bin/env python" to "/nix/store/bvzpppawf2naqv3qhxqv66jxaq3iaxyj-python3-3.9.11/bin/python" ./deps/v8/third_party/inspector_protocol/roll.py: interpreter directive changed from "#!/usr/bin/env python" to "/nix/store/bvzpppawf2naqv3qhxqv66jxaq3iaxyj-python3-3.9.11/bin/python" ./deps/v8/third_party/inspector_protocol/check_protocol_compatibility.py: interpreter directive changed from "#!/usr/bin/env python" to "/nix/store/bvzpppawf2naqv3qhxqv66jxaq3iaxyj-python3-3.9.11/bin/python" ./deps/v8/third_party/inspector_protocol/convert_protocol_to_json.py: interpreter directive changed from "#!/usr/bin/env python" to "/nix/store/bvzpppawf2naqv3qhxqv66jxaq3iaxyj-python3-3.9.11/bin/python" ./deps/v8/third_party/inspector_protocol/code_generator.py: interpreter directive changed from "#!/usr/bin/env python" to "/nix/store/bvzpppawf2naqv3qhxqv66jxaq3iaxyj-python3-3.9.11/bin/python" ./deps/v8/third_party/markupsafe/get_markupsafe.sh: interpreter directive changed from "#!/bin/bash" to "/nix/store/30j23057fqnnc1p4jqmq73p0gxgn0frq-bash-5.1-p16/bin/bash" ./deps/corepack/shims/pnpm: interpreter directive changed from "#!/bin/sh" to "/nix/store/30j23057fqnnc1p4jqmq73p0gxgn0frq-bash-5.1-p16/bin/sh" ./deps/corepack/shims/pnpx: interpreter directive changed from "#!/bin/sh" to "/nix/store/30j23057fqnnc1p4jqmq73p0gxgn0frq-bash-5.1-p16/bin/sh" ./deps/corepack/shims/npx: interpreter directive changed from "#!/bin/sh" to "/nix/store/30j23057fqnnc1p4jqmq73p0gxgn0frq-bash-5.1-p16/bin/sh" ./deps/corepack/shims/yarnpkg: interpreter directive changed from "#!/bin/sh" to "/nix/store/30j23057fqnnc1p4jqmq73p0gxgn0frq-bash-5.1-p16/bin/sh" ./deps/corepack/shims/corepack: interpreter directive changed from "#!/bin/sh" to "/nix/store/30j23057fqnnc1p4jqmq73p0gxgn0frq-bash-5.1-p16/bin/sh" ./deps/corepack/shims/npm: interpreter directive changed from "#!/bin/sh" to "/nix/store/30j23057fqnnc1p4jqmq73p0gxgn0frq-bash-5.1-p16/bin/sh" ./deps/corepack/shims/yarn: interpreter directive changed from "#!/bin/sh" to "/nix/store/30j23057fqnnc1p4jqmq73p0gxgn0frq-bash-5.1-p16/bin/sh" ./deps/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin/node-gyp: interpreter directive changed from "#!/usr/bin/env sh" to "/nix/store/30j23057fqnnc1p4jqmq73p0gxgn0frq-bash-5.1-p16/bin/sh" ./deps/npm/node_modules/node-gyp/gyp/pylib/gyp/easy_xml_test.py: interpreter directive changed from "#!/usr/bin/env python3" to "/nix/store/bvzpppawf2naqv3qhxqv66jxaq3iaxyj-python3-3.9.11/bin/python3" ./deps/npm/node_modules/node-gyp/gyp/pylib/gyp/input_test.py: interpreter directive changed from "#!/usr/bin/env python3" to "/nix/store/bvzpppawf2naqv3qhxqv66jxaq3iaxyj-python3-3.9.11/bin/python3" ./deps/npm/node_modules/node-gyp/gyp/pylib/gyp/mac_tool.py: interpreter directive changed from "#!/usr/bin/env python3" to "/nix/store/bvzpppawf2naqv3qhxqv66jxaq3iaxyj-python3-3.9.11/bin/python3" ./deps/npm/node_modules/node-gyp/gyp/pylib/gyp/flock_tool.py: interpreter directive changed from "#!/usr/bin/env python3" to "/nix/store/bvzpppawf2naqv3qhxqv66jxaq3iaxyj-python3-3.9.11/bin/python3" ./deps/npm/node_modules/node-gyp/gyp/pylib/gyp/win_tool.py: interpreter directive changed from "#!/usr/bin/env python3" to "/nix/store/bvzpppawf2naqv3qhxqv66jxaq3iaxyj-python3-3.9.11/bin/python3" ./deps/npm/node_modules/node-gyp/gyp/pylib/gyp/MSVSSettings_test.py: interpreter directive changed from "#!/usr/bin/env python3" to "/nix/store/bvzpppawf2naqv3qhxqv66jxaq3iaxyj-python3-3.9.11/bin/python3" ./deps/npm/node_modules/node-gyp/gyp/pylib/gyp/__init__.py: interpreter directive changed from "#!/usr/bin/env python3" to "/nix/store/bvzpppawf2naqv3qhxqv66jxaq3iaxyj-python3-3.9.11/bin/python3" ./deps/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/msvs_test.py: interpreter directive changed from "#!/usr/bin/env python3" to "/nix/store/bvzpppawf2naqv3qhxqv66jxaq3iaxyj-python3-3.9.11/bin/python3" ./deps/npm/node_modules/node-gyp/gyp/pylib/gyp/common_test.py: interpreter directive changed from "#!/usr/bin/env python3" to "/nix/store/bvzpppawf2naqv3qhxqv66jxaq3iaxyj-python3-3.9.11/bin/python3" ./deps/npm/node_modules/node-gyp/gyp/gyp: interpreter directive changed from "#!/bin/sh" to "/nix/store/30j23057fqnnc1p4jqmq73p0gxgn0frq-bash-5.1-p16/bin/sh" ./deps/npm/node_modules/node-gyp/gyp/test_gyp.py: interpreter directive changed from "#!/usr/bin/env python3" to "/nix/store/bvzpppawf2naqv3qhxqv66jxaq3iaxyj-python3-3.9.11/bin/python3" ./deps/npm/node_modules/node-gyp/gyp/tools/pretty_gyp.py: interpreter directive changed from "#!/usr/bin/env python3" to "/nix/store/bvzpppawf2naqv3qhxqv66jxaq3iaxyj-python3-3.9.11/bin/python3" ./deps/npm/node_modules/node-gyp/gyp/tools/emacs/run-unit-tests.sh: interpreter directive changed from "#!/bin/sh" to "/nix/store/30j23057fqnnc1p4jqmq73p0gxgn0frq-bash-5.1-p16/bin/sh" ./deps/npm/node_modules/node-gyp/gyp/tools/pretty_vcproj.py: interpreter directive changed from "#!/usr/bin/env python3" to "/nix/store/bvzpppawf2naqv3qhxqv66jxaq3iaxyj-python3-3.9.11/bin/python3" ./deps/npm/node_modules/node-gyp/gyp/tools/graphviz.py: interpreter directive changed from "#!/usr/bin/env python3" to "/nix/store/bvzpppawf2naqv3qhxqv66jxaq3iaxyj-python3-3.9.11/bin/python3" ./deps/npm/node_modules/node-gyp/gyp/tools/pretty_sln.py: interpreter directive changed from "#!/usr/bin/env python3" to "/nix/store/bvzpppawf2naqv3qhxqv66jxaq3iaxyj-python3-3.9.11/bin/python3" ./deps/npm/node_modules/node-gyp/gyp/gyp_main.py: interpreter directive changed from "#!/usr/bin/env python3" to "/nix/store/bvzpppawf2naqv3qhxqv66jxaq3iaxyj-python3-3.9.11/bin/python3" ./deps/npm/node_modules/node-gyp/update-gyp.py: interpreter directive changed from "#!/usr/bin/env python3" to "/nix/store/bvzpppawf2naqv3qhxqv66jxaq3iaxyj-python3-3.9.11/bin/python3" ./deps/npm/lib/utils/completion.sh: interpreter directive changed from "#!/bin/bash" to "/nix/store/30j23057fqnnc1p4jqmq73p0gxgn0frq-bash-5.1-p16/bin/bash" ./deps/npm/bin/npx: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/30j23057fqnnc1p4jqmq73p0gxgn0frq-bash-5.1-p16/bin/bash" ./deps/npm/bin/npm: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/30j23057fqnnc1p4jqmq73p0gxgn0frq-bash-5.1-p16/bin/bash" ./deps/npm/bin/node-gyp-bin/node-gyp: interpreter directive changed from "#!/usr/bin/env sh" to "/nix/store/30j23057fqnnc1p4jqmq73p0gxgn0frq-bash-5.1-p16/bin/sh" ./tools/install.py: interpreter directive changed from "#!/usr/bin/env python" to "/nix/store/bvzpppawf2naqv3qhxqv66jxaq3iaxyj-python3-3.9.11/bin/python" ./tools/icu/icutrim.py: interpreter directive changed from "#!/usr/bin/python" to "/nix/store/bvzpppawf2naqv3qhxqv66jxaq3iaxyj-python3-3.9.11/bin/python" ./tools/update-cares.sh: interpreter directive changed from "#!/bin/sh" to "/nix/store/30j23057fqnnc1p4jqmq73p0gxgn0frq-bash-5.1-p16/bin/sh" ./tools/update-eslint.sh: interpreter directive changed from "#!/bin/sh" to "/nix/store/30j23057fqnnc1p4jqmq73p0gxgn0frq-bash-5.1-p16/bin/sh" ./tools/specialize_node_d.py: interpreter directive changed from "#!/usr/bin/env python" to "/nix/store/bvzpppawf2naqv3qhxqv66jxaq3iaxyj-python3-3.9.11/bin/python" ./tools/gyp_node.py: interpreter directive changed from "#!/usr/bin/env python" to "/nix/store/bvzpppawf2naqv3qhxqv66jxaq3iaxyj-python3-3.9.11/bin/python" ./tools/test.py: interpreter directive changed from "#!/usr/bin/env python" to "/nix/store/bvzpppawf2naqv3qhxqv66jxaq3iaxyj-python3-3.9.11/bin/python" ./tools/checkimports.py: interpreter directive changed from "#!/usr/bin/env python" to "/nix/store/bvzpppawf2naqv3qhxqv66jxaq3iaxyj-python3-3.9.11/bin/python" ./tools/gyp/pylib/gyp/easy_xml_test.py: interpreter directive changed from "#!/usr/bin/env python3" to "/nix/store/bvzpppawf2naqv3qhxqv66jxaq3iaxyj-python3-3.9.11/bin/python3" ./tools/gyp/pylib/gyp/input_test.py: interpreter directive changed from "#!/usr/bin/env python3" to "/nix/store/bvzpppawf2naqv3qhxqv66jxaq3iaxyj-python3-3.9.11/bin/python3" ./tools/gyp/pylib/gyp/mac_tool.py: interpreter directive changed from "#!/usr/bin/env python3" to "/nix/store/bvzpppawf2naqv3qhxqv66jxaq3iaxyj-python3-3.9.11/bin/python3" ./tools/gyp/pylib/gyp/flock_tool.py: interpreter directive changed from "#!/usr/bin/env python3" to "/nix/store/bvzpppawf2naqv3qhxqv66jxaq3iaxyj-python3-3.9.11/bin/python3" ./tools/gyp/pylib/gyp/win_tool.py: interpreter directive changed from "#!/usr/bin/env python3" to "/nix/store/bvzpppawf2naqv3qhxqv66jxaq3iaxyj-python3-3.9.11/bin/python3" ./tools/gyp/pylib/gyp/MSVSSettings_test.py: interpreter directive changed from "#!/usr/bin/env python3" to "/nix/store/bvzpppawf2naqv3qhxqv66jxaq3iaxyj-python3-3.9.11/bin/python3" ./tools/gyp/pylib/gyp/__init__.py: interpreter directive changed from "#!/usr/bin/env python3" to "/nix/store/bvzpppawf2naqv3qhxqv66jxaq3iaxyj-python3-3.9.11/bin/python3" ./tools/gyp/pylib/gyp/generator/msvs_test.py: interpreter directive changed from "#!/usr/bin/env python3" to "/nix/store/bvzpppawf2naqv3qhxqv66jxaq3iaxyj-python3-3.9.11/bin/python3" ./tools/gyp/pylib/gyp/common_test.py: interpreter directive changed from "#!/usr/bin/env python3" to "/nix/store/bvzpppawf2naqv3qhxqv66jxaq3iaxyj-python3-3.9.11/bin/python3" ./tools/gyp/gyp: interpreter directive changed from "#!/bin/sh" to "/nix/store/30j23057fqnnc1p4jqmq73p0gxgn0frq-bash-5.1-p16/bin/sh" ./tools/gyp/test_gyp.py: interpreter directive changed from "#!/usr/bin/env python3" to "/nix/store/bvzpppawf2naqv3qhxqv66jxaq3iaxyj-python3-3.9.11/bin/python3" ./tools/gyp/tools/pretty_gyp.py: interpreter directive changed from "#!/usr/bin/env python3" to "/nix/store/bvzpppawf2naqv3qhxqv66jxaq3iaxyj-python3-3.9.11/bin/python3" ./tools/gyp/tools/emacs/run-unit-tests.sh: interpreter directive changed from "#!/bin/sh" to "/nix/store/30j23057fqnnc1p4jqmq73p0gxgn0frq-bash-5.1-p16/bin/sh" ./tools/gyp/tools/pretty_vcproj.py: interpreter directive changed from "#!/usr/bin/env python3" to "/nix/store/bvzpppawf2naqv3qhxqv66jxaq3iaxyj-python3-3.9.11/bin/python3" ./tools/gyp/tools/graphviz.py: interpreter directive changed from "#!/usr/bin/env python3" to "/nix/store/bvzpppawf2naqv3qhxqv66jxaq3iaxyj-python3-3.9.11/bin/python3" ./tools/gyp/tools/pretty_sln.py: interpreter directive changed from "#!/usr/bin/env python3" to "/nix/store/bvzpppawf2naqv3qhxqv66jxaq3iaxyj-python3-3.9.11/bin/python3" ./tools/gyp/gyp_main.py: interpreter directive changed from "#!/usr/bin/env python3" to "/nix/store/bvzpppawf2naqv3qhxqv66jxaq3iaxyj-python3-3.9.11/bin/python3" ./tools/v8/fetch_deps.py: interpreter directive changed from "#!/usr/bin/env python" to "/nix/store/bvzpppawf2naqv3qhxqv66jxaq3iaxyj-python3-3.9.11/bin/python" ./tools/v8/node_common.py: interpreter directive changed from "#!/usr/bin/env python" to "/nix/store/bvzpppawf2naqv3qhxqv66jxaq3iaxyj-python3-3.9.11/bin/python" ./tools/create_android_makefiles: interpreter directive changed from "#!/bin/bash" to "/nix/store/30j23057fqnnc1p4jqmq73p0gxgn0frq-bash-5.1-p16/bin/bash" ./tools/actions/start-ci.sh: interpreter directive changed from "#!/bin/sh" to "/nix/store/30j23057fqnnc1p4jqmq73p0gxgn0frq-bash-5.1-p16/bin/sh" ./tools/actions/commit-queue.sh: interpreter directive changed from "#!/bin/sh" to "/nix/store/30j23057fqnnc1p4jqmq73p0gxgn0frq-bash-5.1-p16/bin/sh" ./tools/inspector_protocol/concatenate_protocols.py: interpreter directive changed from "#!/usr/bin/env python" to "/nix/store/bvzpppawf2naqv3qhxqv66jxaq3iaxyj-python3-3.9.11/bin/python" ./tools/inspector_protocol/check_protocol_compatibility.py: interpreter directive changed from "#!/usr/bin/env python" to "/nix/store/bvzpppawf2naqv3qhxqv66jxaq3iaxyj-python3-3.9.11/bin/python" ./tools/inspector_protocol/jinja2/get_jinja2.sh: interpreter directive changed from "#!/bin/bash" to "/nix/store/30j23057fqnnc1p4jqmq73p0gxgn0frq-bash-5.1-p16/bin/bash" ./tools/inspector_protocol/convert_protocol_to_json.py: interpreter directive changed from "#!/usr/bin/env python" to "/nix/store/bvzpppawf2naqv3qhxqv66jxaq3iaxyj-python3-3.9.11/bin/python" ./tools/inspector_protocol/code_generator.py: interpreter directive changed from "#!/usr/bin/env python" to "/nix/store/bvzpppawf2naqv3qhxqv66jxaq3iaxyj-python3-3.9.11/bin/python" ./tools/inspector_protocol/markupsafe/get_markupsafe.sh: interpreter directive changed from "#!/bin/bash" to "/nix/store/30j23057fqnnc1p4jqmq73p0gxgn0frq-bash-5.1-p16/bin/bash" ./tools/mkssldef.py: interpreter directive changed from "#!/usr/bin/env python" to "/nix/store/bvzpppawf2naqv3qhxqv66jxaq3iaxyj-python3-3.9.11/bin/python" ./tools/create_expfile.sh: interpreter directive changed from "#!/bin/sh" to "/nix/store/30j23057fqnnc1p4jqmq73p0gxgn0frq-bash-5.1-p16/bin/sh" ./tools/update-npm.sh: interpreter directive changed from "#!/bin/sh" to "/nix/store/30j23057fqnnc1p4jqmq73p0gxgn0frq-bash-5.1-p16/bin/sh" ./tools/js2c.py: interpreter directive changed from "#!/usr/bin/env python" to "/nix/store/bvzpppawf2naqv3qhxqv66jxaq3iaxyj-python3-3.9.11/bin/python" ./tools/make-v8.sh: interpreter directive changed from "#!/bin/sh" to "/nix/store/30j23057fqnnc1p4jqmq73p0gxgn0frq-bash-5.1-p16/bin/sh" ./tools/run-valgrind.py: interpreter directive changed from "#!/usr/bin/env python" to "/nix/store/bvzpppawf2naqv3qhxqv66jxaq3iaxyj-python3-3.9.11/bin/python" ./tools/macos-installer/pkgbuild/npm/scripts/postinstall: interpreter directive changed from "#!/bin/sh" to "/nix/store/30j23057fqnnc1p4jqmq73p0gxgn0frq-bash-5.1-p16/bin/sh" ./tools/macos-installer/pkgbuild/npm/scripts/preinstall: interpreter directive changed from "#!/bin/sh" to "/nix/store/30j23057fqnnc1p4jqmq73p0gxgn0frq-bash-5.1-p16/bin/sh" ./tools/genv8constants.py: interpreter directive changed from "#!/usr/bin/env python" to "/nix/store/bvzpppawf2naqv3qhxqv66jxaq3iaxyj-python3-3.9.11/bin/python" ./tools/rpm/rpmbuild.sh: interpreter directive changed from "#!/bin/sh" to "/nix/store/30j23057fqnnc1p4jqmq73p0gxgn0frq-bash-5.1-p16/bin/sh" ./tools/macos-firewall.sh: interpreter directive changed from "#!/bin/sh" to "/nix/store/30j23057fqnnc1p4jqmq73p0gxgn0frq-bash-5.1-p16/bin/sh" ./tools/release.sh: interpreter directive changed from "#!/bin/sh" to "/nix/store/30j23057fqnnc1p4jqmq73p0gxgn0frq-bash-5.1-p16/bin/sh" ./android-configure: interpreter directive changed from "#!/bin/bash" to "/nix/store/30j23057fqnnc1p4jqmq73p0gxgn0frq-bash-5.1-p16/bin/bash" updateAutotoolsGnuConfigScriptsPhase Updating Autotools / GNU config script to a newer upstream version: ./deps/cares/config.sub Updating Autotools / GNU config script to a newer upstream version: ./deps/cares/config.guess configuring fixing libtool script ./deps/cares/ltmain.sh configure flags: --prefix=/nix/store/i8d2paggja6jz353gm4a1223g15wmnpd-nodejs-static-aarch64-unknown-linux-musl-16.14.2 --shared-libuv --shared-libuv-libpath=/nix/store/xk3wnvzzah376qv17rm5nlfw8illpl56-libuv-static-aarch64-unknown-linux-musl-1.44.1/lib --shared-openssl --shared-openssl-libpath=/nix/store/v22wgay1wmi06fcxxhyhfbh6a8awya6f-openssl-static-aarch64-unknown-linux-musl-1.1.1n/lib --shared-zlib --shared-zlib-libpath=/nix/store/argvnw7ngvxrchasdxjvkr0gx9hk1y35-zlib-static-aarch64-unknown-linux-musl-1.2.12/lib --with-intl=system-icu --without-dtrace --cross-compiling --without-intl --without-snapshot --disable-shared --enable-static --disable-shared Node.js configure: Found Python 3.9.11... WARNING: building --without-snapshot is no longer possible WARNING: warnings were emitted in the configure phase gyp: --disable-shared not found (cwd: /build/node-v16.14.2) while trying to load --disable-shared Error running GYP error: builder for '/nix/store/kv1159x1pnpnrh2wvnriy52dc64xfwcy-nodejs-static-aarch64-unknown-linux-musl-16.14.2.drv' failed with exit code 1; last 10 log lines: > Updating Autotools / GNU config script to a newer upstream version: ./deps/cares/config.sub > Updating Autotools / GNU config script to a newer upstream version: ./deps/cares/config.guess > configuring > fixing libtool script ./deps/cares/ltmain.sh > configure flags: --prefix=/nix/store/i8d2paggja6jz353gm4a1223g15wmnpd-nodejs-static-aarch64-unknown-linux-musl-16.14.2 --shared-libuv --shared-libuv-libpath=/nix/store/xk3wnvzzah376qv17rm5nlfw8illpl56-libuv-static-aarch64-unknown-linux-musl-1.44.1/lib --shared-openssl --shared-openssl-libpath=/nix/store/v22wgay1wmi06fcxxhyhfbh6a8awya6f-openssl-static-aarch64-unknown-linux-musl-1.1.1n/lib --shared-zlib --shared-zlib-libpath=/nix/store/argvnw7ngvxrchasdxjvkr0gx9hk1y35-zlib-static-aarch64-unknown-linux-musl-1.2.12/lib --with-intl=system-icu --without-dtrace --cross-compiling --without-intl --without-snapshot --disable-shared --enable-static --disable-shared > Node.js configure: Found Python 3.9.11... > WARNING: building --without-snapshot is no longer possible > WARNING: warnings were emitted in the configure phase > gyp: --disable-shared not found (cwd: /build/node-v16.14.2) while trying to load --disable-shared > Error running GYP For full logs, run 'nix log /nix/store/kv1159x1pnpnrh2wvnriy52dc64xfwcy-nodejs-static-aarch64-unknown-linux-musl-16.14.2.drv'. ```

Additional context

Uncovered this error after fixing another one in #188296

Notify maintainers

@goibhniu @gilligan @cko @marsam @talyz

Metadata

Please run nix-shell -p nix-info --run "nix-info -m" and paste the result.

$ nix-shell -p nix-info --run "nix-info -m"
 - system: `"x86_64-linux"`
 - host os: `Linux 5.15.63, NixOS, 22.11 (Raccoon)`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.10.3`
 - nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixos`
ParetoOptimalDev commented 2 years ago

So I removed the --disable-shared flags and got a different error under that:

:b pkgs.pkgsCross.aarch64-multiplatform-musl.pkgsStatic.nodejs.overrideAttrs(o: { configureFlags = [ "--shared-libuv" "--shared-libuv-libpath=/nix/store/gvg9yfmgs3c4pnn8jf6np2m3cs4g804h-libuv-static-aarch64-unknown-linux-musl-1.44.2/lib" "--shared-openssl" "--shared-openssl-libpath=/nix/store/hvf53y329lwb1jlqi5pn43vdhjsg5fa8-openssl-static-aarch64-unknown-linux-musl-1.1.1q/lib" "--shared-zlib" "--shared-zlib-libpath=/nix/store/44r499hbn00hfiamhpvvd2dyacfkn0m9-zlib-static-aarch64-unknown-linux-musl-1.2.12/lib" "--with-intl=system-icu" "--without-dtrace" "--cross-compiling" "--without-intl" "--without-snapshot" "--dest-cpu=arm64" "--enable-static" ]; })
... snip ...
       > g++: error: unrecognized command-line option '-msign-return-address=all'
       > make[1]: *** [tools/v8_gypfiles/v8_libplatform.host.mk:151: /build/node-v18.8.0/out/Release/obj.host/v8_libplatform/deps/v8/src/libplatform/default-foreground-task-runner.o] Error 1
       > make[1]: *** Waiting for unfinished jobs....
... snip ...

With all the resistance I'm facing I have to ask if this is supposed to work and I'm doing something wrong, or this level of resistance is expected since it's not widely used yet.

kirillrdy commented 1 year ago

builds on latest master b63c643631665264060c9bf31849dd6566e17e8f

nix-build -A pkgsCross.aarch64-multiplatform-musl.pkgsStatic.nodejs
/nix/store/pwilbd1m05jxs2cpq6d1pgwpk9myqvg4-nodejs-static-aarch64-unknown-linux-musl-18.16.0