From owner-freebsd-questions@FreeBSD.ORG Tue Jun 12 03:41:14 2007 Return-Path: X-Original-To: questions@FreeBSD.org Delivered-To: freebsd-questions@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 56DA716A480 for ; Tue, 12 Jun 2007 03:41:14 +0000 (UTC) (envelope-from hemi@puresimplicity.net) Received: from just.puresimplicity.net (just.puresimplicity.net [68.77.126.251]) by mx1.freebsd.org (Postfix) with ESMTP id E0FD713C489 for ; Tue, 12 Jun 2007 03:41:13 +0000 (UTC) (envelope-from hemi@puresimplicity.net) Received: from just.puresimplicity.net (localhost.puresimplicity.net [127.0.0.1]) by just.puresimplicity.net (8.13.8/8.13.6) with ESMTP id l5C3fBpj095243 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 11 Jun 2007 22:41:11 -0500 (CDT) (envelope-from hemi@just.puresimplicity.net) Received: (from hemi@localhost) by just.puresimplicity.net (8.13.8/8.13.6/Submit) id l5C3fAFk095242; Mon, 11 Jun 2007 22:41:10 -0500 (CDT) (envelope-from hemi) Date: Mon, 11 Jun 2007 22:41:10 -0500 From: Josh Tolbert To: Alex Zbyslaw Message-ID: <20070612034110.GA95034@just.puresimplicity.net> References: <20070607204129.GA45269@just.puresimplicity.net> <466937C6.1010306@dial.pipex.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <466937C6.1010306@dial.pipex.com> User-Agent: Mutt/1.4.2.1i X-Greylist: Sender is SPF-compliant, not delayed by milter-greylist-2.0.2 (just.puresimplicity.net [127.0.0.1]); Mon, 11 Jun 2007 22:41:11 -0500 (CDT) Cc: questions@FreeBSD.org Subject: Re: portupgrade -o strangeness... 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: Tue, 12 Jun 2007 03:41:14 -0000 On Fri, Jun 08, 2007 at 12:04:38PM +0100, Alex Zbyslaw wrote: > Josh Tolbert wrote: > > >(15:38:21 ) $ pkg_info | grep bison > >bison-1.75_2,1 A parser generator from FSF, (mostly) compatible with > >Yacc > >(15:38:30 ) $ sudo portupgrade -o devel/bison2 bison > >(15:38:34 ) $ sudo portupgrade -fo devel/bison2 bison > >---> Reinstalling 'bison-1.75_2,1' (devel/bison) > > > > > Have you tried "sudo portupgrade -f -o devel/bison2 bison" in case it's > some bug in parsing merged options? Worth a PR in any case... > > Failing that you could just pkg_delete bison and install bison2 afresh. > You shouldn't have to but... > > --Alex Hi Alex, Yes, I did exactly that. Take a look at the example above. :) Anyway, a PR has been filed and the response is, "it's a feature." I'm not sure how it's a feature, but it is. The example I was given looks like this: $ pkg_version -t 2.3_1 1.75_2,1 < I'm guessing it's just doing some odd string comparison instead of breaking the version number apart and handling it with weight on the major version number, etc. Ironically, portupgrade still does things right. portupgrade-devel is the port I'm having problems with. Thanks, Josh -- Josh Tolbert hemi@puresimplicity.net || http://www.puresimplicity.net/~hemi/ Security is mostly a superstition. It does not exist in nature, nor do the children of men as a whole experience it. Avoiding danger is no safer in the long run than outright exposure. Life is either a daring adventure, or nothing. -- Helen Keller