From owner-freebsd-ports@FreeBSD.ORG Sat Jun 9 20:59:31 2007 Return-Path: X-Original-To: freebsd-ports@freebsd.org Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 26F8816A41F for ; Sat, 9 Jun 2007 20:59:31 +0000 (UTC) (envelope-from conrads@cox.net) Received: from eastrmmtao103.cox.net (eastrmmtao103.cox.net [68.230.240.9]) by mx1.freebsd.org (Postfix) with ESMTP id B01B313C45E for ; Sat, 9 Jun 2007 20:59:30 +0000 (UTC) (envelope-from conrads@cox.net) Received: from eastrmimpo01.cox.net ([68.1.16.119]) by eastrmmtao103.cox.net (InterMail vM.7.08.02.01 201-2186-121-102-20070209) with ESMTP id <20070609205930.PUAM8543.eastrmmtao103.cox.net@eastrmimpo01.cox.net> for ; Sat, 9 Jun 2007 16:59:30 -0400 Received: from serene.no-ip.org ([72.200.17.85]) by eastrmimpo01.cox.net with bizsmtp id 9Yz01X00A1q7YRk0000000; Sat, 09 Jun 2007 16:59:29 -0400 Received: from serene.no-ip.org (localhost [127.0.0.1]) by serene.no-ip.org (8.14.1/8.14.1) with ESMTP id l59Kwbk7015414 for ; Sat, 9 Jun 2007 15:58:42 -0500 (CDT) (envelope-from conrads@cox.net) Message-Id: <200706092058.l59Kwbk7015414@serene.no-ip.org> Date: Sat, 9 Jun 2007 15:58:31 -0500 From: "Conrad J. Sabatier" To: freebsd-ports@freebsd.org X-Mailer: Claws Mail 2.9.2 (GTK+ 2.10.12; amd64-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Bug in port_version's package version comparisons? 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, 09 Jun 2007 20:59:31 -0000 I've manually upgraded a few Xorg packages recently to the latest versions available on the ftp sites. As a result, portversion is now giving erroneous results for some packages: # portversion -v -O -L =' inputproto-1.4.2 > succeeds port (port has 1.3.2) libX11-1.1.2 < needs updating (port has 1.1.1_2,1) libXi-1.1.0 < needs updating (port has 1.0.2,1) tcl-8.5.a.6_2 > succeeds port (port has 8.5.a.6_1) tcl-threads-8.5.a.6_2 > succeeds port (port has 8.5.a.6_1) tk-8.5.a.6_3 > succeeds port (port has 8.5.a.6_2) tk-threads-8.5.a.6_3 > succeeds port (port has 8.5.a.6_2) totem-2.18.1_2 < needs updating (port has 2.18.2) xchat-2.8.2_2 > succeeds port (port has 2.8.2_1) xf86-input-keyboard-1.2.0 > succeeds port (port has 1.1.1) xf86-input-mouse-1.2.1 > succeeds port (port has 1.1.2) xf86-video-nv-2.0.96 > succeeds port (port has 1.2.2.1) How is it that, e.g, libX11-1.1.2 is considered less than than 1.1.1_2,1? Or libXi-1.1.0 is less than 1.0.2,1? This makes no sense to me at all. Oddly, the version comparisons on other Xorg packages provide the expected results. The most annoying end result of this, of course, is that it's no longer safe to use 'portupgrade -a', unless I want to "downgrade" these two packages in the process. :-( Any insights on this strange behavior? -- Conrad J. Sabatier