From owner-freebsd-ports Sat Nov 3 7:50:10 2001 Delivered-To: freebsd-ports@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 3B42C37B419 for ; Sat, 3 Nov 2001 07:50:01 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.4/8.11.4) id fA3Fo1J40121; Sat, 3 Nov 2001 07:50:01 -0800 (PST) (envelope-from gnats) Received: from elvenbow.nc.kyushu-u.ac.jp (elvenbow.nc.kyushu-u.ac.jp [133.5.6.4]) by hub.freebsd.org (Postfix) with ESMTP id AAFB537B416 for ; Sat, 3 Nov 2001 07:45:23 -0800 (PST) Received: (from kasahara@localhost) by elvenbow.nc.kyushu-u.ac.jp (8.11.6/8.11.1) id fA3FjLQ95687; Sun, 4 Nov 2001 00:45:21 +0900 (JST) (envelope-from kasahara) Message-Id: <200111031545.fA3FjLQ95687@elvenbow.nc.kyushu-u.ac.jp> Date: Sun, 4 Nov 2001 00:45:21 +0900 (JST) From: Yoshiaki Kasahara Reply-To: Yoshiaki Kasahara To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.113 Subject: ports/31730: portupgrade -f fails after cleaning working directory Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 31730 >Category: ports >Synopsis: portupgrade -f fails after cleaning working directory >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sat Nov 03 07:50:01 PST 2001 >Closed-Date: >Last-Modified: >Originator: Yoshiaki Kasahara >Release: FreeBSD 4.4-STABLE i386 >Organization: Kyushu University >Environment: System: FreeBSD elvenbow.nc.kyushu-u.ac.jp 4.4-STABLE FreeBSD 4.4-STABLE #0: Wed Oct 31 16:29:52 JST 2001 root@elvenbow.nc.kyushu-u.ac.jp:/usr/obj/usr/src/sys/ELVENBOW i386 Using portupgrade-20011103 and ruby-1.6.5.2001.10.05 >Description: When I tried to run portupgrade -f , portupgrade printed the following error message and stopped after deinstall/reinstall/clean were finished. /usr/local/sbin/portupgrade:900:in `upgrade_pkg': undefined method `-' for nil ( NameError) from /usr/local/sbin/portupgrade:646:in `main' from /usr/local/sbin/portupgrade:592:in `each' from /usr/local/sbin/portupgrade:592:in `main' from /usr/local/sbin/portupgrade:183:in `initialize' from /usr/local/sbin/portupgrade:183:in `new' from /usr/local/sbin/portupgrade:183:in `main' from /usr/local/sbin/portupgrade:1542 I tried a couple of ports (lsof, nasm, and portupgrade itself), and all failed. >How-To-Repeat: portupgrade -f portupgrade without -f flag seems to work without problem. >Fix: >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message