NetBSD Problem Report #45606
From dholland@netbsd.org Sat Nov 12 14:43:55 2011
Return-Path: <dholland@netbsd.org>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
by www.NetBSD.org (Postfix) with ESMTP id 6DD2763C415
for <gnats-bugs@gnats.NetBSD.org>; Sat, 12 Nov 2011 14:43:55 +0000 (UTC)
Message-Id: <20111112144355.61B3D14A2C2@mail.netbsd.org>
Date: Sat, 12 Nov 2011 14:43:55 +0000 (UTC)
From: dholland@netbsd.org
To: gnats-bugs@gnats.NetBSD.org
Subject: ruby193 failures
X-Send-Pr-Version: 3.95
>Number: 45606
>Category: pkg
>Synopsis: ruby193 failures
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: taca
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sat Nov 12 14:45:00 +0000 2011
>Closed-Date: Sat Nov 26 16:27:06 +0000 2011
>Last-Modified: Sat Nov 26 16:27:06 +0000 2011
>Originator: David A. Holland
>Release: NetBSD 5.99.49 (pkgsrc of 20111111)
>Organization:
>Environment:
Architecture: x86_64
Machine: amd64
>Description:
Building ruby193 packages produces the following ruby193-specific failures:
1. ruby193-activerecord-odbc
===> Patching for ruby193-activerecord-odbc-2.0nb1
=> Applying pkgsrc patches for ruby193-activerecord-odbc-2.0nb1
1 out of 1 hunks failed--saving rejects to ../activerecord-odbc-adapter-2.0.gemspec.rej
Patch /home/pkgbulk/pkgsrc/databases/ruby-activerecord-odbc/patches/patch-aa failed
ERROR: Patching failed due to modified or broken patch file(s):
ERROR: /home/pkgbulk/pkgsrc/databases/ruby-activerecord-odbc/patches/patch-aa
*** Error code 1
This does not happen with ruby19 or ruby18. I guess the gemspec file
comes out differently?
2. ruby193-rdoc
pkg_add: Conflicting PLIST with ruby193-base-1.9.3p0: lib/ruby/gems/1.9.3/gems/rdoc-3.9.4/bin/rdoc
pkg_add: 1 package addition failed
>How-To-Repeat:
build (in this case with pbulk)
>Fix:
dunno.
>Release-Note:
>Audit-Trail:
From: "Takahiro Kambe" <taca@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:
Subject: PR/45606 CVS commit: pkgsrc/databases/ruby-activerecord-odbc
Date: Sat, 12 Nov 2011 15:07:32 +0000
Module Name: pkgsrc
Committed By: taca
Date: Sat Nov 12 15:07:32 UTC 2011
Modified Files:
pkgsrc/databases/ruby-activerecord-odbc: Makefile
Added Files:
pkgsrc/databases/ruby-activerecord-odbc/files: gemspec
Removed Files:
pkgsrc/databases/ruby-activerecord-odbc/patches: patch-aa
Log Message:
Stop trying to patch gemspec file and use pre-generated one.
I forgot to commit this change and this should fix PR pkg/45606.
To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 pkgsrc/databases/ruby-activerecord-odbc/Makefile
cvs rdiff -u -r0 -r1.1 pkgsrc/databases/ruby-activerecord-odbc/files/gemspec
cvs rdiff -u -r1.1 -r0 \
pkgsrc/databases/ruby-activerecord-odbc/patches/patch-aa
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
From: David Holland <dholland-pbugs@netbsd.org>
To: gnats-bugs@NetBSD.org
Cc:
Subject: Re: PR/45606 CVS commit: pkgsrc/databases/ruby-activerecord-odbc
Date: Sun, 13 Nov 2011 19:17:17 +0000
On Sat, Nov 12, 2011 at 03:10:07PM +0000, Takahiro Kambe wrote:
> Log Message:
> Stop trying to patch gemspec file and use pre-generated one.
> I forgot to commit this change and this should fix PR pkg/45606.
That fixes ruby-activerecord-odbc; there's still the ruby-rdoc
conflict issue.
--
David A. Holland
dholland@netbsd.org
Responsible-Changed-From-To: pkg-manager->taca
Responsible-Changed-By: hauke@NetBSD.org
Responsible-Changed-When: Sun, 13 Nov 2011 23:17:19 +0000
Responsible-Changed-Why:
Over to maintainer.
From: Takahiro Kambe <taca@NetBSD.org>
To: gnats-bugs@NetBSD.org, dholland@netbsd.org
Cc:
Subject: Re: pkg/45606: ruby193 failures
Date: Tue, 15 Nov 2011 11:58:50 +0900 (JST)
In message <20111112144500.5191963C415@www.NetBSD.org>
on Sat, 12 Nov 2011 14:45:00 +0000 (UTC),
dholland@netbsd.org wrote:
> 2. ruby193-rdoc
>
> pkg_add: Conflicting PLIST with ruby193-base-1.9.3p0: lib/ruby/gems/1.9.3/gems/rdoc-3.9.4/bin/rdoc
> pkg_add: 1 package addition failed
It was happened since version was the same between the rdoc bundled in
ruby193-base and devel/ruby-rdoc.
Now, devel/ruby-rdoc is 3.11, newer version from 3.9.4. So, problem
should be go away now.
--
Takahiro Kambe <taca@NetBSD.org>/<taca@back-street.net>
From: David Holland <dholland-pbugs@netbsd.org>
To: gnats-bugs@NetBSD.org
Cc:
Subject: Re: pkg/45606: ruby193 failures
Date: Sat, 19 Nov 2011 23:06:23 +0000
On Tue, Nov 15, 2011 at 04:40:04AM +0000, Takahiro Kambe wrote:
> > 2. ruby193-rdoc
> >
> > pkg_add: Conflicting PLIST with ruby193-base-1.9.3p0: lib/ruby/gems/1.9.3/gems/rdoc-3.9.4/bin/rdoc
> > pkg_add: 1 package addition failed
> It was happened since version was the same between the rdoc bundled in
> ruby193-base and devel/ruby-rdoc.
>
> Now, devel/ruby-rdoc is 3.11, newer version from 3.9.4. So, problem
> should be go away now.
It did. Unfortunately, now ruby18-rdoc fails:
=> Bootstrap dependency digest>=20010302: found digest-20111104
===> Installing for ruby18-rdoc-3.11
=> Generating pre-install file lists
=> Installing gem into installation root
ERROR: While executing gem ... (Gem::DocumentError)
ERROR: RDoc documentation generator not installed: no such file to load -- json
Depending on your version of ruby, you may need to install ruby
rdoc/ri data:
<= 1.8.6 : unsupported
= 1.8.7 : gem install rdoc-data; rdoc-data --install
= 1.9.1 : gem install rdoc-data; rdoc-data --install
>= 1.9.2 : nothing to do! Yay!
Successfully installed rdoc-3.11
1 gem installed
*** Error code 1
sorry...
--
David A. Holland
dholland@netbsd.org
From: David Holland <dholland-pbugs@netbsd.org>
To: gnats-bugs@netbsd.org
Cc:
Subject: Re: pkg/45606: ruby193 failures
Date: Sat, 26 Nov 2011 13:10:05 +0000
On Sat, Nov 19, 2011 at 11:10:06PM +0000, David Holland wrote:
> > Now, devel/ruby-rdoc is 3.11, newer version from 3.9.4. So, problem
> > should be go away now.
>
> It did. Unfortunately, now ruby18-rdoc fails:
> [...]
With the last set of changes this is now working, thanks.
--
David A. Holland
dholland@netbsd.org
State-Changed-From-To: open->closed
State-Changed-By: dholland@NetBSD.org
State-Changed-When: Sat, 26 Nov 2011 16:27:06 +0000
State-Changed-Why:
Fixed.
>Unformatted:
(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.