Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 4 Nov 2001 00:45:21 +0900 (JST)
From:      Yoshiaki Kasahara <kasahara@nc.kyushu-u.ac.jp>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/31730: portupgrade -f fails after cleaning working directory
Message-ID:  <200111031545.fA3FjLQ95687@elvenbow.nc.kyushu-u.ac.jp>

next in thread | raw e-mail | index | archive | help

>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 <portname>, 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 <portname>

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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200111031545.fA3FjLQ95687>