Opened 3 months ago

Closed 2 months ago

#70636 closed defect (fixed)

sparskit @2-20190610: checksum mismatch

Reported by: barracuda156 Owned by: dstrubbe (David Strubbe)
Priority: Normal Milestone:
Component: ports Version: 2.10.1
Keywords: haspatch Cc:
Port: sparskit

Description

--->  Fetching distfiles for sparskit
--->  SPARSKIT2.tar.gz does not exist in /opt/local/var/macports/distfiles/sparskit/2-20190610
--->  Attempting to fetch SPARSKIT2.tar.gz from https://www-users.cs.umn.edu/~saad/software/SPARSKIT
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   278  100   278    0     0    277      0  0:00:01  0:00:01 --:--:--   278
100 1149k  100 1149k    0     0   255k      0  0:00:04  0:00:04 --:--:--  329k
--->  Verifying checksums for sparskit
--->  Checksumming SPARSKIT2.tar.gz
Error: Checksum (rmd160) mismatch for SPARSKIT2.tar.gz
Portfile checksum: SPARSKIT2.tar.gz rmd160 77a75cd20678b190814084c28e4b72533210e9cd
Distfile checksum: SPARSKIT2.tar.gz rmd160 235a973af274442edd26726011b306e490d54ef8
Error: Checksum (sha256) mismatch for SPARSKIT2.tar.gz
Portfile checksum: SPARSKIT2.tar.gz sha256 ecdd0a9968d6b45153a328710a42fe87600f0bba0e3c53896090b8ae1c113b7a
Distfile checksum: SPARSKIT2.tar.gz sha256 a9bf3f595b733a4f5db211664aa775108b5078f280d58eb4e32dbc3a40a77a72
Error: Checksum (size) mismatch for SPARSKIT2.tar.gz
Portfile checksum: SPARSKIT2.tar.gz size 1287441
Distfile checksum: SPARSKIT2.tar.gz size 1176828
The correct checksum line may be:
checksums           rmd160  235a973af274442edd26726011b306e490d54ef8 \
                    sha256  a9bf3f595b733a4f5db211664aa775108b5078f280d58eb4e32dbc3a40a77a72 \
                    size    1176828
Error: Failed to checksum sparskit: Unable to verify file checksums

Change History (2)

comment:1 Changed 2 months ago by ryandesign (Ryan Carsten Schmidt)

Keywords: haspatch added
Summary: sparskit: checksum mismatchsparskit @2-20190610: checksum mismatch

This developer uses unversioned distfiles so checksum mismatches will occur any time they release a new version.

The difference between the old file that we mirrored in 2019 and the new one from 2021 is:

  • SPARSKIT2/README

    diff -ru 20190610/SPARSKIT2/README 20210601/SPARSKIT2/README
    old new  
    22                   S P A R S K I T   V E R S I O N  2.
    33-----------------------------------------------------------------------
    44
    5 Latest update :  Mon Jun 10 11:17:08 CDT 2019
     5Latest update :  Tue Jun  1 13:37:21 CDT 2021
    66
    77-----------------------------------------------------------------------
    88
     
    8989          by E. Rothman, from Cornell).
    9090 
    9191 ORDERINGS:
    92           still in the works. But contains a few coloring routines
    93           and level-set related orderings -- (e.g., cuthill Mc Kee, etc.)
     92          Contains a few coloring routines and level-set related
     93          orderings -- (e.g., cuthill Mc Kee, etc.)
    9494
    9595 UNSUPP : various `unsupported' routines and drivers.
    9696          (misc. routines includind routines for
  • SPARSKIT2/logfile

    Only in 20190610/SPARSKIT2: libskit.a
    diff -ru 20190610/SPARSKIT2/logfile 20210601/SPARSKIT2/logfile
    old new  
    356356
    357357-----------------------------------------------------------------------
    358358
    359  
    360  No newline at end of file
     359June 1, 2021
     360   removed libskit.a from distribution. causes issues.
     361   [Reported by Davis Strubbe]
     362   
     363-----------------------------------------------------------------------
  • SPARSKIT2/makefile

    diff -ru 20190610/SPARSKIT2/makefile 20210601/SPARSKIT2/makefile
    old new  
    9494        @for dir in $(DIRS) ;\
    9595          do \
    9696          echo cleaning $$dir ;\
    97           (cd $$dir; rm -f *~ *.o *.ex .,* fort.* ftn?? *.mat core) ;\
     97          (cd $$dir; rm -f *~ *.o *.ex .,* fort.* ftn?? *.mat core, *.a) ;\
    9898          done
    9999
    100100tarit:

So the difference is just that the makefile now removes the static library and the distfile no longer contains a precompiled static library that we have to delete before we can build it.

https://github.com/macports/macports-ports/pull/25643

comment:2 Changed 2 months ago by ryandesign (Ryan Carsten Schmidt)

Resolution: fixed
Status: assignedclosed

In 322d179437f2e60ba11e9e16c97ae3cf357b09ec/macports-ports (master):

sparskit: Update to 2-20210601

Closes: #70636

Note: See TracTickets for help on using tickets.