pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/48509: Building for ruby200 ends with "can't find ruby200-gdbm>=2.0.0p353"

>Number:         48509
>Category:       pkg
>Synopsis:       Building for ruby200 ends with "can't find 
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Jan 10 05:35:00 +0000 2014
>Originator:     Michael L. Riechers
>Release:        NetBSD 6.1.2
M L Riechers Systems Engineering
System: NetBSD 6.1.2 NetBSD 6.1.2 (HOUSE-6.1.2) #0: Fri Oct 11 
12:13:25 EDT 2013
Architecture: x86_64
Machine: amd64

I'm attempting to build ruby200.
Package becomes confused about whether it's building ruby 1.9.3 or 2.0.0
It builds and installs ruby-base 2.0.0, compiling with 
then builds ruby-base 2.0.0 (after building libyaml), then 

The last few lines run thusly:

===> Building binary package for ruby193-gdbm-1.9.3p484
=> Creating binary package 
/bin/ln -f 
2>/dev/null ||  /bin/cp -pf 
===> Install binary package of ruby193-gdbm-1.9.3p484
$NetBSD: MESSAGE,v 1.2 2001/11/11 06:17:27 hubertf Exp $

This package doesn't contain any manuals nor examples, but
it wouldn't be a problem, as the interface of this module
is exactly the same as DBM and SDBM, except GDBM has a
"reorganize" method.  See the DBM module's document included
in the ruby-man package, and gdbm(3) manpage included in the
gdbm package.

ERROR: [] A package matching ``ruby200-gdbm>=2.0.0p353'' should
ERROR:     be installed, but one cannot be found.  Perhaps there is a
ERROR:     stale work directory for ../../databases/ruby-gdbm?

*** Error code 1

make: stopped in /usr/pkgsrc/lang/ruby200

download and
cd /usr/pkgsrc/lang/ruby200; make

Nasty, nasty work-around:

--- pkgsrc/lang/ruby/    2013-11-24 09:22:03.000000000 -0500
+++ pkgsrc/lang/ruby/     2014-01-09 20:55:38.000000000 -0500
@@ -216,7 +216,7 @@
 RUBY200_API_VERSION=   2.0.0
this work-around is almost identical to that that I submitted for PR/46420.

Perhaps the fix is similar? 

 To generate a diff of this commit:
 cvs rdiff -u -r1.79 -r1.80 pkgsrc/lang/ruby/

 Building for ruby200 ends with "can't find ruby200-gdbm>=2.0.0p353"

Home | Main Index | Thread Index | Old Index