On Sun, 2 Apr 2017, Paul Goyette wrote:
With an up-to-date pkgsrc, I'm seeing the following error when trying to
build misc/libreoffice:
=> Checksum SHA512 OK for libreoffice/libeot-0.01.tar.bz2
checksum: Checksum SHA1 mismatch for libreoffice/libreoffice-5.3.1.2.tar.xz
ERROR: Make sure the Makefile and checksum file
(/build/pkgsrc/misc/libreoffice/distinfo)
ERROR: are up to date. If you want to override this check, type
ERROR: "/usr/bin/make NO_CHECKSUM=yes [other args]".
*** Error code 1
I have removed and re-fetched the distribution file. Even with a new copy
of the file (fetched from download.documentfoundation.org), the above error
persists.
Further examination of the log file shows
=> Fetching libreoffice-5.3.1.2.tar.xz
=> Total size: 189706056 bytes
Trying 5.9.148.85:80 ...
Requesting
http://download.documentfoundation.org/libreoffice/src/5.3.1/libreoffice-5.3.1.2.tar.xz
Redirected to
http://mirror.rise.ph/tdf/libreoffice/src/5.3.1/libreoffice-5.3.1.2.tar.xz
Requesting
http://mirror.rise.ph/tdf/libreoffice/src/5.3.1/libreoffice-5.3.1.2.tar.xz
43% |*************** | 80960 KiB 250.28 KiB/s 06:56
ETA
82903104 bytes retrieved in 05:23 (250.28 KiB/s)
fetch: Size of the file libreoffice/libreoffice-5.3.1.2.tar.xz doesn't match.
Trying 151.101.1.6:80 ...
...
So, the filesize listed in the distinfo file doesn't match the size of the
file on the listed mirror site...