Skip to content

easybuild using system cmake #4134

Open
@LukeLabrie

Description

@LukeLabrie

When I run

eb ~/.local/easybuild/easyconfigs/l/libjpeg-turbo/libjpeg-turbo-2.1.3-GCCcore-11.3.0.eb --robot

I get the following error:

cmake: ~/.local/easybuild/software/GCCcore/11.3.0/lib64/libstdc++.so.6: version `GLIBCXX_3.4.30' not found (required by /usr/lib/libicuuc.so.72)
 (at easybuild/tools/run.py:641 in parse_cmd_output)

After some investigation, I realized that this is because when the cmake command is invoked, it's using /usr/bin/cmake, i.e. my system cmake (3.24.3). But you can see that in the easybuild file for libjpeg-turbo that it is explicitly specified to use 3.23.1, which would not require GLIBCXX_3.4.30 (see below from ~/.local/easybuild/easyconfigs/l/libjpeg-turbo/libjpeg-turbo-2.1.3-GCCcore-11.3.0.eb)

builddependencies = [
    ('CMake', '3.23.1'),
    ('binutils', '2.38'),
]

Any indication on whether this is a bug or just an issue with my implementation? This is a standard easyconfig file that ships with easybuild.

edit:

Perhaps what would help me would be an explanation of how, and in which scripts, the framework normally handles invocation of cmake within the module so I can poke around and see what's going on

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions