From owner-freebsd-ports@FreeBSD.ORG Sat Nov 10 18:38:35 2012 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 0488C617 for ; Sat, 10 Nov 2012 18:38:35 +0000 (UTC) (envelope-from john@radioprosciutto.org) Received: from vice.saltant.net (vice.saltant.net [96.227.187.16]) by mx1.freebsd.org (Postfix) with ESMTP id C625C8FC08 for ; Sat, 10 Nov 2012 18:38:33 +0000 (UTC) Received: from imago.y.saltant.net (imago.y.saltant.net [10.85.0.10]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by vice.saltant.net (Postfix) with ESMTPSA id 32F83142E0; Sat, 10 Nov 2012 13:33:23 -0500 (EST) Message-ID: <509E9DF2.1000709@radioprosciutto.org> Date: Sat, 10 Nov 2012 13:33:22 -0500 From: "John W. O'Brien" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:16.0) Gecko/20121028 Thunderbird/16.0.2 MIME-Version: 1.0 To: Thomas Mueller Subject: Re: Snag in math/py-numpy: checksum fails References: <41.1B.23131.BA2ED805@smtp02.insight.synacor.com> In-Reply-To: <41.1B.23131.BA2ED805@smtp02.insight.synacor.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: llwang@infor.org, freebsd-ports@freebsd.org X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 10 Nov 2012 18:38:35 -0000 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 > 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