Hi,
Seems like you have two versions of ncurses in the build.
I would say that one  package is puting a different version of ncurses into
the build. You need to find it, a dry run or greping into the easyconfig
tree, can point out who the culprit is and then update its dependencies.

HTH

El dv., 8 d’ag. 2025, 15:29, <[email protected]> va escriure:

>
> Hi
>
> I have a weird issue that happens from time to time involving ncurses
> (modules conflict), when installing some packages; the bypass I found
> is adding --skip-sanity-check to the package.
>
> Can somebody help me to fix this issue for good? I'm not comfortable
> to skip the sanity check every time I got the error.
>
> e.g.
>
> eb --robot git-2.41.0-GCCcore-12.3.0-nodocs.eb
>
> == 2025-08-05 12:01:39,770 run.py:601 INFO Shell command completed
> successfully (see output above): file
>
> /encs/pkg/EasyBuild/root/software/git/2.41.0-GCCcore-12.3.0-nodocs/bin/git-cvsserver
> == 2025-08-05 12:01:39,770 run.py:489 INFO Path to bash that will be
> used to run shell commands: /encs/bin/bash
> == 2025-08-05 12:01:39,770 run.py:500 INFO Running shell command 'file
> /encs/pkg/EasyBuild/root/software/git/2.41.0-GCCcore-12.3.0-nodocs/bin/gitk'
>
> in /disk/nobackup/git/2.41.0/GCCcore-12.3.0-nodocs/git-2.41.0
> == 2025-08-05 12:01:39,787 run.py:598 INFO Output of 'file ...' shell
> command (stdout + stderr):
> /encs/pkg/EasyBuild/root/software/git/2.41.0-GCCcore-12.3.0-nodocs/bin/gitk:
>
> POSIX shell script, UTF-8 Unicode text executable
>
> == 2025-08-05 12:01:39,787 run.py:601 INFO Shell command completed
> successfully (see output above): file
> /encs/pkg/EasyBuild/root/software/git/2.41.0-GCCcore-12.3.0-nodocs/bin/gitk
> == 2025-08-05 12:01:39,791 build_log.py:226 ERROR EasyBuild
> encountered an error (at easybuild/tools/build_log.py:166 in
> caller_info): Sanity check failed: loading fake module failed:
> "ncurses/6.3(30):ERROR:150: Module 'ncurses/6.3' conflicts with the
> currently loaded module(s) 'ncurses/6.4'" (at
> easybuild/framework/easyblock.py:4358 in _sanity_check_step)
>
> eb GObject-Introspection-1.76.1-GCCcore-12.3.0.eb --robot
>
> == 2025-08-06 09:07:40,679 run.py:601 INFO Shell command completed
> successfully (see output above): file
>
> /encs/pkg/EasyBuild/root/software/GObject-Introspection/1.76.1-GCCcore-12.3.0/lib64/
> libgirepository-1.0.so
> == 2025-08-06 09:07:40,683 build_log.py:226 ERROR EasyBuild
> encountered an error (at easybuild/tools/build_log.py:166 in
> caller_info): Sanity check failed: loading fake module failed:
> "ncurses/6.3(30):ERROR:150: Module 'ncurses/6.3' conflicts with the
> currently loaded module(s) 'ncurses/6.4'" (at
> easybuild/framework/easyblock.py:4358 in _sanity_check_step)
>
> eb --robot Qt5-5.15.10-GCCcore-12.3.0.eb
>
> * [FAILED]  Compiler/GCCcore/12.3.0/Qt5/5.15.10
> ERROR: Installation of Qt5-5.15.10-GCCcore-12.3.0.eb failed:
> "ncurses/6.4(30):ERROR:150: Module 'ncurses/6.4' conflicts with the
> currently loaded module(s) 'ncurses/6.3'"
>
> Those are some examples, it happens with some packages.
>
> This is EasyBuild 5.1.0 (framework: 5.1.0, easyblocks: 5.1.0)
> setenv EASYBUILD_MODULE_NAMING_SCHEME "HierarchicalMNS"
> OS: Alma 9.6
>
> Thanks
> --
> -----------------------------------------------------------------------
> Carlos Alarcon Meza                         [email protected]
> Systems Administrator                       AITS Research Support & HPC
> Gina Cody School of Engineering & Computer Science Concordia University
> -----------------------------------------------------------------------
>
>

Reply via email to