From decibel@docboy.decibel.org  Fri Jan 31 23:10:09 2003
Return-Path: <decibel@docboy.decibel.org>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id F188337B401
	for <FreeBSD-gnats-submit@freebsd.org>; Fri, 31 Jan 2003 23:10:09 -0800 (PST)
Received: from docboy.decibel.org (docboy.decibel.org [65.86.67.34])
	by mx1.FreeBSD.org (Postfix) with ESMTP id B7D3D43F75
	for <FreeBSD-gnats-submit@freebsd.org>; Fri, 31 Jan 2003 23:10:08 -0800 (PST)
	(envelope-from decibel@docboy.decibel.org)
Received: by docboy.decibel.org (Postfix, from userid 1001)
	id 59A864769C; Sat,  1 Feb 2003 07:10:06 +0000 (GMT)
Message-Id: <20030201071006.59A864769C@docboy.decibel.org>
Date: Sat,  1 Feb 2003 07:10:06 +0000 (GMT)
From: Jim C.Nasby <decibel@docboy.decibel.org>
Reply-To: Jim C.Nasby <decibel@docboy.decibel.org>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: portupgrade dies with ruby error pkgtools.rb:27:in `require': No such file to load -- time (LoadError)
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         47782
>Category:       ports
>Synopsis:       portupgrade dies with ruby error pkgtools.rb:27:in `require': No such file to load -- time (LoadError)
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    knu
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Jan 31 23:10:22 PST 2003
>Closed-Date:    Sun Mar 23 19:10:19 JST 2003
>Last-Modified:  Sun Mar 23 19:10:19 JST 2003
>Originator:     Jim C. Nasby
>Release:        FreeBSD 4.7-RELEASE-p3 i386
>Organization:
>Environment:
System: FreeBSD docboy.decibel.org 4.7-RELEASE-p3 FreeBSD 4.7-RELEASE-p3 #15: Sun Jan 12 02:25:12 CST 2003 root@docboy.decibel.org:/usr/obj/usr/src/sys/DOCBOY i386


	
>Description:
portupgrade is failing with a ruby error:
decibel@docboy.1[1:06]/usr/ports/sysutils/portupgrade:101>portversion
/usr/local/lib/ruby/site_ruby/1.6/pkgtools.rb:27:in `require': No such file to load -- time (LoadError)
        from /usr/local/lib/ruby/site_ruby/1.6/pkgtools.rb:27
        from /usr/local/sbin/portversion:35:in `require'
        from /usr/local/sbin/portversion:35

I cvsup'd ports less than an hour ago.
>How-To-Repeat:
decibel@docboy.1[1:06]/usr/ports/sysutils/portupgrade:101>portversion
/usr/local/lib/ruby/site_ruby/1.6/pkgtools.rb:27:in `require': No such file to load -- time (LoadError)
        from /usr/local/lib/ruby/site_ruby/1.6/pkgtools.rb:27
        from /usr/local/sbin/portversion:35:in `require'
        from /usr/local/sbin/portversion:35
decibel@docboy.1[1:06]/usr/ports/sysutils/portupgrade:102>grep FreeBSD Makefile 
# $FreeBSD: ports/sysutils/portupgrade/Makefile,v 1.163 2003/01/23 14:42:38 knu Exp $
MAINTAINER=     knu@FreeBSD.org
decibel@docboy.1[1:06]/usr/ports/sysutils/portupgrade:103>pkg_info
XFree86-libraries-4.2.1_2 XFree86-4 include/(shared) library kit
cvsup-without-gui-16.1f General network file distribution system optimized for CVS 
epic4-1.0.1         The (E)nhanced (P)rogrammable (I)RC-II (C)lient
ezm3-1.0            Easier, more portable Modula-3 distribution for building CV
figlet-2.2.1        SysV banner-like program prints strings in large fancy ASCI
freetype2-2.1.2_1   A free and portable TrueType font rendering engine
gettext-0.10.35_1   GNU gettext package
gmake-3.79.1        GNU version of 'make' utility
imake-4.2.0_1       Imake and other utilities from XFree86
jpeg-6b_1           IJG's jpeg compression utilities
lsof-4.63           Lists information about open files (similar to fstat(1))
mtr-0.45_1          Traceroute and ping in a single graphical network diagnosti
pkg_tarup-1.2_3     Generates binary package from installed package
png-1.2.5           Library for manipulating PNG images
portupgrade-20030123 FreeBSD ports/packages administration and management tool s
postfix-20010228.8_1 Alternative Mail Transfer Agent (MTA)
ruby-bdb1-0.1.8     Ruby interface to Berkeley DB revision 1.8x with full featu
ruby-rdoc-0.0.0.b2  Documentation from Ruby source files
ruby-shim-ruby18-1.8.0.p1 A set of Ruby modules to provide Ruby 1.8 functionalities
stunnel-3.22        SSL encryption wrapper for standard network daemons
vim-lite-6.0.270.10 Vi "workalike", with many additional features
xli-1.17.0_1        Xli, xsetbg, xview, xlito - utilities to display images on 
decibel@docboy.1[1:06]/usr/ports/sysutils/portupgrade:104>
>Fix:
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->feedback 
State-Changed-By: knu 
State-Changed-When: Thu Feb 6 22:11:26 JST 2003 
State-Changed-Why:  
Judging from your list, ruby does not seem to be install from ports/packages. 
How did you install ruby?  I guess reinstalling ruby will fix the problem. 


Responsible-Changed-From-To: freebsd-ports-bugs->knu 
Responsible-Changed-By: knu 
Responsible-Changed-When: Thu Feb 6 22:11:26 JST 2003 
Responsible-Changed-Why:  
I'm in charge. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=47782 
State-Changed-From-To: feedback->closed 
State-Changed-By: knu 
State-Changed-When: Sun Mar 23 19:09:37 JST 2003 
State-Changed-Why:  
I couldn't reproduce the problem, and feedback timeout. 

In such cases please manually reinstall stuff.  Thanks. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=47782 
>Unformatted:
