easybuilders / easybuild

EasyBuild - building software with ease
http://easybuild.io
GNU General Public License v2.0
466 stars 143 forks source link

Unable to build GCCcore 11.2.0 #850

Closed cosmicbeams closed 1 year ago

cosmicbeams commented 1 year ago

eb --configfiles=ebfiles_repo/config-dev.cfg /opt/ebsofts/EasyBuild/4.6.0/easybuild/easyconfigs/p/PyQt5/PyQt5-5.15.4-GCCcore -11.2.0.eb --robot

== Temporary log file in case of crash /tmp/eb-76gizzfe/easybuild-3g2wwkn8.log
== found valid index for /opt/ebsofts/EasyBuild/4.6.0/easybuild/easyconfigs, so using it...
== found valid index for /opt/ebsofts/EasyBuild/4.6.0/easybuild/easyconfigs, so using it...
== resolving dependencies ...
== processing EasyBuild easyconfig /opt/ebsofts/EasyBuild/4.6.0/easybuild/easyconfigs/g/GCCcore/GCCcore-11.2.0.eb
== building and installing Core/GCCcore/11.2.0...
== fetching files...
== creating build dir, resetting environment...
== starting iteration #0 ...
== unpacking...
== FAILED: Installation ended unsuccessfully (build directory: /dev/shm/ebbuild/GCCcore/11.2.0/system-system): build failed (first 300 chars): Checksum verification for /home/projects/eb_soft/opt/cluster/easybuild/ebfiles_repo/g/GCCcore/nvptx-tools-20210115.tar.gz using 466abe1cef9cf294318ecb3c221593356f7a9e1674be987d576bc70d833d84a2 failed. (took 1 secs)
== Results of the build can be found in the log file(s) /tmp/eb-76gizzfe/easybuild-GCCcore-11.2.0-20230111.105403.kvxML.log
ERROR: Build of /opt/ebsofts/EasyBuild/4.6.0/easybuild/easyconfigs/g/GCCcore/GCCcore-11.2.0.eb failed (err: 'build failed (first 300 chars): Checksum verification for /home/projects/eb_soft/opt/cluster/easybuild/ebfiles_repo/g/GCCcore/nvptx-tools-20210115.tar.gz using 466abe1cef9cf294318ecb3c221593356f7a9e1674be987d576bc70d833d84a2 failed.')

cat /home/projects/eb_soft/opt/cluster/easybuild/ebfiles_repo/g/GCCcore/nvptx-tools-20210115.tar.gz

<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<HTML><HEAD><TITLE>Directory /pub/gcc/infrastructure/d0524fb.tar.gz at gcc.gnu.org </TITLE><BASE HREF="ftp://gcc.gnu.org/pub/gcc/infrastructure/d0524fb.tar.gz/"></HEAD><BODY><H1>Directory /pub/gcc/infrastructure/d0524fb.tar.gz at gcc.gnu.org</H1>
<p><a href="..">Up to higher level directory</a></p>
<table><thead><tr><th>Last Modified</th><th>Size</th><th>Name</th></tr></thead><tbody>
</tbody></table></body></html>
ocaisa commented 1 year ago

Hmm, this seems to not be returning an error when failing with the GCC link. The correct URL is https://github.com/MentorEmbedded/nvptx-tools/archive/d0524fb.tar.gz (which is an option that would be tried later after the GCC ones failed). You can manually replace the file at /home/projects/eb_soft/opt/cluster/easybuild/ebfiles_repo/g/GCCcore/nvptx-tools-20210115.tar.gz with the contents from that URL and the build should proceed

cosmicbeams commented 1 year ago

Thanks a lot for your help, it works. Any update scheduled on the Core/GCCcore/11.2.0 eb file ?

ocaisa commented 1 year ago

That's already included, you should update your EasyBuild version:

eb --install-latest-eb-release
module load EasyBuild

(see https://docs.easybuild.io/en/latest/Installation.html#step-2-using-easybuild-to-install-easybuild)

cosmicbeams commented 1 year ago

Thanks, I'm closing the ticket.