From nobody Sat Sep 30 23:33:45 2023 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 4Ryk7G0bVnz4vybG; Sat, 30 Sep 2023 23:33:46 +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 4Ryk7F5PlVz4DdN; Sat, 30 Sep 2023 23:33:45 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1696116825; 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=t4OqMLlKPEpWkQjU43qq4tkX/r7qGL+muci4XnVFCTw=; b=uahWezjBBRmGcyjM/UV1ptJQQoZZNWK8LSF49qX2XgEsGRdhqvway/UzjWwbnVkp9MSp2K sBvuAWqYuMHE03fs85mOisAD5S67f29UFneX4g5mBAEGEkQnnGUH2JGCKLu7mDj5yV6Pyx P/rVNmnvqE88Mgc0h259wcT33wH5XO61cXB/zasD2L63jx0ycRzgoVP+RA5mWqpVIy5/HE AoWJst/kK9LT8KH/cjdRKFEgooXlPr72GvFW1aoupWJ+2jHbk6293qLaz6Xx6o0fyhH2zO hg3r4kdoDmh128+4zi6SpAfA8V60kIQRiz9RNNMmhsLupLTi069dHWLSjEn67Q== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1696116825; a=rsa-sha256; cv=none; b=chbFkWtCUMVdRjiLTBhSSocObOpS8sVmiwRP0A/IhtuLhvWmrt1L0X3hXrHA3Cj7TLzxuS jO/E5lxxtYP4A56hfSJyp1XiEwnJfAr/KQl+9ZQSAiXl/qSpLAPKupRVtWO0XOm3lt++iZ SYd8gkP4wXdOyQlsnRhpJpUB3qZ381gtnRmZCefzdD8y7OexhOPgjjkTWoDvsimSA7pxds XTFDcXx+IkY/tXTsLnXNdGygQ5djlFL4VY8sTMvtzPDY/WJlasis2bugJN8w8eukayoqli +lagh9iF6GOk/02l8NjiIF4DEr+AilyWxj11oKnC5XkOn9b5fcxoJGOAelS6vg== 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=1696116825; 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=t4OqMLlKPEpWkQjU43qq4tkX/r7qGL+muci4XnVFCTw=; b=lYF8NOq6S4cTi2hTvM+OoVvbbgWRSoUyH3ejR/HAK4GDi1Nzsng7PtDdAGPKje5DWTYMtY aTgqyb1W2sEdQwY7rdM0uvJb7Dar2FuT8tqZcM1cJ5JE6XBHsoSEdYILxFKP6Yv9Oxwlek CmncfRjncEYsX0d7uJsW5ajg03eV4rrM1bXefXUxM23kSdnJp5CXRiKOEtdZjFutFzfWED k4cUS7NKYEP/pR3BpLaauaqL/XPY2eMM/EyT6e4Rq4x3zg91SqAnurb57OMzVS4+FRu+7h ELffWRq3iQlSM6XAQJTIqahiK37+3ZzhHguXrzAHAPh1E0k2liGPqadoebPfrg== 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 4Ryk7F4Dfnz16Ml; Sat, 30 Sep 2023 23:33:45 +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 38UNXj0d008745; Sat, 30 Sep 2023 23:33:45 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 38UNXjBD008742; Sat, 30 Sep 2023 23:33:45 GMT (envelope-from git) Date: Sat, 30 Sep 2023 23:33:45 GMT Message-Id: <202309302333.38UNXjBD008742@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Po-Chuan Hsieh Subject: git: 204c0a1aad55 - main - databases/tiledb: Fix build on i386 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: sunpoet X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 204c0a1aad55dee9e4e0c34e975d40f6f6e51b02 Auto-Submitted: auto-generated The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=204c0a1aad55dee9e4e0c34e975d40f6f6e51b02 commit 204c0a1aad55dee9e4e0c34e975d40f6f6e51b02 Author: Po-Chuan Hsieh AuthorDate: 2023-09-30 23:29:51 +0000 Commit: Po-Chuan Hsieh CommitDate: 2023-09-30 23:29:51 +0000 databases/tiledb: Fix build on i386 /wrkdirs/usr/ports/databases/tiledb/work/TileDB-2.17.1/tiledb/../tiledb/sm/array_schema/enumeration.h:281:50: error: non-constant-expression cannot be narrowed from type 'uint64_t' (aka 'unsigned long long') to 'size_type' (aka 'unsigned int') in initializer list [-Wc++11-narrowing] return {static_cast(data_.data()), data_.size()}; ^~~~~~~~~~~~ /wrkdirs/usr/ports/databases/tiledb/work/TileDB-2.17.1/tiledb/../tiledb/sm/array_schema/enumeration.h:281:50: note: insert an explicit cast to silence this issue return {static_cast(data_.data()), data_.size()}; ^~~~~~~~~~~~ static_cast( ) /wrkdirs/usr/ports/databases/tiledb/work/TileDB-2.17.1/tiledb/../tiledb/sm/array_schema/enumeration.h:291:53: error: non-constant-expression cannot be narrowed from type 'uint64_t' (aka 'unsigned long long') to 'size_type' (aka 'unsigned int') in initializer list [-Wc++11-narrowing] return {static_cast(offsets_.data()), offsets_.size()}; ^~~~~~~~~~~~~~~ /wrkdirs/usr/ports/databases/tiledb/work/TileDB-2.17.1/tiledb/../tiledb/sm/array_schema/enumeration.h:291:53: note: insert an explicit cast to silence this issue return {static_cast(offsets_.data()), offsets_.size()}; ^~~~~~~~~~~~~~~ static_cast( ) 2 errors generated. Reference: https://pkg-status.freebsd.org/beefy17/data/main-i386-default/pe4b8bfc7570d_sf7a5903de2/logs/tiledb-2.17.1.log https://pkg-status.freebsd.org/beefy15/data/132i386-default/e4b8bfc7570d/logs/tiledb-2.17.1.log --- databases/tiledb/Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/databases/tiledb/Makefile b/databases/tiledb/Makefile index d57bd451e3ee..e221fa074636 100644 --- a/databases/tiledb/Makefile +++ b/databases/tiledb/Makefile @@ -27,6 +27,7 @@ RUN_DEPENDS= capnproto080>=0.8.0:devel/capnproto080 \ USES= cmake compiler:c++17-lang localbase:ldflags pkgconfig ssl CFLAGS+= -DSPDLOG_FMT_EXTERNAL=1 +CFLAGS_i386+= -Wno-c++11-narrowing CMAKE_ARGS= -DCATCH_INCLUDE_DIR=${LOCALBASE}/include/catch2 \ -Dlibmagic_DICTIONARY=/usr/share/misc/magic.mgc CMAKE_OFF= TILEDB_ABSEIL \