From owner-freebsd-questions@FreeBSD.ORG Fri Jan 15 22:09:19 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7BB341065670 for ; Fri, 15 Jan 2010 22:09:19 +0000 (UTC) (envelope-from crwhipp@gmail.com) Received: from mail-fx0-f227.google.com (mail-fx0-f227.google.com [209.85.220.227]) by mx1.freebsd.org (Postfix) with ESMTP id 0B5B68FC08 for ; Fri, 15 Jan 2010 22:09:18 +0000 (UTC) Received: by fxm27 with SMTP id 27so575832fxm.3 for ; Fri, 15 Jan 2010 14:09:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:in-reply-to:references :mime-version:content-type:message-id:cc:content-transfer-encoding :from:subject:date:to:x-mailer; bh=bTS19N/e1c1eMp1ZAzeDeo3dkB38DSHKJjgEtS0+ugc=; b=hS7QiE/YhYnn1eVCuGtlFIB5joal5hGzRQG69bGRlldFXKugaJ/+JCRGsGqKyb/HjW i8mjDv0RjZKs2aPlOqQ8oxaNjcI4ksTMfUhPUwqxuzeSJ93bamQojAC9vnXJeBw3vhmi X0XlPXT+01gVtzykmI7LaaoHup1OVSsSPVId8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=in-reply-to:references:mime-version:content-type:message-id:cc :content-transfer-encoding:from:subject:date:to:x-mailer; b=Hg5JgQOmegztNGD4mgwKBNCydhZbvqXWcDEsnl/0ApVZbA1xGhck1OVPxYPdIALFi2 ZlOJjOPNHpHMOMQF1bUfiM/z8b5xSj/8wyhFFKLHkkze3JRQ7cmfVUtv6OxbJCw+7vsl MDDhXyAfyRdW3PfZ+VSyJIfNILxGqFVBIcLBM= Received: by 10.223.2.205 with SMTP id 13mr3179975fak.83.1263591951128; Fri, 15 Jan 2010 13:45:51 -0800 (PST) Received: from ?192.168.0.53? (174-22-230-42.phnx.qwest.net [174.22.230.42]) by mx.google.com with ESMTPS id p9sm1086134fkb.44.2010.01.15.13.45.49 (version=TLSv1/SSLv3 cipher=RC4-MD5); Fri, 15 Jan 2010 13:45:50 -0800 (PST) In-Reply-To: <4B509B51.3060809@strauser.com> References: <4B509B51.3060809@strauser.com> Mime-Version: 1.0 (Apple Message framework v753.1) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <85E67FE7-4B01-40D0-A52E-BE8F3F083FAA@gmail.com> Content-Transfer-Encoding: 7bit From: Craig Whipp Date: Fri, 15 Jan 2010 14:48:12 -0700 To: Kirk Strauser X-Mailer: Apple Mail (2.753.1) Cc: FreeBSD Questions Subject: Re: Dislike the way port conflicts are handled now X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Jan 2010 22:09:19 -0000 On Jan 15, 2010, at 9:44 AM, Kirk Strauser wrote: > Until recently, it seems like port dependencies were handled at > installation time. Lately, they're handled any time I try to do > anything with a port. I absolutely detest the new behavior. Example > cases: > > OLD WAY: > > $ cd /usr/ports/something/foo22 > $ make > $ pkg_delete foo21-2.1 > $ make install > > NEW WAY > > $ cd /usr/ports/something/foo22 > $ make > ===> foo22 conflicts with installed package(s): foo21-2.1 > $ make fetch > ===> foo22 conflicts with installed package(s): foo21-2.1 > $ curse --type=copious > $ pkg_delete foo21-2.1 > $ make install > > This isn't just a hypothetical pain in the butt. An example was > being unable to build databases/mysql51-client because mysql- > client-5.0.something was installed. I understand not being able to > *install* it, but to be prevented from *building* it? In most > circumstances, I want to be able to delete the old package and > install the new one with minimal downtime. As another example, can > you imagine not being able to even run "make fetch" on something > huge like OpenOffice until you uninstalled the old version? > > In the mean time, I've been editing the port's Makefile to remove > the CONFLICTS line long enough to finish building. That's not very > helpful for those ports that don't actually build until you run > "make install", but at least I can get the distfile download out of > the way. > -- > > Kirk Strauser > I agree. I've found that this can interfere with portmaster's "-o" option, used to replace an installed port with one of a different origin. In my case, databases/mysql41-server with databases/mysql55- server. - Craig