From nobody Mon Oct 04 22:09:28 2021 X-Original-To: dev-commits-ports-branches@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 C47D912D44FA; Mon, 4 Oct 2021 22:09:28 +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 4HNZd459dHz4qTJ; Mon, 4 Oct 2021 22:09:28 +0000 (UTC) (envelope-from git@FreeBSD.org) 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 92A0921088; Mon, 4 Oct 2021 22:09:28 +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 194M9SGs080919; Mon, 4 Oct 2021 22:09:28 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 194M9SSP080918; Mon, 4 Oct 2021 22:09:28 GMT (envelope-from git) Date: Mon, 4 Oct 2021 22:09:28 GMT Message-Id: <202110042209.194M9SSP080918@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-branches@FreeBSD.org From: Jan Beich Subject: git: 6b6e874c6b5b - 2021Q4 - databases/mongodb42: unbreak build after 620968a43a5f List-Id: Commits to the quarterly branches of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-branches List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-branches@freebsd.org X-BeenThere: dev-commits-ports-branches@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: jbeich X-Git-Repository: ports X-Git-Refname: refs/heads/2021Q4 X-Git-Reftype: branch X-Git-Commit: 6b6e874c6b5ba7a96ffbe890abaac56959af9aab Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch 2021Q4 has been updated by jbeich: URL: https://cgit.FreeBSD.org/ports/commit/?id=6b6e874c6b5ba7a96ffbe890abaac56959af9aab commit 6b6e874c6b5ba7a96ffbe890abaac56959af9aab Author: Jan Beich AuthorDate: 2021-10-04 21:46:00 +0000 Commit: Jan Beich CommitDate: 2021-10-04 22:09:21 +0000 databases/mongodb42: unbreak build after 620968a43a5f Checking if C compiler supports -flto... yes Checking if linker supports -flto... no Link time optimization requested, but selected compiler does not honor -flto [...] /usr/local/bin/ld.gold: error: /usr/bin/../lib/LLVMgold.so: could not load plugin library: Cannot open "/usr/bin/../lib/LLVMgold.so" /usr/local/bin/ld.gold: error: build/scons/opt/sconf_temp/conftest_25fe9b7eeda4aef15b03635be7f9c29c_6.o:1:3: invalid character /usr/local/bin/ld.gold: error: build/scons/opt/sconf_temp/conftest_25fe9b7eeda4aef15b03635be7f9c29c_6.o:1:3: syntax error, unexpected $end /usr/local/bin/ld.gold: error: build/scons/opt/sconf_temp/conftest_25fe9b7eeda4aef15b03635be7f9c29c_6.o: not an object or archive /usr/src/lib/csu/amd64/crt1.c:76: error: undefined reference to 'main' cc: error: linker command failed with exit code 1 (use -v to see invocation) Reported by: pkg-fallout Obtained from: upstream (via mongodb44) (cherry picked from commit 3292ccea5b5c050100cc64bbbb9fcf13de177161) --- databases/mongodb42/Makefile | 4 ++++ databases/mongodb42/distinfo | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/databases/mongodb42/Makefile b/databases/mongodb42/Makefile index 13a88e3913b3..f91e039c0aac 100644 --- a/databases/mongodb42/Makefile +++ b/databases/mongodb42/Makefile @@ -7,6 +7,10 @@ MASTER_SITES= https://fastdl.mongodb.org/src/ \ PKGNAMESUFFIX= ${DISTVERSION:R:S/.//} DISTNAME= mongodb-src-${DISTVERSIONPREFIX}${DISTVERSION} +PATCH_SITES= https://github.com/${PORTNAME}/${PORTNAME:S/db//}/commit/ +PATCHFILES+= a0a70c53cc7a.patch:-p1 # https://jira.mongodb.org/browse/SERVER-41827 +PATCHFILES+= edf4ab0f8174.patch:-p1 # https://jira.mongodb.org/browse/SERVER-43979 + MAINTAINER= ronald-lists@klop.ws COMMENT= Distributed document-oriented "NoSQL" database (4.2.x Branch) diff --git a/databases/mongodb42/distinfo b/databases/mongodb42/distinfo index b793bea07a60..549598a2012f 100644 --- a/databases/mongodb42/distinfo +++ b/databases/mongodb42/distinfo @@ -1,3 +1,7 @@ TIMESTAMP = 1632392379 SHA256 (mongodb-src-r4.2.17.tar.gz) = e329ef22656337aef855d0ff6c9e79572fc8ace94c37c8996f63c0871c1bbf50 SIZE (mongodb-src-r4.2.17.tar.gz) = 62216350 +SHA256 (a0a70c53cc7a.patch) = 1435de7b6e6343c996fd58556d721f184b208d90d280996bd0c35dd32339b6b2 +SIZE (a0a70c53cc7a.patch) = 1078 +SHA256 (edf4ab0f8174.patch) = 87be45f996b1b7fc3700407d6d6671ec6b4b6a593de54ca5355bb6daec3d0213 +SIZE (edf4ab0f8174.patch) = 1220