Open anutosh491 opened 1 month ago
Adapting the build script given on the feedstock might resolve the problem.
Adapting the build script given on the feedstock might resolve the problem.
Looking into it :)
Also just confirmed the sdk I have been using. Feedstock says we need version 11 or above (the one I am using is 14.4
)
(base) anutosh491@Anutoshs-MacBook-Air SDKs % ls -l /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk
lrwxr-xr-x 1 root wheel 14 Sep 12 13:03 /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -> MacOSX14.4.sdk
Closing as everything boils down to these flags.
Simply making an executable called build.sh, copy pasting the contents from the build script and running it should solve the issues.
Interesting I realize that my error is not fully solved. I now face the SIGBUS errors
(mamba-dup) anutosh491@Anutoshs-MacBook-Air build % ./micromamba/micromamba info
zsh: bus error ./micromamba/micromamba info
(mamba-dup) anutosh491@Anutoshs-MacBook-Air build % ./libmamba/tests/test_libmamba
zsh: bus error ./libmamba/tests/test_libmamba
That being said, this still works
(mamba-dup) anutosh491@Anutoshs-MacBook-Air build % ./micromamba/mamba info
libmamba version : 2.0.2
mamba version : 2.0.2
curl version : libcurl/8.9.1 (OpenSSL/3.3.2) SecureTransport zlib/1.3.1 zstd/1.5.6 libssh2/1.11.0 nghttp2/1.58.0
libarchive version : libarchive 3.7.4 zlib/1.2.13 liblzma/5.2.6 bz2lib/1.0.8 liblz4/1.9.3 libzstd/1.5.6
envs directories : /Users/anutosh491/micromamba/envs
package cache : /Users/anutosh491/micromamba/pkgs
/Users/anutosh491/.mamba/pkgs
environment : mamba-dup (active)
env location : /Users/anutosh491/micromamba/envs/mamba-dup
user config files : /Users/anutosh491/.mambarc
populated config files : /Users/anutosh491/.condarc
virtual packages : __unix=0=0
__osx=14.5=0
__archspec=1=arm64
channels : https://conda.anaconda.org/conda-forge/noarch
https://conda.anaconda.org/conda-forge/osx-arm64
https://conda.anaconda.org/nodefaults/noarch
https://conda.anaconda.org/nodefaults/osx-arm64
base environment : /Users/anutosh491/micromamba
platform : osx-arm64
A relevant issue to what I am facing above is this https://github.com/mamba-org/mamba/issues/2174
Troubleshooting docs
Anaconda default channels
How did you install Mamba?
Micromamba
Search tried in issue tracker
Similar issue not found
Latest version of Mamba
Tried in Conda?
Not applicable
Describe your issue
I tried building micromamba from source on two relatively fresh MacOS devices and end up with the same error on both.
What I did 1) Cloned the repo 2) Installed micromamba using automatic install 3) setup the env
4) Executed the following
This tells me that is has something to do with
link.txt
might be framedThe file has a couple duplications like the compiler archiver, ranlib etc (don't think that should be an issue but ..) .Just keeping one instance of those and trying to build again I get
That being said I don't have any issues while executing a shared build (maybe through the following)
mamba info / micromamba info
Logs
No response
environment.yml
No response
~/.condarc