ports/115444: Unable to build ruby18-bdb-0.6.0 (compiler error)
Gerard Seibert
gerard at seibercom.net
Sun Aug 12 12:30:02 UTC 2007
>Number: 115444
>Category: ports
>Synopsis: Unable to build ruby18-bdb-0.6.0 (compiler error)
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Sun Aug 12 12:30:01 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator: Gerard Seibert
>Release: FreeBSD-6.2
>Organization:
>Environment:
FreeBSD scorpio.seibercom.net 6.2-RELEASE-p7 FreeBSD 6.2-RELEASE-p7 #0: Thu Aug 2 12:18:46 EDT 2007 gerard at scorpio.seibercom.net:/usr/obj/usr/src/sys/SCORPIO i386
>Description:
I am unable to build the /usr/ports/databases/ruby-bdb port. I have an older version of the port installed. Using portupgrade, the build fails. A copy of the failed build log is attached.
>How-To-Repeat:
Attempt to build the port.
>Fix:
Unknown
Patch attached with submission follows:
Script started on Sun Aug 12 07:59:29 2007
---> Upgrading 'ruby18-bdb-0.6.0' to 'ruby18-bdb-0.6.1' (databases/ruby-bdb)
---> Building '/usr/ports/databases/ruby-bdb'
===> Cleaning for ruby18-bdb-0.6.1
=> bdb-0.6.1.tar.gz doesn't seem to exist in /usr/ports/distfiles/ruby.
=> Attempting to fetch from ftp://moulon.inra.fr/pub/ruby/.
bdb-0.6.1.tar.gz 0% of 297 kB 0 Bpsbdb-0.6.1.tar.gz 5% of 297 kB 51 kBpsbdb-0.6.1.tar.gz 100% of 297 kB 294 kBps
===> Extracting for ruby18-bdb-0.6.1
=> MD5 Checksum OK for ruby/bdb-0.6.1.tar.gz.
=> SHA256 Checksum OK for ruby/bdb-0.6.1.tar.gz.
===> ruby18-bdb-0.6.1 depends on file: /usr/local/bin/ruby18 - found
===> Patching for ruby18-bdb-0.6.1
===> ruby18-bdb-0.6.1 depends on file: /usr/local/bin/ruby18 - found
===> ruby18-bdb-0.6.1 depends on file: /usr/local/bin/ruby18 - found
===> ruby18-bdb-0.6.1 depends on shared library: db-4.3.0 - found
===> Configuring for ruby18-bdb-0.6.1
===> Running extconf.rb to configure
extconf.rb: Entering directory `src'
checking for db_version() in -ldb-4.3... yes
checking for rb_frame_this_func()... no
checking for rb_block_proc()... yes
checking for rb_io_stdio_file()... no
checking for rb_block_call()... no
checking for Array#insert... yes
checking for Array#values_at... yes
creating Makefile
extconf.rb: Leaving directory `src'
===> Building for ruby18-bdb-0.6.1
cc -I. -I. -I/usr/local/lib/ruby/1.8/i386-freebsd6 -I. -DHAVE_RB_BLOCK_PROC -I/usr/local/include/db43 -I/usr/local/include -fPIC -ggdb3 -march=pentium2 -fPIC -DHAVE_RB_ARY_INSERT -DHAVE_RB_ARY_VALUES_AT -c bdb.c
bdb.c: In function `Init_bdb':
bdb.c:515: error: `DB_REP_IGNORE' undeclared (first use in this function)
bdb.c:515: error: (Each undeclared identifier is reported only once
bdb.c:515: error: for each function it appears in.)
bdb.c:516: error: `DB_REP_JOIN_FAILURE' undeclared (first use in this function)
*** Error code 1
Stop in /usr/ports/databases/ruby-bdb/work/bdb-0.6.1/src.
*** Error code 1
Stop in /usr/ports/databases/ruby-bdb/work/bdb-0.6.1.
*** Error code 1
Stop in /usr/ports/databases/ruby-bdb.
** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade.28217.0 env UPGRADE_TOOL=portupgrade UPGRADE_PORT=ruby18-bdb-0.6.0 UPGRADE_PORT_VER=0.6.0 make
** Fix the problem and try again.
** Listing the failed packages (*:skipped / !:failed)
! databases/ruby-bdb (ruby18-bdb-0.6.0) (compiler error)
---> Packages processed: 0 done, 0 ignored, 0 skipped and 1 failed
Script done on Sun Aug 12 07:59:56 2007
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list