MidnightBSD Magus

databases/ruby-bdb

Ruby interface to Oracle Berkeley DB revision 2 or later

Flavor Version Run OSVersion Arch License Restricted Status
0.6.6_2 621 4.0 amd64 ruby 0 fail

License Permissions:

Events

Machine Type Time Message
m4064b info 2025-12-07 23:12:10.109985 Test Started
m4064b fail 2025-12-07 23:15:51.961179 make build returned non-zero: 1
m4064b fail 2025-12-07 23:15:52.037404 Test complete.

Log

===>  Building for ruby32-bdb-0.6.6_2
--- all ---
--- docs/doc/index.html ---
--- all ---
--- bdb.o ---
--- common.o ---
--- cursor.o ---
--- delegator.o ---
--- env.o ---
--- lock.o ---
--- log.o ---
--- recnum.o ---
--- sequence.o ---
--- transaction.o ---
compiling bdb.c
compiling common.c
compiling cursor.c
compiling delegator.c
compiling env.c
compiling lock.c
compiling log.c
compiling recnum.c
compiling sequence.c
compiling transaction.c
--- cursor.o ---
In file included from cursor.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]
 2725 | #if DB_DBM_HSEARCH != 0
      |     ^
/usr/local/include/db5/db.h:3081:5: warning: 'DB_DBM_HSEARCH' is not defined, evaluates to 0 [-Wundef]
 3081 | #if DB_DBM_HSEARCH != 0
      |     ^
/usr/local/include/db5/db.h:3102:5: warning: 'DB_DBM_HSEARCH' is not defined, evaluates to 0 [-Wundef]
 3102 | #if DB_DBM_HSEARCH != 0
      |     ^
--- bdb.o ---
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]
--- delegator.o ---
In file included from delegator.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]
 2725 | #if DB_DBM_HSEARCH != 0
      |     ^
--- bdb.o ---
 2725 | #if DB_DBM_HSEARCH != 0
      |     ^
/usr/local/include/db5/db.h:3081:5: warning: 'DB_DBM_HSEARCH' is not defined, evaluates to 0 [-Wundef]
 3081 | #if DB_DBM_HSEARCH != 0
      |     ^
--- delegator.o ---
/usr/local/include/db5/db.h:3081:5: warning: 'DB_DBM_HSEARCH' is not defined, evaluates to 0 [-Wundef]
 3081 | #if DB_DBM_HSEARCH != 0
      |     ^
/usr/local/include/db5/db.h:3102:5: warning: 'DB_DBM_HSEARCH' is not defined, evaluates to 0 [-Wundef]
 3102 | #if DB_DBM_HSEARCH != 0
      |     ^
--- bdb.o ---
/usr/local/include/db5/db.h:3102:5: warning: 'DB_DBM_HSEARCH' is not defined, evaluates to 0 [-Wundef]
 3102 | #if DB_DBM_HSEARCH != 0
      |     ^
--- env.o ---
In file included from env.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]
 2725 | #if DB_DBM_HSEARCH != 0
      |     ^
/usr/local/include/db5/db.h:3081:5: warning: 'DB_DBM_HSEARCH' is not defined, evaluates to 0 [-Wundef]
 3081 | #if DB_DBM_HSEARCH != 0
      |     ^
/usr/local/include/db5/db.h:3102:5: warning: 'DB_DBM_HSEARCH' is not defined, evaluates to 0 [-Wundef]
 3102 | #if DB_DBM_HSEARCH != 0
      |     ^
--- sequence.o ---
In file included from sequence.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]
 2725 | #if DB_DBM_HSEARCH != 0
      |     ^
--- transaction.o ---
In file included from transaction.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]
--- lock.o ---
In file included from lock.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]
 2725 | #if DB_DBM_HSEARCH != 0
      |     ^
--- transaction.o ---
 2725 | #if DB_DBM_HSEARCH != 0
      |     ^
--- log.o ---
In file included from log.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]
--- common.o ---
In file included from common.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]
--- log.o ---
 2725 | #if DB_DBM_HSEARCH != 0
      |     ^
--- common.o ---
 2725 | #if DB_DBM_HSEARCH != 0
      |     ^
--- sequence.o ---
/usr/local/include/db5/db.h:3081:5: warning: 'DB_DBM_HSEARCH' is not defined, evaluates to 0 [-Wundef]
 3081 | #if DB_DBM_HSEARCH != 0
      |     ^
/usr/local/include/db5/db.h:3102:5: warning: 'DB_DBM_HSEARCH' is not defined, evaluates to 0 [-Wundef]
 3102 | #if DB_DBM_HSEARCH != 0
      |     ^
--- recnum.o ---
In file included from recnum.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]
 2725 | #if DB_DBM_HSEARCH != 0
      |     ^
--- lock.o ---
/usr/local/include/db5/db.h:3081:5: warning: 'DB_DBM_HSEARCH' is not defined, evaluates to 0 [-Wundef]
 3081 | #if DB_DBM_HSEARCH != 0
      |     ^
/usr/local/include/db5/db.h:3102:5: warning: 'DB_DBM_HSEARCH' is not defined, evaluates to 0 [-Wundef]
 3102 | #if DB_DBM_HSEARCH != 0
      |     ^
--- transaction.o ---
/usr/local/include/db5/db.h:3081:5: warning: 'DB_DBM_HSEARCH' is not defined, evaluates to 0 [-Wundef]
 3081 | #if DB_DBM_HSEARCH != 0
      |     ^
/usr/local/include/db5/db.h:3102:5: warning: 'DB_DBM_HSEARCH' is not defined, evaluates to 0 [-Wundef]
 3102 | #if DB_DBM_HSEARCH != 0
      |     ^
--- common.o ---
/usr/local/include/db5/db.h:3081:5: warning: 'DB_DBM_HSEARCH' is not defined, evaluates to 0 [-Wundef]
 3081 | #if DB_DBM_HSEARCH != 0
      |     ^
--- log.o ---
/usr/local/include/db5/db.h:3081:5: warning: 'DB_DBM_HSEARCH' is not defined, evaluates to 0 [-Wundef]
 3081 | #if DB_DBM_HSEARCH != 0
      |     ^
/usr/local/include/db5/db.h:3102:5: warning: 'DB_DBM_HSEARCH' is not defined, evaluates to 0 [-Wundef]
--- common.o ---
/usr/local/include/db5/db.h:3102:5: warning: 'DB_DBM_HSEARCH' is not defined, evaluates to 0 [-Wundef]
 3102 | #if DB_DBM_HSEARCH != 0
      |     ^
--- log.o ---
 3102 | #if DB_DBM_HSEARCH != 0
      |     ^
--- recnum.o ---
/usr/local/include/db5/db.h:3081:5: warning: 'DB_DBM_HSEARCH' is not defined, evaluates to 0 [-Wundef]
 3081 | #if DB_DBM_HSEARCH != 0
      |     ^
/usr/local/include/db5/db.h:3102:5: warning: 'DB_DBM_HSEARCH' is not defined, evaluates to 0 [-Wundef]
 3102 | #if DB_DBM_HSEARCH != 0
      |     ^
--- docs/doc/index.html ---
Parsing sources...
  5% [ 1/18]  arraylike.rd
 11% [ 2/18]  bdb.rb
 16% [ 3/18]  common.rb
--- all ---
--- cursor.o ---
cursor.c:191:42: warning: initializing 'VALUE *' (aka 'unsigned long *') with an expression of type 'volatile VALUE *' (aka 'volatile unsigned long *') discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
  191 |     cnt = rb_scan_args(argc, argv, "12", &a, &b, &c);
      |                                          ^~
/usr/local/include/ruby-3.2/ruby/internal/scan_args.h:501:25: note: expanded from macro 'rb_scan_args'
  501 |             ((VALUE*[]){__VA_ARGS__})),                       \
      |                         ^~~~~~~~~~~
/usr/local/include/ruby-3.2/ruby/internal/scan_args.h:375:55: note: expanded from macro 'rb_scan_args0'
  375 |                      (rb_scan_args_verify(fmt, varc), vars), (char *)fmt, varc)
      |                                                       ^~~~
cursor.c:191:42: warning: initializing 'VALUE *' (aka 'unsigned long *') with an expression of type 'volatile VALUE *' (aka 'volatile unsigned long *') discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
  191 |     cnt = rb_scan_args(argc, argv, "12", &a, &b, &c);
      |                                          ^~
/usr/local/include/ruby-3.2/ruby/internal/scan_args.h:500:32: note: expanded from macro 'rb_scan_args'
  500 |             (sizeof((VALUE*[]){__VA_ARGS__})/sizeof(VALUE*)), \
      |                                ^~~~~~~~~~~
/usr/local/include/ruby-3.2/ruby/internal/scan_args.h:375:75: note: expanded from macro 'rb_scan_args0'
  375 |                      (rb_scan_args_verify(fmt, varc), vars), (char *)fmt, varc)
      |                                                                           ^~~~
cursor.c:355:20: warning: variable 'd' set but not used [-Wunused-but-set-variable]
  355 |     volatile VALUE d = Qnil;
      |                    ^
--- docs/doc/index.html ---
 22% [ 4/18]  comxxx.rb
--- all ---
--- env.o ---
env.c:196:5: warning: 'DB_RET_NOTPERM' is not defined, evaluates to 0 [-Wundef]
  196 | #if DB_RET_NOTPERM || DB_RET_ISPERM
      |     ^
env.c:196:23: warning: 'DB_RET_ISPERM' is not defined, evaluates to 0 [-Wundef]
  196 | #if DB_RET_NOTPERM || DB_RET_ISPERM
      |                       ^
env.c:169:20: warning: implicit conversion loses integer precision: 'long' to 'u_int32_t' (aka 'unsigned int') [-Wshorten-64-to-32]
  169 |     control.size = RSTRING_LEN(av);
      |                  ~ ^~~~~~~~~~~~~~~
/usr/local/include/ruby-3.2/ruby/internal/core/rstring.h:52:27: note: expanded from macro 'RSTRING_LEN'
   52 | #define RSTRING_LEN       RSTRING_LEN
      |                           ^
env.c:171:16: warning: implicit conversion loses integer precision: 'long' to 'u_int32_t' (aka 'unsigned int') [-Wshorten-64-to-32]
  171 |     rec.size = RSTRING_LEN(bv);
      |              ~ ^~~~~~~~~~~~~~~
/usr/local/include/ruby-3.2/ruby/internal/core/rstring.h:52:27: note: expanded from macro 'RSTRING_LEN'
   52 | #define RSTRING_LEN       RSTRING_LEN
      |                           ^
env.c:218:15: warning: implicit conversion loses integer precision: 'long' to 'u_int32_t' (aka 'unsigned int') [-Wshorten-64-to-32]
  218 |         cdata.size = RSTRING_LEN(ident);
      |                    ~ ^~~~~~~~~~~~~~~~~~
/usr/local/include/ruby-3.2/ruby/internal/core/rstring.h:52:27: note: expanded from macro 'RSTRING_LEN'
   52 | #define RSTRING_LEN       RSTRING_LEN
      |                           ^
--- docs/doc/index.html ---
 27% [ 5/18]  cursor.rb
--- all ---
env.c:367:12: warning: implicit conversion loses integer precision: 'long' to 'pid_t' (aka 'int') [-Wshorten-64-to-32]
  367 |     *pid = NUM2LONG(RARRAY_PTR(res)[0]);
      |          ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/include/ruby-3.2/ruby/internal/arithmetic/long.h:51:22: note: expanded from macro 'NUM2LONG'
   51 | #define NUM2LONG     RB_NUM2LONG          /**< @old{RB_NUM2LONG} */
      |                      ^
/usr/local/include/ruby-3.2/ruby/internal/arithmetic/long.h:57:22: note: expanded from macro 'RB_NUM2LONG'
   57 | #define RB_NUM2LONG  rb_num2long_inline   /**< @alias{rb_num2long_inline} */
      |                      ^
--- bdb.o ---
bdb.c:672:5: warning: 'HAVE_CONST_BDB_TXN_COMMIT' is not defined, evaluates to 0 [-Wundef]
  672 | #if HAVE_CONST_BDB_TXN_COMMIT
      |     ^
--- docs/doc/index.html ---
 33% [ 6/18]  cursor.rd
--- all ---
--- log.o ---
log.c:58:17: warning: implicit conversion loses integer precision: 'long' to 'u_int32_t' (aka 'unsigned int') [-Wshorten-64-to-32]
   58 |     data.size = RSTRING_LEN(a);
      |               ~ ^~~~~~~~~~~~~~
/usr/local/include/ruby-3.2/ruby/internal/core/rstring.h:52:27: note: expanded from macro 'RSTRING_LEN'
   52 | #define RSTRING_LEN       RSTRING_LEN
      |                           ^
--- docs/doc/index.html ---
 38% [ 7/18]  env.rb
--- all ---
--- env.o ---
env.c:563:37: warning: 'HAVE_DB_ENV_SET_TAS_SPINS' is not defined, evaluates to 0 [-Wundef]
  563 | #if HAVE_ST_DB_ENV_SET_TAS_SPINS || HAVE_DB_ENV_SET_TAS_SPINS
      |                                     ^
--- recnum.o ---
recnum.c:45:16: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32]
   45 |         a = INT2NUM(i + beg);
      |             ~~~~~~~ ~~^~~~~
--- env.o ---
env.c:591:5: warning: 'DB_VERB_CHECKPOINT' is not defined, evaluates to 0 [-Wundef]
  591 | #if DB_VERB_CHECKPOINT
      |     ^
--- lock.o ---
lock.c:145:21: warning: call to undeclared function 'rb_tainted_str_new2'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
  145 |     rb_hash_aset(a, rb_tainted_str_new2("st_lastid"), INT2NUM(statp->st_id));
      |                     ^
--- recnum.o ---
recnum.c:64:24: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32]
   64 |     position = INT2NUM(offset);
      |                ~~~~~~~ ^~~~~~
--- log.o ---
log.c:174:23: warning: call to undeclared function 'rb_tainted_str_new2'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
  174 |     rb_hash_aset(res, rb_tainted_str_new2("st_magic"), INT2NUM(bdb_stat->st_magic));
      |                       ^
--- lock.o ---
lock.c:160:73: warning: implicit conversion loses integer precision: 'uintmax_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32]
  160 |     rb_hash_aset(a, rb_tainted_str_new2("st_nrequests"), INT2NUM(statp->st_nrequests));
      |                                                          ~~~~~~~ ~~~~~~~^~~~~~~~~~~~
lock.c:161:73: warning: implicit conversion loses integer precision: 'uintmax_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32]
  161 |     rb_hash_aset(a, rb_tainted_str_new2("st_nreleases"), INT2NUM(statp->st_nreleases));
      |                                                          ~~~~~~~ ~~~~~~~^~~~~~~~~~~~
lock.c:163:75: warning: implicit conversion loses integer precision: 'uintmax_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32]
  163 |     rb_hash_aset(a, rb_tainted_str_new2("st_lock_nowait"), INT2NUM(statp->st_lock_nowait));
      |                                                            ~~~~~~~ ~~~~~~~^~~~~~~~~~~~~~
lock.c:167:73: warning: implicit conversion loses integer precision: 'uintmax_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32]
  167 |     rb_hash_aset(a, rb_tainted_str_new2("st_lock_wait"), INT2NUM(statp->st_lock_wait));
      |                                                          ~~~~~~~ ~~~~~~~^~~~~~~~~~~~
lock.c:175:74: warning: implicit conversion loses integer precision: 'uintmax_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32]
  175 |     rb_hash_aset(a, rb_tainted_str_new2("st_ndeadlocks"), INT2NUM(statp->st_ndeadlocks));
      |                                                           ~~~~~~~ ~~~~~~~^~~~~~~~~~~~~
lock.c:176:77: warning: implicit conversion loses integer precision: 'uintmax_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32]
  176 |     rb_hash_aset(a, rb_tainted_str_new2("st_nlocktimeouts"), INT2NUM(statp->st_nlocktimeouts));
      |                                                              ~~~~~~~ ~~~~~~~^~~~~~~~~~~~~~~~
lock.c:177:76: warning: implicit conversion loses integer precision: 'uintmax_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32]
  177 |     rb_hash_aset(a, rb_tainted_str_new2("st_ntxntimeouts"), INT2NUM(statp->st_ntxntimeouts));
      |                                                             ~~~~~~~ ~~~~~~~^~~~~~~~~~~~~~~
lock.c:178:71: warning: implicit conversion loses integer precision: 'roff_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32]
  178 |     rb_hash_aset(a, rb_tainted_str_new2("st_regsize"), INT2NUM(statp->st_regsize));
      |                                                        ~~~~~~~ ~~~~~~~^~~~~~~~~~
lock.c:179:75: warning: implicit conversion loses integer precision: 'uintmax_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32]
--- common.o ---
common.c:195:34: warning: implicit conversion loses integer precision: 'long' to 'u_int32_t' (aka 'unsigned int') [-Wshorten-64-to-32]
  195 |     key->size = RSTRING_LEN(tmp) + is_nil;
      |               ~ ~~~~~~~~~~~~~~~~~^~~~~~~~
--- lock.o ---
  179 |     rb_hash_aset(a, rb_tainted_str_new2("st_region_wait"), INT2NUM(statp->st_region_wait));
      |                                                            ~~~~~~~ ~~~~~~~^~~~~~~~~~~~~~
lock.c:180:77: warning: implicit conversion loses integer precision: 'uintmax_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32]
  180 |     rb_hash_aset(a, rb_tainted_str_new2("st_region_nowait"), INT2NUM(statp->st_region_nowait));
      |                                                              ~~~~~~~ ~~~~~~~^~~~~~~~~~~~~~~~
lock.c:182:75: warning: implicit conversion loses integer precision: 'uintmax_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32]
  182 |     rb_hash_aset(a, rb_tainted_str_new2("st_objs_nowait"), INT2NUM(statp->st_objs_nowait));
      |                                                            ~~~~~~~ ~~~~~~~^~~~~~~~~~~~~~
lock.c:185:73: warning: implicit conversion loses integer precision: 'uintmax_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32]
  185 |     rb_hash_aset(a, rb_tainted_str_new2("st_objs_wait"), INT2NUM(statp->st_objs_wait));
      |                                                          ~~~~~~~ ~~~~~~~^~~~~~~~~~~~
lock.c:188:78: warning: implicit conversion loses integer precision: 'uintmax_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32]
  188 |     rb_hash_aset(a, rb_tainted_str_new2("st_lockers_nowait"), INT2NUM(statp->st_lockers_nowait));
      |                                                               ~~~~~~~ ~~~~~~~^~~~~~~~~~~~~~~~~
lock.c:191:76: warning: implicit conversion loses integer precision: 'uintmax_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32]
  191 |     rb_hash_aset(a, rb_tainted_str_new2("st_lockers_wait"), INT2NUM(statp->st_lockers_wait));
      |                                                             ~~~~~~~ ~~~~~~~^~~~~~~~~~~~~~~
--- sequence.o ---
sequence.c:273:56: warning: implicit conversion loses integer precision: 'uintmax_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32]
  273 |     rb_hash_aset(res, rb_str_new2("wait"), INT2NUM(sta.st_wait));
      |                                            ~~~~~~~ ~~~~^~~~~~~
sequence.c:274:58: warning: implicit conversion loses integer precision: 'uintmax_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32]
  274 |     rb_hash_aset(res, rb_str_new2("nowait"), INT2NUM(sta.st_nowait));
      |                                              ~~~~~~~ ~~~~^~~~~~~~~
--- log.o ---
log.c:176:76: warning: implicit conversion loses integer precision: 'roff_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32]
  176 |     rb_hash_aset(res, rb_tainted_str_new2("st_regsize"), INT2NUM(bdb_stat->st_regsize));
      |                                                          ~~~~~~~ ~~~~~~~~~~^~~~~~~~~~
log.c:194:75: warning: implicit conversion loses integer precision: 'uintmax_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32]
--- sequence.o ---
sequence.c:275:59: warning: implicit conversion loses integer precision: 'db_seq_t' (aka 'long') to 'int' [-Wshorten-64-to-32]
  275 |     rb_hash_aset(res, rb_str_new2("current"), INT2NUM(sta.st_current));
      |                                               ~~~~~~~ ~~~~^~~~~~~~~~
sequence.c:276:57: warning: implicit conversion loses integer precision: 'db_seq_t' (aka 'long') to 'int' [-Wshorten-64-to-32]
  276 |     rb_hash_aset(res, rb_str_new2("value"), INT2NUM(sta.st_value));
      |                                             ~~~~~~~ ~~~~^~~~~~~~
sequence.c:277:62: warning: implicit conversion loses integer precision: 'db_seq_t' (aka 'long') to 'int' [-Wshorten-64-to-32]
--- log.o ---
  194 |     rb_hash_aset(res, rb_tainted_str_new2("st_wcount"), INT2NUM(bdb_stat->st_wcount));
      |                                                         ~~~~~~~ ~~~~~~~~~~^~~~~~~~~
log.c:196:80: warning: implicit conversion loses integer precision: 'uintmax_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32]
--- sequence.o ---
  277 |     rb_hash_aset(res, rb_str_new2("last_value"), INT2NUM(sta.st_last_value));
      |                                                  ~~~~~~~ ~~~~^~~~~~~~~~~~~
sequence.c:278:55: warning: implicit conversion loses integer precision: 'db_seq_t' (aka 'long') to 'int' [-Wshorten-64-to-32]
--- lock.o ---
lock.c:275:5: warning: call to undeclared function 'rb_secure'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
  275 |     rb_secure(2);
      |     ^
--- log.o ---
  196 |     rb_hash_aset(res, rb_tainted_str_new2("st_wcount_fill"), INT2NUM(bdb_stat->st_wcount_fill));
      |                                                              ~~~~~~~ ~~~~~~~~~~^~~~~~~~~~~~~~
log.c:198:75: warning: implicit conversion loses integer precision: 'uintmax_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32]
--- sequence.o ---
  278 |     rb_hash_aset(res, rb_str_new2("min"), INT2NUM(sta.st_min));
      |                                           ~~~~~~~ ~~~~^~~~~~
sequence.c:279:55: warning: implicit conversion loses integer precision: 'db_seq_t' (aka 'long') to 'int' [-Wshorten-64-to-32]
  279 |     rb_hash_aset(res, rb_str_new2("max"), INT2NUM(sta.st_max));
      |                                           ~~~~~~~ ~~~~^~~~~~
--- log.o ---
  198 |     rb_hash_aset(res, rb_tainted_str_new2("st_scount"), INT2NUM(bdb_stat->st_scount));
      |                                                         ~~~~~~~ ~~~~~~~~~~^~~~~~~~~
log.c:201:80: warning: implicit conversion loses integer precision: 'uintmax_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32]
  201 |     rb_hash_aset(res, rb_tainted_str_new2("st_region_wait"), INT2NUM(bdb_stat->st_region_wait));
      |                                                              ~~~~~~~ ~~~~~~~~~~^~~~~~~~~~~~~~
log.c:202:82: warning: implicit conversion loses integer precision: 'uintmax_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32]
  202 |     rb_hash_aset(res, rb_tainted_str_new2("st_region_nowait"), INT2NUM(bdb_stat->st_region_nowait));
      |                                                                ~~~~~~~ ~~~~~~~~~~^~~~~~~~~~~~~~~~
log.c:332:8: warning: call to undeclared function 'rb_tainted_str_new'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
  332 |         res = rb_tainted_str_new(data.data, data.size);
      |               ^
--- lock.o ---
lock.c:288:18: warning: implicit conversion loses integer precision: 'long' to 'u_int32_t' (aka 'unsigned int') [-Wshorten-64-to-32]
  288 |     objet.size = RSTRING_LEN(a);
      |                ~ ^~~~~~~~~~~~~~
/usr/local/include/ruby-3.2/ruby/internal/core/rstring.h:52:27: note: expanded from macro 'RSTRING_LEN'
   52 | #define RSTRING_LEN       RSTRING_LEN
      |                           ^
--- env.o ---
env.c:889:5: warning: 'HAVE_ST_DB_ENV_SET_FEEBACK' is not defined, evaluates to 0 [-Wundef]
  889 | #if HAVE_ST_DB_ENV_SET_FEEBACK
      |     ^
--- lock.o ---
lock.c:360:20: warning: implicit conversion loses integer precision: 'long' to 'u_int32_t' (aka 'unsigned int') [-Wshorten-64-to-32]
  360 |         list->obj->size = RSTRING_LEN(value);
      |                         ~ ^~~~~~~~~~~~~~~~~~
/usr/local/include/ruby-3.2/ruby/internal/core/rstring.h:52:27: note: expanded from macro 'RSTRING_LEN'
   52 | #define RSTRING_LEN       RSTRING_LEN
      |                           ^
lock.c:380:18: warning: implicit conversion loses integer precision: 'VALUE' (aka 'unsigned long') to 'db_timeout_t' (aka 'unsigned int') [-Wshorten-64-to-32]
  380 |         list->timeout = rb_Integer(value);
      |                       ~ ^~~~~~~~~~~~~~~~~
--- recnum.o ---
recnum.c:161:19: warning: comparison of integers of different signs: 'VALUE' (aka 'unsigned long') and 'long' [-Wsign-compare]
  161 |     if (beg + len > dbst->len) {
      |         ~~~~~~~~~ ^ ~~~~~~~~~
recnum.c:174:13: warning: comparison of integers of different signs: 'VALUE' (aka 'unsigned long') and 'long' [-Wsign-compare]
  174 |     if (beg >= dbst->len) {
      |         ~~~ ^  ~~~~~~~~~
recnum.c:175:24: warning: comparison of integers of different signs: 'long' and 'VALUE' (aka 'unsigned long') [-Wsign-compare]
  175 |         for (i = dbst->len; i < beg; i++) {
      |                             ~ ^ ~~~
recnum.c:176:23: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32]
  176 |             tmp[0] = INT2NUM(i);
      |                      ~~~~~~~ ^
recnum.c:181:23: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32]
  181 |             tmp[0] = INT2NUM(i);
      |                      ~~~~~~~ ^
recnum.c:190:32: warning: comparison of integers of different signs: 'long' and 'VALUE' (aka 'unsigned long') [-Wsign-compare]
  190 |             for (i = dbst->len - 1; i >= (beg + len); i--) {
      |                                     ~ ^   ~~~~~~~~~
recnum.c:191:20: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32]
  191 |                 tmp[0] = INT2NUM(i);
      |                          ~~~~~~~ ^
recnum.c:193:29: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32]
  193 |                 tmp[0] = INT2NUM(i + rlen - len);
      |                          ~~~~~~~ ~~~~~~~~~^~~~~
recnum.c:199:23: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32]
  199 |             tmp[0] = INT2NUM(i);
      |                      ~~~~~~~ ^
recnum.c:205:20: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32]
  205 |                 tmp[0] = INT2NUM(i);
      |                          ~~~~~~~ ^
recnum.c:207:29: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32]
  207 |                 tmp[0] = INT2NUM(i + rlen - len);
      |                          ~~~~~~~ ~~~~~~~~~^~~~~
recnum.c:210:45: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32]
  210 |             bdb_intern_shift_pop(obj, DB_LAST, len - rlen);
      |             ~~~~~~~~~~~~~~~~~~~~               ~~~~^~~~~~
--- transaction.o ---
transaction.c:370:9: warning: variable 'txn' is used uninitialized whenever 'if' condition is false [-Wsometimes-uninitialized]
  370 |     if (origin == Qfalse) {
      |         ^~~~~~~~~~~~~~~~
transaction.c:385:20: note: uninitialized use occurs here
  385 |     txnst->txnid = txn;
      |                    ^~~
transaction.c:370:5: note: remove the 'if' if its condition is always true
  370 |     if (origin == Qfalse) {
      |     ^~~~~~~~~~~~~~~~~~~~~
transaction.c:316:16: note: initialize the variable 'txn' to silence this warning
  316 |     DB_TXN *txn, *txnpar;
      |                ^
      |                 = NULL
--- lock.o ---
lock.c:416:2: warning: 'rb_iterate' is deprecated: by: rb_block_call since 1.9 [-Wdeprecated-declarations]
  416 |         rb_iterate(rb_each, b, bdb_lockid_each, listobj);
      |         ^
--- env.o ---
env.c:634:6: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32]
  634 |         l = RARRAY_LEN(value);
      |           ~ ^~~~~~~~~~~~~~~~~
--- lock.o ---
/usr/local/include/ruby-3.2/ruby/internal/iterator.h:269:1: note: 'rb_iterate' has been explicitly marked deprecated here
--- env.o ---
/usr/local/include/ruby-3.2/ruby/internal/core/rarray.h:68:36: note: expanded from macro 'RARRAY_LEN'
   68 | #define RARRAY_LEN                 rb_array_len                 /**< @alias{rb_array_len} */
      |                                    ^
--- lock.o ---
  269 | RBIMPL_ATTR_DEPRECATED(("by: rb_block_call since 1.9"))
      | ^
/usr/local/include/ruby-3.2/ruby/internal/attr/deprecated.h:36:53: note: expanded from macro 'RBIMPL_ATTR_DEPRECATED'
   36 | # define RBIMPL_ATTR_DEPRECATED(msg) __attribute__((__deprecated__ msg))
      |                                                     ^
--- log.o ---
log.c:501:19: warning: call to undeclared function 'rb_tainted_str_new2'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
  501 |         rb_ary_push(res, rb_tainted_str_new2(*file));
      |                          ^
--- recnum.o ---
recnum.c:255:17: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32]
  255 |         for (i = dbst->len; i < beg; i++) {
      |                ~ ~~~~~~^~~
recnum.c:261:23: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32]
  261 |     argv[0] = INT2NUM(beg);
      |               ~~~~~~~ ^~~
--- lock.o ---
lock.c:395:12: warning: variable 'n' set but not used [-Wunused-but-set-variable]
  395 |     int i, n, err;
      |            ^
lock.c:427:11: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32]
  426 |     err = envst->envp->lock_vec(envst->envp, lockid->lock, flags,
      |           ~~~~~
  427 |                                 list, RARRAY_LEN(a), NULL);
      |                                       ^~~~~~~~~~~~~
/usr/local/include/ruby-3.2/ruby/internal/core/rarray.h:68:36: note: expanded from macro 'RARRAY_LEN'
   68 | #define RARRAY_LEN                 rb_array_len                 /**< @alias{rb_array_len} */
      |                                    ^
--- log.o ---
log.c:540:12: warning: call to undeclared function 'rb_tainted_str_new2'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
  540 |     return rb_tainted_str_new2(name);
      |            ^
--- recnum.o ---
recnum.c:319:25: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32]
  319 |     tmp = INT2NUM(dbst->len);
      |           ~~~~~~~ ~~~~~~^~~
recnum.c:340:19: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32]
  340 |     pos = INT2NUM(idx);
      |           ~~~~~~~ ^~~
recnum.c:355:25: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32]
  355 |         tmp[0] = INT2NUM(dbst->len);
      |                  ~~~~~~~ ~~~~~~^~~
--- log.o ---
log.c:614:11: warning: call to undeclared function 'rb_tainted_str_new'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
  614 |     res = rb_tainted_str_new(data.data, data.size);
      |           ^
--- recnum.o ---
recnum.c:370:28: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32]
  370 |     tmp[0] = INT2NUM(dbst->len);
      |              ~~~~~~~ ~~~~~~^~~
recnum.c:390:29: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32]
  390 |             tmp[0] = INT2NUM(dbst->len);
      |                      ~~~~~~~ ~~~~~~^~~
--- transaction.o ---
transaction.c:648:21: warning: call to undeclared function 'rb_tainted_str_new2'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
  648 |     rb_hash_aset(a, rb_tainted_str_new2("st_time_ckp"), INT2NUM(bdb_stat->st_time_ckp));
      |                     ^
--- env.o ---
env.c:1349:5: warning: 'HAVE_ST_DB_ENV_SET_ENV_NOTIFY' is not defined, evaluates to 0 [-Wundef]
 1349 | #if HAVE_ST_DB_ENV_SET_ENV_NOTIFY
      |     ^
--- recnum.o ---
recnum.c:452:23: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32]
  452 |             tmp[0] = INT2NUM(i);
      |                      ~~~~~~~ ^
recnum.c:454:25: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32]
  454 |             tmp[0] = INT2NUM(i + argc);
      |                      ~~~~~~~ ~~^~~~~~
recnum.c:458:23: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32]
  458 |             tmp[0] = INT2NUM(i);
      |                      ~~~~~~~ ^
--- transaction.o ---
transaction.c:648:75: warning: implicit conversion loses integer precision: 'time_t' (aka 'long') to 'int' [-Wshorten-64-to-32]
  648 |     rb_hash_aset(a, rb_tainted_str_new2("st_time_ckp"), INT2NUM(bdb_stat->st_time_ckp));
      |                                                         ~~~~~~~ ~~~~~~~~~~^~~~~~~~~~~
transaction.c:651:74: warning: implicit conversion loses integer precision: 'uintmax_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32]
  651 |     rb_hash_aset(a, rb_tainted_str_new2("st_naborts"), INT2NUM(bdb_stat->st_naborts));
      |                                                        ~~~~~~~ ~~~~~~~~~~^~~~~~~~~~
transaction.c:652:74: warning: implicit conversion loses integer precision: 'uintmax_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32]
  652 |     rb_hash_aset(a, rb_tainted_str_new2("st_nbegins"), INT2NUM(bdb_stat->st_nbegins));
      |                                                        ~~~~~~~ ~~~~~~~~~~^~~~~~~~~~
transaction.c:653:75: warning: implicit conversion loses integer precision: 'uintmax_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32]
  653 |     rb_hash_aset(a, rb_tainted_str_new2("st_ncommits"), INT2NUM(bdb_stat->st_ncommits));
      |                                                         ~~~~~~~ ~~~~~~~~~~^~~~~~~~~~~
--- env.o ---
env.c:1408:5: warning: 'HAVE_ST_DB_ENV_SET_ENV_NOTIFY' is not defined, evaluates to 0 [-Wundef]
 1408 | #if HAVE_ST_DB_ENV_SET_ENV_NOTIFY
      |     ^
--- transaction.o ---
transaction.c:659:74: warning: implicit conversion loses integer precision: 'roff_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32]
  659 |     rb_hash_aset(a, rb_tainted_str_new2("st_regsize"), INT2NUM(bdb_stat->st_regsize));
      |                                                        ~~~~~~~ ~~~~~~~~~~^~~~~~~~~~
transaction.c:662:78: warning: implicit conversion loses integer precision: 'uintmax_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32]
  662 |     rb_hash_aset(a, rb_tainted_str_new2("st_region_wait"), INT2NUM(bdb_stat->st_region_wait));
      |                                                            ~~~~~~~ ~~~~~~~~~~^~~~~~~~~~~~~~
transaction.c:665:80: warning: implicit conversion loses integer precision: 'uintmax_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32]
  665 |     rb_hash_aset(a, rb_tainted_str_new2("st_region_nowait"), INT2NUM(bdb_stat->st_region_nowait));
      |                                                              ~~~~~~~ ~~~~~~~~~~^~~~~~~~~~~~~~~~
transaction.c:687:16: warning: comparison of integers of different signs: 'int' and 'u_int32_t' (aka 'unsigned int') [-Wsign-compare]
  687 |         for (i = 0; i < bdb_stat->st_nactive; i++) {
      |                     ~ ^ ~~~~~~~~~~~~~~~~~~~~
--- recnum.o ---
recnum.c:474:26: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32]
  474 |     return INT2NUM(dbst->len);
      |            ~~~~~~~ ~~~~~~^~~
--- common.o ---
common.c:811:5: warning: 'HAVE_ST_DB_SET_Q_EXTENTSIZE' is not defined, evaluates to 0 [-Wundef]
  811 | #if HAVE_ST_DB_SET_Q_EXTENTSIZE
      |     ^
--- recnum.o ---
recnum.c:517:19: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32]
  517 |         tmp[0] = INT2NUM(i);
      |                  ~~~~~~~ ^
recnum.c:519:19: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32]
  519 |         tmp[0] = INT2NUM(j);
      |                  ~~~~~~~ ^
recnum.c:521:19: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32]
  521 |         tmp[0] = INT2NUM(i);
      |                  ~~~~~~~ ^
recnum.c:523:19: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32]
  523 |         tmp[0] = INT2NUM(j);
      |                  ~~~~~~~ ^
--- docs/doc/index.html ---
 44% [ 8/18]  env.rd
--- all ---
recnum.c:612:16: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32]
  612 |         tmp = INT2NUM(i1);
      |               ~~~~~~~ ^~
recnum.c:615:27: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32]
  615 |             bdb_del(obj, INT2NUM(i1));
      |                          ~~~~~~~ ^~
recnum.c:645:19: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32]
  645 |     tmp = INT2NUM(pos);
      |           ~~~~~~~ ^~~
--- common.o ---
common.c:931:15: warning: implicit conversion loses integer precision: 'VALUE' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32]
  931 |             opened = bdb_ary_delete(&txnst->db_ary, dbst->ori_val);
      |                    ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
common.c:933:12: warning: implicit conversion loses integer precision: 'VALUE' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32]
  933 |                 opened = bdb_ary_delete(&txnst->db_assoc, dbst->ori_val);
      |                        ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
--- recnum.o ---
recnum.c:662:16: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32]
  662 |         tmp = INT2NUM(i1);
      |               ~~~~~~~ ^~
--- transaction.o ---
transaction.c:890:12: warning: call to undeclared function 'rb_tainted_str_new2'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
  890 |     return rb_tainted_str_new2(name);
      |            ^
--- docs/doc/index.html ---
 50% [ 9/18]  exception.rb
 55% [10/18]  hashlike.rd
--- all ---
--- recnum.o ---
recnum.c:748:21: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32]
  748 |         tmp[0] = INT2NUM(i + beg);
      |                  ~~~~~~~ ~~^~~~~
--- docs/doc/index.html ---
 61% [11/18]  lock.rb
--- all ---
recnum.c:781:16: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32]
  781 |         tmp = INT2NUM(i);
      |               ~~~~~~~ ^
recnum.c:829:20: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32]
  829 |     arg1 = INT2NUM(pos);
      |            ~~~~~~~ ^~~
--- docs/doc/index.html ---
 66% [12/18]  lock.rd
--- all ---
recnum.c:881:16: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32]
  881 |         tmp = INT2NUM(i);
      |               ~~~~~~~ ^
recnum.c:884:27: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32]
  884 |             bdb_del(obj, INT2NUM(i));
      |                          ~~~~~~~ ^
--- docs/doc/index.html ---
 72% [13/18]  log.rb
--- all ---
recnum.c:905:16: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32]
  905 |         tmp = INT2NUM(i);
      |               ~~~~~~~ ^
recnum.c:909:20: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32]
  909 |     return INT2NUM(j);
      |            ~~~~~~~ ^
--- docs/doc/index.html ---
 77% [14/18]  log.rd
 83% [15/18]  sequence.rb
 88% [16/18]  sequence.rd
 94% [17/18]  transaction.rb
--- all ---
--- common.o ---
common.c:1577:6: warning: call to undeclared function 'RBASIC_SET_CLASS_RAW'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
 1577 |             RBASIC_SET_CLASS_RAW(obj, bdb_cBtree);
      |             ^
common.c:1310:11: warning: variable 'hash_arg' set but not used [-Wunused-but-set-variable]
 1310 |     VALUE hash_arg = Qnil;
      |           ^
--- env.o ---
env.c:1994:60: warning: passing 'int *' to parameter of type 'u_int32_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
 1994 |         bdb_test_error(envst->envp->rep_get_priority(envst->envp, &size));
      |                                                                   ^~~~~
env.c:1946:17: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32]
 1946 |         return INT2NUM(shm_key);
      |                ~~~~~~~ ^~~~~~~
env.c:1988:17: warning: implicit conversion loses integer precision: 'time_t' (aka 'long') to 'int' [-Wshorten-64-to-32]
 1988 |         return INT2NUM(timeval);
      |                ~~~~~~~ ^~~~~~~
env.c:2012:5: warning: initializing 'char *' with an expression of type 'const char[10]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
 2012 |     "cachesize",
      |     ^~~~~~~~~~~
env.c:2015:5: warning: initializing 'char *' with an expression of type 'const char[10]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
 2015 |     "data_dirs",
      |     ^~~~~~~~~~~
env.c:2018:5: warning: initializing 'char *' with an expression of type 'const char[6]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
 2018 |     "flags",
      |     ^~~~~~~
env.c:2021:5: warning: initializing 'char *' with an expression of type 'const char[5]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
 2021 |     "home",
      |     ^~~~~~
env.c:2024:5: warning: initializing 'char *' with an expression of type 'const char[9]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
 2024 |     "lg_bsize",
      |     ^~~~~~~~~~
env.c:2027:5: warning: initializing 'char *' with an expression of type 'const char[7]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
 2027 |     "lg_dir",
      |     ^~~~~~~~
env.c:2030:5: warning: initializing 'char *' with an expression of type 'const char[7]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
 2030 |     "lg_max",
      |     ^~~~~~~~
--- common.o ---
common.c:1641:26: warning: call to undeclared function 'RCLASS_M_TBL'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
 1641 |         if (cl == bdb_cBtree || RCLASS_M_TBL(cl) == RCLASS_M_TBL(bdb_cBtree)) {
      |                                 ^
--- env.o ---
env.c:2033:5: warning: initializing 'char *' with an expression of type 'const char[13]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
 2033 |     "lg_regionmax",
      |     ^~~~~~~~~~~~~~
env.c:2036:5: warning: initializing 'char *' with an expression of type 'const char[10]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
 2036 |     "lk_detect",
      |     ^~~~~~~~~~~
env.c:2039:5: warning: initializing 'char *' with an expression of type 'const char[15]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
 2039 |     "lk_max_lockers",
      |     ^~~~~~~~~~~~~~~~
env.c:2042:5: warning: initializing 'char *' with an expression of type 'const char[13]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
 2042 |     "lk_max_locks",
      |     ^~~~~~~~~~~~~~
env.c:2045:5: warning: initializing 'char *' with an expression of type 'const char[15]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
 2045 |     "lk_max_objects",
      |     ^~~~~~~~~~~~~~~~
env.c:2048:5: warning: initializing 'char *' with an expression of type 'const char[12]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
 2048 |     "mp_mmapsize",
      |     ^~~~~~~~~~~~~
env.c:2051:5: warning: initializing 'char *' with an expression of type 'const char[11]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
 2051 |     "open_flags",
      |     ^~~~~~~~~~~~
env.c:2057:5: warning: initializing 'char *' with an expression of type 'const char[8]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
 2057 |     "shm_key",
      |     ^~~~~~~~~
env.c:2063:5: warning: initializing 'char *' with an expression of type 'const char[12]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
 2063 |     "txn_timeout",
      |     ^~~~~~~~~~~~~
env.c:2064:5: warning: initializing 'char *' with an expression of type 'const char[13]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
 2064 |     "lock_timeout",
      |     ^~~~~~~~~~~~~~
env.c:2067:5: warning: initializing 'char *' with an expression of type 'const char[8]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
 2067 |     "tmp_dir",
      |     ^~~~~~~~~
env.c:2070:5: warning: initializing 'char *' with an expression of type 'const char[7]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
 2070 |     "tx_max",
      |     ^~~~~~~~
env.c:2073:5: warning: initializing 'char *' with an expression of type 'const char[13]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
 2073 |     "rep_priority", 
      |     ^~~~~~~~~~~~~~
env.c:2076:5: warning: initializing 'char *' with an expression of type 'const char[11]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
 2076 |     "rep_nsites",
      |     ^~~~~~~~~~~~
env.c:2079:5: warning: initializing 'char *' with an expression of type 'const char[13]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
 2079 |     "tx_timestamp",
      |     ^~~~~~~~~~~~~~
--- common.o ---
common.c:1794:65: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int]
 1794 | bdb_append_internal(int argc, VALUE *argv, VALUE obj, int flag, retval)
      |                                                                 ^
      |                                                                 int
--- docs/doc/index.html ---
100% [18/18]  transaction.rd
--- all ---
common.c:1802:20: warning: variable 'res' set but not used [-Wunused-but-set-variable]
 1802 |     volatile VALUE res;
      |                    ^
common.c:1832:45: warning: comparison of integers of different signs: 'int' and 'u_int32_t' (aka 'unsigned int') [-Wsign-compare]
 1832 |         if (dbst->type == DB_QUEUE && dbst->re_len < data.size) {
      |                                       ~~~~~~~~~~~~ ^ ~~~~~~~~~
common.c:1854:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype]
 1854 | bdb_append(obj, val)
      | ^
--- bdb.o ---
4 warnings generated.
--- common.o ---
common.c:1864:13: warning: variable 'txnid' set but not used [-Wunused-but-set-variable]
 1864 |     DB_TXN *txnid;
      |             ^
common.c:1880:20: warning: variable 'a0' set but not used [-Wunused-but-set-variable]
 1880 |     volatile VALUE a0;
      |                    ^
common.c:1904:48: warning: comparison of integers of different signs: 'int' and 'u_int32_t' (aka 'unsigned int') [-Wsign-compare]
 1904 |     if (dbst->type == DB_QUEUE && dbst->re_len < data.size) {
      |                                   ~~~~~~~~~~~~ ^ ~~~~~~~~~
common.c:1919:15: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32]
 1919 |                 a = INT2NUM((long)key.data);
      |                     ~~~~~~~ ^~~~~~~~~~~~~~
--- docs/doc/index.html ---

Generating Darkfish format into /magus/work/usr/mports/databases/ruby-bdb/work/bdb-0.6.6/docs/doc...

You can visit the home page at: ]8;;file:///magus/work/usr/mports/databases/ruby-bdb/work/bdb-0.6.6/docs/doc/index.html\file:///magus/work/usr/mports/databases/ruby-bdb/work/bdb-0.6.6/docs/doc/index.html]8;;\
--- all ---
--- env.o ---
env.c:2339:5: warning: 'HAVE_ST_DB_ENV_REPMGR_SITE_LIST' is not defined, evaluates to 0 [-Wundef]
 2339 | #if HAVE_ST_DB_ENV_REPMGR_SITE_LIST
      |     ^
--- common.o ---
common.c:2169:20: warning: variable 'b' set but not used [-Wunused-but-set-variable]
 2169 |     volatile VALUE b;
      |                    ^
common.c:2202:32: warning: implicit conversion loses integer precision: 'long' to 'db_timeout_t' (aka 'unsigned int') [-Wshorten-64-to-32]
 2202 |         dtf->cdata->compact_timeout = NUM2LONG(value);
      |                                     ~ ^~~~~~~~~~~~~~~
/usr/local/include/ruby-3.2/ruby/internal/arithmetic/long.h:51:22: note: expanded from macro 'NUM2LONG'
   51 | #define NUM2LONG     RB_NUM2LONG          /**< @old{RB_NUM2LONG} */
      |                      ^
/usr/local/include/ruby-3.2/ruby/internal/arithmetic/long.h:57:22: note: expanded from macro 'RB_NUM2LONG'
   57 | #define RB_NUM2LONG  rb_num2long_inline   /**< @alias{rb_num2long_inline} */
      |                      ^
--- env.o ---
env.c:2463:61: warning: passing 'int *' to parameter of type 'u_int32_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
 2463 |     bdb_test_error(envst->envp->rep_get_nsites(envst->envp, &offon));
      |                                                             ^~~~~~
--- common.o ---
common.c:2296:20: warning: variable 'b' set but not used [-Wunused-but-set-variable]
 2296 |     volatile VALUE b;
      |                    ^
--- env.o ---
env.c:2488:63: warning: passing 'int *' to parameter of type 'u_int32_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
 2488 |     bdb_test_error(envst->envp->rep_get_priority(envst->envp, &offon));
      |                                                               ^~~~~~
--- common.o ---
common.c:2485:20: warning: variable 'c' set but not used [-Wunused-but-set-variable]
 2485 |     volatile VALUE c;
      |                    ^
common.c:2486:20: warning: variable 'd' set but not used [-Wunused-but-set-variable]
 2486 |     volatile VALUE d;
      |                    ^
common.c:2531:20: warning: variable 'b' set but not used [-Wunused-but-set-variable]
 2531 |     volatile VALUE b;
      |                    ^
--- env.o ---
env.c:2583:67: warning: implicit conversion loses integer precision: 'uintmax_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32]
 2583 |     rb_hash_aset(a, rb_str_new_cstr("st_bulk_fills"), INT2NUM(bs->st_bulk_fills));
      |                                                       ~~~~~~~ ~~~~^~~~~~~~~~~~~
env.c:2586:71: warning: implicit conversion loses integer precision: 'uintmax_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32]
 2586 |     rb_hash_aset(a, rb_str_new_cstr("st_bulk_overflows"), INT2NUM(bs->st_bulk_overflows));
      |                                                           ~~~~~~~ ~~~~^~~~~~~~~~~~~~~~~
env.c:2589:69: warning: implicit conversion loses integer precision: 'uintmax_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32]
 2589 |     rb_hash_aset(a, rb_str_new_cstr("st_bulk_records"), INT2NUM(bs->st_bulk_records));
      |                                                         ~~~~~~~ ~~~~^~~~~~~~~~~~~~~
env.c:2592:71: warning: implicit conversion loses integer precision: 'uintmax_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32]
 2592 |     rb_hash_aset(a, rb_str_new_cstr("st_bulk_transfers"), INT2NUM(bs->st_bulk_transfers));
      |                                                           ~~~~~~~ ~~~~^~~~~~~~~~~~~~~~~
env.c:2595:74: warning: implicit conversion loses integer precision: 'uintmax_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32]
 2595 |     rb_hash_aset(a, rb_str_new_cstr("st_client_rerequests"), INT2NUM(bs->st_client_rerequests));
      |                                                              ~~~~~~~ ~~~~^~~~~~~~~~~~~~~~~~~~
env.c:2598:72: warning: implicit conversion loses integer precision: 'uintmax_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32]
 2598 |     rb_hash_aset(a, rb_str_new_cstr("st_client_svc_miss"), INT2NUM(bs->st_client_svc_miss));
      |                                                            ~~~~~~~ ~~~~^~~~~~~~~~~~~~~~~~
env.c:2601:71: warning: implicit conversion loses integer precision: 'uintmax_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32]
 2601 |     rb_hash_aset(a, rb_str_new_cstr("st_client_svc_req"), INT2NUM(bs->st_client_svc_req));
      |                                                           ~~~~~~~ ~~~~^~~~~~~~~~~~~~~~~
env.c:2607:76: warning: implicit conversion loses integer precision: 'db_ssize_t' (aka 'long') to 'int' [-Wshorten-64-to-32]
 2607 |     rb_hash_aset(a, rb_str_new_cstr("st_election_cur_winner"), INT2NUM(bs->st_election_cur_winner));
      |                                                                ~~~~~~~ ~~~~^~~~~~~~~~~~~~~~~~~~~~
env.c:2629:66: warning: implicit conversion loses integer precision: 'uintmax_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32]
 2629 |     rb_hash_aset(a, rb_str_new_cstr("st_elections"), INT2NUM(bs->st_elections));
      |                                                      ~~~~~~~ ~~~~^~~~~~~~~~~~
env.c:2630:70: warning: implicit conversion loses integer precision: 'uintmax_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32]
 2630 |     rb_hash_aset(a, rb_str_new_cstr("st_elections_won"), INT2NUM(bs->st_elections_won));
      |                                                          ~~~~~~~ ~~~~^~~~~~~~~~~~~~~~
env.c:2631:63: warning: implicit conversion loses integer precision: 'db_ssize_t' (aka 'long') to 'int' [-Wshorten-64-to-32]
 2631 |     rb_hash_aset(a, rb_str_new_cstr("st_env_id"), INT2NUM(bs->st_env_id));
      |                                                   ~~~~~~~ ~~~~^~~~~~~~~
env.c:2634:71: warning: implicit conversion loses integer precision: 'uintmax_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32]
 2634 |     rb_hash_aset(a, rb_str_new_cstr("st_log_duplicated"), INT2NUM(bs->st_log_duplicated));
      |                                                           ~~~~~~~ ~~~~^~~~~~~~~~~~~~~~~
env.c:2635:67: warning: implicit conversion loses integer precision: 'uintmax_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32]
 2635 |     rb_hash_aset(a, rb_str_new_cstr("st_log_queued"), INT2NUM(bs->st_log_queued));
      |                                                       ~~~~~~~ ~~~~^~~~~~~~~~~~~
env.c:2636:71: warning: implicit conversion loses integer precision: 'uintmax_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32]
 2636 |     rb_hash_aset(a, rb_str_new_cstr("st_log_queued_max"), INT2NUM(bs->st_log_queued_max));
      |                                                           ~~~~~~~ ~~~~^~~~~~~~~~~~~~~~~
env.c:2637:73: warning: implicit conversion loses integer precision: 'uintmax_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32]
 2637 |     rb_hash_aset(a, rb_str_new_cstr("st_log_queued_total"), INT2NUM(bs->st_log_queued_total));
      |                                                             ~~~~~~~ ~~~~^~~~~~~~~~~~~~~~~~~
env.c:2638:68: warning: implicit conversion loses integer precision: 'uintmax_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32]
 2638 |     rb_hash_aset(a, rb_str_new_cstr("st_log_records"), INT2NUM(bs->st_log_records));
      |                                                        ~~~~~~~ ~~~~^~~~~~~~~~~~~~
env.c:2639:70: warning: implicit conversion loses integer precision: 'uintmax_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32]
 2639 |     rb_hash_aset(a, rb_str_new_cstr("st_log_requested"), INT2NUM(bs->st_log_requested));
      |                                                          ~~~~~~~ ~~~~^~~~~~~~~~~~~~~~
env.c:2640:63: warning: implicit conversion loses integer precision: 'db_ssize_t' (aka 'long') to 'int' [-Wshorten-64-to-32]
 2640 |     rb_hash_aset(a, rb_str_new_cstr("st_master"), INT2NUM(bs->st_master));
      |                                                   ~~~~~~~ ~~~~^~~~~~~~~
env.c:2641:71: warning: implicit conversion loses integer precision: 'uintmax_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32]
 2641 |     rb_hash_aset(a, rb_str_new_cstr("st_master_changes"), INT2NUM(bs->st_master_changes));
      |                                                           ~~~~~~~ ~~~~^~~~~~~~~~~~~~~~~
env.c:2642:68: warning: implicit conversion loses integer precision: 'uintmax_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32]
 2642 |     rb_hash_aset(a, rb_str_new_cstr("st_msgs_badgen"), INT2NUM(bs->st_msgs_badgen));
      |                                                        ~~~~~~~ ~~~~^~~~~~~~~~~~~~
env.c:2643:71: warning: implicit conversion loses integer precision: 'uintmax_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32]
 2643 |     rb_hash_aset(a, rb_str_new_cstr("st_msgs_processed"), INT2NUM(bs->st_msgs_processed));
      |                                                           ~~~~~~~ ~~~~^~~~~~~~~~~~~~~~~
env.c:2644:69: warning: implicit conversion loses integer precision: 'uintmax_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32]
 2644 |     rb_hash_aset(a, rb_str_new_cstr("st_msgs_recover"), INT2NUM(bs->st_msgs_recover));
      |                                                         ~~~~~~~ ~~~~^~~~~~~~~~~~~~~
env.c:2645:75: warning: implicit conversion loses integer precision: 'uintmax_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32]
 2645 |     rb_hash_aset(a, rb_str_new_cstr("st_msgs_send_failures"), INT2NUM(bs->st_msgs_send_failures));
      |                                                               ~~~~~~~ ~~~~^~~~~~~~~~~~~~~~~~~~~
env.c:2646:66: warning: implicit conversion loses integer precision: 'uintmax_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32]
 2646 |     rb_hash_aset(a, rb_str_new_cstr("st_msgs_sent"), INT2NUM(bs->st_msgs_sent));
      |                                                      ~~~~~~~ ~~~~^~~~~~~~~~~~
env.c:2647:65: warning: implicit conversion loses integer precision: 'uintmax_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32]
 2647 |     rb_hash_aset(a, rb_str_new_cstr("st_newsites"), INT2NUM(bs->st_newsites));
      |                                                     ~~~~~~~ ~~~~^~~~~~~~~~~
env.c:2657:67: warning: implicit conversion loses integer precision: 'uintmax_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32]
 2657 |     rb_hash_aset(a, rb_str_new_cstr("st_nthrottles"), INT2NUM(bs->st_nthrottles));
      |                                                       ~~~~~~~ ~~~~^~~~~~~~~~~~~
env.c:2658:65: warning: implicit conversion loses integer precision: 'uintmax_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32]
 2658 |     rb_hash_aset(a, rb_str_new_cstr("st_outdated"), INT2NUM(bs->st_outdated));
      |                                                     ~~~~~~~ ~~~~^~~~~~~~~~~
env.c:2660:70: warning: implicit conversion loses integer precision: 'uintmax_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32]
 2660 |     rb_hash_aset(a, rb_str_new_cstr("st_pg_duplicated"), INT2NUM(bs->st_pg_duplicated));
      |                                                          ~~~~~~~ ~~~~^~~~~~~~~~~~~~~~
env.c:2663:67: warning: implicit conversion loses integer precision: 'uintmax_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32]
 2663 |     rb_hash_aset(a, rb_str_new_cstr("st_pg_records"), INT2NUM(bs->st_pg_records));
      |                                                       ~~~~~~~ ~~~~^~~~~~~~~~~~~
env.c:2666:69: warning: implicit conversion loses integer precision: 'uintmax_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32]
 2666 |     rb_hash_aset(a, rb_str_new_cstr("st_pg_requested"), INT2NUM(bs->st_pg_requested));
      |                                                         ~~~~~~~ ~~~~^~~~~~~~~~~~~~~
env.c:2672:69: warning: implicit conversion loses integer precision: 'uintmax_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32]
 2672 |     rb_hash_aset(a, rb_str_new_cstr("st_txns_applied"), INT2NUM(bs->st_txns_applied));
      |                                                         ~~~~~~~ ~~~~^~~~~~~~~~~~~~~
--- delegator.o ---
3 warnings generated.
--- env.o ---
env.c:2891:5: warning: 'HAVE_ST_DB_ENV_SET_ENV_NOTIFY' is not defined, evaluates to 0 [-Wundef]
 2891 | #if HAVE_ST_DB_ENV_SET_ENV_NOTIFY
      |     ^
--- common.o ---
common.c:3578:73: warning: implicit conversion loses integer precision: 'uintmax_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32]
 3578 |     rb_hash_aset(hash, rb_str_new_cstr("hash_bfree"), INT2NUM(bdb_stat->hash_bfree));
      |                                                       ~~~~~~~ ~~~~~~~~~~^~~~~~~~~~
common.c:3580:77: warning: implicit conversion loses integer precision: 'uintmax_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32]
 3580 |     rb_hash_aset(hash, rb_str_new_cstr("hash_big_bfree"), INT2NUM(bdb_stat->hash_big_bfree));
      |                                                           ~~~~~~~ ~~~~~~~~~~^~~~~~~~~~~~~~
common.c:3582:77: warning: implicit conversion loses integer precision: 'uintmax_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32]
 3582 |     rb_hash_aset(hash, rb_str_new_cstr("hash_ovfl_free"), INT2NUM(bdb_stat->hash_ovfl_free));
      |                                                           ~~~~~~~ ~~~~~~~~~~^~~~~~~~~~~~~~
common.c:3584:76: warning: implicit conversion loses integer precision: 'uintmax_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32]
 3584 |     rb_hash_aset(hash, rb_str_new_cstr("hash_dup_free"), INT2NUM(bdb_stat->hash_dup_free));
      |                                                          ~~~~~~~ ~~~~~~~~~~^~~~~~~~~~~~~
common.c:3629:76: warning: implicit conversion loses integer precision: 'uintmax_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32]
 3629 |     rb_hash_aset(hash, rb_str_new_cstr("bt_dup_pgfree"), INT2NUM(bdb_stat->bt_dup_pgfree));
      |                                                          ~~~~~~~ ~~~~~~~~~~^~~~~~~~~~~~~
common.c:3632:76: warning: implicit conversion loses integer precision: 'uintmax_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32]
 3632 |     rb_hash_aset(hash, rb_str_new_cstr("bt_int_pgfree"), INT2NUM(bdb_stat->bt_int_pgfree));
      |                                                          ~~~~~~~ ~~~~~~~~~~^~~~~~~~~~~~~
common.c:3634:77: warning: implicit conversion loses integer precision: 'uintmax_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32]
 3634 |     rb_hash_aset(hash, rb_str_new_cstr("bt_leaf_pgfree"), INT2NUM(bdb_stat->bt_leaf_pgfree));
      |                                                           ~~~~~~~ ~~~~~~~~~~^~~~~~~~~~~~~~
common.c:3650:77: warning: implicit conversion loses integer precision: 'uintmax_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32]
 3650 |     rb_hash_aset(hash, rb_str_new_cstr("bt_over_pgfree"), INT2NUM(bdb_stat->bt_over_pgfree));
      |                                                           ~~~~~~~ ~~~~~~~~~~^~~~~~~~~~~~~~
common.c:4133:10: error: incompatible function pointer types passing 'int (DB *, DBT *, DBT *, DBT *)' (aka 'int (struct __db *, struct __db_dbt *, struct __db_dbt *, struct __db_dbt *)') to parameter of type 'int (*)(DB *, const DBT *, const DBT *, DBT *)' (aka 'int (*)(struct __db *, const struct __db_dbt *, const struct __db_dbt *, struct __db_dbt *)') [-Wincompatible-function-pointer-types]
 4133 |                                             bdb_call_secondary, flags));
      |                                             ^~~~~~~~~~~~~~~~~~
--- cursor.o ---
6 warnings generated.
--- common.o ---
common.c:4442:5: warning: initializing 'char *' with an expression of type 'const char[10]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
 4442 |     "bt_minkey",
      |     ^~~~~~~~~~~
common.c:4445:5: warning: initializing 'char *' with an expression of type 'const char[10]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
 4445 |     "cachesize",
      |     ^~~~~~~~~~~
common.c:4448:5: warning: initializing 'char *' with an expression of type 'const char[7]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
 4448 |     "dbname",
      |     ^~~~~~~~
common.c:4451:5: warning: initializing 'char *' with an expression of type 'const char[4]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
 4451 |     "env",
      |     ^~~~~
common.c:4454:5: warning: initializing 'char *' with an expression of type 'const char[10]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
 4454 |     "h_ffactor",
      |     ^~~~~~~~~~~
common.c:4457:5: warning: initializing 'char *' with an expression of type 'const char[8]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
 4457 |     "h_nelem",
      |     ^~~~~~~~~
common.c:4460:5: warning: initializing 'char *' with an expression of type 'const char[7]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
 4460 |     "lorder",
      |     ^~~~~~~~
common.c:4463:5: warning: initializing 'char *' with an expression of type 'const char[9]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
 4463 |     "pagesize",
      |     ^~~~~~~~~~
common.c:4466:5: warning: initializing 'char *' with an expression of type 'const char[13]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
 4466 |     "q_extentsize",
      |     ^~~~~~~~~~~~~~
common.c:4469:5: warning: initializing 'char *' with an expression of type 'const char[9]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
 4469 |     "re_delim",
      |     ^~~~~~~~~~
common.c:4472:5: warning: initializing 'char *' with an expression of type 'const char[7]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
 4472 |     "re_len",
      |     ^~~~~~~~
common.c:4475:5: warning: initializing 'char *' with an expression of type 'const char[7]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
 4475 |     "re_pad",
      |     ^~~~~~~~
common.c:4478:5: warning: initializing 'char *' with an expression of type 'const char[10]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
 4478 |     "re_source",
      |     ^~~~~~~~~~~
common.c:4481:5: warning: initializing 'char *' with an expression of type 'const char[6]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
 4481 |     "flags",
      |     ^~~~~~~
common.c:4484:5: warning: initializing 'char *' with an expression of type 'const char[11]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
 4484 |     "open_flags",
      |     ^~~~~~~~~~~~
--- sequence.o ---
10 warnings generated.
--- lock.o ---
25 warnings generated.
--- env.o ---
env.c:3020:5: error: incompatible function pointer types passing 'VALUE (VALUE)' (aka 'unsigned long (unsigned long)') to parameter of type 'VALUE (*)(VALUE, VALUE)' (aka 'unsigned long (*)(unsigned long, unsigned long)') [-Wincompatible-function-pointer-types]
 3020 |     rb_define_method(bdb_cEnv, "rep_timeout", bdb_env_rep_intern_timeout, 1);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/include/ruby-3.2/ruby/internal/anyargs.h:288:135: note: expanded from macro 'rb_define_method'
  288 | #define rb_define_method(klass, mid, func, arity)           RBIMPL_ANYARGS_DISPATCH_rb_define_method((arity), (func))((klass), (mid), (func), (arity))
      |                                                                                                                                       ^~~~~~
/usr/local/include/ruby-3.2/ruby/internal/anyargs.h:277:1: note: passing argument to parameter here
  277 | RBIMPL_ANYARGS_DECL(rb_define_method, VALUE, const char *)
      | ^
/usr/local/include/ruby-3.2/ruby/internal/anyargs.h:256:72: note: expanded from macro 'RBIMPL_ANYARGS_DECL'
  256 | RBIMPL_ANYARGS_ATTRSET(sym) static void sym ## _01(__VA_ARGS__, VALUE(*)(VALUE, VALUE), int); \
      |                                                                        ^
env.c:3021:5: error: incompatible function pointer types passing 'VALUE (VALUE)' (aka 'unsigned long (unsigned long)') to parameter of type 'VALUE (*)(VALUE, VALUE)' (aka 'unsigned long (*)(unsigned long, unsigned long)') [-Wincompatible-function-pointer-types]
 3021 |     rb_define_method(bdb_cEnv, "rep_timeout?", bdb_env_rep_intern_timeout, 1);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/include/ruby-3.2/ruby/internal/anyargs.h:288:135: note: expanded from macro 'rb_define_method'
  288 | #define rb_define_method(klass, mid, func, arity)           RBIMPL_ANYARGS_DISPATCH_rb_define_method((arity), (func))((klass), (mid), (func), (arity))
      |                                                                                                                                       ^~~~~~
/usr/local/include/ruby-3.2/ruby/internal/anyargs.h:277:1: note: passing argument to parameter here
  277 | RBIMPL_ANYARGS_DECL(rb_define_method, VALUE, const char *)
      | ^
/usr/local/include/ruby-3.2/ruby/internal/anyargs.h:256:72: note: expanded from macro 'RBIMPL_ANYARGS_DECL'
  256 | RBIMPL_ANYARGS_ATTRSET(sym) static void sym ## _01(__VA_ARGS__, VALUE(*)(VALUE, VALUE), int); \
      |                                                                        ^
--- log.o ---
15 warnings generated.
--- env.o ---
75 warnings and 2 errors generated.
*** [env.o] Error code 1

make[1]: stopped in /magus/work/usr/mports/databases/ruby-bdb/work/bdb-0.6.6/src
--- transaction.o ---
14 warnings generated.
--- common.o ---
47 warnings and 1 error generated.
*** [common.o] Error code 1

make[1]: stopped in /magus/work/usr/mports/databases/ruby-bdb/work/bdb-0.6.6/src
--- recnum.o ---
43 warnings generated.
2 errors

make[1]: stopped in /magus/work/usr/mports/databases/ruby-bdb/work/bdb-0.6.6/src
*** [all] Error code 2

make: stopped in /magus/work/usr/mports/databases/ruby-bdb/work/bdb-0.6.6
--- docs/doc/index.html ---

  Files:       18

  Classes:     17 (1 undocumented)
  Modules:      1 (0 undocumented)
  Constants:    0 (0 undocumented)
  Attributes:   0 (0 undocumented)
  Methods:    270 (0 undocumented)

  Total:      288 (1 undocumented)
   99.65% documented

  Elapsed: 0.8s

1 error

make: stopped in /magus/work/usr/mports/databases/ruby-bdb/work/bdb-0.6.6
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** Error code 1

Stop.
make: stopped in /usr/mports/databases/ruby-bdb

Links

Depends On

Depend Of

Nothing

Categories

CVEs

  • Loading CVE information...

LLM Analysis