easybuilders / easybuild-easyconfigs

A collection of easyconfig files that describe which software to build using which build options with EasyBuild.

Home Page:https://easybuild.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Failed to find required EasyBuild package easybuild-framework

marctormo opened this issue · comments

Hi there!

I'm trying to update the eb version in our cluster, but I'm getting the following error:

$ eb --install-latest-eb-release
== Temporary log file in case of crash /homes/aplic/tmp/easybuild-SvJ2Bd.log


!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!! Running EasyBuild with Python v2.x is deprecated, found Python v2.7.5.                      !!!
!!! Support for running EasyBuild with Python v2.x will be removed in EasyBuild v5.0.           !!!
!!!                                                                                             !!!
!!! It is strongly recommended to start using Python v3.x for running EasyBuild,                !!!
!!! see https://docs.easybuild.io/en/latest/Python-2-3-compatibility.html for more information. !!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!


== found valid index for /homes/aplic/noarch/software/EasyBuild/4.9.1/easybuild/easyconfigs, so using it...
== processing EasyBuild easyconfig /tmp/eb-BRm_f_/tmp9LqLnp/easybuilders/easybuild-easyconfigs-develop/easybuild/easyconfigs/e/EasyBuild/EasyBuild-4.9.2.eb
== building and installing EasyBuild/4.9.2...
== fetching files...
== creating build dir, resetting environment...
== ... (took 51 secs)
== unpacking...
== ... (took 22 secs)
== patching...
== preparing...
== ... (took 2 secs)
== configuring...
== building...
== testing...
== installing...
== FAILED: Installation ended unsuccessfully (build directory: /homes/aplic/noarch/build/EasyBuild/4.9.2/system-system): build failed (first 300 chars): Failed to find required EasyBuild package easybuild-framework (subdirs: ['easybuild_framework-4.9.2', 'easybuild_easyblocks-4.9.2', 'easybuild_easyconfigs-4.9.2'], seldirs: []) (took 1 min 17 secs)
== Results of the build can be found in the log file(s) /homes/aplic/tmp/easybuild-EasyBuild-4.9.2-20240613.120927.HyQZT.log
ERROR: Build of /tmp/eb-BRm_f_/tmp9LqLnp/easybuilders/easybuild-easyconfigs-develop/easybuild/easyconfigs/e/EasyBuild/EasyBuild-4.9.2.eb failed (err: "build failed (first 300 chars): Failed to find required EasyBuild package easybuild-framework (subdirs: ['easybuild_framework-4.9.2', 'easybuild_easyblocks-4.9.2', 'easybuild_easyconfigs-4.9.2'], seldirs: [])")

Do you have any clues on what's happening?

Thank you very much,
Marc

Hi Marc,

It was a known issue, and some more details and a fix were provided in easybuilders/easybuild-easyblocks#3358, but that requires you to do eb --install-latest-eb-release --include-easyblocks-from-pr 3358.

However, a better fix was just merged in #20818, and this should allow you to just use eb --install-latest-eb-release again. Please give it a try, the --install-latest-eb-release option should make sure that it automatically pulls in this updated easyconfig for version 4.9.2.

Great, thanks a lot!