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

Add Legacy blast #37

Merged
merged 2 commits into from
Nov 26, 2015
Merged

Add Legacy blast #37

merged 2 commits into from
Nov 26, 2015

Conversation

colinbrislawn
Copy link
Contributor

Addresses #10. Comments welcome!

@colinbrislawn
Copy link
Contributor Author

The Windows version is distributed in an executable archive. So I have to have a way to run it / extract it from the command line in build.bat. I'll look into this in anticipation of #13.

@colinbrislawn
Copy link
Contributor Author

Extracting from .exe files from linux terminal. http://superuser.com/a/737244
Extracting from .exe files from Windows CLI: https://support.microsoft.com/en-us/kb/912203

@colinbrislawn
Copy link
Contributor Author

This builds fine on Linux. The OSX version is failing strangely...
https://travis-ci.org/biocore/conda-recipes/jobs/90787082

Suggestions?

@colinbrislawn
Copy link
Contributor Author

Changed name to blast-legacy to address #38

@colinbrislawn
Copy link
Contributor Author

@Jorge-C, any ideas why this may be failing only on OSX? I'm at a loss.

@Jorge-C
Copy link
Member

Jorge-C commented Nov 13, 2015

After inspecting the log, it may be a conda bug? I opened an issue in their repo.

Fixing permissions
An unexpected error has occurred, please consider sending the
following traceback to the conda GitHub issue tracker at:
    https://github.com/conda/conda-build/issues
Include the output of the command 'conda info' in your report.
Traceback (most recent call last):
  File "/Users/travis/miniconda/bin/conda-build", line 5, in <module>
    sys.exit(main())
  File "/Users/travis/miniconda/lib/python3.5/site-packages/conda_build/main_build.py", line 190, in main
    args_func(args, p)
  File "/Users/travis/miniconda/lib/python3.5/site-packages/conda_build/main_build.py", line 468, in args_func
    args.func(args, p)
  File "/Users/travis/miniconda/lib/python3.5/site-packages/conda_build/main_build.py", line 391, in execute
    override_channels=args.override_channels, include_recipe=args.include_recipe)
  File "/Users/travis/miniconda/lib/python3.5/site-packages/conda_build/build.py", line 466, in build
    post_build(m, sorted(files2 - files1))
  File "/Users/travis/miniconda/lib/python3.5/site-packages/conda_build/post.py", line 355, in post_build
    mk_relative(m, f)
  File "/Users/travis/miniconda/lib/python3.5/site-packages/conda_build/post.py", line 324, in mk_relative
    mk_relative_osx(path)
  File "/Users/travis/miniconda/lib/python3.5/site-packages/conda_build/post.py", line 244, in mk_relative_osx
    s = macho.install_name_change(path, osx_ch_link)
  File "/Users/travis/miniconda/lib/python3.5/site-packages/conda_build/macho.py", line 88, in install_name_change
    for link in otool(path):
  File "/Users/travis/miniconda/lib/python3.5/site-packages/conda_build/macho.py", line 62, in otool
    assert line[0] == '\t', path
AssertionError: /Users/travis/miniconda/envs/_build/bin/bl2seq
Traceback (most recent call last):
  File "ci/main.py", line 138, in <module>
    build_upload_recipes(sys.argv[1], sys.argv[2])
  File "ci/main.py", line 45, in build_upload_recipes
    build(root)
  File "ci/main.py", line 67, in build
    check_call(build_cmd, shell=True)
  File "/Users/travis/miniconda/lib/python3.5/subprocess.py", line 584, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command 'conda build "recipes/legacyblast"' returned non-zero exit status 1

The command "python ci/main.py recipes biocore" exited with 1.

@colinbrislawn
Copy link
Contributor Author

Thanks! 😄

@colinbrislawn
Copy link
Contributor Author

Build works and commits have been squashed. @Jorge-C @RNAer, merge me!

script:
- mkdir -p "$PREFIX/bin" # [osx or linux64]
- mv -v $SRC_DIR/bin/* $PREFIX/bin # [linux64]
- ditto --rsrc -v --arch i386 $SRC_DIR/bin/* $PREFIX/bin # [osx]
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you please add a comment mentioning the conda issue that this works around? Thanks!

@Jorge-C
Copy link
Member

Jorge-C commented Nov 25, 2015

Minor request before merging :)

@RNAer
Copy link
Collaborator

RNAer commented Nov 25, 2015

👍

@colinbrislawn
Copy link
Contributor Author

Done!

Jorge-C added a commit that referenced this pull request Nov 26, 2015
@Jorge-C Jorge-C merged commit 6aa2dac into biocore:master Nov 26, 2015
@Jorge-C
Copy link
Member

Jorge-C commented Nov 26, 2015

Thank you! Happy Thanksgiving!!

@colinbrislawn
Copy link
Contributor Author

Thanks. Happy Thanksgiving! 🐔 :sad_no_turkey_emoji:

@colinbrislawn colinbrislawn deleted the legacyblast branch November 26, 2015 23:50
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

Successfully merging this pull request may close these issues.

3 participants