Opened 7 weeks ago

Closed 4 weeks ago

Last modified 4 weeks ago

#60499 closed defect (fixed)

spatialite 4.99.20200511_0 failed to fetch

Reported by: stanimura Owned by: ryandesign (Ryan Schmidt)
Priority: Normal Milestone:
Component: ports Version: 2.6.2
Keywords: Cc: Blokkendoos (Johan), ryandesign (Ryan Schmidt)
Port: spatialite

Description

The error message

--->  Fetching distfiles for spatialite
Please fetch the file manually from the URL:
https://www.gaia-gis.it/fossil/libspatialite/tarball/SpatiaLite-c7f67038bf.tar.gz
as this necessitates an anonymous login.
Then place it in /opt/local/var/macports/distfiles/spatialite
Error: Failed to fetch spatialite: Automatic fetching impossible
Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_databases_spatialite/spatialite/main.log for details.
Error: Follow https://guide.macports.org/#project.tickets to report a bug.
Error: Processing of port spatialite failed

Then, after manually downloaded the source file to /opt/local/var/macports/distfiles/spatialite, checksum is mismatched.

--->  Checksumming SpatiaLite-c7f67038bf.tar.gz
Error: Checksum (rmd160) mismatch for SpatiaLite-c7f67038bf.tar.gz
Portfile checksum: SpatiaLite-c7f67038bf.tar.gz rmd160 c4917e88edbb1019482d37a7345655a84e55f056
Distfile checksum: SpatiaLite-c7f67038bf.tar.gz rmd160 698df80c24f7be234460eb7e70028662988a696e
Error: Checksum (sha256) mismatch for SpatiaLite-c7f67038bf.tar.gz
Portfile checksum: SpatiaLite-c7f67038bf.tar.gz sha256 f8100f71b769c7db066c6f938af6b00e920e4b90ac14c00a4f3ed7171565caab
Distfile checksum: SpatiaLite-c7f67038bf.tar.gz sha256 0af86f80f56a38e418ef6bd730829bf36fed0d1179f1bac6584af8c0f8f040de
Error: Checksum (size) mismatch for SpatiaLite-c7f67038bf.tar.gz
Portfile checksum: SpatiaLite-c7f67038bf.tar.gz size 6069623
Distfile checksum: SpatiaLite-c7f67038bf.tar.gz size 6069563

Note that I changed the name of downloaded source file from "tar.gz" to "SpatiaLite-c7f67038bf.tar.gz" to match the Portfile.

Attachments (2)

main.log (49.6 KB) - added by stanimura 7 weeks ago.
pascalcauquil-spatialite-main.log (3.1 KB) - added by pascalcauquil 6 weeks ago.

Download all attachments as: .zip

Change History (9)

Changed 7 weeks ago by stanimura

Attachment: main.log added

comment:1 Changed 7 weeks ago by ryandesign (Ryan Schmidt)

The file that got downloaded when you went to the web page in a web browser should already have been "SpatiaLite-c7f67038bf.tar.gz"; you should not have needed to rename it. And the checksums of the file that got downloaded should have matched what is in the Portfile; I tried it just now and verified that they do. Maybe try downloading again. Or maybe try a different web browser. (I used Safari on macOS High Sierra.)

comment:2 Changed 7 weeks ago by Blokkendoos (Johan)

Cc: Blokkendoos added

comment:3 Changed 6 weeks ago by thiagoveloso (Thiago V. dos Santos)

Just passed by to report that I am experiencing that error as well, which is preventing me from upgrading gdal.

I was just wondering if there is any workaround so far?

comment:4 Changed 6 weeks ago by pascalcauquil

I'm experiencing the same issue. I provide my build log file.

Changed 6 weeks ago by pascalcauquil

comment:5 Changed 4 weeks ago by thiagoveloso (Thiago V. dos Santos)

Reporting that this issue was suddenly solved on my system - spatialite is up-to-date and running fine.

comment:6 Changed 4 weeks ago by ryandesign (Ryan Schmidt)

Cc: ryandesign added
Resolution: fixed
Status: newclosed

I asked on the spatialite discussion group whether we could manually mirror the distfile or at least manually put it on the buildbot machines so that we could build and distribute binaries.

https://groups.google.com/forum/#!topic/spatialite-users/vwf3Q22HpgU

The developers have not responded to these questions. I did then put the distfile on the build machines manually and trigger builds for spatialite, so binaries are now available for those OS versions for which the build machines are online.

The spatialite license should permit us to distribute the source as well, so I've now placed the source tarball on our distfiles server too.

If the port needs to be updated to an even newer pre-release commit, let me know so I can manually mirror that distfile too.

comment:7 Changed 4 weeks ago by ryandesign (Ryan Schmidt)

Owner: set to ryandesign

In fcd7dceda865ff6ec66b5261a0c56c7099c29c50/macports-ports (master):

spatialite: Allow fetching from macports_distfiles

Closes: #60499

Note: See TracTickets for help on using tickets.