GNU bug report logs - #27725
Lapack 3.7.1 hash changed

Previous Next

Package: guix;

Reported by: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>

Date: Sun, 16 Jul 2017 19:25:01 UTC

Severity: normal

Done: Marius Bakke <mbakke <at> fastmail.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
Subject: bug#27725: closed (Re: bug#27725: Lapack 3.7.1 hash changed)
Date: Wed, 19 Jul 2017 21:59:02 +0000
[Message part 1 (text/plain, inline)]
Your bug report

#27725: Lapack 3.7.1 hash changed

which was filed against the guix package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to 27725 <at> debbugs.gnu.org.

-- 
27725: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=27725
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Marius Bakke <mbakke <at> fastmail.com>
To: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>, 27725-done <at> debbugs.gnu.org
Subject: Re: bug#27725: Lapack 3.7.1 hash changed
Date: Wed, 19 Jul 2017 23:58:37 +0200
[Message part 3 (text/plain, inline)]
Maxim Cournoyer <maxim.cournoyer <at> gmail.com> writes:

> From f69c6bbb8bee804057ccc1dc076311d3cbf5e89c Mon Sep 17 00:00:00 2001
> From: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
> Date: Sun, 16 Jul 2017 12:01:59 -0700
> Subject: [PATCH] gnu: lapack: Fix hash of release 3.7.1
>
> Apparently the release was modified (cleaned-up) in-place. An issue was opened
> at https://github.com/Reference-LAPACK/lapack-release/issues/4.
>
> * gnu/packages/maths.scm (lapack): Fix sha256 hash.

Applied, thanks!
[signature.asc (application/pgp-signature, inline)]
[Message part 5 (message/rfc822, inline)]
From: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
To: bug-guix <bug-guix <at> gnu.org>
Subject: Lapack 3.7.1 hash changed
Date: Sun, 16 Jul 2017 12:23:55 -0700
[Message part 6 (text/plain, inline)]
Hello Guix!

It seems our LAPACK substitute is now different than what is offered
upstream:

--8<---------------cut here---------------start------------->8---
Starting download of /gnu/store/g77svvbbamdd8k4wgv9kmp8jbqfn9dvs-lapack-3.7.1.tgz
From http://www.netlib.org/lapack/lapack-3.7.1.tgz...
 lapack-3.7.1.tgz  8.7MiB           1.7MiB/s 00:05 [####################] 100.0%
output path `/gnu/store/g77svvbbamdd8k4wgv9kmp8jbqfn9dvs-lapack-3.7.1.tgz' should have sha256 hash `0yavf6m9l78pwlnk5g61cg8x28mr30j0g8gkai0jrdqfjjmf3whs', instead has `1j51r7n5w4k7r3lrvy7710xrpkg40wf4rqnmngfz6ck9ypckzign'
cannot build derivation `/gnu/store/i4498667sjsnl24fb32mf97la1jdp22s-lapack-3.7.1.drv': 1 dependencies couldn't be built--8<---------------cut here---------------end--------------->8---

Investigating a bit with diff, one can find that many hidden files have
been cleaned up from the release:

--8<---------------cut here---------------start------------->8---
diff -ur lapack-3.7.1-guix/ lapack-3.7.1-upstream/
Only in lapack-3.7.1-guix/: ._lapack-3.7.1
Only in lapack-3.7.1-guix/lapack-3.7.1: ._appveyor.yml
Only in lapack-3.7.1-guix/lapack-3.7.1/BLAS: ._blas.pc.in
Only in lapack-3.7.1-guix/lapack-3.7.1/BLAS: ._CMakeLists.txt
Only in lapack-3.7.1-guix/lapack-3.7.1/BLAS: ._Makefile
Only in lapack-3.7.1-guix/lapack-3.7.1/BLAS/SRC: ._caxpy.f
Only in lapack-3.7.1-guix/lapack-3.7.1/BLAS/SRC: ._ccopy.f
Only in lapack-3.7.1-guix/lapack-3.7.1/BLAS/SRC: ._cdotc.f
Only in lapack-3.7.1-guix/lapack-3.7.1/BLAS/SRC: ._cdotu.f
Only in lapack-3.7.1-guix/lapack-3.7.1/BLAS/SRC: ._cgbmv.f

[...]

Only in lapack-3.7.1-guix/lapack-3.7.1/TESTING: ._zgbal.in
Only in lapack-3.7.1-guix/lapack-3.7.1/TESTING: ._zgd.in
Only in lapack-3.7.1-guix/lapack-3.7.1/TESTING: ._zgg.in
Only in lapack-3.7.1-guix/lapack-3.7.1/TESTING: ._zsb.in
Only in lapack-3.7.1-guix/lapack-3.7.1/TESTING: ._zsg.in
Only in lapack-3.7.1-guix/lapack-3.7.1/TESTING: ._ztest.in
Only in lapack-3.7.1-guix/lapack-3.7.1/TESTING: ._ztest_rfp.in
Only in lapack-3.7.1-guix/lapack-3.7.1: ._TESTING
Only in lapack-3.7.1-guix/lapack-3.7.1: ._.travis.ym
--8<---------------cut here---------------end--------------->8---

The attached patch fixes the hash, and an issue was opened here [0] to
let the maintainers know of the problem.

I've built lapack myself with this change and all the tests still pass.

Thanks,

Maxim

[0001-gnu-lapack-Fix-hash-of-release-3.7.1.patch (text/x-patch, attachment)]
[signature.asc (application/pgp-signature, inline)]

This bug report was last modified 7 years and 363 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.