Skip to content

libtool: failing fetches #5613

@ax3l

Description

@ax3l

Since a few months, I see that about 1 out of 5 fetches for libtool fails. Maybe we can try to find a new url for it?

The typical error is, that instead of the source file a HTML file is delivered. Trying to repeat the download usually fixes it, but it's inconvenient on cronjobs and CI.

==> Installing libtool
==> Warning: The contents of 
  the archive
   look like HTML.
  The checksum will likely be bad.  If it is, you can use
  'spack clean <package>' to remove the bad archive, then
  fix your internet gateway issue and install again.
==> Fetching http://ftpmirror.gnu.org/libtool/libtool-2.4.6.tar.gz
==> Error: ChecksumError: md5 checksum failed for /usr/local/var/spack/stage/libtool-2.4.6-o2pfwjf44353ajgr42xqtvzyvqsazkgu/libtool-2.4.6.tar.gz
    Expected addf44b646ddb4e3919805aa88fa7c5e but got b9e0e01f4dd18d95f7b6ea5084bd688f
ChecksumError: ChecksumError: md5 checksum failed for /usr/local/var/spack/stage/libtool-2.4.6-o2pfwjf44353ajgr42xqtvzyvqsazkgu/libtool-2.4.6.tar.gz
    Expected addf44b646ddb4e3919805aa88fa7c5e but got b9e0e01f4dd18d95f7b6ea5084bd688f

/usr/local/lib/spack/spack/package.py:982, in do_fetch:
     29            self._fetch_time = time.time() - start_time
     30    
     31            if spack.do_checksum and self.version in self.versions:
  >> 32                self.stage.check()
     33    
     34            self.stage.cache_local()

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions