From owner-freebsd-ports@FreeBSD.ORG Tue Jan 24 14:19:19 2012 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 F2E7D1065672; Tue, 24 Jan 2012 14:19:18 +0000 (UTC) (envelope-from conrads@cox.net) Received: from eastrmfepo101.cox.net (eastrmfepo101.cox.net [68.230.241.213]) by mx1.freebsd.org (Postfix) with ESMTP id 87ECF8FC14; Tue, 24 Jan 2012 14:19:18 +0000 (UTC) Received: from eastrmimpo305.cox.net ([68.230.241.237]) by eastrmfepo101.cox.net (InterMail vM.8.01.04.00 201-2260-137-20101110) with ESMTP id <20120124141912.EDKH24648.eastrmfepo101.cox.net@eastrmimpo305.cox.net>; Tue, 24 Jan 2012 09:19:12 -0500 Received: from serene.no-ip.org ([98.164.86.55]) by eastrmimpo305.cox.net with bizsmtp id RSKB1i0051BeFqy02SKBJL; Tue, 24 Jan 2012 09:19:12 -0500 X-CT-Class: Clean X-CT-Score: 0.00 X-CT-RefID: str=0001.0A020203.4F1EBDE0.0099,ss=1,re=0.000,fgs=0 X-CT-Spam: 0 X-Authority-Analysis: v=1.1 cv=UTnd/fk6CCePovf+gzxRIqLTsJhlNaD/+XivpuoWZ3E= c=1 sm=1 a=x3aGGqJHSowA:10 a=G8Uczd0VNMoA:10 a=kj9zAlcOel0A:10 a=fdHYxQQoAueMHNSmXppgDg==:17 a=kviXuzpPAAAA:8 a=2XC0xUpuI5yxzK0qyocA:9 a=KjnaQVIHmes62OwosNYA:7 a=CjuIK1q_8ugA:10 a=4vB-4DCPJfMA:10 a=fdHYxQQoAueMHNSmXppgDg==:117 X-CM-Score: 0.00 Authentication-Results: cox.net; none Received: from cox.net (localhost [127.0.0.1]) by serene.no-ip.org (8.14.5/8.14.5) with ESMTP id q0OEJAO1004431; Tue, 24 Jan 2012 08:19:10 -0600 (CST) (envelope-from conrads@cox.net) Date: Tue, 24 Jan 2012 08:19:05 -0600 From: "Conrad J. Sabatier" To: freebsd-ports@FreeBSD.org Message-ID: <20120124081905.5f497763@cox.net> X-Mailer: Claws Mail 3.8.0 (GTK+ 2.24.6; amd64-portbld-freebsd10.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: Doug Barton Subject: "portmaster -o" behaves a little strangely (IMHO) 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: Tue, 24 Jan 2012 14:19:19 -0000 The behavior of portmaster with "-o " (as the man page puts it), doesn't seem to be quite what one would expect. While endeavoring to upgrade the already installed lang/gcc44 to lang/gcc46 using the command: portmaster -CK -o lang/gcc46 gcc-4.4.7.20111108 (I had already built, but not installed, gcc46, and didn't want any cleaning done before or after, just in case something went wrong) I got some rather unexpected results -- namely that, besides installing gcc46, portmaster wanted to do a normal upgrade of lang/gcc44 within its own directory (from version 4.4.7.20111108 to 4.4.7.20120117). Only after adding the "-i" (interactive) option to the command line and answering the prompts did I get the desired operation, a direct upgrade of gcc44 to gcc46. I'm still in the process of acclimating myself to using portmaster, having used portupgrade for years (yes, I know, I'm a little late to the dance), so please bear with me if I'm coming across as a little dense, but... Is this the intended behavior? It strikes me as a little peculiar, portmaster's wanting to perform an entirely unnecessary (and unrequested) operation (the upgrade of the original port within its own directory). It seems to render the automated performance of this type of "third party" upgrade impossible. I'm really not grasping the logic of this arrangement. # portmaster -CK -o lang/gcc46 gcc-4.4.7.20111108 ===>>> Port directory: /usr/ports/lang/gcc46 ===>>> Gathering dependency list for lang/gcc46 from ports ===>>> Launching child to update gcc-4.4.7.20111108 to gcc-4.4.7.20120117 lang/gcc46 >> gcc-4.4.7.20111108 (What is the preceding line -- with the ">>" -- and the similar one below, supposed to be indicating exactly? If it means what I think it does, then it seems as if portmaster is misinterpreting the intention of the "-o" option) ===>>> Port directory: /usr/ports/lang/gcc44 ===>>> Gathering dependency list for lang/gcc44 from ports ===>>> Initial dependency check complete for lang/gcc44 lang/gcc46 >> gcc-4.4.7.20111108 ===>>> Continuing initial dependency check for lang/gcc46 ===>>> Initial dependency check complete for lang/gcc46 ===>>> The following actions will be taken if you choose to proceed: Install lang/gcc46 Upgrade gcc-4.4.7.20111108 to gcc-4.4.7.20120117 ===>>> Proceed? y/n [y] (answered no here) ===>>> If you would like to upgrade or install some, but not all of the above try adding '-i' to the command line. Sign me "Confused". :-) -- Conrad J. Sabatier conrads@cox.net