On 16/01/2020 16:28, Lars Viklund wrote:
Hi,

The file contains a file listing and is the result of https://isl.gforge.inria.fr/isl-0.20.tar.bz2 redirecting with a 302 to http://isl.gforce.inria.fr .

It seems like the site only offers downloads over plaintext, while someone changed the link to HTTPS in the easyconfig recently in https://github.com/easybuilders/easybuild-easyconfigs/commit/d93ef853012ef04e373cd19696e045408d8b5a8f

Ouch. That's hard to catch without forcibly re-downloading every time we touch source URLs (which I guess we should have done here).

I someone hits this:

* manually download with wget or curl from http://isl.gforge.inria.fr/isl-0.20.tar.bz2

* move the downloaded isl-0.20.tar.bz2 to the /path/to/sources/g/GCCcore/


The checksum in the easyconfig file is correct, but the auto-download is broken...

Follow-up in https://github.com/easybuilders/easybuild-easyconfigs/issues/9692 .

regards,

Kenneth

.

// Lars, HPC2N

On 1/16/20 4:05 PM, Jack Perdue wrote:
Howdy Kyle,

Why is your copy 17121 bytes while mine is
1727820 bytes?  Does your 'ls' list in kilobytes
instead of bytes?  If not, you might examine the
file (with 'file" and 'tar') to make sure it is a proper
.tar.bz2

Jack Perdue
Lead Systems Administrator
High Performance Research Computing
TAMU Division of Research
[email protected]    http://hprc.tamu.edu
HPRC Helpdesk: [email protected]

On 1/16/20 8:58 AM, Ole Holm Nielsen wrote:
Hi Jack,

Thanks for the feedback about checksums!  The current file isl-0.20.tar.bz2 which was downloaded by EB actually has a different checksum:

$ ls -l /groups/others/ohni/modules/sources/g/GCCcore/isl-0.20.tar.bz2
-rw-r--r-- 1 ohni others 17121 Jan 16 14:00 /groups/others/ohni/modules/sources/g/GCCcore/isl-0.20.tar.bz2

$ sha256sum /groups/others/ohni/modules/sources/g/GCCcore/isl-0.20.tar.bz2 c968e1f20d7e48c395a0779b6b07e2723f003b1330c6deeb606e7db96b2cf6a4 /groups/others/ohni/modules/sources/g/GCCcore/isl-0.20.tar.bz2

The official tar-ball (dated 2018-07-28) checksum has apparently changed:

$ wget https://urldefense.proofpoint.com/v2/url?u=https-3A__isl.gforge.inria.fr_isl-2D0.20.tar.bz2&d=DwIDaQ&c=u6LDEWzohnDQ01ySGnxMzg&r=UD4dX5dD4ItxaMGNLHFVyZf3g4OzoqMFXPVmX0_OlZo&m=jMKk-79uA8kJ-cMVMdrqCp2dvlh1IkBVVyxmIrFuimQ&s=a-NybRb3Dc48NxCaHwcAUcnZ5UJd8idGSH2eMDPKZmQ&e= $ sha256sum isl-0.20.tar.bz2 c968e1f20d7e48c395a0779b6b07e2723f003b1330c6deeb606e7db96b2cf6a4 isl-0.20.tar.bz2

So I guess the EB file GCCcore-8.2.0.eb needs to have the checksum updated?

Thanks,
Ole


On 1/16/20 3:29 PM, Jack Perdue wrote:
Howdy ,

The checksum given matches the  filie I have here:

$ sha256sum /sw/eb/sources/g/GCCcore/isl-0.20.tar.bz2
b587e083eb65a8b394e833dea1744f21af3f0e413a448c17536b5549ae42a4c2 /sw/eb/sources/g/GCCcore/isl-0.20.tar.bz2

but I downloaded that a year ago:

$ ls -al /sw/eb/sources/g/GCCcore/isl-0.20.tar.bz2
-rw-rw-r-- 1 j-perdue staff 1727820 Jan  2  2019 /sw/eb/sources/g/GCCcore/isl-0.20.tar.bz2

You might try downloading it again. (???)

Jack Perdue
Lead Systems Administrator
High Performance Research Computing
TAMU Division of Research
[email protected]    http://hprc.tamu.edu
HPRC Helpdesk: [email protected]

On 1/16/20 7:21 AM, Ole Holm Nielsen wrote:
I'm working on a remote system (CentOS 7.6) and have installed the latest EB 4.1.1.

When building the foss-2019a.eb toolchain I get a checksum error for isl-0.20.tar.bz2 when building GCCcore/8.2.0, please see log file lines below.

Is there a fix for this error?

Thanks,
Ole

== 2020-01-16 14:14:41,190 easyblock.py:2857 INFO Starting source step
== 2020-01-16 14:14:41,191 easyblock.py:2863 INFO Running method checksum_step part of step source == 2020-01-16 14:14:41,825 easyblock.py:1801 INFO Checksum verification for /groups/others/ohni/modules/sources/g/GCCcore/gcc-8.2.0.tar.gz using 1b0f36be1045ff58cbb9c83743835367b860810f17f0195a4e093458b372020f passed. == 2020-01-16 14:14:41,839 easyblock.py:1801 INFO Checksum verification for /groups/others/ohni/modules/sources/g/GCCcore/gmp-6.1.2.tar.bz2 using 5275bb04f4863a13516b2f39392ac5e272f5e1bb8057b18aec1c9b79d73d8fb2 passed. == 2020-01-16 14:14:41,848 easyblock.py:1801 INFO Checksum verification for /groups/others/ohni/modules/sources/g/GCCcore/mpfr-4.0.1.tar.bz2 using a4d97610ba8579d380b384b225187c250ef88cfe1d5e7226b89519374209b86b passed. == 2020-01-16 14:14:41,852 easyblock.py:1801 INFO Checksum verification for /groups/others/ohni/modules/sources/g/GCCcore/mpc-1.1.0.tar.gz using 6985c538143c1208dcb1ac42cedad6ff52e267b47e5f970183a3e75125b43c2e passed. == 2020-01-16 14:14:41,951 build_log.py:169 ERROR EasyBuild crashed with an error (at easybuild/base/exceptions.py:124 in __init__): Checksum verification for /groups/others/ohni/modules/sources/g/GCCcore/isl-0.20.tar.bz2 using b587e083eb65a8b394e833dea1744f21af3f0e413a448c17536b5549ae42a4c2 failed. (at easybuild/framework/easyblock.py:1805 in checksum_step) == 2020-01-16 14:14:41,952 easyblock.py:3109 WARNING build failed (first 300 chars): Checksum verification for /groups/others/ohni/modules/sources/g/GCCcore/isl-0.20.tar.bz2 using b587e083eb65a8b394e833dea1744f21af3f0e413a448c17536b5549ae42a4c2 failed. == 2020-01-16 14:14:41,952 easyblock.py:295 INFO Closing log for application name GCCcore version 8.2.0 == 2020-01-16 14:14:41,952 build_log.py:265 INFO FAILED: Installation ended unsuccessfully (build directory: /groups/others/ohni/modules/build/GCCcore/8.2.0/system-system): build failed (first 300 chars): Checksum verification for /groups/others/ohni/modules/sources/g/GCCcore/isl-0.20.tar.bz2 using b587e083eb65a8b394e833dea1744f21af3f0e413a448c17536b5549ae42a4c2 failed. (took 1 sec) == 2020-01-16 14:14:41,953 build_log.py:265 INFO Results of the build can be found in the log file(s) /tmp/eb-iti_1V/easybuild-GCCcore-8.2.0-20200116.141439.jMWZa.log == 2020-01-16 14:14:41,954 build_log.py:169 ERROR EasyBuild crashed with an error (at easybuild/base/exceptions.py:124 in __init__): build failed (first 300 chars): Checksum verification for /groups/others/ohni/modules/sources/g/GCCcore/isl-0.20.tar.bz2 using b587e083eb65a8b394e833dea1744f21af3f0e413a448c17536b5549ae42a4c2 failed. (at easybuild/main.py:116 in build_and_install_software) == 2020-01-16 14:14:41,955 build_log.py:169 ERROR EasyBuild crashed with an error (at easybuild/base/exceptions.py:124 in __init__): Build of /groups/others/ohni/modules/software/EasyBuild/4.1.1/easybuild/easyconfigs/g/GCCcore/GCCcore-8.2.0.eb failed (err: 'build failed (first 300 chars): Checksum verification for /groups/others/ohni/modules/sources/g/GCCcore/isl-0.20.tar.bz2 using b587e083eb65a8b394e833dea1744f21af3f0e413a448c17536b5549ae42a4c2 failed.') (at easybuild/main.py:148 in build_and_install_software)




Reply via email to