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 
>ruby200-gdbm>=2.0.0p353"
>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
>Organization:
M L Riechers Systems Engineering
        
>Environment:
        
        
System: NetBSD cterm.rse.com 6.1.2 NetBSD 6.1.2 (HOUSE-6.1.2) #0: Fri Oct 11 
12:13:25 EDT 2013 
root%cterm.rse.com@localhost:/usr/local/src/usr/usr.201310051330Z/src/sys/arch/amd64/compile/obj/HOUSE-6.1.2
 amd64
Architecture: x86_64
Machine: amd64
>Description:
        

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 
"RUBY_VERSION_DEFAULT=200",
then builds ruby-base 2.0.0 (after building libyaml), then 
"ruby193-gdbm-1.9.3p484"

The last few lines run thusly:

===> Building binary package for ruby193-gdbm-1.9.3p484
=> Creating binary package 
/usr/local/src/pkgsrcstuff/pkgsrc/packages/All/ruby193-gdbm-1.9.3p484.tgz
/bin/ln -f 
/usr/local/src/pkgsrcstuff/pkgsrc/databases/ruby-gdbm/work/.packages/ruby193-gdbm-1.9.3p484.tgz
 /usr/local/src/pkgsrcstuff/pkgsrc/packages/All/ruby193-gdbm-1.9.3p484.tgz 
2>/dev/null ||  /bin/cp -pf 
/usr/local/src/pkgsrcstuff/pkgsrc/databases/ruby-gdbm/work/.packages/ruby193-gdbm-1.9.3p484.tgz
 /usr/local/src/pkgsrcstuff/pkgsrc/packages/All/ruby193-gdbm-1.9.3p484.tgz
===> 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: [depends.mk] 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

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

>How-To-Repeat:
        
download ftp.netbsd.org/pub/pkgsrc/pkgsrc-2013Q4/pkgsrc.tar.xz and
cd /usr/pkgsrc/lang/ruby200; make

>Fix:
        
Nasty, nasty work-around:

--- pkgsrc/lang/ruby/rubyversion.mk~    2013-11-24 09:22:03.000000000 -0500
+++ pkgsrc/lang/ruby/rubyversion.mk     2014-01-09 20:55:38.000000000 -0500
@@ -216,7 +216,7 @@
 RUBY200_API_VERSION=   2.0.0
 
 #
-RUBY_VERSION_DEFAULT?= 193
+RUBY_VERSION_DEFAULT?= 200
 
 RUBY_VERSION_SUPPORTED?= 200 193 18
 
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/rubyversion.mk

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


Home | Main Index | Thread Index | Old Index