From owner-freebsd-ports@FreeBSD.ORG Sun Oct 5 11:42:00 2008 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EDA341065687 for ; Sun, 5 Oct 2008 11:42:00 +0000 (UTC) (envelope-from swhetzel@gmail.com) Received: from wa-out-1112.google.com (wa-out-1112.google.com [209.85.146.181]) by mx1.freebsd.org (Postfix) with ESMTP id B4F878FC15 for ; Sun, 5 Oct 2008 11:42:00 +0000 (UTC) (envelope-from swhetzel@gmail.com) Received: by wa-out-1112.google.com with SMTP id n4so1206904wag.27 for ; Sun, 05 Oct 2008 04:42:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=C9RnQ3VCA4sFswkib31JKBIE53jFHBOIyVhznVh6Pww=; b=N9hOdy4PYiqs/hgxh62Tqa7YbxNVNkO87RqUwFVyQ8ewSoLwwTtwyL/Zo5S11KsJNT /uTtH5O4pSEvmLYlF0Rxht3Pf5fpLXggrdcdj6AZXHkzLMaxHUoSbCI1gTlZFe2tRMdj Zg0EY2xAK2cpfXplnCS7lPlGSN0efaA5D2FxY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=mXbUXC4k++YwWSisGlKOZcp0mvWQrsItz7jq9p4ygSlqT+AhwbZtB0NApOKY74nmv1 mj9dwooDFb4OwT0aQUX1Ppt2Nrr8UVXJSDiWNWn9ytTbIPOhmsxbcViOkI442HugdXyv e1Ykrtp6AUK9cP16PU8p3TuOCO/FEI5p+x0YQ= Received: by 10.114.46.11 with SMTP id t11mr3948010wat.211.1223206920245; Sun, 05 Oct 2008 04:42:00 -0700 (PDT) Received: by 10.114.103.7 with HTTP; Sun, 5 Oct 2008 04:42:00 -0700 (PDT) Message-ID: <790a9fff0810050442i489157bar5714de2d4febd120@mail.gmail.com> Date: Sun, 5 Oct 2008 06:42:00 -0500 From: "Scot Hetzel" To: "Leslie Jensen" In-Reply-To: <48E89200.8040208@eskk.nu> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <48E89200.8040208@eskk.nu> Cc: freebsd-ports@freebsd.org Subject: Re: Uppgrading emulators/linux_base-f8 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 05 Oct 2008 11:42:01 -0000 On 10/5/08, Leslie Jensen wrote: > > When trying to upgrade emulators/linux_base-f8 > > It ends up in a loop where it tries to fetch the files it needs. > > Attempting to fetch from > > But I get this > File unavailable (e.g., file not found, no access) > I have found that if there is a corrupt file in /usr/ports/distfiles/rpm/i386/fedora/8/, it will cause fetch to try and reuse the corrupted file to complete the download. This is caused by bsd.port.mk is defining FETCH_ARGS=-ApRr when trying to redownload the corrupted files when using 'make checksum'. To get around this problem, I had to do the following: cd /usr/ports/emulators/linux_base-f8 make checksum This will list the failed files as {MD5,SHA256} Checksum mismatch . Note: Kill the 'make checksum' when it starts fetching files I then removed all these mismatch files from /usr/ports/distfiles/rpm/i386/fedora/8. After running 'make checksum' a second time, it succeeded in downloading all the missing files. Now I could use portmaster to upgrade emulators/linux_base-f8. Scot