Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 6 Apr 2008 17:37:18 GMT
From:      bf <bf2006a@yahoo.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/122508: databases/ruby-bdb broken with ruby 1.9 and db 4.6
Message-ID:  <200804061737.m36HbI8I075949@www.freebsd.org>
Resent-Message-ID: <200804061740.m36He1S5043818@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         122508
>Category:       ports
>Synopsis:       databases/ruby-bdb broken with ruby 1.9 and db 4.6
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Apr 06 17:40:01 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     bf
>Release:        7-STABLE i386
>Organization:
-
>Environment:
>Description:
Build is broken with new ruby and db 4.6 from ports.  The first (but probably not the only) problem is that ruby 1.9, unlike ruby 1.8, has no

%%RUBY_LIBDIR%%/%%RUBY_ARCH%%/version.h

Transcript:

 #make install
===>  Extracting for ruby19-bdb46-0.6.2
=> MD5 Checksum OK for ruby/bdb-0.6.2.tar.gz.
=> SHA256 Checksum OK for ruby/bdb-0.6.2.tar.gz.
===>   ruby19-bdb46-0.6.2 depends on file: /usr/local/bin/ruby19 - found
===>  Patching for ruby19-bdb46-0.6.2
===>   ruby19-bdb46-0.6.2 depends on file: /usr/local/bin/ruby19 - found
===>   ruby19-bdb46-0.6.2 depends on file: /usr/local/bin/ruby19 - found
===>   ruby19-bdb46-0.6.2 depends on shared library: db-4.6.0 - found
===>  Configuring for ruby19-bdb46-0.6.2
===>  Running extconf.rb to configure
extconf.rb: Entering directory `src'
checking for db_version() in -ldb-4.6... yes
checking for rb_frame_this_func()... yes
checking for rb_block_proc()... yes
checking for rb_io_stdio_file()... yes
checking for rb_block_call()... yes
checking for Array#insert... yes
checking for Array#values_at... yes
creating Makefile
extconf.rb: Leaving directory `src'
===>  Building for ruby19-bdb46-0.6.2
cc -I. -I/usr/local/include/ruby-1.9//i386-freebsd7 -I/usr/local/include/ruby-1.9/ -I. -DHAVE_RB_FRAME_THIS_FUNC -DHAVE_RB_BLOCK_PROC -DHAVE_RB_IO_STDIO_FILE -DHAVE_RB_BLOCK_CALL -I/usr/local/include/db46 -I/usr/local/include    -fPIC -O2 -fno-strict-aliasing -pipe -fstack-protector-all -march=athlon-tbird   -fPIC  -DHAVE_RB_ARY_INSERT -DHAVE_RB_ARY_VALUES_AT -obdb.o -c bdb.c
In file included from bdb.c:1:
bdb.h:2:21: error: version.h: No such file or directory
*** Error code 1

Stop in /tmp/usr/ports/databases/ruby-bdb/work/bdb-0.6.2/src.
*** Error code 1

Stop in /tmp/usr/ports/databases/ruby-bdb/work/bdb-0.6.2.
*** Error code 1

Stop in /usr/ports/databases/ruby-bdb.

>How-To-Repeat:

>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200804061737.m36HbI8I075949>