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

Building on Mac OS #18

Closed
lostman opened this issue Jun 4, 2018 · 0 comments
Closed

Building on Mac OS #18

lostman opened this issue Jun 4, 2018 · 0 comments

Comments

@lostman
Copy link

lostman commented Jun 4, 2018

I tried building 7386409 on Mac OS but it didn't succeed:

❯ nix-build --show-trace
error: while evaluating the attribute 'nixpkgsWasm.clangCross.cc' at /nix/store/lddxm6bb0v9fnj29av8bqxslnx8vcyaq-source/cross.nix:118:16:
while evaluating 'mkClang' at /nix/store/lddxm6bb0v9fnj29av8bqxslnx8vcyaq-source/cross.nix:34:15, called from /nix/store/lddxm6bb0v9fnj29av8bqxslnx8vcyaq-source/cross.nix:96:18:
while evaluating 'wrapCCWith' at /nix/store/lddxm6bb0v9fnj29av8bqxslnx8vcyaq-source/nixpkgs/pkgs/top-level/all-packages.nix:6874:16, called from /nix/store/lddxm6bb0v9fnj29av8bqxslnx8vcyaq-source/cross.nix:34:64:
while evaluating 'callPackageWith' at /nix/store/lddxm6bb0v9fnj29av8bqxslnx8vcyaq-source/nixpkgs/lib/customisation.nix:113:35, called from /nix/store/lddxm6bb0v9fnj29av8bqxslnx8vcyaq-source/nixpkgs/pkgs/top-level/all-packages.nix:6875:7:
while evaluating 'makeOverridable' at /nix/store/lddxm6bb0v9fnj29av8bqxslnx8vcyaq-source/nixpkgs/lib/customisation.nix:72:24, called from /nix/store/lddxm6bb0v9fnj29av8bqxslnx8vcyaq-source/nixpkgs/lib/customisation.nix:117:8:
while evaluating anonymous function at /nix/store/lddxm6bb0v9fnj29av8bqxslnx8vcyaq-source/nixpkgs/pkgs/build-support/cc-wrapper/default.nix:8:1, called from /nix/store/lddxm6bb0v9fnj29av8bqxslnx8vcyaq-source/nixpkgs/lib/customisation.nix:74:12:
while evaluating the attribute 'stdenv' of the derivation 'musl-wasm32-unknown-unknown-wasm' at /nix/store/l3ayhq3pa5zf1wxwsyw7c5ybyd0vffck-nixpkgs/pkgs/stdenv/generic/make-derivation.nix:148:11:
while evaluating the attribute 'defaultNativeBuildInputs' of the derivation 'stdenv-darwin' at /nix/store/l3ayhq3pa5zf1wxwsyw7c5ybyd0vffck-nixpkgs/pkgs/stdenv/generic/default.nix:72:14:
while evaluating the attribute 'bintools' of the derivation 'wasm32-unknown-unknown-wasm-clang-cross-wrapper' at /nix/store/l3ayhq3pa5zf1wxwsyw7c5ybyd0vffck-nixpkgs/pkgs/stdenv/generic/make-derivation.nix:148:11:
while evaluating the attribute 'bintools_bin' of the derivation 'wasm32-unknown-unknown-wasm-llvm-binutils-wrapper-7.0.0' at /nix/store/l3ayhq3pa5zf1wxwsyw7c5ybyd0vffck-nixpkgs/pkgs/stdenv/generic/make-derivation.nix:148:11:
while evaluating the attribute 'buildCommand' of the derivation 'llvm-binutils-7.0.0' at /nix/store/l3ayhq3pa5zf1wxwsyw7c5ybyd0vffck-nixpkgs/pkgs/stdenv/generic/make-derivation.nix:148:11:
while evaluating the attribute 'buildInputs' of the derivation 'lld' at /nix/store/l3ayhq3pa5zf1wxwsyw7c5ybyd0vffck-nixpkgs/pkgs/stdenv/generic/make-derivation.nix:148:11:
while evaluating the attribute 'buildInputs' of the derivation 'llvm' at /nix/store/l3ayhq3pa5zf1wxwsyw7c5ybyd0vffck-nixpkgs/pkgs/stdenv/generic/make-derivation.nix:148:11:
while evaluating the attribute 'buildInputs' of the derivation 'cmake-3.10.2' at /nix/store/l3ayhq3pa5zf1wxwsyw7c5ybyd0vffck-nixpkgs/pkgs/stdenv/generic/make-derivation.nix:148:11:
while evaluating the attribute 'buildInputs' of the derivation 'libarchive-3.3.2' at /nix/store/l3ayhq3pa5zf1wxwsyw7c5ybyd0vffck-nixpkgs/pkgs/stdenv/generic/make-derivation.nix:148:11:
while evaluating the attribute 'buildInputs' of the derivation 'libxml2-2.9.7' at /nix/store/l3ayhq3pa5zf1wxwsyw7c5ybyd0vffck-nixpkgs/pkgs/stdenv/generic/make-derivation.nix:148:11:
while evaluating the attribute 'C_INCLUDE_PATH' of the derivation 'python-2.7.14' at /nix/store/l3ayhq3pa5zf1wxwsyw7c5ybyd0vffck-nixpkgs/pkgs/stdenv/generic/make-derivation.nix:148:11:
while evaluating the attribute 'C_INCLUDE_PATH' at /nix/store/lddxm6bb0v9fnj29av8bqxslnx8vcyaq-source/nixpkgs/pkgs/development/interpreters/python/cpython/2.7/default.nix:162:5:
while evaluating 'makeSearchPathOutput' at /nix/store/l3ayhq3pa5zf1wxwsyw7c5ybyd0vffck-nixpkgs/lib/strings.nix:94:42, called from /nix/store/lddxm6bb0v9fnj29av8bqxslnx8vcyaq-source/nixpkgs/pkgs/development/interpreters/python/cpython/2.7/default.nix:162:22:
while evaluating 'makeSearchPath' at /nix/store/l3ayhq3pa5zf1wxwsyw7c5ybyd0vffck-nixpkgs/lib/strings.nix:84:28, called from /nix/store/l3ayhq3pa5zf1wxwsyw7c5ybyd0vffck-nixpkgs/lib/strings.nix:94:48:
while evaluating anonymous function at /nix/store/l3ayhq3pa5zf1wxwsyw7c5ybyd0vffck-nixpkgs/lib/strings.nix:85:32, called from undefined position:
while evaluating the attribute 'buildInputs' of the derivation 'CF-osx-10.10.5' at /nix/store/l3ayhq3pa5zf1wxwsyw7c5ybyd0vffck-nixpkgs/pkgs/stdenv/generic/make-derivation.nix:148:11:
while evaluating the attribute 'nativeBuildInputs' of the derivation 'ICU-osx-10.10.5' at /nix/store/l3ayhq3pa5zf1wxwsyw7c5ybyd0vffck-nixpkgs/pkgs/stdenv/generic/make-derivation.nix:148:11:
while evaluating 'getOutput' at /nix/store/l3ayhq3pa5zf1wxwsyw7c5ybyd0vffck-nixpkgs/lib/attrsets.nix:450:23, called from undefined position:
while evaluating anonymous function at /nix/store/l3ayhq3pa5zf1wxwsyw7c5ybyd0vffck-nixpkgs/pkgs/stdenv/generic/make-derivation.nix:90:17, called from undefined position:
while evaluating 'callPackageWith' at /nix/store/lddxm6bb0v9fnj29av8bqxslnx8vcyaq-source/nixpkgs/lib/customisation.nix:113:35, called from /nix/store/lddxm6bb0v9fnj29av8bqxslnx8vcyaq-source/nixpkgs/pkgs/top-level/darwin-packages.nix:23:13:
while evaluating 'makeOverridable' at /nix/store/lddxm6bb0v9fnj29av8bqxslnx8vcyaq-source/nixpkgs/lib/customisation.nix:72:24, called from /nix/store/lddxm6bb0v9fnj29av8bqxslnx8vcyaq-source/nixpkgs/lib/customisation.nix:117:8:
while evaluating anonymous function at /nix/store/lddxm6bb0v9fnj29av8bqxslnx8vcyaq-source/nixpkgs/pkgs/os-specific/darwin/cctools/port.nix:1:1, called from /nix/store/lddxm6bb0v9fnj29av8bqxslnx8vcyaq-source/nixpkgs/lib/customisation.nix:74:12:
assertion failed at /nix/store/lddxm6bb0v9fnj29av8bqxslnx8vcyaq-source/nixpkgs/pkgs/os-specific/darwin/cctools/port.nix:15:1

I also tried an earlier version 0094834:

error: infinite recursion encountered, at undefined position

Is it possible to make wasm-cross work on Mac?

matthewbauer added a commit to matthewbauer/wasm-cross that referenced this issue Jan 27, 2019
@lostman lostman closed this as completed May 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant