Remove cudainfo and amd-uprof from crossSet #210

Open
abonerib wants to merge 3 commits from abonerib/jungle:cross-filter into master
Collaborator

These two packages result in evaluation errors when building crossSet.riscv64 due to their dependencies meta.platforms:

in job ‘cross.riscv64.amd-uprof’:
error: derivation 'cross.riscv64.amd-uprof' does not have valid outputs: error:
              … while calling the 'getAttr' builtin
                at <nix/derivation-internal.nix>:50:17:
                  49|     value = commonAttrs // {
                  50|       outPath = builtins.getAttr outputName strict;
                    |                 ^
                  51|       drvPath = strict.drvPath;

              … while calling the 'derivationStrict' builtin
                at <nix/derivation-internal.nix>:37:12:
                  36|
                  37|   strict = derivationStrict drvAttrs;
                    |            ^
                  38|

              (stack trace truncated; use '--show-trace' to show the full, detailed trace)

              error: Package ‘clang-rocm-18.0.0-4182046534deb851753f0d962146e5176f648893’ in /nix/store/zk8v61cpk1wprp9ld5ayc1g5fq4pdkwv-source/pkgs/development/compilers/llvm/common/clang/default.nix:27 is not available on the requested hostPlatform:
                hostPlatform.config = "riscv64-unknown-linux-gnu"
                package.meta.platforms = [
                  "x86_64-linux"
                ]
                package.meta.badPlatforms = [ ]
              , refusing to evaluate.

              a) To temporarily allow packages that are unsupported for this system, you can use an environment variable
                 for a single invocation of the nix tools.

                   $ export NIXPKGS_ALLOW_UNSUPPORTED_SYSTEM=1

                 Note: When using `nix shell`, `nix build`, `nix develop`, etc with a flake,
                       then pass `--impure` in order to allow use of environment variables.

              b) For `nixos-rebuild` you can set
                { nixpkgs.config.allowUnsupportedSystem = true; }
              in configuration.nix to override this.

              c) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add
                { allowUnsupportedSystem = true; }
              to ~/.config/nixpkgs/config.nix.

in job ‘cross.riscv64.cudainfo’:
error: derivation 'cross.riscv64.cudainfo' does not have valid outputs: error:
              … while calling the 'getAttr' builtin
                at <nix/derivation-internal.nix>:50:17:
                  49|     value = commonAttrs // {
                  50|       outPath = builtins.getAttr outputName strict;
                    |                 ^
                  51|       drvPath = strict.drvPath;

              … while calling the 'derivationStrict' builtin
                at <nix/derivation-internal.nix>:37:12:
                  36|
                  37|   strict = derivationStrict drvAttrs;
                    |            ^
                  38|

              (stack trace truncated; use '--show-trace' to show the full, detailed trace)

              error: Package ‘cuda_cuobjdump-12.8.90’ in /nix/store/zk8v61cpk1wprp9ld5ayc1g5fq4pdkwv-source/pkgs/development/cuda-modules/generic-builders/manifest.nix:324 is not available on the requested hostPlatform:
                hostPlatform.config = "riscv64-unknown-linux-gnu"
                package.meta.platforms = [
                  "aarch64-linux"
                  "x86_64-linux"
                ]
                package.meta.badPlatforms = [
                  "aarch64-linux"
                  "x86_64-linux"
                ]
              , refusing to evaluate.

              a) To temporarily allow packages that are unsupported for this system, you can use an environment variable
                 for a single invocation of the nix tools.

                   $ export NIXPKGS_ALLOW_UNSUPPORTED_SYSTEM=1

                 Note: When using `nix shell`, `nix build`, `nix develop`, etc with a flake,
                       then pass `--impure` in order to allow use of environment variables.

              b) For `nixos-rebuild` you can set
                { nixpkgs.config.allowUnsupportedSystem = true; }
              in configuration.nix to override this.

              c) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add
                { allowUnsupportedSystem = true; }
              to ~/.config/nixpkgs/config.nix.
These two packages result in evaluation errors when building `crossSet.riscv64` due to their dependencies meta.platforms: ``` in job ‘cross.riscv64.amd-uprof’: error: derivation 'cross.riscv64.amd-uprof' does not have valid outputs: error: … while calling the 'getAttr' builtin at <nix/derivation-internal.nix>:50:17: 49| value = commonAttrs // { 50| outPath = builtins.getAttr outputName strict; | ^ 51| drvPath = strict.drvPath; … while calling the 'derivationStrict' builtin at <nix/derivation-internal.nix>:37:12: 36| 37| strict = derivationStrict drvAttrs; | ^ 38| (stack trace truncated; use '--show-trace' to show the full, detailed trace) error: Package ‘clang-rocm-18.0.0-4182046534deb851753f0d962146e5176f648893’ in /nix/store/zk8v61cpk1wprp9ld5ayc1g5fq4pdkwv-source/pkgs/development/compilers/llvm/common/clang/default.nix:27 is not available on the requested hostPlatform: hostPlatform.config = "riscv64-unknown-linux-gnu" package.meta.platforms = [ "x86_64-linux" ] package.meta.badPlatforms = [ ] , refusing to evaluate. a) To temporarily allow packages that are unsupported for this system, you can use an environment variable for a single invocation of the nix tools. $ export NIXPKGS_ALLOW_UNSUPPORTED_SYSTEM=1 Note: When using `nix shell`, `nix build`, `nix develop`, etc with a flake, then pass `--impure` in order to allow use of environment variables. b) For `nixos-rebuild` you can set { nixpkgs.config.allowUnsupportedSystem = true; } in configuration.nix to override this. c) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add { allowUnsupportedSystem = true; } to ~/.config/nixpkgs/config.nix. in job ‘cross.riscv64.cudainfo’: error: derivation 'cross.riscv64.cudainfo' does not have valid outputs: error: … while calling the 'getAttr' builtin at <nix/derivation-internal.nix>:50:17: 49| value = commonAttrs // { 50| outPath = builtins.getAttr outputName strict; | ^ 51| drvPath = strict.drvPath; … while calling the 'derivationStrict' builtin at <nix/derivation-internal.nix>:37:12: 36| 37| strict = derivationStrict drvAttrs; | ^ 38| (stack trace truncated; use '--show-trace' to show the full, detailed trace) error: Package ‘cuda_cuobjdump-12.8.90’ in /nix/store/zk8v61cpk1wprp9ld5ayc1g5fq4pdkwv-source/pkgs/development/cuda-modules/generic-builders/manifest.nix:324 is not available on the requested hostPlatform: hostPlatform.config = "riscv64-unknown-linux-gnu" package.meta.platforms = [ "aarch64-linux" "x86_64-linux" ] package.meta.badPlatforms = [ "aarch64-linux" "x86_64-linux" ] , refusing to evaluate. a) To temporarily allow packages that are unsupported for this system, you can use an environment variable for a single invocation of the nix tools. $ export NIXPKGS_ALLOW_UNSUPPORTED_SYSTEM=1 Note: When using `nix shell`, `nix build`, `nix develop`, etc with a flake, then pass `--impure` in order to allow use of environment variables. b) For `nixos-rebuild` you can set { nixpkgs.config.allowUnsupportedSystem = true; } in configuration.nix to override this. c) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add { allowUnsupportedSystem = true; } to ~/.config/nixpkgs/config.nix. ```
abonerib added 3 commits 2025-10-28 17:39:07 +01:00
Filter out packages by platform from crossSet
All checks were successful
CI / build:cross (pull_request) Successful in 6s
CI / build:all (pull_request) Successful in 20s
97e81b2f91
All checks were successful
CI / build:cross (pull_request) Successful in 6s
CI / build:all (pull_request) Successful in 20s
This pull request can be merged automatically.
You are not authorized to merge this pull request.

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u cross-filter:abonerib-cross-filter
git checkout abonerib-cross-filter
Sign in to join this conversation.
No Reviewers
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: rarias/jungle#210
No description provided.