maintainer-feedback requested: [Bug 263360] databases/ruby-bdb: Mark BROKEN_RUBY32
- In reply to: bugzilla-noreply_a_freebsd.org: "[Bug 263360] databases/ruby-bdb: Mark BROKEN_RUBY32"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 17 Apr 2022 07:06:16 UTC
Bugzilla Automation <bugzilla@FreeBSD.org> has asked freebsd-ruby (Nobody)
<ruby@FreeBSD.org> for maintainer-feedback:
Bug 263360: databases/ruby-bdb: Mark BROKEN_RUBY32
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=263360
--- Description ---
Mark BROKEN_RUBY32.
compiling bdb.c
In file included from bdb.c:1:
In file included from ./bdb.h:1:
/usr/local/include/db5/db.h:2725:5: warning: 'DB_DBM_HSEARCH' is not defined,
evaluates to 0 [-Wundef]
#if DB_DBM_HSEARCH != 0
^
/usr/local/include/db5/db.h:3081:5: warning: 'DB_DBM_HSEARCH' is not defined,
evaluates to 0 [-Wundef]
#if DB_DBM_HSEARCH != 0
^
/usr/local/include/db5/db.h:3102:5: warning: 'DB_DBM_HSEARCH' is not defined,
evaluates to 0 [-Wundef]
#if DB_DBM_HSEARCH != 0
^
bdb.c:168:15: error: implicit declaration of function 'rb_tainted_str_new2' is
invalid in C99 [-Werror,-Wimplicit-function-declaration]
version = rb_tainted_str_new2(db_version(&major, &minor, &patch));
^
bdb.c:672:5: warning: 'HAVE_CONST_BDB_TXN_COMMIT' is not defined, evaluates to
0 [-Wundef]
#if HAVE_CONST_BDB_TXN_COMMIT
^
bdb.c:960:18: error: implicit declaration of function 'rb_tainted_str_new' is
invalid in C99 [-Werror,-Wimplicit-function-declaration]
bdb_errstr = rb_tainted_str_new(0, 0);
^
bdb.c:960:18: note: did you mean 'rb_tainted_str_new2'?
bdb.c:168:15: note: 'rb_tainted_str_new2' declared here
version = rb_tainted_str_new2(db_version(&major, &minor, &patch));
^
4 warnings and 2 errors generated.
*** Error code 1
Stop.
While I'm here,
* Pet portlint and portclippy.
* Tidy up Makefile with portfmt.