question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

mambabuild fails for OSX cross compilation

See original GitHub issue

Issue: It seems that OSX cross compilation isn’t pulling in the right dependency.

This leads to rather strange errors: https://github.com/mamba-org/boa/issues/199

I suspect that it will happen for other cross compilations, but for now, I feel like it would help many people if at least for OSX, mambabuild was disabled.

https://github.com/conda-forge/pytorch-cpu-feedstock/pull/70

    mamba-0.17.0               |   py39hb671511_0         785 KB  conda-forge
    conda-build-3.21.4         |   py39h6e9494a_0         555 KB  conda-forge
    conda-env-2.6.0            |                1           2 KB  conda-forge
    conda-forge-ci-setup-3.15.0|   py39hb0a6171_0          41 KB  conda-forge

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
wolfvcommented, Oct 24, 2021

One other fix that works here: https://github.com/conda-forge/libignition-rendering4-feedstock/pull/32/files#diff-d10439659fe44156d9eac347f9e9eb6992e5b516d0f7e86df061c8273397fd7dR62

Is to use export CONDA_OVERRIDE_OSX=11.0 (or the version required by MACOSX_DEPLOYMENT_TARGET).

I am looking for the place where conda-build is overriding these values but still can’t find it.

0reactions
hmaarrfkcommented, Oct 25, 2021

nixe find!

Read more comments on GitHub >

github_iconTop Results From Across the Web

mambabuild – check virtual packages when cross-compiling ...
It looks like in this build: conda-forge/libignition-rendering4-feedstock#31 we did not use / set the proper __osx virtual package as ...
Read more >
conda-forge/conda-forge.github.io - Gitter
Hello! I posted a question here yesterday about having trouble with FindPython when cross compiling for osx-arm64, I now tried to work around...
Read more >
The boa recipe spec — documentation
The compiler function takes c , cxx , fortran and other values as argument and automatically selects the right (cross-)compiler for the target...
Read more >
Announcements — conda-forge 2022.12.21 documentation
Azure is removing their OSX 10.15 VM image and so we are bumping to 11. ... Cross-compilers are available as well for resource-intensive...
Read more >
The first two weeks with the Apple M1 - - Uwe's Blog
While these are not the same of macOS-on-ARM64, it relieves a bit of the ... packages on the M1, before that only cross-compilation...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found