NetBSD Problem Report #29227

From cjs@tabemo.com  Fri Feb  4 09:53:24 2005
Return-Path: <cjs@tabemo.com>
Received: from r4.rthome.tabemo.com (r4.rthome.tabemo.com [218.42.159.126])
	by narn.netbsd.org (Postfix) with ESMTP id DE8D663B400
	for <gnats-bugs@gnats.NetBSD.org>; Fri,  4 Feb 2005 09:53:23 +0000 (UTC)
Message-Id: <20050204095317.C89C83C830@r4.rthome.tabemo.com>
Date: Fri,  4 Feb 2005 18:53:17 +0900 (JST)
From: cjs@cynic.net
Reply-To: cjs@cynic.net
To: gnats-bugs@netbsd.org
Subject: ruby18 digest/md5 not available
X-Send-Pr-Version: 3.95

>Number:         29227
>Category:       pkg
>Synopsis:       ruby18 digest/md5 not available
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    taca
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Feb 04 09:54:00 +0000 2005
>Closed-Date:    Thu Mar 17 08:07:58 +0000 2005
>Last-Modified:  Thu Mar 17 08:07:58 +0000 2005
>Originator:     Curt Sampson
>Release:        NetBSD 2.0
>Organization:
>Environment:
System: NetBSD r4.rthome.tabemo.com 2.0 NetBSD 2.0 (GENERIC) #0: Mon Dec 6 17:26:10 JST 2004 cjs@cjs.tabemo.com:/u/netbsd/build/i386-2.0.2004-12-06/obj/u/netbsd/src-2.0/sys/arch/i386/compile/GENERIC i386
Architecture: i386
Machine: i386
>Description:
    The ruby18 package is broken because it doesn't build
    lib/ruby/1.8/i386-netbsdelf/digest.so. So, for example, webrick doesn't
    work.
>How-To-Repeat:
	ruby -e 'require "digest/md5"'
	or try to use webrick
>Fix:


>Release-Note:

>Audit-Trail:
From: Thomas Klausner <wiz@NetBSD.org>
To: gnats-bugs@netbsd.org
Cc: cjs@cynic.net
Subject: Re: pkg/29227: ruby18 digest/md5 not available
Date: Fri, 4 Feb 2005 11:52:27 +0100

 On Fri, Feb 04, 2005 at 09:54:00AM +0000, cjs@cynic.net wrote:
 > >Number:         29227
 > >Category:       pkg
 > >Synopsis:       ruby18 digest/md5 not available
 [...]
 > >Description:
 >     The ruby18 package is broken because it doesn't build
 >     lib/ruby/1.8/i386-netbsdelf/digest.so. So, for example, webrick doesn't
 >     work.

 I think that's part of security/ruby-digest.

 > >How-To-Repeat:
 > 	ruby -e 'require "digest/md5"'
 > 	or try to use webrick

 Missing dependency in webrick?
 From a quick look, webrick seems to be using some ruby-1.6 specific
 packages anyway, so I wonder how you got it to use 1.8 :)
  Thomas

From: Curt Sampson <cjs@cynic.net>
To: Thomas Klausner <wiz@NetBSD.org>
Cc: gnats-bugs@netbsd.org
Subject: Re: pkg/29227: ruby18 digest/md5 not available
Date: Fri, 4 Feb 2005 20:48:28 +0900 (JST)

 > Missing dependency in webrick?
 > From a quick look, webrick seems to be using some ruby-1.6 specific
 > packages anyway, so I wonder how you got it to use 1.8 :)

 Webrick comes with ruby 1.8!

 On a standard ruby 1.8 installation (unpack, "configure", "make install")
 'ruby -e 'require "digest/md5"' works just fine.

 cjs
 -- 
 Curt Sampson  <cjs@cynic.net>   +81 90 7737 2974   http://www.NetBSD.org
       Make up enjoying your city life...produced by BIC CAMERA

From: Thomas Klausner <wiz@NetBSD.org>
To: Curt Sampson <cjs@cynic.net>
Cc: gnats-bugs@netbsd.org
Subject: Re: pkg/29227: ruby18 digest/md5 not available
Date: Fri, 4 Feb 2005 12:50:59 +0100

 On Fri, Feb 04, 2005 at 08:48:28PM +0900, Curt Sampson wrote:
 > Webrick comes with ruby 1.8!

 I was talking about the webrick package we have in pkgsrc, ruby-webrick.

 > On a standard ruby 1.8 installation (unpack, "configure", "make install")
 > 'ruby -e 'require "digest/md5"' works just fine.

 So it's split up in pkgsrc -- just install the additional package.
 What's the problem? :)
  Thomas

From: Curt Sampson <cjs@cynic.net>
To: Thomas Klausner <wiz@NetBSD.org>
Cc: gnats-bugs@netbsd.org
Subject: Re: pkg/29227: ruby18 digest/md5 not available
Date: Fri, 4 Feb 2005 21:03:14 +0900 (JST)

 On Fri, 4 Feb 2005, Thomas Klausner wrote:

 > On Fri, Feb 04, 2005 at 08:48:28PM +0900, Curt Sampson wrote:
 >> Webrick comes with ruby 1.8!
 >
 > I was talking about the webrick package we have in pkgsrc, ruby-webrick.
 >
 >> On a standard ruby 1.8 installation (unpack, "configure", "make install")
 >> 'ruby -e 'require "digest/md5"' works just fine.
 >
 > So it's split up in pkgsrc -- just install the additional package.
 > What's the problem? :)

 Webrick was installed already. Why do I have to install it again?

 As well, I don't think it's a good idea to have a package called
 "ruby18" install only part of ruby 1.8. Webrick is a core part of
 ruby18.

 Pkgsrc is supposed to make life easier. Right now it's easier just to
 download, build and install ruby in /usr/local than it is to use the
 package.

 cjs
 -- 
 Curt Sampson  <cjs@cynic.net>   +81 90 7737 2974   http://www.NetBSD.org
       Make up enjoying your city life...produced by BIC CAMERA

From: Thomas Klausner <wiz@NetBSD.org>
To: Curt Sampson <cjs@cynic.net>
Cc: gnats-bugs@netbsd.org, taca@NetBSD.org
Subject: Re: pkg/29227: ruby18 digest/md5 not available
Date: Fri, 4 Feb 2005 13:15:15 +0100

 On Fri, Feb 04, 2005 at 09:03:14PM +0900, Curt Sampson wrote:
 > Webrick was installed already. Why do I have to install it again?

 I'm not sure what you're talking about.
 You had webrick installed before you installed the ruby package?

 > As well, I don't think it's a good idea to have a package called
 > "ruby18" install only part of ruby 1.8. Webrick is a core part of
 > ruby18.

 I think the point of the ruby18 package in pkgsrc is to install
 the basics and split up additional modules in separate packages.
 taca probably knows this better.

 Expectations about what basic parts of a package are might
 vary with the user.

 > Pkgsrc is supposed to make life easier. Right now it's easier just to
 > download, build and install ruby in /usr/local than it is to use the
 > package.

 So in other words, you're missing a package that installs ruby
 and "all" its modules? Can you say what "all" the modules you
 expect are?

 Adding such a package to meta-pkgs shouldn't be a problem.
 Also, the lang/ruby package seems to install some additional
 modules already.
  Thomas

From: Curt Sampson <cjs@cynic.net>
To: Thomas Klausner <wiz@NetBSD.org>
Cc: gnats-bugs@netbsd.org, taca@NetBSD.org
Subject: Re: pkg/29227: ruby18 digest/md5 not available
Date: Fri, 4 Feb 2005 22:20:32 +0900 (JST)

 On Fri, 4 Feb 2005, Thomas Klausner wrote:

 > On Fri, Feb 04, 2005 at 09:03:14PM +0900, Curt Sampson wrote:
 >> Webrick was installed already. Why do I have to install it again?
 >
 > I'm not sure what you're talking about.
 > You had webrick installed before you installed the ruby package?

 No. Webbrick is a standard part of ruby 1.8. Any installation of ruby
 1.8 that does not include webbrick is incomplete, in the same way that
 any installation of ruby 1.6 that does not include, say, the File class,
 is incomplete.

 > I think the point of the ruby18 package in pkgsrc is to install
 > the basics and split up additional modules in separate packages.
 > taca probably knows this better.

 In which case we are installing an incomplete ruby 1.8. Why would we
 want to do that?

 > So in other words, you're missing a package that installs ruby
 > and "all" its modules? Can you say what "all" the modules you
 > expect are?

 No. I'm missing a package that installs the basic ruby 1.8 release.

 If we're going to create a different package that installs the complete
 ruby 1.8, we should rename the current ruby18 appropriately, say, as
 "ruby18-incomplete" or "ruby18-missing-standard-classes".

 cjs
 -- 
 Curt Sampson  <cjs@cynic.net>   +81 90 7737 2974   http://www.NetBSD.org
       Make up enjoying your city life...produced by BIC CAMERA

From: Curt Sampson <cjs@cynic.net>
To: Thomas Klausner <wiz@NetBSD.org>
Cc: gnats-bugs@netbsd.org, taca@NetBSD.org
Subject: Re: pkg/29227: ruby18 digest/md5 not available
Date: Fri, 4 Feb 2005 22:22:15 +0900 (JST)

 Oh, let me also note that the missing module in the ruby18 packge is
 as I described originally: the digest module. The webrick module is
 installed with the ruby18 package.

 cjs
 -- 
 Curt Sampson  <cjs@cynic.net>   +81 90 7737 2974   http://www.NetBSD.org
       Make up enjoying your city life...produced by BIC CAMERA

From: Thomas Klausner <wiz@NetBSD.org>
To: Curt Sampson <cjs@cynic.net>
Cc: gnats-bugs@netbsd.org, taca@NetBSD.org
Subject: Re: pkg/29227: ruby18 digest/md5 not available
Date: Fri, 4 Feb 2005 14:33:51 +0100

 On Fri, Feb 04, 2005 at 10:22:15PM +0900, Curt Sampson wrote:
 > Oh, let me also note that the missing module in the ruby18 packge is
 > as I described originally: the digest module. The webrick module is
 > installed with the ruby18 package.

 Ok, so let me rephrase your problem:
 The ruby18 package does not install the digest module,
 which webrick, which _is_ installed by the ruby18 package,
 needs.

 Should be easy to fix. Taca?
  Thomas

From: Curt Sampson <cjs@cynic.net>
To: Thomas Klausner <wiz@NetBSD.org>
Cc: gnats-bugs@netbsd.org, taca@NetBSD.org
Subject: Re: pkg/29227: ruby18 digest/md5 not available
Date: Fri, 4 Feb 2005 22:37:19 +0900 (JST)

 On Fri, 4 Feb 2005, Thomas Klausner wrote:

 > The ruby18 package does not install the digest module,
 > which webrick, which _is_ installed by the ruby18 package,
 > needs.

 Yes! Also, digest is a standard part of ruby 1.8; any installation of
 ruby 1.8 that does not include it is incomplete.

 cjs
 -- 
 Curt Sampson  <cjs@cynic.net>   +81 90 7737 2974   http://www.NetBSD.org
       Make up enjoying your city life...produced by BIC CAMERA

Responsible-Changed-From-To: pkg-manager->taca
Responsible-Changed-By: taca@netbsd.org
Responsible-Changed-When: Sat, 05 Feb 2005 09:55:21 +0000
Responsible-Changed-Why:
I'll take this.


From: Takahiro Kambe <taca@back-street.net>
To: cjs@cynic.net
Cc: wiz@NetBSD.org, gnats-bugs@netbsd.org, taca@NetBSD.org
Subject: Re: pkg/29227: ruby18 digest/md5 not available
Date: Sat, 05 Feb 2005 19:08:13 +0900 (JST)

 In message <Pine.NEB.4.61.0502042235382.3367@angelic-vtfw.cvpn.cynic.net>
 	on Fri, 4 Feb 2005 22:37:19 +0900 (JST),
 	Curt Sampson <cjs@cynic.net> wrote:
 > > The ruby18 package does not install the digest module,
 > > which webrick, which _is_ installed by the ruby18 package,
 > > needs.
 > 
 > Yes! Also, digest is a standard part of ruby 1.8; any installation of
 > ruby 1.8 that does not include it is incomplete.
 Ruby original distribution was divided into separate packages in order
 to minimumize dependency to external packages and to keep base Ruby
 package small.

 ruby-digest package was separated referring the FreeBSD ports.  But it
 is sure that some of libraries installed by ruby18 package aren't
 usable well.

 One simple solution is merge ruby-digest package to ruby18 package,
 but similar situation exists with ruby-iconv package.

 -- 
 Takahiro Kambe <taca@NetBSD.org>/<taca@back-street.net>

From: Curt Sampson <cjs@cynic.net>
To: Takahiro Kambe <taca@back-street.net>
Cc: wiz@NetBSD.org, gnats-bugs@netbsd.org, taca@NetBSD.org
Subject: Re: pkg/29227: ruby18 digest/md5 not available
Date: Tue, 8 Feb 2005 15:08:30 +0900 (JST)

 On Sat, 5 Feb 2005, Takahiro Kambe wrote:

 > Ruby original distribution was divided into separate packages in order
 > to minimumize dependency to external packages and to keep base Ruby
 > package small.

 What external dependencies does this get rid of. How much smaller does
 it make it?

 I have no problem with stuff that's optionally installed by the standard
 ruby distribution (such as readline) being a separate package. However,
 I think that any class that's always available in ruby18 as downloaded
 and built from www.ruby-lang.org should be in our ruby18 package. To do
 otherwise is just to invite technical support problems.

 If you truly see a need for leaving stuff out, let's make a separate
 ruby18-small package with the stripped down stuff, and make the ruby18
 package require that and whatever else is needed to get a standard ruby.

 cjs
 -- 
 Curt Sampson  <cjs@cynic.net>   +81 90 7737 2974   http://www.NetBSD.org
       Make up enjoying your city life...produced by BIC CAMERA

From: Takahiro Kambe <taca@back-street.net>
To: cjs@cynic.net
Cc: wiz@NetBSD.org, gnats-bugs@netbsd.org, taca@NetBSD.org
Subject: Re: pkg/29227: ruby18 digest/md5 not available
Date: Wed, 09 Feb 2005 23:10:11 +0900 (JST)

 In message <Pine.NEB.4.61.0502081502480.16787@angelic-vtfw.cvpn.cynic.net>
 	on Tue, 8 Feb 2005 15:08:30 +0900 (JST),
 	Curt Sampson <cjs@cynic.net> wrote:
 > > Ruby original distribution was divided into separate packages in order
 > > to minimumize dependency to external packages and to keep base Ruby
 > > package small.
 > 
 > What external dependencies does this get rid of. How much smaller does
 > it make it?
 As for security/ruby-digest, it originate from FreeBSD's ports which
 was base of current Ruby packages and external dependency is message
 digest libraries.  On Linux, ruby-digest might depend on OpenSSL's
 library (but current ruby-digest dosen't care for it).

 Anyway, I'm willing to merge ruby-digest pacakge to ruby${RUBY_VER}
 package.

 -- 
 Takahiro Kambe <taca@back-street.net>

From: Takahiro Kambe <taca@netbsd.org>
To: gnats-bugs@netbsd.org
Cc: 
Subject: PR/29227 CVS commit: pkgsrc/lang/ruby18
Date: Mon, 21 Feb 2005 15:29:15 +0000 (UTC)

 Module Name:	pkgsrc
 Committed By:	taca
 Date:		Mon Feb 21 15:29:15 UTC 2005

 Modified Files:
 	pkgsrc/lang/ruby18: MESSAGE Makefile PLIST

 Log Message:
 Merge databases/ruby-dbm, devel/ruby-zlib, security/ruby-digest and
 security/ruby-openssl.

 This fix PR pkg/29227 by Curt Sampson.

 Bump PKGREVISION.


 To generate a diff of this commit:
 cvs rdiff -r1.2 -r1.3 pkgsrc/lang/ruby18/MESSAGE
 cvs rdiff -r1.4 -r1.5 pkgsrc/lang/ruby18/Makefile pkgsrc/lang/ruby18/PLIST

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

State-Changed-From-To: open->feedback
State-Changed-By: taca@netbsd.org
State-Changed-When: Mon, 21 Feb 2005 15:52:13 +0000
State-Changed-Why:
digest/md5 and some more extention libraries are merged to ruby18.
Most of your problem should be gone.


From: Curt Sampson <cjs@cynic.net>
To: taca@netbsd.org
Cc: pkgsrc-bugs@netbsd.org, gnats-admin@netbsd.org
Subject: Re: pkg/29227
Date: Tue, 22 Feb 2005 20:11:18 +0900 (JST)

 Getting better. But now the iconv module is missing,
 though iconv is a standard part of NetBSD 2.0.

 cjs
 -- 
 Curt Sampson  <cjs@cynic.net>   +81 90 7737 2974   http://www.NetBSD.org
       Make up enjoying your city life...produced by BIC CAMERA

State-Changed-From-To: feedback->open
State-Changed-By: cjs@netbsd.org
State-Changed-When: Tue, 22 Feb 2005 11:31:02 +0000
State-Changed-Why:
iconv now missing


State-Changed-From-To: open->feedback
State-Changed-By: taca@netbsd.org
State-Changed-When: Thu, 10 Mar 2005 16:24:10 +0000
State-Changed-Why:
I've changed ruby18 to a meta package which includes whole Ruby 1.8.2
distribution.  And for smooth pkgsrc dependency minimum ruby18 part is
now ruby18-base pacakge.


State-Changed-From-To: feedback->closed
State-Changed-By: taca@netbsd.org
State-Changed-When: Thu, 17 Mar 2005 08:07:58 +0000
State-Changed-Why:
Submitter confirm that these chagnes are suitable.
Thanks for the 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.