Dear Loris,

On 12/11/2018 10:09, Loris Bennett wrote:
Hi,

Installation of

   bzip2-1.0.6-GCCcore-6.4.0.eb

fails with a checksum error:

   == 2018-11-12 09:50:36,630 easyblock.py:2851 WARNING build failed (first 300 
chars): Checksum verification for 
/home/loris/sources/b/bzip2/bzip2-1.0.6.tar.gz using 
a2848f34fcd5d6cf47def00461fcb528a0484d8edef8208d6d2e2909dc61d9cd failed.

The file downloaded by the easyconfig is not gzipped tar file:

   [loris@centos7box ~]$ file /home/loris/sources/b/bzip2/bzip2-1.0.6.tar.gz
   /home/loris/sources/b/bzip2/bzip2-1.0.6.tar.gz: HTML document, UTF-8 Unicode 
text, with very long lines
   [loris@centos7box ~]$ head /home/loris/sources/b/bzip2/bzip2-1.0.6.tar.gz
   <!DOCTYPE html>
   <html lang="en-US" class="no-js">
   <head>
           <meta charset="UTF-8">
           <meta name="viewport" content="width=device-width">
           <link rel="profile" href="http://gmpg.org/xfn/11";>
           <link rel="pingback" href="http://www.bzip.org/xmlrpc.php";>
           <!--[if lt IE 9]>
           <script 
src="http://www.bzip.org/wp-content/themes/twentyfifteen/js/html5.js";></script>
           <![endif]-->

Commenting out the URL for the bzip website allows installation to
processed successfully

   source_urls = [
       'https://fossies.org/linux/misc/',
   #    'http://www.bzip.org/%(version)s/',
   ]

Why does it matter that the second URL is broken if the first is OK?


It shouldn't matter... What probably happened is that the download first timed out when the 1st URL was tried, and EasyBuild then tried again with the 2nd URL where it hit an HTML page rather than an actual tarball.

When you tried again after commenting out the 2nd URL (& removing the downloaded HTML page), downloading with the 1st URL probably worked by chance...


regards,

Kenneth

Reply via email to