From owner-freebsd-ports@FreeBSD.ORG Sat Jan 1 15:41:28 2011 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 BF3D0106566C for ; Sat, 1 Jan 2011 15:41:28 +0000 (UTC) (envelope-from luchesar.iliev@gmail.com) Received: from mail-fx0-f54.google.com (mail-fx0-f54.google.com [209.85.161.54]) by mx1.freebsd.org (Postfix) with ESMTP id 47BF88FC0A for ; Sat, 1 Jan 2011 15:41:27 +0000 (UTC) Received: by fxm16 with SMTP id 16so12209763fxm.13 for ; Sat, 01 Jan 2011 07:41:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id :disposition-notification-to:date:from:organization:user-agent :mime-version:to:cc:subject:references:in-reply-to :x-enigmail-version:openpgp:content-type:content-transfer-encoding; bh=jK5yJlon5/aFzXS/MhBy8cxSOBEbPLe7iDsbmibXvwU=; b=nTfEq1tyFk5mokOLtpEtIBTcVRzQQn0dmigvJmEHP/N/igMjoyslqUhNHueETLj3ai lQVxsi8a4xvOuKT+nWWFrsKNypmcmU/TY48SgNToTuSejsu3GRHdAFqv0PNhhoSm0G6k StEguF9tZh1rWPCvj+crZl0IrvOR85TX61ruE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:disposition-notification-to:date:from:organization :user-agent:mime-version:to:cc:subject:references:in-reply-to :x-enigmail-version:openpgp:content-type:content-transfer-encoding; b=jrqg6ML8iyVW4s8FEbsASxuRSw69avudiegxdq5t0SqACJYuTv1U3i9PIpV3zgWs+S zQDU102MXkeCkdOc/d8ZOtg9JDqYWfe3oMNwx62QeJIl8erU8Gx1ZMxC6JEf2e1IxZe4 uGyToZk8+kK3/XhWIBWumRh+vbh71tMWRxBvM= Received: by 10.223.72.9 with SMTP id k9mr4659378faj.93.1293896487327; Sat, 01 Jan 2011 07:41:27 -0800 (PST) Received: from [79.124.93.41] ([79.124.93.41]) by mx.google.com with ESMTPS id n7sm4298340fam.35.2011.01.01.07.41.25 (version=SSLv3 cipher=RC4-MD5); Sat, 01 Jan 2011 07:41:26 -0800 (PST) Message-ID: <4D1F4B25.7080009@gmail.com> Date: Sat, 01 Jan 2011 17:41:25 +0200 From: "Luchesar V. ILIEV" Organization: Ideaconsult Ltd. User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.2.13) Gecko/20101229 Lightning/1.0b2 Thunderbird/3.1.7 MIME-Version: 1.0 To: David Southwell References: <201101011209.17387.david@vizion2000.net> <201101011442.14507.david@vizion2000.net> <4D1F41F1.9030500@gmail.com> <201101011526.00988.david@vizion2000.net> In-Reply-To: <201101011526.00988.david@vizion2000.net> X-Enigmail-Version: 1.1.2 OpenPGP: id=9A1FEEFF; url=https://cert.acad.bg/pgp-keys/ Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Cc: freebsd-ports@freebsd.org Subject: Re: portupgrade -f advice please 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: Sat, 01 Jan 2011 15:41:28 -0000 On 01/01/11 17:26, David Southwell wrote: >> I just checked the command on my system (I often use -f, but not that >> often together with both -r and -R), and it works as expected. Could you >> please tell what is your FreeBSD version, is the ports tree up-to-date >> and what's your portupgrade version? >> >> Cheers, >> Luchesar >> >> P.S. The "Exclude up-to-date packages" is still done, yet portupgrade >> continues regardless of its results when -f is specified. > > Sorry I do not understand what you mean by works as expected! What I am > expecting is all affected ports to be recompiled. > > Freebsd: > > 7.2-RELEASE-p3 FreeBSD 7.2-RELEASE-p3 #0: Thu Aug 20 12:54:34 BST 2009 > > portupgrade-2.4.8_1,2 > > Ports tree up-to-date > > What console output do you get when all your ports are uptodate and you > give the command for a port which has upward and downward dependcies and > you give the command: > > # portupgrade -frR [category]/[port] > > From this command the only console out I get is: > > [Exclude up-to-date packages done] > > Which seems to indicate that no packages are recompiled! > > That is NOT what I expect. I'm sorry, I should have explained it clearer: when I run "portupgrade -frR", the ports _do_ get forcefully "upgraded" with the same version. Yes, I also get the "Exclude up-to-date packages", but then portupgrade continues with the compilation and installation process. I'd recommend using the "-v" option as well, as it might show some problems that go unnoticed at the moment. In fact, I noticed that you were running: # portupgrade -frR apache22 while in fact you should run: # portupgrade -frR apache I pretty much suspect that if you run that latest command, you'd get what you expect. :) Cheers, Luchesar