Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build failure: aarch64-unknown-linux-android-rustc-wrapper-1.78.0 #331850

Open
axelkar opened this issue Aug 2, 2024 · 0 comments
Open

Build failure: aarch64-unknown-linux-android-rustc-wrapper-1.78.0 #331850

axelkar opened this issue Aug 2, 2024 · 0 comments

Comments

@axelkar
Copy link
Contributor

axelkar commented Aug 2, 2024

Steps To Reproduce

Steps to reproduce the behavior:

  1. Try to build pkgsCross.aarch64-android-prebuilt.buildPackages.python3.pythonOnBuildForHost.interpreter (required by buildPackages.rustc)
  2. Evaluation fail

Build log

% nix build --no-link nixpkgs\#legacyPackages.x86_64-linux.pkgsCross.aarch64-android-prebuilt.buildPackages.rustc
error:
       … while calling the 'derivationStrict' builtin

         at /builtin/derivation.nix:9:12: (source not available)

       … while evaluating derivation 'aarch64-unknown-linux-android-rustc-wrapper-1.78.0'
         whose name attribute is located at /nix/store/l6spwdi1xs20q24fqfi3xwxx0d2x9q2m-source/pkgs/stdenv/generic/make-derivation.nix:334:7

       … while evaluating attribute 'buildCommand' of derivation 'aarch64-unknown-linux-android-rustc-wrapper-1.78.0'

         at /nix/store/l6spwdi1xs20q24fqfi3xwxx0d2x9q2m-source/pkgs/build-support/trivial-builders/default.nix:68:16:

           67|         enableParallelBuilding = true;
           68|         inherit buildCommand name;
             |                ^
           69|         passAsFile = [ "buildCommand" ]

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

       error: Unsupported sdk: 33

Full trace (libxml2):
https://gist.github.com/axelkar/94ea533582e1f714cc786eb9e853a9a5

Additional context

Doesn't happen on c00f203, before 3cb23ce

% nix eval --raw github:NixOS/nixpkgs/c00f20377be57a37df5cf7986198aab6051c0057\#legacyPackages.x86_64-linux.pkgsCross.aarch64-android-prebuilt.buildPackages.libxml2
/nix/store/d2mzk8blln9snn07azm7s9z9mjbv9fr4-libxml2-2.12.7-bin
% nix eval --raw github:NixOS/nixpkgs/3cb23cec239d4f73bb1b51f26ac7599384fdadd6\#legacyPackages.x86_64-linux.pkgsCross.aarch64-android-prebuilt.buildPackages.libxml2
error:
       … while calling the 'getAttr' builtin

         at /builtin/derivation.nix:19:19: (source not available)

       … while calling the 'derivationStrict' builtin

         at /builtin/derivation.nix:9:12: (source not available)

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

       error: Unsupported sdk: 33

I have no idea if this happens on any other platforms, needs triage. I also have no idea why python for linux needs something darwin?!?

This also breaks the evaluation of pkgsCross.aarch64-android.stdenv.cc, but not pkgsCross.aarch64-android-prebuild.stdenv.cc

Notify maintainers

@mweinelt @natsukium Python team

Metadata

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

[user@system:~]$ nix-shell -p nix-info --run "nix-info -m"
 - system: `"x86_64-linux"`
 - host os: `Linux 6.10.0, NixOS, 24.11 (Vicuna), 24.11.20240719.1d9c2c9`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.18.5`
 - channels(root): `"home-manager, nixos"`
 - channels(axel): `""`
 - nixpkgs: `/nix/store/l6spwdi1xs20q24fqfi3xwxx0d2x9q2m-source`

Add a 👍 reaction to issues you find important.

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

No branches or pull requests

1 participant