databases/ruby-bdb: 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.
PR: 263360
Approved by: maintainer timeout