From nobody Mon May 02 11:15:16 2022 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id B8A1E1AC1BFC; Mon, 2 May 2022 11:15:16 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4KsL9J4t4Qz3Brd; Mon, 2 May 2022 11:15:16 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1651490116; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=qPZJy06uiT1ZnWIsUZqCewwJ4yLiNtmHJl4S0bFPjZE=; b=Sh5pKoIoR5ejia6wjyv6qzOIJ0z2cBnEW1zCsfbLUv0CfKLKuaiV5Yky3yc8zQ2tzUh6WF yAof14z4sAmsXoAehlX6VHi0eepfiZ9gYd8GHR44bxtPWJljzQUy5JtdKQojqbJEP15Azt bDOJA7B2WDUBCZ/q9mw6BSXQXJXjzeqXozd5dqjwj4+Yo6T+IL/IRhe8if+SA1dFQ5CTH4 SH52mupKkikrPaEGJcpXKDKKXnt1adbQcg4HLcrU4V5zttbO/rJmbn9AMG7UYwzfD0i4BX EPO6pJGxKwkqOgDJZOsBR7mvVuGOWvux5eNeMV4G4AoAHJg0uHJFGDM6WEiP5g== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 7CAF8964; Mon, 2 May 2022 11:15:16 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 242BFG3H006313; Mon, 2 May 2022 11:15:16 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 242BFGgi006312; Mon, 2 May 2022 11:15:16 GMT (envelope-from git) Date: Mon, 2 May 2022 11:15:16 GMT Message-Id: <202205021115.242BFGgi006312@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Yasuhiro Kimura Subject: git: 794781e423e9 - main - databases/ruby-bdb: Mark BROKEN_RUBY32 List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: yasu X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 794781e423e93b29cdd0c4604bc8236d2069d110 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1651490116; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=qPZJy06uiT1ZnWIsUZqCewwJ4yLiNtmHJl4S0bFPjZE=; b=sgZWbCOtiRSWVw5x35OWUeRNtU+JBvFvlPUe5FBEFNI9mMdud+/sJZqFoW7dq06/e6lm4M ZeDYwxfFApqDUNM6d+tYq+xy4X15KWWstBY4rRshLTcsX+d3vAz3cnmIxOiWU25RwrsFz2 2YslVriJxVwJ+heJekevvI3KpVeiY2lR8krtcpWuohfC5enUxQJGmMk5efI8p2imtknEs8 LC+RAIsemkHkKM0m58AgzonIUJISjYungZOwgye0F2CT0YXkJdfEV23Gnif7ERPx91Azik VbioAFAcJU63gg9qT8LJ1/3mJiOllBbfBhrHCo5EhaGP+/mBgpXWfwV+Hxohmw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1651490116; a=rsa-sha256; cv=none; b=obopsV8ortsjTXW20VO0/Nm9lpLdAFJJyOlM0YHfcOcgtjGz9sYJkmEAxDm59oCJ42dDCV 6JNtQAGgoHVrCVvOha5mIQBP4t3oapAaxIk6xDJbdvEdlpC6V/c8pbnmPgyNPPdheGCNoh AiTboZhDN/7BgH1GtZXRd06AD8wBoj2X72xppd+LxGNi151Kq17MMWb49DC2ILhpjbC3I7 kdu22DqpRY9HhFwzAws4t8kIXAP60lpgV+btHW3GwDhwA1P1up8mE6Z7zUYxxp9NiZugPa qTRwxJubl49rmfnXp7MGVtn5kANzN/0sJQ4SOUJlH3uCHsCgZ4yIQUet5+oFhw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by yasu: URL: https://cgit.FreeBSD.org/ports/commit/?id=794781e423e93b29cdd0c4604bc8236d2069d110 commit 794781e423e93b29cdd0c4604bc8236d2069d110 Author: Yasuhiro Kimura AuthorDate: 2022-04-17 06:59:13 +0000 Commit: Yasuhiro Kimura 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(-) diff --git a/databases/ruby-bdb/Makefile b/databases/ruby-bdb/Makefile index 7657b9f886ff..3a299072e31d 100644 --- a/databases/ruby-bdb/Makefile +++ b/databases/ruby-bdb/Makefile @@ -15,45 +15,37 @@ COMMENT= Ruby interface to Oracle Berkeley DB revision 2 or later LICENSE= RUBY -BUILD_DEPENDS= rubygem-rdoc>=0.a:devel/rubygem-rdoc +BROKEN_RUBY32= yes -OPTIONS_DEFINE= DOCS EXAMPLES +BUILD_DEPENDS= rubygem-rdoc>=0.a:devel/rubygem-rdoc USES= bdb shebangfix tar:bzip2 -USE_RUBY= yes +USE_RUBY= yes USE_RUBY_EXTCONF= yes -ALL_TARGET= all rdoc +SHEBANG_FILES= examples/basic.rb examples/cats.rb examples/cursor.rb \ + examples/func.rb examples/join.rb examples/lock.rb \ + examples/log.rb examples/queue.rb examples/recno.rb \ + examples/record.rb examples/replication/base/b.rb \ + examples/replication/base/cl.rb examples/replication/base/ma.rb \ + examples/replication/base/mc.rb examples/replication/base/op.rb \ + examples/replication/mgr/b.rb examples/txn.rb examples/zeroc.rb + CONFIGURE_ARGS= --with-db-include=${BDB_INCLUDE_DIR} \ --with-db-lib=${BDB_LIB_DIR} -INSTALL_TARGET= site-install MAKE_ENV= RUBY_RDOC=${LOCALBASE}/bin/rdoc +ALL_TARGET= all rdoc +INSTALL_TARGET= site-install DOCS= Changes README.en bdb.rd docs/*.rd DOCSDIR= ${RUBY_MODDOCDIR} EXAMPLESDIR= ${RUBY_MODEXAMPLESDIR} SHAREMODE= 0644 -PLIST_FILES= %%RUBY_SITEARCHLIBDIR%%/bdb.so +PLIST_FILES= ${RUBY_SITEARCHLIBDIR}/bdb.so PORTDOCS= * PORTEXAMPLES= * -SHEBANG_FILES= examples/record.rb \ - examples/recno.rb \ - examples/zeroc.rb \ - examples/txn.rb \ - examples/queue.rb \ - examples/cats.rb \ - examples/log.rb \ - examples/cursor.rb \ - examples/func.rb \ - examples/replication/mgr/b.rb \ - examples/replication/base/op.rb \ - examples/replication/base/cl.rb \ - examples/replication/base/b.rb \ - examples/replication/base/ma.rb \ - examples/replication/base/mc.rb \ - examples/join.rb \ - examples/basic.rb \ - examples/lock.rb + +OPTIONS_DEFINE= DOCS EXAMPLES post-patch: @${RM} ${WRKSRC}/docs/*.orig