NetBSD Problem Report #28566

From Ephaeton@gmx.net  Mon Dec  6 19:24:18 2004
Return-Path: <Ephaeton@gmx.net>
Received: from mail.gmx.net (pop.gmx.de [213.165.64.20])
	by narn.netbsd.org (Postfix) with SMTP id 41C41251EB3
	for <gnats-bugs@gnats.NetBSD.org>; Mon,  6 Dec 2004 19:24:17 +0000 (UTC)
Message-Id: <200412061921.iB6JLifK019314@circe.entropie.net>
Date: Mon, 6 Dec 2004 20:21:44 +0100 (CET)
From: "Martin S. Weber" <Ephaeton@gmx.net>
Reply-To: Ephaeton@gmx.net
To: gnats-bugs@netbsd.org
Subject: ri missing its database w/ ruby 1.8
X-Send-Pr-Version: 3.95

>Number:         28566
>Category:       pkg
>Synopsis:       need to run rdoc on ruby 1.8.2 stdlib for ri
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    taca
>State:          closed
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Mon Dec 06 19:27:00 +0000 2004
>Closed-Date:    Mon Jan 24 14:40:48 +0000 2005
>Last-Modified:  Mon Jan 24 14:40:48 +0000 2005
>Originator:     Martin S. Weber
>Release:        NetBSD 2.99.10
>Organization:

>Environment:


System: NetBSD circe.entropie.net 2.99.10 NetBSD 2.99.10 (GENERIC.MP) #0: Sun Nov 14 18:31:32 CET 2004 root@circe.entropie.net:/usr/obj/sys/arch/i386/compile/GENERIC.MP i386
Architecture: i386
Machine: i386
>Description:
	This is an asked for reminder for Takahiro Kambe to adjust 
	the post-intall target of the ruby Makefile for ruby_ver 
	1.8 so that rdoc is run in order to generate the database 
	ri is working on.

	Without this, ppl will see errors like the following:
	ri 'Array.[]'
	No ri documentation found in:
		/usr/pkg/share/ri/1.8/system
		/usr/pkg/share/ri/1.8/site
		/home/phaeton/.rdoc

(quote Takahiro:
> I'll ask to the Ruby people.
Here is answer:

     rdoc was imported in Ruby-1.8.1 first and it was late stage in
     release of the 1.8.1.  So, there are problem to generate a
     database for ri.  Some of source code dosen't have proper RDOC
     documentation and generated ri database is something poor.

     Next release, Ruby 1.8.2 improves rdoc much better and the
     database for ri would be created completely.

Sadly, Ruby 1.8.2's release is delayed and  preview3 stage yet.
I will add ri database handling to ruby package when Ruby 1.8.2 is
released (and pkgsrc freeze is finished).

)


>How-To-Repeat:
	install ruby 1.8(.1) and try to use ri.

>Fix:
	wait for 1.8.2 :)


>Release-Note:

>Audit-Trail:

Responsible-Changed-From-To: pkg-manager->taca
Responsible-Changed-By: cube@netbsd.org
Responsible-Changed-When: Mon, 06 Dec 2004 21:26:06 +0000
Responsible-Changed-Why:
taca will handle it.



State-Changed-From-To: open->suspended
State-Changed-By: taca@netbsd.org
State-Changed-When: Fri, 10 Dec 2004 07:51:59 +0000
State-Changed-Why:
I'll handle this PR after Ruby 1.8.2 will be officially released and
pkgsrc freeze end.


State-Changed-From-To: suspended->analyzed
State-Changed-By: taca@netbsd.org
State-Changed-When: Sun, 26 Dec 2004 05:23:25 +0000
State-Changed-Why:
Ruby 1.8.2 has released and it handles installing database for ri.
Now I'm working on update Ruby 1.8.2 packages.


From: Takahiro Kambe <taca@netbsd.org>
To: gnats-bugs@netbsd.org
Cc: 
Subject: PR/28566 CVS commit: pkgsrc
Date: Sun, 23 Jan 2005 17:33:19 +0000 (UTC)

 Module Name:	pkgsrc
 Committed By:	taca
 Date:		Sun Jan 23 17:33:19 UTC 2005

 Modified Files:
 	pkgsrc/converters/ruby-iconv: Makefile
 	pkgsrc/databases/ruby-dbm: Makefile
 	pkgsrc/databases/ruby-gdbm: Makefile
 	pkgsrc/devel/ruby-curses: Makefile distinfo
 	pkgsrc/devel/ruby-readline: Makefile distinfo
 	pkgsrc/devel/ruby-readline/patches: patch-aa
 	pkgsrc/lang/ruby: rubyversion.mk
 	pkgsrc/lang/ruby18: Makefile PLIST distinfo
 	pkgsrc/lang/ruby18/patches: patch-aa patch-ab
 	pkgsrc/security/ruby-digest: Makefile
 Added Files:
 	pkgsrc/lang/ruby18/patches: patch-al patch-am patch-an patch-ao
 	    patch-ap patch-aq patch-ar patch-as patch-at
 Removed Files:
 	pkgsrc/lang/ruby18/patches: patch-ac patch-ad patch-af patch-ag
 	    patch-ah patch-ai patch-aj patch-ak

 Log Message:
 Update Ruby 1.8.2.

 This is basically bug fix release, but official changes aren't provided
 yet.  Please refer ChangeLog.

 Here is pkgsrc changes:

 o Set RUBY_HAS_ARCHLIB=yes for Ruby packages including archtecture depending
   extention library in order to depend more specific Ruby.

 o Now install database for ri(1).  Fix PR pkg/28566.

 o Net::IMAP

 	* lib/net/imap.rb (u8tou16): fixed typo. fixed: [ruby-list:40546]

 o NKF:

 	* ext/nkf/nkf-utf8/nkf.c (reinit): should initialize all static
 	  variables.  fixed: [ruby-list:40445]

 	* ext/nkf/lib/kconv.rb (Kconv::RegexpEucjp): second byte is up to
 	  0xfe.

 	* ext/nkf/lib/kconv.rb (Kconv#kconv): should handle UTF8 and UTF16
 	  properly.

 o WEBrick

 	* lib/webrick/httpauth/htpasswd.rb (WEBrick::Htpasswd#reload):
 	  raise NotImplementedError if password is encrypted by digest
 	  algorithms. This patch is contributed by sheepman. [ruby-list:40467]

 	* lib/webrick/httpauth/digestauth.rb
 	  (WEBrick::HTTPAuth::DigestAuth#_authenticate): fix digest calculation.
 	  This patch is contributed by sheepman. [ruby-list:40482]

 	* lib/webrick/{httpauth.rb,httpauth/basicauth.rb,httpproxy.rb}: use
 	  pack/unpack-template char "m" instead of lib/base64.rb to do base64
 	  encoding/decoding. fixed: [ruby-dev:25336]


 To generate a diff of this commit:
 cvs rdiff -r1.12 -r1.13 pkgsrc/converters/ruby-iconv/Makefile
 cvs rdiff -r1.2 -r1.3 pkgsrc/databases/ruby-dbm/Makefile
 cvs rdiff -r1.10 -r1.11 pkgsrc/databases/ruby-gdbm/Makefile
 cvs rdiff -r1.2 -r1.3 pkgsrc/devel/ruby-curses/Makefile
 cvs rdiff -r1.1.1.1 -r1.2 pkgsrc/devel/ruby-curses/distinfo
 cvs rdiff -r1.13 -r1.14 pkgsrc/devel/ruby-readline/Makefile
 cvs rdiff -r1.5 -r1.6 pkgsrc/devel/ruby-readline/distinfo
 cvs rdiff -r1.1.1.1 -r1.2 pkgsrc/devel/ruby-readline/patches/patch-aa
 cvs rdiff -r1.6 -r1.7 pkgsrc/lang/ruby/rubyversion.mk
 cvs rdiff -r1.3 -r1.4 pkgsrc/lang/ruby18/Makefile pkgsrc/lang/ruby18/PLIST
 cvs rdiff -r1.6 -r1.7 pkgsrc/lang/ruby18/distinfo
 cvs rdiff -r1.4 -r1.5 pkgsrc/lang/ruby18/patches/patch-aa \
     pkgsrc/lang/ruby18/patches/patch-ab
 cvs rdiff -r1.1.1.1 -r0 pkgsrc/lang/ruby18/patches/patch-ac \
     pkgsrc/lang/ruby18/patches/patch-ad pkgsrc/lang/ruby18/patches/patch-af \
     pkgsrc/lang/ruby18/patches/patch-ag pkgsrc/lang/ruby18/patches/patch-ah \
     pkgsrc/lang/ruby18/patches/patch-ai
 cvs rdiff -r1.1 -r0 pkgsrc/lang/ruby18/patches/patch-aj \
     pkgsrc/lang/ruby18/patches/patch-ak
 cvs rdiff -r0 -r1.1 pkgsrc/lang/ruby18/patches/patch-al \
     pkgsrc/lang/ruby18/patches/patch-am pkgsrc/lang/ruby18/patches/patch-an \
     pkgsrc/lang/ruby18/patches/patch-ao pkgsrc/lang/ruby18/patches/patch-ap \
     pkgsrc/lang/ruby18/patches/patch-aq pkgsrc/lang/ruby18/patches/patch-ar \
     pkgsrc/lang/ruby18/patches/patch-as pkgsrc/lang/ruby18/patches/patch-at
 cvs rdiff -r1.9 -r1.10 pkgsrc/security/ruby-digest/Makefile

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

State-Changed-From-To: analyzed->closed
State-Changed-By: taca@netbsd.org
State-Changed-When: Mon, 24 Jan 2005 14:40:48 +0000
State-Changed-Why:
I updated ruby package to 1.8.2 and it provides databases for ri.
So, this problem fixed now.

And thanks for your problem report.



>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.