The package rpms/mongodb.git has added or updated architecture specific content in its
spec file (ExclusiveArch/ExcludeArch or %ifarch/%ifnarch) in commit(s):
https://src.fedoraproject.org/cgit/rpms/mongodb.git/commit/?id=f945450733....
Change:
+ExclusiveArch: %{upstream_arches}
Thanks.
Full change:
============
commit f94545073372dfb2d06446221e6bfc8b0ed7aeaf
Author: Marek Skalický <mskalick(a)redhat.com>
Date: Fri Jun 1 10:26:04 2018 +0200
Build modularized mongodb only on upstream arches
diff --git a/mongodb.spec b/mongodb.spec
index 4a114a0..30ce623 100644
--- a/mongodb.spec
+++ b/mongodb.spec
@@ -129,8 +129,13 @@ BuildRequires: python-pymongo
BuildRequires: python2-yaml
%endif
+%if 0%{?_module_build}
+# Provide modules only on upstream architectures
+ExclusiveArch: %{upstream_arches}
+%else
# Mongodb must run on a 64-bit CPU (see bug #630898)
ExcludeArch: ppc %{sparc} s390
+%endif
%description
Mongo (from "humongous") is a high-performance, open source, schema-free
commit 54fd3f5b9306661d514186890d4327292fe65b96
Merge: e3fc71a 08999d9
Author: Marek Skalický <mskalick(a)redhat.com>
Date: Fri Jun 1 10:25:07 2018 +0200
Merge branch 'f27' into 3.4
commit e3fc71af0b63c9c9441347b0f687417b63e5b61c
Author: Marek Skalický <mskalick(a)redhat.com>
Date: Fri May 25 13:35:46 2018 +0200
Add patch to work with boost 1.66
diff --git a/boost-1.66.patch b/boost-1.66.patch
new file mode 100644
index 0000000..573f7db
--- /dev/null
+++ b/boost-1.66.patch
@@ -0,0 +1,35 @@
+From 3c34eda8d8a38b982a1659b919e9f4b5971ba512 Mon Sep 17 00:00:00 2001
+From: Judah Schvimer <judah(a)mongodb.com>
+Date: Wed, 31 Jan 2018 11:38:57 -0500
+Subject: [PATCH] SERVER-32516 remove make_optional type
+
+---
+ src/mongo/db/repl/oplog_fetcher.cpp | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/src/mongo/db/repl/oplog_fetcher.cpp b/src/mongo/db/repl/oplog_fetcher.cpp
+index 94e0ac6d63f..7729e1b5d80 100644
+--- a/src/mongo/db/repl/oplog_fetcher.cpp
++++ b/src/mongo/db/repl/oplog_fetcher.cpp
+@@ -248,7 +248,7 @@ StatusWith<boost::optional<rpc::OplogQueryMetadata>>
parseOplogQueryMetadata(
+ if (!metadataResult.isOK()) {
+ return metadataResult.getStatus();
+ }
+- oqMetadata =
boost::make_optional<rpc::OplogQueryMetadata>(metadataResult.getValue());
++ oqMetadata = boost::make_optional(metadataResult.getValue());
+ }
+ return oqMetadata;
+ }
+diff --git a/src/mongo/executor/network_interface_mock_test.cpp
b/src/mongo/executor/network_interface_mock_test.cpp
+index b1a2e4edff..c41aad1f8c 100644
+--- a/src/mongo/executor/network_interface_mock_test.cpp
++++ b/src/mongo/executor/network_interface_mock_test.cpp
+@@ -143,7 +143,7 @@ TEST_F(NetworkInterfaceMockTest, ConnectionHook) {
+ [&](const HostAndPort& remoteHost) {
+ makeRequestCalled = true;
+ hostCorrectForRequest = (remoteHost == testHost());
+- return boost::make_optional<RemoteCommandRequest>(expectedRequest);
++ return boost::make_optional(expectedRequest);
+ },
+ [&](const HostAndPort& remoteHost, RemoteCommandResponse&&
response) {
+ handleReplyCalled = true;
diff --git a/mongodb.spec b/mongodb.spec
index 77e4211..050992a 100644
--- a/mongodb.spec
+++ b/mongodb.spec
@@ -89,6 +89,10 @@ Patch3: asio-new.patch
#
https://jira.mongodb.org/browse/SERVER-33395
Patch8: ppc64le-disable-altivec.patch
+# Fix building with boost 1.66
+#
https://jira.mongodb.org/browse/SERVER-32516
+Patch9: boost-1.66.patch
+
# Fedora specific - adding support for rest of Fedora architectures
# Upstream does not support it at this time
#
@@ -197,8 +201,9 @@ the MongoDB sources.
%patch2 -p1
%patch3 -p1
%patch8 -p1
-# Boost 1.62+ is in F26
-%if 0%{?fedora} >=26
+# Boost 1.66+ is in F28
+%if 0%{?fedora} >=28
+%patch9 -p1
%endif
# Patch only Fedora specific architectures
%ifnarch %{upstream_arches}