Skip to content

extract_cmd is not taken into account in exts_list #3471

@hajgato

Description

@hajgato

Trying to fix issue easybuilders/easybuild-easyconfigs#10629, but it seems that extract_cmd and start_dir is not taken into account. The relevant code from R-4.0.0-foss-2020a.eb:

    ('h2o', '3.30.0.1', {
        'source_urls': ['http://h2o-release.s3.amazonaws.com/h2o/rel-zahradnik/1'],
        'source_tmpl': SOURCE_ZIP,
        'extract_cmd': 'unzip -qq %s && tar zxf h2o-*/R/h2o*.tar.gz',
        'start_dir': 'h2o',
        'checksums': ['eafa8687894640db3300e48581617538b3f664a11a042661552b3c132d3a4e77'],
    }),

The relevant log:

= 2020-10-16 15:33:54,627 run.py:203 DEBUG run_cmd: running cmd unzip -qq /apps/gent/source/r/R/extensions/h2o-3.30.0.1.zip (in /tmp/vsc40003/easybuild/R/4.0.0/foss-2020a/h2o)
== 2020-10-16 15:33:54,627 run.py:222 INFO running cmd: unzip -qq /apps/gent/source/r/R/extensions/h2o-3.30.0.1.zip
== 2020-10-16 15:33:57,168 run.py:540 DEBUG cmd "unzip -qq /apps/gent/source/r/R/extensions/h2o-3.30.0.1.zip" exited with exit code 0 and output:

Tried with 'sources': [SOURCE_ZIP] as well, but I got the same problem.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions