From owner-freebsd-ports-bugs@FreeBSD.ORG Wed Jun 11 11:48:32 2014 Return-Path: Delivered-To: freebsd-ports-bugs@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id F2E31C30 for ; Wed, 11 Jun 2014 11:48:31 +0000 (UTC) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id D93332DA5 for ; Wed, 11 Jun 2014 11:48:31 +0000 (UTC) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.8/8.14.8) with ESMTP id s5BBmVLA080996 for ; Wed, 11 Jun 2014 12:48:31 +0100 (BST) (envelope-from bz-noreply@freebsd.org) From: bz-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 190922] New: databases/ruby-bdb fails to configure - n `remove_const': constant Object::CONFTEST_C not defined (NameError) Date: Wed, 11 Jun 2014 11:48:32 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports Tree X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: dcecchin@gmail.com X-Bugzilla-Status: Needs Triage X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-ports-bugs@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Jun 2014 11:48:32 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=190922 Bug ID: 190922 Summary: databases/ruby-bdb fails to configure - n `remove_const': constant Object::CONFTEST_C not defined (NameError) Product: Ports Tree Version: Latest Hardware: Any OS: Any Status: Needs Triage Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: freebsd-ports-bugs@FreeBSD.org Reporter: dcecchin@gmail.com When trying to compile ruby-bdb I'm seeing: checking for DB_TXN_ACTIVE.parentid in db.h... yes *** extconf.rb failed *** Could not create Makefile due to some reason, probably lack of necessary libraries and/or headers. Check the mkmf.log file for more details. You may need configuration options. Provided configuration options: --with-opt-dir --with-opt-include --without-opt-include=${opt-dir}/include --with-opt-lib --without-opt-lib=${opt-dir}/lib --with-make-prog --without-make-prog --srcdir=. --curdir --ruby=/usr/local/bin/ruby21 --enable-unknown --disable-unknown --with-db-dir --without-db-dir --with-db-include=${db-dir}/include --with-db-lib=${db-dir}/lib --enable-thread --disable-thread --with-db-uniquename --without-db-uniquename --with-db-pthread --without-db-pthread --with-db-version --without-db-version --with-db5lib --without-db5lib --with-db5lib --without-db5lib --with-dblib --disable-db-xml /usr/ports/databases/ruby-bdb/work/bdb-0.6.6/src/features.rb:881:in `remove_const': constant Object::CONFTEST_C not defined (NameError) from /usr/ports/databases/ruby-bdb/work/bdb-0.6.6/src/features.rb:881:in `' from /usr/ports/databases/ruby-bdb/work/bdb-0.6.6/src/features.rb:880:in `ensure in ' from /usr/ports/databases/ruby-bdb/work/bdb-0.6.6/src/features.rb:884:in `' from /usr/local/lib/ruby/2.1/rubygems/core_ext/kernel_require.rb:55:in `require' from /usr/local/lib/ruby/2.1/rubygems/core_ext/kernel_require.rb:55:in `require' from extconf.rb:139:in `
' extconf.rb: Leaving directory `src' The test in mkmf.log that seems to fail: "cc -o conftest -I/usr/local/include/ruby-2.1//amd64-freebsd10 -I/usr/local/include/ruby-2.1//ruby/backward -I/usr/local/include/ruby-2.1/ -I. -I/usr/local/include/db5 -I/usr/local/include -I/usr/local/include -O2 -pipe -fno-strict-aliasing -fPIC conftest.c -L. -L/usr/local/lib -L/usr/local/lib/db5 -L/usr/local/lib -L. -Wl,-rpath,/usr/lib:/usr/local/lib -pthread -fstack-protector -rdynamic -ldb -lruby21 -lexecinfo -lgmp -lcrypt -lm -L/usr/local/lib -Wl,-rpath,/usr/lib:/usr/local/lib -pthread -lc" conftest.c:7:4: warning: implicit declaration of function 'txn_recover' is invalid in C99 [-Wimplicit-function-declaration] txn_recover((DB_TXN *)0, (DB_PREPLIST *)0, 0, 0); ^ 1 warning generated. /tmp/conftest-GU7KcO.o: In function `main': conftest.c:(.text+0xf): undefined reference to `txn_recover' cc: error: linker command failed with exit code 1 (use -v to see invocation) checked program was: /* begin */ 1: #include "ruby.h" 2: 3: #include 4: 5: int main() 6: { 7: txn_recover((DB_TXN *)0, (DB_PREPLIST *)0, 0, 0); 8: return 1; 9: } /* end */ Could it be an issue with perl5.20 I recently updated this today. -- You are receiving this mail because: You are the assignee for the bug.