On 09/06/15 13:49, Niek de Klein wrote:
Hello Oliver,

I'm not part of the EasyBuild team but I think I see what goes wrong.
I think you forgot to add the easyblock name. What is the class name
you used in FastQC.py? For example, if in FastQC.py, under the imports
you have

class EB_FastQC(EasyBlock):
    ...

You should add

easyblock = 'EB_FastQC'

in your FastQC-0.11.3.eb.

If no easyblock specification is given, EasyBuild will try to find the easyblock that matches the software name.

Assuming the easyconfig file contains "name = 'FastQC' ", EB should be looking for EB_FastQC by itself.

The error message shown below only mentions that the automagic fallback to ConfigureMake is no longer there.

Oliver: if the information you've provided is complete, you're missing an __init__.py file in the 'easybuild' directory too (that includes the 'extend_path' statement mentioned in the documentation.


regards,

Kenneth

Hope this helps,
Niek

On Tue, Jun 9, 2015 at 1:43 PM, Stolpe, Oliver <[email protected]> wrote:
Hello Mailinglist,

I wanted to setup my own EasyBlock repository. I followed the instructions
from
<https://github.com/hpcugent/easybuild/wiki/Setting-up-your-own-easyblocks-repository>.
Somehow it ignores my easyblock when I try to execute the config file. Any
help is appreciated!

Cheers,
   Oliver

This is what I got:

/tools/easybuild.local/easybuild/easyblocks
/tools/easybuild.local/easybuild/easyblocks/FastQC.py
/tools/easybuild.local/easybuild/easyblocks/__init__.py

$ echo $PYTHONPATH
/tools/easybuild/software/EasyBuild/2.1.1/lib/python2.7/site-packages:/tools/easybuild.local

$ head FastQC-0.11.3.eb
name = 'FastQC'
version = '0.11.3'

homepage = 'http://www.bioinformatics.babraham.ac.uk/projects/fastqc'

$ eb FastQC-0.11.3.eb
== temporary log file in case of crash /tmp/eb-hJyLxt/easybuild-NGWQ6S.log
ERROR: Failed to process easyconfig
/tools/easybuild.local/easyconfigs/f/FastQC/FastQC-0.11.3.eb: NO LONGER
SUPPORTED since v2.0: Fallback to default easyblock ConfigureMake (from
easybuild.easyblocks.generic.configuremake); use "easyblock =
'ConfigureMake'" in easyconfig file?; see
http://easybuild.readthedocs.org/en/latest/Deprecated-functionality.html for
more information

Reply via email to