Opened 14 years ago

Closed 13 years ago

#25490 closed defect (fixed)

atlas: lapack.tgz checksum error

Reported by: sjbradtke@… Owned by: jameskyle@…
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc: macports@…, michaelld (Michael Dickens), skymoo (Adam Mercer), ryandesign (Ryan Carsten Schmidt), rmsfisher@…
Port: atlas

Description (last modified by skymoo (Adam Mercer))

Problem with the atlas dependency on lapack. Receive the following error messages:

sudo port install atlas
Password:
--->  Computing dependencies for atlas
--->  Verifying checksum(s) for atlas
Error: Checksum (md5) mismatch for lapack.tgz
Error: Checksum (sha1) mismatch for lapack.tgz
Error: Checksum (rmd160) mismatch for lapack.tgz
Error: Target org.macports.checksum returned: Unable to verify file checksums
Log for atlas is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_math_atlas/main.log
Error: Status 1 encountered during processing.

Attachments (3)

atlas-checksum.diff (1.1 KB) - added by skymoo (Adam Mercer) 14 years ago.
patch-Portfile-lapack-checksums.diff (778 bytes) - added by michaelld (Michael Dickens) 14 years ago.
Portfile diff to correct checksums for lapack 3.2.2 of 2010-06-30.
patch-Portfile-lapack-checksums-version.diff (962 bytes) - added by skiptracer@… 14 years ago.
patch for checksums and version number

Download all attachments as: .zip

Change History (17)

comment:1 Changed 14 years ago by skymoo (Adam Mercer)

Description: modified (diff)
Owner: changed from macports-tickets@… to jameskyle@…
Port: atlas added
Summary: atlasatlas checksum error
Version: 1.9.1

Don't forget to use wiki formatting, specify the port, and cc the maintainer.

Have you followed the FAQ on checksum errors: http://trac.macports.org/wiki/FAQ#checksums

comment:2 Changed 14 years ago by jwmarineiii@…

A new version of lapack(3.2.2) was released on June 30, 2010. The md5 checksum in the portfile equals the md5 checksum of the previous version of lapack(3.2.1) that was released on April 17, 2009. The current and prior versions of lapack can be downloaded at http://www.netlib.org/lapack/index.html.

Changed 14 years ago by skymoo (Adam Mercer)

Attachment: atlas-checksum.diff added

comment:3 Changed 14 years ago by skymoo (Adam Mercer)

The attached patch should fix this

comment:4 Changed 14 years ago by macports@…

Cc: macports@… added

Cc Me!

comment:5 Changed 14 years ago by michaelld (Michael Dickens)

That diff (as checked in in r69457) doesn't work for me. I'm attaching YA diff that does.

Changed 14 years ago by michaelld (Michael Dickens)

Portfile diff to correct checksums for lapack 3.2.2 of 2010-06-30.

comment:6 Changed 14 years ago by michaelld (Michael Dickens)

Cc: michaelld@… added

Cc Me!

comment:7 Changed 14 years ago by skymoo (Adam Mercer)

Cc: ram@… added

Looks like theres been a stealth update of lapack :-(

comment:8 Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: ryandesign@… added
Summary: atlas checksum erroratlas: lapack.tgz checksum error

comment:9 Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)

If anybody's having trouble applying this patch, the instructions for doing so are to download the patch (presumably to your Downloads folder) and then run:

cd $(port dir atlas)
sudo patch Portfile < ~/Downloads/patch-Portfile-lapack-checksums.diff

Works for me.

comment:10 Changed 14 years ago by skiptracer@…

Applying the patch file with 'patch' failed for me:

patching file Portfile
Hunk #1 FAILED at 41.
1 out of 1 hunk FAILED -- saving rejects to file Portfile.rej

I had to apply it manually. After I had done that, I got the following error:

Error: Target org.macports.configure returned: error copying "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_math_atlas/work/lapack-3.2.1": no such file or directory

I had to open the Portfile again and change line 12:

set lapackversion   3.2.1

to

set lapackversion   3.2.2

Try the newly attached patch (patch-Portfile-lapack-checksums-version.diff). This is my first ever patch, so pardon me if I made a mistake.

Changed 14 years ago by skiptracer@…

patch for checksums and version number

comment:11 in reply to:  10 Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: rmsfisher@… added
Resolution: fixed
Status: newclosed

Replying to skiptracer@…:

Applying the patch file with 'patch' failed for me:

Ryan Stonecipher-Fisher already fixed this problem in r69509 on 2010-07-08. All you need to do is sudo port selfupdate to get it.

I had to open the Portfile again and change line 12:

Then your Portfile predated the change made in r69457 as well. Please update.

comment:12 Changed 13 years ago by mark.swanson.sw@…

Resolution: fixed
Status: closedreopened

Nov 14, 2010 3.3.0 has been released so macports needs a checkum update. This is just a FYI...

comment:13 Changed 13 years ago by mark.swanson.sw@…

Oops - this has already been addressed by several patches. Here's one: https://trac.macports.org/attachment/ticket/27319/patch-atals-lapack.3.3.0.diff Please close this. Sorry for the noise.

comment:14 Changed 13 years ago by mf2k (Frank Schima)

Resolution: fixed
Status: reopenedclosed
Note: See TracTickets for help on using tickets.