Date: Wed, 11 Jun 2014 11:48:32 +0000 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) Message-ID: <bug-190922-13@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
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 `<class:Object>' from /usr/ports/databases/ruby-bdb/work/bdb-0.6.6/src/features.rb:880:in `ensure in <top (required)>' from /usr/ports/databases/ruby-bdb/work/bdb-0.6.6/src/features.rb:884:in `<top (required)>' 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 `<main>' 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 <db.h> 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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-190922-13>