Snag in math/py-numpy: checksum fails
Robert Backhaus
robbak at robbak.com
Mon Oct 29 05:44:44 UTC 2012
The first thing I'd do is delete the numpy distfiles you've got from
ports/distfiles and try again. those 'range not satisfyable' seem to
indicate you've got a partial distfile that might be tripping it up.
Note that the files are only .pdfs anyway, so are not really
important. Perhas you can run 'make config' in ports/math/py-numpy and
turn off documentation.
I just retrieved the file manually, and the checksum matches. So you
have a bad file in distfiles.
Perhaps you have the distfile from a previous version there, and it
has the same name, and so the file clashes with the new one. If so,
it's a problem that the port maintainer has to fix, somehow. To get
yourself working, however, just delete the old distfiles/numpy*pdf
files
On 29 October 2012 11:58, Thomas Mueller <mueller6727 at bellsouth.net> wrote:
> I have hit another snag in updating ports that depend on png, but seem to have
> found a way around.
>
> This time, the checksum apparently fails on two files in math/py-numpy.
>
> Is this a known problem? File corruption on remote server? Or rather, a new
> checksum with older version of distfiles?
>
> Should I try
> make fetch NO_CHECKSUM=yes
> or google around for another place to download from?
>
> To isolate the problem, I went to directory /BETA1/usr/ports/math/py-numpy
> and ran
>
> make fetch checksum |& tee fetch.log
> and got
>
>
> ===> License BSD accepted by the user
> ===> Found saved configuration for py27-numpy-1.6.2_1,1
> ===> py27-numpy-1.6.2_1,1 depends on file: /usr/local/sbin/pkg - found
> => SHA256 Checksum OK for numpy-1.6.2.tar.gz.
> => SHA256 Checksum mismatch for numpy-ref.pdf.
> => SHA256 Checksum mismatch for numpy-user.pdf.
> ===> Refetch for 1 more times files: numpy-ref.pdf numpy-user.pdf
> ===> License BSD accepted by the user
> ===> Found saved configuration for py27-numpy-1.6.2_1,1
> ===> py27-numpy-1.6.2_1,1 depends on file: /usr/local/sbin/pkg - found
> => numpy-ref.pdf doesn't seem to exist in /BETA1/usr/ports/distfiles/.
> => Attempting to fetch http://docs.scipy.org/doc/numpy-1.6.0/numpy-ref.pdf
> fetch: http://docs.scipy.org/doc/numpy-1.6.0/numpy-ref.pdf: Requested Range Not Satisfiable
> => Attempting to fetch ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/numpy-ref.pdf
> => numpy-user.pdf doesn't seem to exist in /BETA1/usr/ports/distfiles/.
> => Attempting to fetch http://docs.scipy.org/doc/numpy-1.6.0/numpy-user.pdf
> fetch: http://docs.scipy.org/doc/numpy-1.6.0/numpy-user.pdf: Requested Range Not Satisfiable
> => Attempting to fetch ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/numpy-user.pdf
> ===> License BSD accepted by the user
> ===> Found saved configuration for py27-numpy-1.6.2_1,1
> ===> py27-numpy-1.6.2_1,1 depends on file: /usr/local/sbin/pkg - found
> => 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
> Make sure the Makefile and distinfo file (/BETA1/usr/ports/math/py-numpy/distinfo)
> are up to date. If you are absolutely sure you want to override this
> check, type "make NO_CHECKSUM=yes [other args]".
> *** [checksum] Error code 1
>
> Stop in /BETA1/usr/ports/math/py-numpy.
> *** [checksum] Error code 1
>
> Stop in /BETA1/usr/ports/math/py-numpy.
>
> (end of log)
>
> I didn't google, I ran lynx and got the URLs
>
> http://docs.scipy.org/doc/numpy/numpy-ref.pdf
> http://docs.scipy.org/doc/numpy/numpy-user.pdf
>
> So I will now try to portmaster this port with the new pdf references
> downloaded to /BETA1/usr/ports/distfiles: same number of bytes as the
> respective older pdf references but revealed a difference when running cmp.
> Maybe a new checksum with older distfiles, hence mismatch?
>
> Yes, I just did that, successfully, meaning a change is needed in the Makefile.
>
>
> Tom
>
> _______________________________________________
> freebsd-ports at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-ports
> To unsubscribe, send any mail to "freebsd-ports-unsubscribe at freebsd.org"
More information about the freebsd-ports
mailing list