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

steam: 'i686-linux' with features {} is required [...] but I am a 'x86_64-linux' #109661

Closed
bbigras opened this issue Jan 17, 2021 · 2 comments
Closed

Comments

@bbigras
Copy link
Contributor

bbigras commented Jan 17, 2021

Describe the bug

I don't seem able to build Steam on nixpkgs since the last channel update.

error: --- Error ------------------------------------------------------------- nix-build
a 'i686-linux' with features {} is required to build '/nix/store/1qn89bbzb84dks24qa8qlnxbm7s5mdlr-steam-runtime-0.20201203.1.drv', but I am a 'x86_64-linux' with features {benchmark, big-parallel, kvm, nixos-test}

To Reproduce

  1. cd ~/nixpkgs
  2. nix-build -A steam

Expected behavior

Screenshots

Additional context

Notify maintainers

@jagajaga @jonringer

Metadata

  • system: "x86_64-linux"
  • host os: Linux 5.10.1-zen1, NixOS, 21.03.20210109.257cbbc (Okapi)
  • multi-user?: yes
  • sandbox: yes
  • version: nix-env (Nix) 2.4pre20201205_a5d85d0
  • channels(root): "nixos-21.03pre260232.733e537a8ad"
  • channels(bbigras): "home-manager-20.09"
  • nixpkgs: /nix/var/nix/profiles/per-user/root/channels/nixos

Maintainer information:

# a list of nixpkgs attributes affected by the problem
attribute:
# a list of nixos modules affected by the problem
module:
@jonringer
Copy link
Contributor

do you have any overlays?

[22:08:08] jon@jon-desktop /home/jon/projects/nixpkgs (master)
$ git pull
Already up to date.
[22:08:28] jon@jon-desktop /home/jon/projects/nixpkgs (master)
$ nix-build -A steam
/nix/store/gh75yn9mamdp4368ydpm44w8zxg8fbm4-steam

@bbigras
Copy link
Contributor Author

bbigras commented Jan 19, 2021

My bad. It was something on my side.

Just in case someone search on google, it was related to something in:

let
 qemu-aarch64-static = pkgs.stdenv.mkDerivation {
   name = "qemu-aarch64-static";

   src = builtins.fetchurl {
     url = "https://github.com/multiarch/qemu-user-static/releases/download/v5.2.0-2/qemu-aarch64-static";
     sha256 = "0v1c8nchf5s7db11spixp2gsp94018ig7nz2ha1f4bngr0bgbk92";
   };

   dontUnpack = true;
   installPhase = "install -D -m 0755 $src $out/bin/qemu-aarch64-static";
 };
in
{
# [...]

  boot.binfmt.registrations.aarch64 = {
   interpreter = "${qemu-aarch64-static}/bin/qemu-aarch64-static";
   magicOrExtension = ''\x7fELF\x02\x01\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00\xb7\x00'';
   mask = ''\xff\xff\xff\xff\xff\xff\xff\x00\xff\xff\xff\xff\xff\xff\x00\xff\xfe\xff\xff\xff'';
  };
  nix.extraOptions = ''
    extra-platforms = aarch64-linux
  '';
  nix.sandboxPaths = [ "/run/binfmt/aarch64=${qemu-aarch64-static}/bin/qemu-aarch64-static" ];
}

@bbigras bbigras closed this as completed Jan 19, 2021
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

2 participants