pkgsrc-Bugs archive

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

pkg/46420: Building for ruby19 ends with "can't find ruby19-gdbm>=1.9.2pl320"



>Number:         46420
>Category:       pkg
>Synopsis:       Building for ruby19 ends with "can't find 
>ruby19-gdbm>=1.9.2pl320"
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon May 07 02:55:00 +0000 2012
>Originator:     Michael L. Riechers
>Release:        NetBSD 6.0_BETA
>Organization:
M L Riechers Systems Engineering
        
>Environment:
        
        
System: NetBSD cterm.rse.com 6.0_BETA NetBSD 6.0_BETA (GENERIC) #1: Mon Apr 30 
17:12:11 EDT 2012 
root%cterm.rse.com@localhost:/usr/local/src/usr/usr.201204292125Z/src/sys/arch/amd64/compile/obj/GENERIC
 amd64
Packages from pkgsrc-2012Q1 up to date as of 20120428: 
ftp.netbsd.org/pub/pkgsrc/pkgsrc-2012Q1/pkgsrc.tar.xz
Architecture: x86_64
Machine: amd64
>Description:
Package becomes confused about whether it's building ruby 1.9.2 or 1.9.3.
It builds and installs ruby-base 1.9.2, compiling with 
"RUBY_VERSION_DEFAULT=193",
then builds ruby-base 1.9.3 (after building libyaml), then 
"ruby193-gdbm-1.9.3p194nb2"

The last few lines run thusly:

===> Building binary package for ruby193-gdbm-1.9.3p194nb2                    | 
=> Creating binary package /usr/local/src/pkgsrcstuff/pkgsrc-2012Q1-20120428/ | 
===> Install binary package of ruby193-gdbm-1.9.3p194nb2                      | 
===========================================================================   | 
$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 ``ruby19-gdbm>=1.9.2pl320'' 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/ruby19                                      <

        
>How-To-Repeat:
        download ftp.netbsd.org/pub/pkgsrc/pkgsrc-2012Q1/pkgsrc.tar.xz and
        /usr/pkgsrc/lang/ruby19; make
        
>Fix:
        
Nasty, nasty work-around:
--- rubyversion.mk.orig 2012-04-22 21:08:19.000000000 -0400
+++ rubyversion.mk      2012-05-06 21:54:05.000000000 -0400
@@ -213,7 +213,7 @@
 RUBY193_API_VERSION=   1.9.1
 
 #
-RUBY_VERSION_DEFAULT?= 193
+RUBY_VERSION_DEFAULT?= 19
 
 RUBY_VERSION_SUPPORTED?= 18 192 193
 RUBY_VER?=             ${RUBY_VERSION_DEFAULT}

>Unformatted:
 capc-calc-2.12.4.1 ends with 'FPOS_POS_LEN' undeclared
 From: mlr
 Reply-To: mlr%rse.com@localhost
 X-send-pr-version: 3.95
 
 
        
        


Home | Main Index | Thread Index | Old Index