[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: Mon, 02 May 2022 11:16:19 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=263360
--- Comment #2 from commit-hook@FreeBSD.org ---
A commit in branch main references this bug:
URL:
https://cgit.FreeBSD.org/ports/commit/?id=794781e423e93b29cdd0c4604bc8236d2069d110
commit 794781e423e93b29cdd0c4604bc8236d2069d110
Author: Yasuhiro Kimura <yasu@FreeBSD.org>
AuthorDate: 2022-04-17 06:59:13 +0000
Commit: Yasuhiro Kimura <yasu@FreeBSD.org>
CommitDate: 2022-05-02 11:14:06 +0000
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
databases/ruby-bdb/Makefile | 40 ++++++++++++++++------------------------
1 file changed, 16 insertions(+), 24 deletions(-)
--
You are receiving this mail because:
You are on the CC list for the bug.