From nobody Wed May 10 18:51:32 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 4QGkdd25LCz4BHCV; Wed, 10 May 2023 18:51:33 +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 4QGkdd1XtHz4QYH; Wed, 10 May 2023 18:51:33 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1683744693; 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=P97LkdW/0Sw/4eLCo4fKUolsvh2Y2OPcbyjN0LIMXGw=; b=XJLVg1CFfWmGWlNImQogxTJ9qQm0MAv6DSte+UAXqkz8lLyaH4ed/hIUZ20I4kZPscIKlU vrNyrFHfvPsKucLRBHYv0lmPsNR44F1xncWg9zKsvsOzzk11w+az1ykbCeG/FWhDFuS1x6 Y5R55rjVUXGIHV6itfUu4Pm9bI7aPN6NK9ELgXPyBT516U1mGdJ3v9NI56IhQ1BqAX4yBR 0mqvISm81RN45mI3CeSBCX6ZHLIYu5LfSJpqEjY66MVOXJdKJJ3SWnkkvcSCdkErXTh1OP 8vqFlY2fo2be7nJKc0tDsuzmgmaKRpZxa1BX7EHiKwZF0Dz/EYxlzr1f8+JwJg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1683744693; 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=P97LkdW/0Sw/4eLCo4fKUolsvh2Y2OPcbyjN0LIMXGw=; b=NH82ht0zsmxbdpbU0inT4US6llnR+C4cSui/xl3hoUHrJXuwQZvdGqGC1gczEi3GYNOeVE 0HYQrkC6cV9J2Ei85JhpGfxlbDK6FJ170ktYWHUDpGjPQZtODXNojaHO2+Ri31zxBULYJ9 iaO85owUy+zfb32grFLd+hAGsnr8i5oKv50KUbmtGnv5ZFD9xtyJ/1mjh3C3oOYV295Wsf 1ZINajYW6IdUxB3tjgoYdTWEvN162cK8aoc/HhnIM4T1YTqYU26yuWAhF59vsbaGnN07ks MFX2tWUyFEC/fXW7eKfQl6pbC7jb23ZlvUl5L5hsuUwnbtpm1tyxLakszDE98Q== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1683744693; a=rsa-sha256; cv=none; b=MS5/fUl3xM2hvoN2eep0Ooy+AnYg47GoJKJre6p2FjozlTOovK9nIN18N+2q/BKrcc54Vs N6mBqJQDA0slOiJQbRMzOg4QjJ8vdo2LrVPAPRjjuJ/Oh9/KKrZgoZGf3Rru/vtQc1F3Ar Uqa0TrXzADvXlMlEPzMoYiI4WfbInGp2Mx3Sp50beYqE5mmCA1FiOdCSOhE0NKnnvzdL23 p3KGbP/IVLsNKQzPLWdXJyemxR05/7hllnGjL9V33v8lOm3sCKFHDrUscUm/kOVxiF1Sm0 FVF6oMkqva+Dfaqe5uvYb52wYvS9ssS6X9tJZ86ii7wGSGqF5OJs6ZOlx5YsRQ== 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 4QGkdd0bl7zMNK; Wed, 10 May 2023 18:51:33 +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 34AIpWvB025493; Wed, 10 May 2023 18:51:32 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 34AIpW6x025492; Wed, 10 May 2023 18:51:32 GMT (envelope-from git) Date: Wed, 10 May 2023 18:51:32 GMT Message-Id: <202305101851.34AIpW6x025492@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Ronald Klop Subject: git: b66ad1748eb4 - main - databases/mongodb70: fix build on 14-CURRENT 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: ronald X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: b66ad1748eb43d4d4a46480d5dddfdee683d0bbb Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by ronald: URL: https://cgit.FreeBSD.org/ports/commit/?id=b66ad1748eb43d4d4a46480d5dddfdee683d0bbb commit b66ad1748eb43d4d4a46480d5dddfdee683d0bbb Author: Ronald Klop AuthorDate: 2023-05-10 18:48:23 +0000 Commit: Ronald Klop CommitDate: 2023-05-10 18:48:23 +0000 databases/mongodb70: fix build on 14-CURRENT Port does not build with clang15 but does with clang14. /usr/include/c++/v1/__algorithm/comp.h:36:71: error: invalid operands to binary expression ('const mongo::SSLX509Name::Entry' and 'const mongo::SSLX509Name::Entry') bool operator()(const _T1& __x, const _T1& __y) const {return __x == __y;} ~~~ ^ ~~~ --- databases/mongodb70/Makefile | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/databases/mongodb70/Makefile b/databases/mongodb70/Makefile index 87f7dcdd2cbf..1c696fb5cad2 100644 --- a/databases/mongodb70/Makefile +++ b/databases/mongodb70/Makefile @@ -1,6 +1,7 @@ PORTNAME= mongodb DISTVERSIONPREFIX= r DISTVERSION= 7.0.0-rc0 +PORTREVISION= 1 CATEGORIES= databases net PKGNAMESUFFIX= ${DISTVERSION:R:S/.//} @@ -52,6 +53,7 @@ python_OLD_CMD= @python_interpreter@ MAKE_ARGS= --cxx-std=20 \ --disable-warnings-as-errors \ --libc++ \ + --allocator=system \ --runtime-hardening=on \ --use-system-libunwind \ --use-system-pcre2 \ @@ -87,6 +89,14 @@ SSL_MAKE_ARGS= --ssl .include +# MongoDB 7.0 fails on clang15. +.if ${CHOSEN_COMPILER_TYPE} == clang && ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400079 +_LLVM_VERSION= 14 +BUILD_DEPENDS+= clang${_LLVM_VERSION}:devel/llvm${_LLVM_VERSION} +CC= ${LOCALBASE}/bin/clang${_LLVM_VERSION} +CXX= ${LOCALBASE}/bin/clang++${_LLVM_VERSION} +.endif + ALL_TARGET= install-core # This ports is only following the Major Release.