Opened 3 years ago

Closed 19 months ago

Last modified 19 months ago

#56535 closed defect (fixed)

geoexpress-sdk error checksum

Reported by: news24lor Owned by: Veence (Vincent)
Priority: Normal Milestone:
Component: ports Version: 2.4.4
Keywords: Cc: dershow, chrstphrchvz (Christopher Chavez)
Port: geoexpress-sdk

Description

Last version of geoexpress-sdk, 9.5.4.4709, does not install. The error is the checksum wrong.

The other problem is that this port is only for OS X 10.12 an later. Lizartech has many version for many Mac OS. Please use a version for older system (10.11 or 10.10)

This is the log:

:debug:main geoexpress-sdk has no conflicts
:debug:main Executing org.macports.main (geoexpress-sdk)
:debug:main dropping privileges: euid changed to 502, egid changed to 501.
:debug:main Skipping completed org.macports.archivefetch (geoexpress-sdk)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:main Skipping completed org.macports.fetch (geoexpress-sdk)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:checksum checksum phase started at Sat May 26 00:39:47 CEST 2018
:notice:checksum --->  Verifying checksums for geoexpress-sdk
:debug:checksum Executing org.macports.checksum (geoexpress-sdk)
:info:checksum --->  Checksumming MrSID_DSDK-9.5.4.4709-darwin16.universal.clang80.tar.gz
:debug:checksum Calculated (rmd160) is 1afa1c4bf109712cfbc436c20431cf102ca7a175
:error:checksum Checksum (rmd160) mismatch for MrSID_DSDK-9.5.4.4709-darwin16.universal.clang80.tar.gz
:info:checksum Portfile checksum: MrSID_DSDK-9.5.4.4709-darwin16.universal.clang80.tar.gz rmd160 62c164015c1a08ea5ad8509a6d6734da0095a357
:info:checksum Distfile checksum: MrSID_DSDK-9.5.4.4709-darwin16.universal.clang80.tar.gz rmd160 1afa1c4bf109712cfbc436c20431cf102ca7a175
:debug:checksum Calculated (sha256) is 086f5dd508484e7ad915fb76ab962e96099b37ca8d759a0112d51eaa007cb488
:error:checksum Checksum (sha256) mismatch for MrSID_DSDK-9.5.4.4709-darwin16.universal.clang80.tar.gz
:info:checksum Portfile checksum: MrSID_DSDK-9.5.4.4709-darwin16.universal.clang80.tar.gz sha256 2dae719de7e852ac2aa46c0de5781924350ec84bf2c0c4915a3eab2f0e8301d2
:info:checksum Distfile checksum: MrSID_DSDK-9.5.4.4709-darwin16.universal.clang80.tar.gz sha256 086f5dd508484e7ad915fb76ab962e96099b37ca8d759a0112d51eaa007cb488
:debug:checksum Calculated (size) is 56829152
:error:checksum Checksum (size) mismatch for MrSID_DSDK-9.5.4.4709-darwin16.universal.clang80.tar.gz
:info:checksum Portfile checksum: MrSID_DSDK-9.5.4.4709-darwin16.universal.clang80.tar.gz size 56829205
:info:checksum Distfile checksum: MrSID_DSDK-9.5.4.4709-darwin16.universal.clang80.tar.gz size 56829152
:info:checksum The correct checksum line may be:
:info:checksum checksums           rmd160  1afa1c4bf109712cfbc436c20431cf102ca7a175 \
:info:checksum                     sha256  086f5dd508484e7ad915fb76ab962e96099b37ca8d759a0112d51eaa007cb488 \
:info:checksum                     size    56829152
:error:checksum Failed to checksum geoexpress-sdk: Unable to verify file checksums
:debug:checksum Error code: NONE
:debug:checksum Backtrace: Unable to verify file checksums
:debug:checksum     while executing
:debug:checksum "$procedure $targetname"
:error:checksum See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gis_geoexpress-sdk/geoexpress-sdk/main.log for details.

Change History (11)

comment:1 Changed 3 years ago by jmroot (Joshua Root)

Cc: Veence removed
Owner: set to Veence
Port: geoexpress-sdk added
Status: newassigned

comment:2 Changed 2 years ago by news24lor

I've checked the version. Any file download from "lizardtech.com/developer/" is different for checksum.
Perhaps is the user flag?

My file for OS X 10.12:

MrSID_DSDK-9.5.4.4709-darwin16.universal.clang80.tar.gz

rmd160: 1afa1c4bf109712cfbc436c20431cf102ca7a175
sha256: 086f5dd508484e7ad915fb76ab962e96099b37ca8d759a0112d51eaa007cb488
size:   56829152

is different from the original, also the size

checksums           rmd160  62c164015c1a08ea5ad8509a6d6734da0095a357 \
                    sha256  2dae719de7e852ac2aa46c0de5781924350ec84bf2c0c4915a3eab2f0e8301d2 \
                    size    56829205

It's impossible to install it!

Please check it!

comment:3 Changed 2 years ago by news24lor

I can't upgrade anymore without fixing this GeoExpress bug.

Please fix this bug. The checksum is always different for each user.
The upgrade on MacOS 10.12 does not work because it has always been an error of ckecksum and also this upgrade is not compatible with MacOS 10.11.

GeoExpress blocks installations of many GIS software where it is installed (gdal, qgis, qgis3, etc.).

Please is there a way to install GeoExpress, which should always be downloaded by every user from the LizardTech site, on any operating system?

comment:4 Changed 2 years ago by news24lor

I fixed the problem with this 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 inside the folder geoexpress-sdk in

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

3 - from terminal enter 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/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

or upgrade

sudo port -d upgrade 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

Last edited 2 years ago by news24lor (previous) (diff)

comment:5 Changed 21 months ago by dershow

Cc: dershow added

comment:6 Changed 21 months ago by dershow

On OS 10.14.3, just changing the checksums worked, so I was able to still use the clang80 version.

comment:7 Changed 19 months ago by chrstphrchvz (Christopher Chavez)

Are we certain that different downloads are generated for each user, and this is not merely a stealth update? I downloaded both MrSID_DSDK-9.5.4.4709-darwin16.universal.clang80.tar.gz and MrSID_DSDK-9.5.4.4709-darwin15.universal.clang70.tar.gz today, and they each have the same checksums as what the reporter got.

comment:8 Changed 19 months ago by chrstphrchvz (Christopher Chavez)

Cc: chrstphrchvz added

comment:9 Changed 19 months ago by chrstphrchvz (Christopher Chavez)

I have opened a pull request attempting to resolve the checksum issue as well as add the distfile for Mac OS X 10.11: https://github.com/macports/macports-ports/pull/4134

comment:10 Changed 19 months ago by chrstphrchvz (Christopher Chavez)

Resolution: fixed
Status: assignedclosed

In 2b5152b1760cfa4b2100f77b28bea0074a8e36a7/macports-ports (master):

geoexpress-sdk: update checksums, support 10.11

Update homepage and master_sites

Fixes: #56535

comment:11 in reply to:  7 Changed 19 months ago by news24lor

Replying to chrstphrchvz:

Are we certain that different downloads are generated for each user, and this is not merely a stealth update? I downloaded both MrSID_DSDK-9.5.4.4709-darwin16.universal.clang80.tar.gz and MrSID_DSDK-9.5.4.4709-darwin15.universal.clang70.tar.gz today, and they each have the same checksums as what the reporter got.

Maybe it's also related to the user's starting point, (us, de, fr, it..) but I'm not sure and so it may be that your checksum is the same as another similar user but the Lizartech site slightly changes the file size for different types of users. The files inside are always the same but the size of the zip is slightly different by a few bytes.

Note: See TracTickets for help on using tickets.