[MacPorts] #56535: geoexpress-sdk error checksum

MacPorts noreply at macports.org
Mon Jun 11 12:46:32 UTC 2018


#56535: geoexpress-sdk error checksum
-----------------------------+----------------------
  Reporter:  news24lor       |      Owner:  Veence
      Type:  defect          |     Status:  assigned
  Priority:  Normal          |  Milestone:
 Component:  ports           |    Version:  2.4.4
Resolution:                  |   Keywords:
      Port:  geoexpress-sdk  |
-----------------------------+----------------------

Comment (by news24lor):

 I fixed the problem with this
 [https://trac.macports.org/wiki/howto/Upgrade help].

 The procedure is valid for Mac OS 10.12 and 10.11 because the latest
 version from the Lizardtech site is for these operating systems.\\

 Previous versions of the library should work but I haven't tested them.\\

 The example is for Mac OS 10.11\\

 1- download the MrSID library from the Lizdtech website. In my case the
 file

 {{{
 MrSID_DSDK-9.5.4.4709-darwin15.universal.clang70.tar.gz
 }}}


 2 - move the file to

 {{{
 /opt/local/var/macports/distfiles/geoexpress-sdk
 }}}


 3 - from terminal insert this command:

 {{{
 sudo port -d checksum geoexpress-sdk
 }}}


 There will be errors but above all check this final message which is what
 you need

 {{{
 ...
 The correct checksum line may be:
 checksums           rmd160 05b120821507a71eb3dac2a1b20ecb8bce016210 \
                     sha256
 b5a067659451a9178cab165640071a004f03a8dd90f8a73bf3e3934528951079 \
                     size 56759213

 }}}


 4 - edit the file


 {{{
 /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/gis
 /geoexpress-sdk/Portfile
 }}}


 and change:

 {{{
 distname            MrSID_DSDK-${version}-darwin16.universal.clang80
 worksrcdir          MrSID_DSDK-${version}-darwin16.universal.clang80
 }}}

 in


 {{{
 distname            MrSID_DSDK-${version}-darwin15.universal.clang70
 worksrcdir          MrSID_DSDK-${version}-darwin15.universal.clang70
 }}}


 and then the checksum has to be changed:


 {{{
 checksums           rmd160 62c164015c1a08ea5ad8509a6d6734da0095a357 \
                     sha256
 2daand719de7and852ac2to46c0de5781924350ec84bf2cf2c0c4915a3eab2f0and8301d2
 \
                     size 56829205

 }}}

 with the one seen from the terminal


 {{{
 checksums           rmd160 05b120821507a71eb3dac2a1b20ecb8bce016210 \
                     sha256
 b5a067659451a9178cab165640071a004f03a8dd90f8a73bf3e3934528951079 \
                     size 56759213

 }}}


 Save file

 5 - Install the software


 {{{
 sudo port -d install geoexpress-sdk
 }}}


 You have new version of geoexpress-sdk and there are no more errors.

 Now you can re-compile gdal and other software without errors

-- 
Ticket URL: <https://trac.macports.org/ticket/56535#comment:4>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list