From nobody Fri Jun 30 22:16:27 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 4Qt8mW6NJKz4kTh1; Fri, 30 Jun 2023 22:16:27 +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 4Qt8mW5xMPz4Bnw; Fri, 30 Jun 2023 22:16:27 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1688163387; 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=zL5CpogM9hvYISyDA8n/heGs0wKiptgaCxw/ziLjjtE=; b=HPMi73S48BDorvFiJclYEXChnKaOnQtLAES8sYNxx7nutNquNe7VW2cx9nn5/FFvy2gnpD MvDOugGR2calN7pmwd9IyrNRXK+JjuCCp/pjHwysSBmSB2kUoluVeP1iSeuzayQhUVq/BX QtMiRl+Nc9fOLCzEG8yU1GdsHL4IsIyZxT2MO/Q0JTWnoUxdDNtSuEeI1PfPki37sCMTZv jP561DKm1mo1h58K4KNgYirf6B2HR+wvcJW1xn9dnPEf1W62iuztn1woclzTERvz+MO9by vBdAVeYwnjuZ0+9gO/p0RXzbHOPs2NxNCWvA2N1RZZjHhjEJJOu3HZI7UC9ScQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1688163387; 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=zL5CpogM9hvYISyDA8n/heGs0wKiptgaCxw/ziLjjtE=; b=ZW5aDxhiyDossXGMPqE9VH9d+Rxhmxu3VQ8pqNQ2OZpLkMgoGHpt5DT9r0J1jTEQIKStNT xjYzHjV6jDPS8+dvIEauTD+aCD8qtXwEfn/i8PwS0f9utTkTCswG6wf438urrFtW41HnzI zWJVReHZYs04l76Hm4CdTgpj3sYXzFOH5pQoZwotagfCxDE0sXvOxR6QluBjAlfTjd6zhL D/6ywzlYkLXsJP5MiAV1k9713LXE0ZkwFInkQzsFPS0VcDQlVVGL51m+2bjCblF0FGN51m rrGYcY/Zc3PFf6RiWakpwsHy+3UfKjEW+E+GFkEK9wCUcxUZ1ghcpXK2BpHcXA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1688163387; a=rsa-sha256; cv=none; b=WbxoRNvfBUNWo0qD+0wg7N+ei8Mu3SkryeuuCjGB8ezutqkZ2apkeBH9L79t46QQ71dqIt prstPxBX5G2OpvELzEgRY3ldQ0+89SwVYKiU3s0WCw5n38l1Ay04IrggwZg828lQxd3CuK 3gP9oZf+9560yI06r/5Nue13y4YMlc5U9uEGucwVtvKPlYjoXwVcq6cup8IJ9KNDFyWD9z nElWdqM1m1QGEeqFdbnCmSWLj9wP2IpnGG3tNc59oHBNis9vX8vzvP7vLoh/8bQnLcdwmv /upV9Eqd5GSBOo5hLrXUIeWVbI/SS51Y0V21plBhVu9xw9dYl0Q7fOCuuQdAEA== 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 4Qt8mW50zBz1FV5; Fri, 30 Jun 2023 22:16:27 +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 35UMGR9j063429; Fri, 30 Jun 2023 22:16:27 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 35UMGRBP063428; Fri, 30 Jun 2023 22:16:27 GMT (envelope-from git) Date: Fri, 30 Jun 2023 22:16:27 GMT Message-Id: <202306302216.35UMGRBP063428@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: b0aa4da9bcd2 - main - databases/mongodb44: enable build for Raspberry Pi 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: b0aa4da9bcd26ef05c304ee163bd38367b891f4e Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by ronald: URL: https://cgit.FreeBSD.org/ports/commit/?id=b0aa4da9bcd26ef05c304ee163bd38367b891f4e commit b0aa4da9bcd26ef05c304ee163bd38367b891f4e Author: Ronald Klop AuthorDate: 2023-06-30 21:18:09 +0000 Commit: Ronald Klop CommitDate: 2023-06-30 22:16:02 +0000 databases/mongodb44: enable build for Raspberry Pi Upstream stopt supporting non-LSE ARM cpus (read RPI). See: https://jira.mongodb.org/browse/SERVER-71772 For POLA I still enable this for the Q3 branch. PR: 272294 --- .../patch-src_third__party_mozjs-60_gen-config.sh | 6 +++--- databases/mongodb44/files/patch-SConstruct | 21 +++++++++++++++------ databases/mongodb44/pkg-message | 8 ++++++++ 3 files changed, 26 insertions(+), 9 deletions(-) diff --git a/databases/mongodb44/files/aarch64/patch-src_third__party_mozjs-60_gen-config.sh b/databases/mongodb44/files/aarch64/patch-src_third__party_mozjs-60_gen-config.sh index d9a2e1c3f075..8a81b2bb4293 100644 --- a/databases/mongodb44/files/aarch64/patch-src_third__party_mozjs-60_gen-config.sh +++ b/databases/mongodb44/files/aarch64/patch-src_third__party_mozjs-60_gen-config.sh @@ -1,6 +1,6 @@ ---- src/third_party/mozjs-60/gen-config.sh.orig 2019-10-11 03:28:57 UTC +--- src/third_party/mozjs-60/gen-config.sh.orig 2023-05-10 02:21:42 UTC +++ src/third_party/mozjs-60/gen-config.sh -@@ -28,6 +28,9 @@ _xcode_setup() { +@@ -28,6 +28,9 @@ case "$_Path" in } case "$_Path" in @@ -10,7 +10,7 @@ "platform/aarch64/linux") _CONFIG_OPTS="--host=aarch64-linux" ;; -@@ -82,9 +85,9 @@ esac +@@ -82,9 +85,9 @@ rm config.cache || true cd mozilla-release/js/src rm config.cache || true diff --git a/databases/mongodb44/files/patch-SConstruct b/databases/mongodb44/files/patch-SConstruct index 9fc72edebc07..4d4576d66465 100644 --- a/databases/mongodb44/files/patch-SConstruct +++ b/databases/mongodb44/files/patch-SConstruct @@ -1,6 +1,6 @@ ---- SConstruct.orig 2021-07-07 09:17:06 UTC +--- SConstruct.orig 2023-05-10 02:21:42 UTC +++ SConstruct -@@ -1213,9 +1213,9 @@ if has_option('variables-help'): +@@ -1269,9 +1269,9 @@ if has_option('variables-help'): print(env_vars.GenerateHelpText(env)) Exit(0) @@ -11,9 +11,9 @@ +#if unknown_vars: +# env.FatalError("Unknown variables specified: {0}", ", ".join(list(unknown_vars.keys()))) - if get_option('install-action') != 'default' and get_option('ninja') != "disabled": - env.FatalError("Cannot use non-default install actions when generating Ninja.") -@@ -2091,7 +2091,7 @@ if env.TargetOSIs('posix'): + install_actions.setup(env, get_option('install-action')) + +@@ -2196,7 +2196,7 @@ if env.TargetOSIs('posix'): # If runtime hardening is requested, then build anything # destined for an executable with the necessary flags for PIE. env.AppendUnique( @@ -22,7 +22,7 @@ PROGLINKFLAGS=['-pie'], ) -@@ -2106,7 +2106,7 @@ if env.TargetOSIs('posix'): +@@ -2211,7 +2211,7 @@ if env.TargetOSIs('posix'): "-Wno-unknown-pragmas", "-Winvalid-pch"] ) # env.Append( " -Wconversion" ) TODO: this doesn't really work yet @@ -31,3 +31,12 @@ if not has_option("disable-warnings-as-errors"): env.Append( CCFLAGS=["-Werror"] ) +@@ -2297,7 +2297,7 @@ if env.ToolchainIs('GCC', 'clang'): + elif env['TARGET_ARCH'] == 'aarch64': + # If we are using GCC or clang to target aarch64, set the arch to be armv8.2-a, + # This is to prevent a bug with WT see SERVER-71772 for more details +- env.Append( CCFLAGS=['-march=armv8.2-a', '-mtune=generic'] ) ++ env.Append( CCFLAGS=['-march=armv8-a+crc', '-mtune=generic'] ) + + # Needed for auth tests since key files are stored in git with mode 644. + if not env.TargetOSIs('windows'): diff --git a/databases/mongodb44/pkg-message b/databases/mongodb44/pkg-message new file mode 100644 index 000000000000..43e45ca6a35a --- /dev/null +++ b/databases/mongodb44/pkg-message @@ -0,0 +1,8 @@ +[ +{ type: install + message: <