Skip to content

Can't rebuild GCC 12.2.0 module #61

@Flamefire

Description

@Flamefire

When doing eb GCCcore-12.2.0.eb --module-only --rebuild the EESSI hook fails the installation:

== FAILED: Installation ended unsuccessfully: Cannot restore module_only to it's original value: 'self' is missing attribute orig_module_only. (took 2 secs)

See

raise EasyBuildError("Cannot restore module_only to it's original value: 'self' is missing attribute %s.",

That attribute is set in the pre_fetch_hook which isn't executed for module-only builds.

The ready hook(s) seem to be executed so maybe it is possible to set the attribute there if it hasn't already been set or simply don't fail when it isn't set which is an indicator the option wasn't changed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions