From owner-freebsd-ports@FreeBSD.ORG Fri Jul 25 22:50:30 2014 Return-Path: Delivered-To: ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id CB14B1CF for ; Fri, 25 Jul 2014 22:50:30 +0000 (UTC) Received: from mail-wg0-x231.google.com (mail-wg0-x231.google.com [IPv6:2a00:1450:400c:c00::231]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 665ED2735 for ; Fri, 25 Jul 2014 22:50:30 +0000 (UTC) Received: by mail-wg0-f49.google.com with SMTP id k14so4858670wgh.20 for ; Fri, 25 Jul 2014 15:50:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20120113; h=date:from:to:subject:message-id:mime-version:content-type :content-transfer-encoding; bh=ttIW46tITtBLDUlcU6OFfkt9ilElzh0eIdCfn5VHVio=; b=tO0CjeGifqfCEqLHoGSubaoS/4C9+6lvIMx4fYokHbD7DD5SJyK1BJhdaL1hz64gE1 oeNLg69CGgFtD9j5vtyk+L9qDoL08zLiFk1wAe2tABqxbFGKH2l1C3ZpZpoF9gPBHZXR NVMwmoa0eWhOL1KqvQ1U63V6lxrkX2Iy2qx+W67jb+DlePZ3ZxuRnBl4hzUgFUQNq0Hz wmgM8HZQhVGtrMk48TbXuCoNFRgG3YSiK5RupCyKH1ohjuDDlqFWQ5HIy8sHl5W6aBia Hm1UMCPH43HtOpBc4eFGeEIE44vMMIZtrt7tOuCC6zCi9zVx9N4Hk6csvkumwcG5+dFt uLDw== X-Received: by 10.180.89.193 with SMTP id bq1mr8899007wib.81.1406328628593; Fri, 25 Jul 2014 15:50:28 -0700 (PDT) Received: from gumby.homeunix.com ([94.195.197.42]) by mx.google.com with ESMTPSA id dn3sm405934wib.12.2014.07.25.15.50.27 for (version=SSLv3 cipher=RC4-SHA bits=128/128); Fri, 25 Jul 2014 15:50:28 -0700 (PDT) Date: Fri, 25 Jul 2014 23:50:05 +0100 From: RW To: ports@freebsd.org Subject: make checksum problems Message-ID: <20140725235005.47666d26@gumby.homeunix.com> X-Mailer: Claws Mail 3.10.1 (GTK+ 2.24.22; amd64-portbld-freebsd10.0) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Jul 2014 22:50:30 -0000 There seems to be a change in "make checksum" where it's deleting preexisting files that don't match their checksums. This is having two effects: 1. downloads don't resume any more because the partial file is deleted 2. if a make checksum runs while another make process is downloading a distfile, the file is deleted and a new file is created. The first process is then writing to a deleted file, so when it completes it checks the new incomplete file and deletes that. This can cycle until they both reach their FETCH_REGET limit. Usually one ends up with a checksum error. I suspect that 2 may be affecting portmaster, which runs make checksum in the background. I have a script that does something similar, and I've been seeing occasional failed builds like this with portupgrade. Is this a known problem? I don't like to file a PR without doing a search, and Bugzilla searches are all hanging with "Please stand by ...".