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

OSX Installation Issues - exited with status error 1 #238

Closed
zhemingfan opened this issue Mar 2, 2021 · 6 comments · Fixed by #267
Closed

OSX Installation Issues - exited with status error 1 #238

zhemingfan opened this issue Mar 2, 2021 · 6 comments · Fixed by #267
Assignees
Labels
Milestone

Comments

@zhemingfan
Copy link
Collaborator

Describe the bug

To Reproduce
Steps to reproduce the behavior:

  1. After following installation instructions for blat and create a separate python virtual environment:
  2. See error ...
    error.txt

Expected behavior
Complete installation of MAVIS with expected output.

Configuration
If applicable, include the mavis configuration file that was used to run the pipeline

Versions (please complete the following information):

Additional context
Add any other context about the problem here.

@zhemingfan zhemingfan added the bug label Mar 2, 2021
@zhemingfan zhemingfan changed the title Installation Issues Installation Issues - exited with status error 1 Mar 2, 2021
@creisle
Copy link
Member

creisle commented Mar 2, 2021

This looks like a compiler error. OSX uses a different compiler by default than linux distributions. Could you post the version of that? gcc --version

Did you update setuptools and pip before installing? Newer versions of those install pre-compiled binaries where possible which often allows you to bypass compilation problems

@zhemingfan
Copy link
Collaborator Author

pip install --upgrade pip setuptools prior to installation

setuptools version: 54.0.0

pip version: pip 21.0.1

Gcc version output:

Configured with: --prefix=/Library/Developer/CommandLineTools/usr --with-gxx-include-dir=/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/c++/4.2.1
Apple clang version 12.0.0 (clang-1200.0.32.27)
Target: x86_64-apple-darwin19.6.0
Thread model: posix
InstalledDir: /Library/Developer/CommandLineTools/usr/bin

@creisle creisle changed the title Installation Issues - exited with status error 1 OSX Installation Issues - exited with status error 1 Mar 4, 2021
@creisle
Copy link
Member

creisle commented Mar 4, 2021

MAVIS is primarily developed for linux, although I have tested it on some OSX environments. The issue here appears to be happening during installing pysam. It doesn't have a pre-compiled binary for your OS and so it attempts to compile it from scratch, but b/c OSX uses a non-standard compiler (clang instead of gcc) it is running into issues

@creisle
Copy link
Member

creisle commented Mar 4, 2021

Python 3.9 is super new so it might not have all the pre-compiled verisons yet, could you try with a lower python version? perhaps 3.8 or 3.7?

@creisle
Copy link
Member

creisle commented Mar 4, 2021

Ok I have been able to reproduce a similar error on ubuntu with python3.9 + pysam so it may not be a OS issue. We will look into this further. @calchoo we froze pysam at 0.15.1 because of breaking changes in 0.15.2, do you remember what those were? have they been fixed?

@zhemingfan
Copy link
Collaborator Author

Okay great thanks!

@creisle creisle added this to the v3.0.0 milestone Apr 28, 2021
@creisle creisle linked a pull request Jan 4, 2022 that will close this issue
@creisle creisle closed this as completed Feb 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants