Opened 16 years ago

Closed 16 years ago

Last modified 16 years ago

#19207 closed update (fixed)

Update SuiteSparse 3.2.0 to 3.3.0

Reported by: luis.beca@… Owned by: alakazam@…
Priority: Normal Milestone:
Component: ports Version: 1.7.1
Keywords: Cc: alakazam@…
Port: SuiteSparse

Description

Please update SuiteSparse to the current version 3.3.0

Attachments (1)

SuiteSparse-Portfile.diff (986 bytes) - added by alakazam@… 16 years ago.

Download all attachments as: .zip

Change History (13)

comment:1 Changed 16 years ago by alakazam@…

Cc: alakazam@… added

Cc Me!

comment:2 Changed 16 years ago by luis.beca@…

By the way, the current SuiteSparse portfile (3.2.0) has the wrong checksums.

comment:3 Changed 16 years ago by alakazam@…

Are you sure ? port checksum SuiteSparse works fine for me.

comment:4 in reply to:  3 Changed 16 years ago by luis.beca@…

Are you sure ?

Yes. I just tried installing SuiteSparse and it failed complaining about checksums. I then put the correct checksum by hand and it compiled fine.

comment:5 Changed 16 years ago by mf2k (Frank Schima)

Owner: changed from macports-tickets@… to stechert@…
Port: SuiteSparse added

Changed 16 years ago by alakazam@…

Attachment: SuiteSparse-Portfile.diff added

comment:6 Changed 16 years ago by alakazam@…

I can confirm that the current SuiteSparse checksums are correct as of r49302. Maybe the file you had downloaded was corrupted ? Can you give us the output of sudo port clean --all SuiteSparse && sudo port -df checksum SuiteSparse ?

I have also attached a Portfile.diff to update SuiteSparse to the latest version. It builds fine the second time, failing on the first compilation just like version 3.2.0 with :

/usr/bin/gcc-4.0 -O3 -fno-common -no-cpp-precomp -fexceptions  -DDLONG -c -I../../AMD/Include -I../../AMD/Source -I../../COLAMD/Include -I/opt/local/include -I../../CCOLAMD/Include -I../../CAMD/Include -I../Include -I../../UFconfig ../Partition/cholmod_camd.c -o cholmod_l_camd.o
ar cr libcholmod.a cholmod_aat.o [... really long list of .o files ...] cholmod_l_camd.o
ranlib libcholmod.a
make[1]: *** [library] Error 2

comment:7 in reply to:  6 Changed 16 years ago by luis.beca@…

Can you give us the output of sudo port clean --all SuiteSparse && sudo port -df checksum SuiteSparse ?

$ sudo port clean --all SuiteSparse && sudo port -df checksum SuiteSparse 
--->  Cleaning SuiteSparse
DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/math/SuiteSparse
DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/math/SuiteSparse
DEBUG: setting option os.universal_supported to yes
DEBUG: org.macports.load registered provides 'load', a pre-existing procedure. Target override will not be provided
DEBUG: org.macports.distfiles registered provides 'distfiles', a pre-existing procedure. Target override will not be provided
DEBUG: not using configure, so not adding the default universal variant
DEBUG: Requested variant darwin is not provided by port SuiteSparse.
DEBUG: Requested variant i386 is not provided by port SuiteSparse.
DEBUG: Requested variant macosx is not provided by port SuiteSparse.
DEBUG: Executing org.macports.main (SuiteSparse)
--->  Fetching SuiteSparse
DEBUG: Executing org.macports.fetch (SuiteSparse)
--->  SuiteSparse-3.2.0.tar.gz doesn't seem to exist in /opt/local/var/macports/distfiles/SuiteSparse
DEBUG: Pinging www.cise.ufl.edu...
DEBUG: Pinging distfiles.macports.org...
DEBUG: Pinging trd.no.distfiles.macports.org...
DEBUG: Pinging arn.se.distfiles.macports.org...
DEBUG: www.cise.ufl.edu ping time is 69.328
DEBUG: distfiles.macports.org ping time is 73.303
DEBUG: trd.no.distfiles.macports.org ping time is 132.459
DEBUG: arn.se.distfiles.macports.org ping time is 133.022
--->  Attempting to fetch SuiteSparse-3.2.0.tar.gz from http://www.cise.ufl.edu/research/sparse/SuiteSparse/
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  9.7M  100  9.7M    0     0  3709k      0  0:00:02  0:00:02 --:--:-- 3913k
--->  Verifying checksum(s) for SuiteSparse
DEBUG: Executing org.macports.checksum (SuiteSparse)
--->  Checksumming SuiteSparse-3.2.0.tar.gz
Error: Checksum (md5) mismatch for SuiteSparse-3.2.0.tar.gz
Portfile checksum: SuiteSparse-3.2.0.tar.gz md5 d1be7abb6227568fec94179cb1300303
Distfile checksum: SuiteSparse-3.2.0.tar.gz md5 6ce748e40f9dcc8bbdf1aff11e1c60c1
Error: Checksum (sha1) mismatch for SuiteSparse-3.2.0.tar.gz
Portfile checksum: SuiteSparse-3.2.0.tar.gz sha1 ba39ba94a4069f2667ae5a4208866f7119a36ae8
Distfile checksum: SuiteSparse-3.2.0.tar.gz sha1 0d38491e8297f330b164e79136b93af247206a72
Error: Checksum (rmd160) mismatch for SuiteSparse-3.2.0.tar.gz
Portfile checksum: SuiteSparse-3.2.0.tar.gz rmd160 88db01d4b5f7532553809051fab305ebbc28d624
Distfile checksum: SuiteSparse-3.2.0.tar.gz rmd160 fe000e9e833d61010b9d1205b08626c227ebc9d2
The correct checksum line may be:
checksums           md5     6ce748e40f9dcc8bbdf1aff11e1c60c1 \
                    sha1    0d38491e8297f330b164e79136b93af247206a72 \
                    rmd160  fe000e9e833d61010b9d1205b08626c227ebc9d2
Error: Target org.macports.checksum returned: Unable to verify file checksums
Warning: the following items did not execute (for SuiteSparse): org.macports.checksum
Error: Status 1 encountered during processing.

I have also attached a Portfile.diff to update SuiteSparse to the latest version. It builds fine the second time, failing on the first compilation just like version 3.2.0 with :

/usr/bin/gcc-4.0 -O3 -fno-common -no-cpp-precomp -fexceptions  -DDLONG -c -I../../AMD/Include -I../../AMD/Source -I../../COLAMD/Include -I/opt/local/include -I../../CCOLAMD/Include -I../../CAMD/Include -I../Include -I../../UFconfig ../Partition/cholmod_camd.c -o cholmod_l_camd.o
ar cr libcholmod.a cholmod_aat.o [... really long list of .o files ...] cholmod_l_camd.o
ranlib libcholmod.a
make[1]: *** [library] Error 2

comment:8 Changed 16 years ago by alakazam@…

Apparently the file on macport's mirrors (http://arn.se.distfiles.macports.org/SuiteSparse/SuiteSparse-3.2.0.tar.gz) does not have the correct checksum (the source package was probably changed). Since this will be fixed by updating to SuiteSparse 3.3.0, I think it is acceptable to do only one change to the Portfile (the upgrade).

comment:9 Changed 16 years ago by alakazam@…

Owner: changed from stechert@… to alakazam@…
Status: newassigned

comment:10 Changed 16 years ago by alakazam@…

Resolution: fixed
Status: assignedclosed

Fixed in r49474 : SuiteSparse has been updated to version 3.3.0 (maintainer timeout).

comment:11 Changed 16 years ago by jmroot (Joshua Root)

Type: enhancementupdate

comment:12 Changed 16 years ago by (none)

Milestone: Port Updates

Milestone Port Updates deleted

Note: See TracTickets for help on using tickets.