Skip to content

Instantly share code, notes, and snippets.

@xguse
Last active August 29, 2015 14:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save xguse/9ede2b5591ff2361caf6 to your computer and use it in GitHub Desktop.
Save xguse/9ede2b5591ff2361caf6 to your computer and use it in GitHub Desktop.
attempts to build Stacks-1.24 with bam- and sparsehash-functionality: and resulting errors
wd238 at compute-21-15 in ~ (py278)
$ eb $INSTALL_SCRIPTS/easybuild/Stacks-1.24-goolf-1.4.10-no-OFED.eb --robot
== temporary log file in case of crash /tmp/easybuild-uzU1kZ/easybuild-8yAfXh.log
== resolving dependencies ...
== processing EasyBuild easyconfig /home2/wd238/scripts/installs/easybuild/Stacks-1.24-goolf-1.4.10-no-OFED.eb
== building and installing Stacks/1.24-goolf-1.4.10-no-OFED...
== fetching files...
== creating build dir, resetting environment...
== unpacking...
== patching...
== preparing...
== configuring...
== building...
== testing...
== FAILED: Installation ended unsuccessfully (build directory: /home2/wd238/.local/easybuild/build/Stacks/1.24/goolf-1.4.10-no-OFED): build failed (first 300 chars): EasyBuild crashed with an error (at easybuild/software/EasyBuild/1.16.1/lib/python2.7/site-packages/easybuild_framework-1.16.1-py2.7.egg/easybuild/tools/run.py:382 in parse_cmd_output): cmd "make check" exited with exitcode 2 and output:
make check-TESTS
make[1]: Entering directory `/home2/wd238/.l
== Results of the build can be found in the log file /tmp/easybuild-uzU1kZ/easybuild-Stacks-1.24-20150122.152959.LKdJr.log
ERROR: EasyBuild crashed with an error (at easybuild/software/EasyBuild/1.16.1/lib/python2.7/site-packages/easybuild_framework-1.16.1-py2.7.egg/easybuild/main.py:138 in build_and_install_software): Build of /home2/wd238/scripts/installs/easybuild/Stacks-1.24-goolf-1.4.10-no-OFED.eb failed (err: 'build failed (first 300 chars): EasyBuild crashed with an error (at easybuild/software/EasyBuild/1.16.1/lib/python2.7/site-packages/easybuild_framework-1.16.1-py2.7.egg/easybuild/tools/run.py:382 in parse_cmd_output): cmd "make check" exited with exitcode 2 and output:\nmake check-TESTS\nmake[1]: Entering directory `/home2/wd238/.l')
# Built with EasyBuild version 1.16.1 on 2015-01-22_08-13-37
# Original file: /home/gus/remote_mounts/louise/.local/easybuild/ebfiles_repo/Stacks/Stacks-1.03-goolf-1.4.10-no-OFED.eb
# Tweaked by Gus Dun to install stacks-1.24
easyblock = 'ConfigureMake'
name = 'Stacks'
version = '1.24'
homepage = 'http://creskolab.uoregon.edu/stacks/'
description = """Stacks is a software pipeline for building loci from short-read sequences, such as those generated on
the Illumina platform. Stacks was developed to work with restriction enzyme-based data, such as RAD-seq, for the purpose
of building genetic maps and conducting population genomics and phylogeography.
"""
toolchain = {'name': 'goolf', 'version': '1.4.10-no-OFED'} # tweaked by EasyBuild (was: {'name': 'goolf', 'version': '1.4.10'})
source_urls = ['http://creskolab.uoregon.edu/stacks/source/']
sources = [SOURCELOWER_TAR_GZ]
configopts = ['--enable-sparsehash', '--enable-bam']
# buildopts = '-L/home2/wd238/.local/easybuild/software/zlib/1.2.7-goolf-1.4.10-no-OFED/lib:$LD_LIBRARY_PATH" '
# dependencies = [('SAMtools', '1.1'), ('google-sparsehash', '2.0.2')]
builddependencies = [('zlib', '1.2.7'), ('SAMtools', '1.1'), ('google-sparsehash', '2.0.2')]
runtest = "check"
sanity_check_paths = {
'files': [
'bin/%s' % binfile for binfile in [
'clone_filter', 'denovo_map.pl', 'exec_velvet.pl', 'genotypes', 'index_radtags.pl', 'load_radtags.pl',
'populations', 'process_shortreads', 'ref_map.pl', 'sstacks', 'ustacks', 'cstacks', 'estacks',
'export_sql.pl', 'hstacks', 'kmer_filter', 'load_sequences.pl', 'process_radtags', 'pstacks',
'sort_read_pairs.pl', 'stacks_export_notify.pl',
]
],
'dirs': [],
}
moduleclass = 'bio'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment