Snag in math/py-numpy: checksum fails

Thomas Mueller mueller23 at insightbb.com
Sun Nov 11 09:55:54 UTC 2012


On 10/28/2012 09:58 PM, Thomas Mueller wrote:
> This time, the checksum apparently fails on two files in math/py-numpy.
[snip]

> => SHA256 Checksum OK for numpy-1.6.2.tar.gz.
> => SHA256 Checksum mismatch for numpy-ref.pdf.
> => SHA256 Checksum mismatch for numpy-user.pdf.
> ===>  Giving up on fetching files: numpy-ref.pdf numpy-user.pdf
[snip]
> http://docs.scipy.org/doc/numpy/numpy-ref.pdf
> http://docs.scipy.org/doc/numpy/numpy-user.pdf

"John W. O'Brien" <john at radioprosciutto.org> responded:

> As others have noted, this problem arises when upgrading math/py-numpy
> because the PDFs across versions are not distinguishable by file name.
> Cached distfiles are not replaced but fail the checksum step.
> science/py-scipy has this problem too.

> I've filed a bug report upstream for numpy, and will follow-up in due
> course with an equivalent ticket for scipy.

> http://projects.scipy.org/numpy/ticket/2245

> In the mean time, the work-around is to manually delete
> $DISTDIR/numpy-{ref,user}.pdf before upgrading. Until this is resolved
> upstream (or if it never is), perhaps the maintainer would develop a
> local versioning system, or accept a patch that implements one.

> Regards,
> John

Good, I hope they fix the bug, since it can pose problems for package 
management systems outside FreeBSD, as well as FreeBSD ports.

My workaround was to go directly to the source and download the documentation
files directly to the appropriate place in distfiles directory.

But perhaps many users would not think of what I did, or would not use 
log files.

Tom


More information about the freebsd-ports mailing list