Dear Carlos,

this is most likely due to (build)dependencies of
git-2.41.0-GCCcore-12.3.0-nodocs.eb which have in turn a dependency to
different versions of ncurses. The way to resolve this is to 
eb -D git-2.41.0-GCCcore-12.3.0-nodocs.eb
and then try to figure out which dependencies include ncurses. Modify these
to all use the same version. 

I usually try to install modules without --robot in this case and install
the dependencies one by one. Not sure which is more work.

Best wishes
Stefan

--
Scientific Computing

Carl von Ossietzky University Oldenburg
School of Mathematics and Natural Sciences
26111 Oldenburg, Germany

Office: JJW 2-214
Phone: +49-441-798 3147
E-Mail: [email protected]
www: http://www.uni-oldenburg.de/fk5/wr

-----Ursprüngliche Nachricht-----
Von: [email protected] <[email protected]> Im
Auftrag von [email protected]
Gesendet: Freitag, 8. August 2025 15:05
An: [email protected]
Betreff: [easybuild] ncurses conflict - sanity check failed

ACHTUNG! Diese E-Mail kommt von Extern! WARNING! This email originated
off-campus.

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-c
vsserver
== 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
-----------------------------------------------------------------------

Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to