From nobody Sat Apr 13 00:17:32 2024 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 4VGYsm6DW3z5GRst; Sat, 13 Apr 2024 00:17:32 +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 4VGYsm2dVRz538j; Sat, 13 Apr 2024 00:17:32 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1712967452; 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=x5j9aGZAl8eIf0vNNnw3h1BrT7x+ohmkzbxTaXftvKc=; b=VwpaITn+zUor1UPj15h/lyd8bSlmSvLq+Vl/W7m/imNb6X6gWRzri49jcYZPZDmBq1mLft LCFVhGhNNIiyrXa3/JD8vSV0T4tSfK/t0aoCkk4gU5m0GxnWXya8K/bHiM0iJBXqrhzlDp 4STfHi0e8uqK4lRDAQSZsxcYv2makRpGg8154GqoO6aGaG26f1tzAghb3ZYI8Up2wxLn7s v6TPXDtaPA+7hhIF5RHXbP4QxH9GGdozbr6I99JRPRKb6tugOMCqWsgpc6TXA8NpaqcWxt sXwt6sLYiR/z2DB/zGipnYls4Rdf05FQ2rEQ3DWEshGshsvHFr/Mc4Zy0Bea4Q== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1712967452; a=rsa-sha256; cv=none; b=M1CowOD4Giwz6icQZlp2okGG33v216mLDBkQ6EGmKeAhJHl7dkCkhmKn2CFR78lg2hHsWf gM4do9HBsdfuy92+rLukb5ju+wf88JZ4z0u2yuoJz+79IPCiYutl7ncZPBMS7TuotAsDlX zd2d639XFtwkkXurSyp63Wy7ssr6JYTVqMIqVqB5us918otjCzRbntut/6vDKs87JLCqFd lhbWdxBqR7vJAcheA4Ev0llwJu+HrVXHoHmn+r1ipA7qcMcTVMa21QHSNohn1zskcmMBV4 SGOYIe1cK6VXDQBmyEZkkQu/fYiI4RBCSmso7iD4RxHfMrTxf19HbapFAPONcw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1712967452; 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=x5j9aGZAl8eIf0vNNnw3h1BrT7x+ohmkzbxTaXftvKc=; b=PXZWKul3KcNhcoDGRS7EIk35Peqii+Yxo49KZ/ngySUhIqn2rpQ4cUtytyEYLb+e1NEnIk nmTmQP3MJ755Fs9ejUcYXCuv3jFzM8fdh0ltFpKMVgtX1LBWx7wxMGAN3waSP24vzPoooU iiPRNLI9NV5y/xbMtPkXH3nFySXvvpxiWZgrG9+WU2uHIFFpQLIm3BPe52+5VY7yyD15is Cpgt8vrSdoCcC7M9gfRomNBPeY+q/6n8L2nzI5uXPBdjRsExAY1QOxMJWIDjmKHP8ELyVU gQbDP78Z72yj8Id9f5TkiLqSu3YEKpmBbdknFGDpyVmTgMYTiQphykQ0JeJ82g== 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 4VGYsm2BcHz19WQ; Sat, 13 Apr 2024 00:17:32 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 43D0HWjj088385; Sat, 13 Apr 2024 00:17:32 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 43D0HW0C088382; Sat, 13 Apr 2024 00:17:32 GMT (envelope-from git) Date: Sat, 13 Apr 2024 00:17:32 GMT Message-Id: <202404130017.43D0HW0C088382@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Yuri Victorovich Subject: git: b845623d2f25 - main - databases/arrow: Avoid failures in the R extension build 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: 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: yuri X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: b845623d2f252dbc44068191bdfaf70f8123da26 Auto-Submitted: auto-generated The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=b845623d2f252dbc44068191bdfaf70f8123da26 commit b845623d2f252dbc44068191bdfaf70f8123da26 Author: Yuri Victorovich AuthorDate: 2024-04-13 00:06:34 +0000 Commit: Yuri Victorovich CommitDate: 2024-04-13 00:17:25 +0000 databases/arrow: Avoid failures in the R extension build ... by adjusting "true" and "false" values in lib/cmake/Arrow/ArrowOptions.cmake to "ON" and "OFF". Reported by: Bryce Mecum --- databases/arrow/Makefile | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/databases/arrow/Makefile b/databases/arrow/Makefile index d4545fe4dd76..72d6ebf2c4a7 100644 --- a/databases/arrow/Makefile +++ b/databases/arrow/Makefile @@ -1,5 +1,6 @@ PORTNAME= arrow DISTVERSION= 15.0.2 +PORTREVISION= 1 CATEGORIES= databases MASTER_SITES= APACHE/${PORTNAME}/${PORTNAME}-${DISTVERSION} \ https://github.com/apache/orc/archive/rel/:orc @@ -218,6 +219,13 @@ PLIST_FILES+= lib/cmake/Arrow/Findutf8proc.cmake PLIST_SUB+= TESTINGFLIGHT="@comment " .endif +post-install: + # based on the user's report on 2024-04-12, the R extension expects only "ON" and "OFF" values in lib/cmake/Arrow/ArrowOptions.cmake + # other values confuse the R extension build, so we adjust these values to "ON" and "OFF" as a workaround + ${REINPLACE_CMD} -i '' \ + -e 's|"true"|"ON"|; s|"false"|"OFF"|' \ + ${STAGEDIR}${PREFIX}/lib/cmake/Arrow/ArrowOptions.cmake + do-test: # tests fail to compile: https://issues.apache.org/jira/browse/ARROW-12625 @cd ${BUILD_WRKSRC} && \ ${SETENV} ${CONFIGURE_ENV} ${CMAKE_BIN} ${CMAKE_ARGS} -DARROW_BUILD_TESTS:BOOL=ON ${CMAKE_SOURCE_PATH} && \