Created
November 28, 2023 19:19
-
-
Save mandarjog/3cede4ad69c1f360c30a3a2a20868513 to your computer and use it in GitHub Desktop.
nix error
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
INFO: Repository nixpkgs_sh_posix_config instantiated at: | |
/home/mjog/dev/cloudn/WORKSPACE.bazel:92:27: in <toplevel> | |
/home/mjog/.cache/bazel/_bazel_mjog/398b85718c017c6027437fbce67a066f/external/rules_nixpkgs_posix/posix.bzl:163:28: in nixpkgs_sh_posix_configure | |
/home/mjog/.cache/bazel/_bazel_mjog/398b85718c017c6027437fbce67a066f/external/rules_nixpkgs_posix/posix.bzl:23:20: in nixpkgs_sh_posix_config | |
/home/mjog/.cache/bazel/_bazel_mjog/398b85718c017c6027437fbce67a066f/external/rules_nixpkgs_core/nixpkgs.bzl:723:21: in nixpkgs_package | |
Repository rule _nixpkgs_package defined at: | |
/home/mjog/.cache/bazel/_bazel_mjog/398b85718c017c6027437fbce67a066f/external/rules_nixpkgs_core/nixpkgs.bzl:591:35: in <toplevel> | |
ERROR: An error occurred during the fetch of repository 'nixpkgs_sh_posix_config': | |
Traceback (most recent call last): | |
File "/home/mjog/.cache/bazel/_bazel_mjog/398b85718c017c6027437fbce67a066f/external/rules_nixpkgs_core/nixpkgs.bzl", line 589, column 31, in _nixpkgs_package_impl | |
_nixpkgs_build_and_symlink(repository_ctx, [nix_build_path], expr_args, build_file_content) | |
File "/home/mjog/.cache/bazel/_bazel_mjog/398b85718c017c6027437fbce67a066f/external/rules_nixpkgs_core/nixpkgs.bzl", line 447, column 34, in _nixpkgs_build_and_symlink | |
exec_result = execute_or_fail( | |
File "/home/mjog/.cache/bazel/_bazel_mjog/398b85718c017c6027437fbce67a066f/external/rules_nixpkgs_core/util.bzl", line 97, column 13, in execute_or_fail | |
fail(""" | |
Error in fail: | |
Cannot build Nix derivation for package '@nixpkgs_sh_posix_config'. | |
Command: "/nix/store/szl50hkcb1294bl2saandj067hs1mcya-devenv-profile/bin/nix-build" "-I" "nixpkgs=/home/mjog/.cache/bazel/_bazel_mjog/398b85718c017c6027437fbce67a066f/external/nixpkgs/nixpkgs" "-E" "\nwith import <nixpkgs> { config = {}; overlays = []; };\n\nlet\n # `packages` might include lists, e.g. `stdenv.initialPath` is a list itself,\n # so we need to flatten `packages`.\n flatten = builtins.concatMap (x: if builtins.isList x then x else [x]);\n env = buildEnv {\n name = \"posix-toolchain\";\n paths = flatten [ stdenv.initialPath ];\n };\n cmd_glob = \"${env}/bin/*\";\n os = if stdenv.isDarwin then \"osx\" else \"linux\";\nin\n\nrunCommand \"bazel-nixpkgs-posix-toolchain\"\n { executable = false;\n # Pointless to do this on a remote machine.\n preferLocalBuild = true;\n allowSubstitutes = false;\n }\n ''\n n=$out/nixpkgs_sh_posix.bzl\n mkdir -p \"$(dirname \"$n\")\"\n\n cat >>$n <<EOF\n load(\"@rules_sh//sh:posix.bzl\", \"posix\", \"sh_posix_toolchain\")\n discovered = {\n EOF\n for cmd in ${cmd_glob}; do\n if [[ -x $cmd ]]; then\n echo \" '$(basename $cmd)': '$cmd',\" >>$n\n fi\n done\n cat >>$n <<EOF\n }\n def create_posix_toolchain():\n sh_posix_toolchain(\n name = \"nixpkgs_sh_posix\",\n cmds = {\n cmd: discovered[cmd]\n for cmd in posix.commands\n if cmd in discovered\n }\n )\n EOF\n ''\n" "-A" "" "--out-link" "bazel-support/nix-out-link" | |
Return code: 1 | |
Error output: | |
> these 3 derivations will be built: | |
> /nix/store/g5g51ijarzy8qbx9p3ccy7k0994ishhp-builder.pl.drv | |
> /nix/store/mbn65s4rw2qfg5j938bnmh98225hgz1c-posix-toolchain.drv | |
> /nix/store/1706w9j8c6njzgdkrpq2mys9wz9h8cwv-bazel-nixpkgs-posix-toolchain.drv | |
> these 14 paths will be fetched (2.34 MiB download, 17.15 MiB unpacked): | |
> /nix/store/9vl4af6m7gyl53vq3gzxligkv8zzipzc-bash-5.2-p15-man | |
> /nix/store/vikpb6rhmi8zzgsx8syjng9dic8dplm7-diffutils-3.9 | |
> /nix/store/9fsqsxbcwj8b7gjizi9dp1f0da9jzds1-ed-1.19 | |
> /nix/store/rgg874xkzlfmkzkm7911dwnihswkf54g-file-5.44 | |
> /nix/store/1993szy8r73ymy53znxsfhr7hziibmh3-file-5.44-man | |
> /nix/store/p7v8rc82yi4zngjw2z7isgqvfi32l1aj-gawk-5.2.1 | |
> /nix/store/4zwf6xb9i8jk9dcrciq9xgsygpwa52rj-gawk-5.2.1-man | |
> /nix/store/qlcm8dzsaa6wyycmx7in8rz6x3pzf6zf-gnumake-4.4.1 | |
> /nix/store/xgjlha93a7ysbajjngryy39gwzh97sms-gnumake-4.4.1-man | |
> /nix/store/2gcfy5f68y7gkryp3wrjmvlci42qb61a-gnutar-1.35 | |
> /nix/store/qrbivnjzqsi6ivj0ji4a6vql6hb4baq6-gzip-1.12-man | |
> /nix/store/0g52i0ih3h0d9s40m84gksi2jjm4k3bf-patch-2.7.6 | |
> /nix/store/gwf21xyl0x0bhgapi66avzf6qmddr44s-patchelf-0.15.0 | |
> /nix/store/9v8sc2q2dflxjcz1hsw84b10bvg0wand-stdenv-linux | |
> copying path '/nix/store/1993szy8r73ymy53znxsfhr7hziibmh3-file-5.44-man' from 'https://cache.nixos.org'... | |
> copying path '/nix/store/4zwf6xb9i8jk9dcrciq9xgsygpwa52rj-gawk-5.2.1-man' from 'https://cache.nixos.org'... | |
> copying path '/nix/store/qrbivnjzqsi6ivj0ji4a6vql6hb4baq6-gzip-1.12-man' from 'https://cache.nixos.org'... | |
> copying path '/nix/store/xgjlha93a7ysbajjngryy39gwzh97sms-gnumake-4.4.1-man' from 'https://cache.nixos.org'... | |
> copying path '/nix/store/9fsqsxbcwj8b7gjizi9dp1f0da9jzds1-ed-1.19' from 'https://cache.nixos.org'... | |
> copying path '/nix/store/2gcfy5f68y7gkryp3wrjmvlci42qb61a-gnutar-1.35' from 'https://cache.nixos.org'... | |
> copying path '/nix/store/qlcm8dzsaa6wyycmx7in8rz6x3pzf6zf-gnumake-4.4.1' from 'https://cache.nixos.org'... | |
> copying path '/nix/store/gwf21xyl0x0bhgapi66avzf6qmddr44s-patchelf-0.15.0' from 'https://cache.nixos.org'... | |
> copying path '/nix/store/p7v8rc82yi4zngjw2z7isgqvfi32l1aj-gawk-5.2.1' from 'https://cache.nixos.org'... | |
> copying path '/nix/store/vikpb6rhmi8zzgsx8syjng9dic8dplm7-diffutils-3.9' from 'https://cache.nixos.org'... | |
> copying path '/nix/store/rgg874xkzlfmkzkm7911dwnihswkf54g-file-5.44' from 'https://cache.nixos.org'... | |
> copying path '/nix/store/0g52i0ih3h0d9s40m84gksi2jjm4k3bf-patch-2.7.6' from 'https://cache.nixos.org'... | |
> copying path '/nix/store/9v8sc2q2dflxjcz1hsw84b10bvg0wand-stdenv-linux' from 'https://cache.nixos.org'... | |
> building '/nix/store/g5g51ijarzy8qbx9p3ccy7k0994ishhp-builder.pl.drv'... | |
> error: path '/nix/store/9vl4af6m7gyl53vq3gzxligkv8zzipzc-bash-5.2-p15-man' is not valid | |
ERROR: /home/mjog/dev/cloudn/WORKSPACE.bazel:92:27: fetching _nixpkgs_package rule //external:nixpkgs_sh_posix_config: Traceback (most recent call last): | |
File "/home/mjog/.cache/bazel/_bazel_mjog/398b85718c017c6027437fbce67a066f/external/rules_nixpkgs_core/nixpkgs.bzl", line 589, column 31, in _nixpkgs_package_impl | |
_nixpkgs_build_and_symlink(repository_ctx, [nix_build_path], expr_args, build_file_content) | |
File "/home/mjog/.cache/bazel/_bazel_mjog/398b85718c017c6027437fbce67a066f/external/rules_nixpkgs_core/nixpkgs.bzl", line 447, column 34, in _nixpkgs_build_and_symlink | |
exec_result = execute_or_fail( | |
File "/home/mjog/.cache/bazel/_bazel_mjog/398b85718c017c6027437fbce67a066f/external/rules_nixpkgs_core/util.bzl", line 97, column 13, in execute_or_fail | |
fail(""" | |
Error in fail: | |
Cannot build Nix derivation for package '@nixpkgs_sh_posix_config'. | |
Command: "/nix/store/szl50hkcb1294bl2saandj067hs1mcya-devenv-profile/bin/nix-build" "-I" "nixpkgs=/home/mjog/.cache/bazel/_bazel_mjog/398b85718c017c6027437fbce67a066f/external/nixpkgs/nixpkgs" "-E" "\nwith import <nixpkgs> { config = {}; overlays = []; };\n\nlet\n # `packages` might include lists, e.g. `stdenv.initialPath` is a list itself,\n # so we need to flatten `packages`.\n flatten = builtins.concatMap (x: if builtins.isList x then x else [x]);\n env = buildEnv {\n name = \"posix-toolchain\";\n paths = flatten [ stdenv.initialPath ];\n };\n cmd_glob = \"${env}/bin/*\";\n os = if stdenv.isDarwin then \"osx\" else \"linux\";\nin\n\nrunCommand \"bazel-nixpkgs-posix-toolchain\"\n { executable = false;\n # Pointless to do this on a remote machine.\n preferLocalBuild = true;\n allowSubstitutes = false;\n }\n ''\n n=$out/nixpkgs_sh_posix.bzl\n mkdir -p \"$(dirname \"$n\")\"\n\n cat >>$n <<EOF\n load(\"@rules_sh//sh:posix.bzl\", \"posix\", \"sh_posix_toolchain\")\n discovered = {\n EOF\n for cmd in ${cmd_glob}; do\n if [[ -x $cmd ]]; then\n echo \" '$(basename $cmd)': '$cmd',\" >>$n\n fi\n done\n cat >>$n <<EOF\n }\n def create_posix_toolchain():\n sh_posix_toolchain(\n name = \"nixpkgs_sh_posix\",\n cmds = {\n cmd: discovered[cmd]\n for cmd in posix.commands\n if cmd in discovered\n }\n )\n EOF\n ''\n" "-A" "" "--out-link" "bazel-support/nix-out-link" | |
Return code: 1 | |
Error output: | |
> these 3 derivations will be built: | |
> /nix/store/g5g51ijarzy8qbx9p3ccy7k0994ishhp-builder.pl.drv | |
> /nix/store/mbn65s4rw2qfg5j938bnmh98225hgz1c-posix-toolchain.drv | |
> /nix/store/1706w9j8c6njzgdkrpq2mys9wz9h8cwv-bazel-nixpkgs-posix-toolchain.drv | |
> these 14 paths will be fetched (2.34 MiB download, 17.15 MiB unpacked): | |
> /nix/store/9vl4af6m7gyl53vq3gzxligkv8zzipzc-bash-5.2-p15-man | |
> /nix/store/vikpb6rhmi8zzgsx8syjng9dic8dplm7-diffutils-3.9 | |
> /nix/store/9fsqsxbcwj8b7gjizi9dp1f0da9jzds1-ed-1.19 | |
> /nix/store/rgg874xkzlfmkzkm7911dwnihswkf54g-file-5.44 | |
> /nix/store/1993szy8r73ymy53znxsfhr7hziibmh3-file-5.44-man | |
> /nix/store/p7v8rc82yi4zngjw2z7isgqvfi32l1aj-gawk-5.2.1 | |
> /nix/store/4zwf6xb9i8jk9dcrciq9xgsygpwa52rj-gawk-5.2.1-man | |
> /nix/store/qlcm8dzsaa6wyycmx7in8rz6x3pzf6zf-gnumake-4.4.1 | |
> /nix/store/xgjlha93a7ysbajjngryy39gwzh97sms-gnumake-4.4.1-man | |
> /nix/store/2gcfy5f68y7gkryp3wrjmvlci42qb61a-gnutar-1.35 | |
> /nix/store/qrbivnjzqsi6ivj0ji4a6vql6hb4baq6-gzip-1.12-man | |
> /nix/store/0g52i0ih3h0d9s40m84gksi2jjm4k3bf-patch-2.7.6 | |
> /nix/store/gwf21xyl0x0bhgapi66avzf6qmddr44s-patchelf-0.15.0 | |
> /nix/store/9v8sc2q2dflxjcz1hsw84b10bvg0wand-stdenv-linux | |
> copying path '/nix/store/1993szy8r73ymy53znxsfhr7hziibmh3-file-5.44-man' from 'https://cache.nixos.org'... | |
> copying path '/nix/store/4zwf6xb9i8jk9dcrciq9xgsygpwa52rj-gawk-5.2.1-man' from 'https://cache.nixos.org'... | |
> copying path '/nix/store/qrbivnjzqsi6ivj0ji4a6vql6hb4baq6-gzip-1.12-man' from 'https://cache.nixos.org'... | |
> copying path '/nix/store/xgjlha93a7ysbajjngryy39gwzh97sms-gnumake-4.4.1-man' from 'https://cache.nixos.org'... | |
> copying path '/nix/store/9fsqsxbcwj8b7gjizi9dp1f0da9jzds1-ed-1.19' from 'https://cache.nixos.org'... | |
> copying path '/nix/store/2gcfy5f68y7gkryp3wrjmvlci42qb61a-gnutar-1.35' from 'https://cache.nixos.org'... | |
> copying path '/nix/store/qlcm8dzsaa6wyycmx7in8rz6x3pzf6zf-gnumake-4.4.1' from 'https://cache.nixos.org'... | |
> copying path '/nix/store/gwf21xyl0x0bhgapi66avzf6qmddr44s-patchelf-0.15.0' from 'https://cache.nixos.org'... | |
> copying path '/nix/store/p7v8rc82yi4zngjw2z7isgqvfi32l1aj-gawk-5.2.1' from 'https://cache.nixos.org'... | |
> copying path '/nix/store/vikpb6rhmi8zzgsx8syjng9dic8dplm7-diffutils-3.9' from 'https://cache.nixos.org'... | |
> copying path '/nix/store/rgg874xkzlfmkzkm7911dwnihswkf54g-file-5.44' from 'https://cache.nixos.org'... | |
> copying path '/nix/store/0g52i0ih3h0d9s40m84gksi2jjm4k3bf-patch-2.7.6' from 'https://cache.nixos.org'... | |
> copying path '/nix/store/9v8sc2q2dflxjcz1hsw84b10bvg0wand-stdenv-linux' from 'https://cache.nixos.org'... | |
> building '/nix/store/g5g51ijarzy8qbx9p3ccy7k0994ishhp-builder.pl.drv'... | |
> error: path '/nix/store/9vl4af6m7gyl53vq3gzxligkv8zzipzc-bash-5.2-p15-man' is not valid | |
ERROR: /home/mjog/dev/cloudn/OpenSourceComp/coredns/BUILD.bazel:23:9: //OpenSourceComp/coredns:coredns.appimage_drvs depends on @nixpkgs_sh_posix_config//:nixpkgs_sh_posix in repository @nixpkgs_sh_posix_config which failed to fetch. no such package '@nixpkgs_sh_posix_config//': | |
Cannot build Nix derivation for package '@nixpkgs_sh_posix_config'. | |
Command: "/nix/store/szl50hkcb1294bl2saandj067hs1mcya-devenv-profile/bin/nix-build" "-I" "nixpkgs=/home/mjog/.cache/bazel/_bazel_mjog/398b85718c017c6027437fbce67a066f/external/nixpkgs/nixpkgs" "-E" "\nwith import <nixpkgs> { config = {}; overlays = []; };\n\nlet\n # `packages` might include lists, e.g. `stdenv.initialPath` is a list itself,\n # so we need to flatten `packages`.\n flatten = builtins.concatMap (x: if builtins.isList x then x else [x]);\n env = buildEnv {\n name = \"posix-toolchain\";\n paths = flatten [ stdenv.initialPath ];\n };\n cmd_glob = \"${env}/bin/*\";\n os = if stdenv.isDarwin then \"osx\" else \"linux\";\nin\n\nrunCommand \"bazel-nixpkgs-posix-toolchain\"\n { executable = false;\n # Pointless to do this on a remote machine.\n preferLocalBuild = true;\n allowSubstitutes = false;\n }\n ''\n n=$out/nixpkgs_sh_posix.bzl\n mkdir -p \"$(dirname \"$n\")\"\n\n cat >>$n <<EOF\n load(\"@rules_sh//sh:posix.bzl\", \"posix\", \"sh_posix_toolchain\")\n discovered = {\n EOF\n for cmd in ${cmd_glob}; do\n if [[ -x $cmd ]]; then\n echo \" '$(basename $cmd)': '$cmd',\" >>$n\n fi\n done\n cat >>$n <<EOF\n }\n def create_posix_toolchain():\n sh_posix_toolchain(\n name = \"nixpkgs_sh_posix\",\n cmds = {\n cmd: discovered[cmd]\n for cmd in posix.commands\n if cmd in discovered\n }\n )\n EOF\n ''\n" "-A" "" "--out-link" "bazel-support/nix-out-link" | |
Return code: 1 | |
Error output: | |
> these 3 derivations will be built: | |
> /nix/store/g5g51ijarzy8qbx9p3ccy7k0994ishhp-builder.pl.drv | |
> /nix/store/mbn65s4rw2qfg5j938bnmh98225hgz1c-posix-toolchain.drv | |
> /nix/store/1706w9j8c6njzgdkrpq2mys9wz9h8cwv-bazel-nixpkgs-posix-toolchain.drv | |
> these 14 paths will be fetched (2.34 MiB download, 17.15 MiB unpacked): | |
> /nix/store/9vl4af6m7gyl53vq3gzxligkv8zzipzc-bash-5.2-p15-man | |
> /nix/store/vikpb6rhmi8zzgsx8syjng9dic8dplm7-diffutils-3.9 | |
> /nix/store/9fsqsxbcwj8b7gjizi9dp1f0da9jzds1-ed-1.19 | |
> /nix/store/rgg874xkzlfmkzkm7911dwnihswkf54g-file-5.44 | |
> /nix/store/1993szy8r73ymy53znxsfhr7hziibmh3-file-5.44-man | |
> /nix/store/p7v8rc82yi4zngjw2z7isgqvfi32l1aj-gawk-5.2.1 | |
> /nix/store/4zwf6xb9i8jk9dcrciq9xgsygpwa52rj-gawk-5.2.1-man | |
> /nix/store/qlcm8dzsaa6wyycmx7in8rz6x3pzf6zf-gnumake-4.4.1 | |
> /nix/store/xgjlha93a7ysbajjngryy39gwzh97sms-gnumake-4.4.1-man | |
> /nix/store/2gcfy5f68y7gkryp3wrjmvlci42qb61a-gnutar-1.35 | |
> /nix/store/qrbivnjzqsi6ivj0ji4a6vql6hb4baq6-gzip-1.12-man | |
> /nix/store/0g52i0ih3h0d9s40m84gksi2jjm4k3bf-patch-2.7.6 | |
> /nix/store/gwf21xyl0x0bhgapi66avzf6qmddr44s-patchelf-0.15.0 | |
> /nix/store/9v8sc2q2dflxjcz1hsw84b10bvg0wand-stdenv-linux | |
> copying path '/nix/store/1993szy8r73ymy53znxsfhr7hziibmh3-file-5.44-man' from 'https://cache.nixos.org'... | |
> copying path '/nix/store/4zwf6xb9i8jk9dcrciq9xgsygpwa52rj-gawk-5.2.1-man' from 'https://cache.nixos.org'... | |
> copying path '/nix/store/qrbivnjzqsi6ivj0ji4a6vql6hb4baq6-gzip-1.12-man' from 'https://cache.nixos.org'... | |
> copying path '/nix/store/xgjlha93a7ysbajjngryy39gwzh97sms-gnumake-4.4.1-man' from 'https://cache.nixos.org'... | |
> copying path '/nix/store/9fsqsxbcwj8b7gjizi9dp1f0da9jzds1-ed-1.19' from 'https://cache.nixos.org'... | |
> copying path '/nix/store/2gcfy5f68y7gkryp3wrjmvlci42qb61a-gnutar-1.35' from 'https://cache.nixos.org'... | |
> copying path '/nix/store/qlcm8dzsaa6wyycmx7in8rz6x3pzf6zf-gnumake-4.4.1' from 'https://cache.nixos.org'... | |
> copying path '/nix/store/gwf21xyl0x0bhgapi66avzf6qmddr44s-patchelf-0.15.0' from 'https://cache.nixos.org'... | |
> copying path '/nix/store/p7v8rc82yi4zngjw2z7isgqvfi32l1aj-gawk-5.2.1' from 'https://cache.nixos.org'... | |
> copying path '/nix/store/vikpb6rhmi8zzgsx8syjng9dic8dplm7-diffutils-3.9' from 'https://cache.nixos.org'... | |
> copying path '/nix/store/rgg874xkzlfmkzkm7911dwnihswkf54g-file-5.44' from 'https://cache.nixos.org'... | |
> copying path '/nix/store/0g52i0ih3h0d9s40m84gksi2jjm4k3bf-patch-2.7.6' from 'https://cache.nixos.org'... | |
> copying path '/nix/store/9v8sc2q2dflxjcz1hsw84b10bvg0wand-stdenv-linux' from 'https://cache.nixos.org'... | |
> building '/nix/store/g5g51ijarzy8qbx9p3ccy7k0994ishhp-builder.pl.drv'... | |
> error: path '/nix/store/9vl4af6m7gyl53vq3gzxligkv8zzipzc-bash-5.2-p15-man' is not valid | |
ERROR: Analysis of target '//debian/coredns:deb' failed; build aborted: | |
INFO: Elapsed time: 1.917s | |
INFO: 0 processes. | |
FAILED: Build did NOT complete successfully (34 packages loaded, 564 targets configured) | |
currently loading: @com_github_flynn_go_shlex// ... (18 packages) | |
Fetching repository @qemu_kvm; Building Nix derivation | |
Fetching repository @pycontroller; Restarting. | |
Fetching repository @vmtest; Building Nix derivation | |
Fetching repository @e2e; Restarting. | |
Fetching repository @ruff; Building Nix derivation | |
Fetching repository @generated_e2e_deps; Building Nix derivation | |
Fetching repository @generated_pycontroller_deps; Building Nix derivation | |
Fetching repository @nixpkgs_config_cc; Restarting. ... (10 fetches) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment