Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 17 Apr 2022 07:06:16 +0000
From:      bugzilla-noreply@freebsd.org
To:        ruby@FreeBSD.org
Subject:   maintainer-feedback requested: [Bug 263360] databases/ruby-bdb: Mark BROKEN_RUBY32
Message-ID:  <bug-263360-21402-dyRRUYMkoP@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-263360-21402@https.bugs.freebsd.org/bugzilla/>
References:  <bug-263360-21402@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
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=3D263360



--- 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 define=
d,
evaluates to 0 [-Wundef]
 #if DB_DBM_HSEARCH !=3D 0
    ^
/usr/local/include/db5/db.h:3081:5: warning: 'DB_DBM_HSEARCH' is not define=
d,
evaluates to 0 [-Wundef]
 #if DB_DBM_HSEARCH !=3D 0
    ^
/usr/local/include/db5/db.h:3102:5: warning: 'DB_DBM_HSEARCH' is not define=
d,
evaluates to 0 [-Wundef]
 #if DB_DBM_HSEARCH !=3D 0
    ^
bdb.c:168:15: error: implicit declaration of function 'rb_tainted_str_new2'=
 is
invalid in C99 [-Werror,-Wimplicit-function-declaration]
    version =3D 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 =3D 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 =3D 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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-263360-21402-dyRRUYMkoP>