Hello community, here is the log from the commit of package mongodb for openSUSE:Factory checked in at 2019-07-11 13:14:40 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/mongodb (Old) and /work/SRC/openSUSE:Factory/.mongodb.new.4615 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "mongodb" Thu Jul 11 13:14:40 2019 rev:8 rq:713267 version:3.6.13 Changes: -------- --- /work/SRC/openSUSE:Factory/mongodb/mongodb.changes 2018-07-06 10:48:14.158808869 +0200 +++ /work/SRC/openSUSE:Factory/.mongodb.new.4615/mongodb.changes 2019-07-11 13:14:58.538834527 +0200 @@ -1,0 +2,97 @@ +Tue Jul 2 19:24:26 UTC 2019 - Martin Hauke <mar...@gmx.de> + +- Add missing dependency on libboost_system-devel + +------------------------------------------------------------------- +Tue Jul 2 18:05:46 UTC 2019 - Martin Hauke <mar...@gmx.de> + +- Rebase patch: + * mongo-src-3.6.8-python3.patch +- Update to version 3.6.13: + * Use Actual Memory Constraint vs. Total System Memory When They + Differ + * Attach IDs to users + * Unique background index builds may produce inconsistent keys +- includes changes from 3.6.12: + * Regain MongoDB balancer performance with sessions + * Migrating session info can trigger fassert when destination + shard has transaction history truncated by oplog + * replSetReconfig with concurrent election can trigger invariant + * Views collation check should traverse through nested $lookup + pipelines + * Aggregation operator $sqrt output for NumberDecimal is the + same as $exp + * Quiet mode does not suppress connection end events +- includes changes from 3.6.11: + * Log slow oplog entry application + * Link flushRouterConfig on the config server and shards + * Sessions never expire when you change value of + localLogicalSessionTimeoutMinutes + * Early release of distributed database locks during initial + collection sharding results in migration/split failures + * $graphLookup should force a pipeline to split in sharded cluster +- includes changes from 3.6.10: + * Do not allow rename from unreplicated to replicated DB or + vice-versa + * MongoDB Community installer fails to install Compass + * Initial mongod.log is created using umask vs mode 600 + * Implement tuneable batch size for chunk migrations + * Implement tuneable batch size for the rangedeleter + * Different values when referencing whole object vs. a field of + that object after $arrayToObject + * $match stage following $listSessions not working against mongos +- includes changes from 3.6.9: + * Query during background index build can lead to suboptimal + cached plan + * Do not delay journal flushes when operations are waiting for + oplog visibility + * Update with numeric field names inside an array can cause + validation to fail + * Negation of $in with regex can incorrectly plan from the cache, + leading to missing query results + + + +------------------------------------------------------------------- +Sun Jan 20 20:03:32 UTC 2019 - astie...@suse.com + +- mongodb 3.6.8 (the last version licensed under AGPL-3.0): + * Fix tailable cursor fail on getMore against a sharded cluster + * Fix incorrect result from covered index with collated field + when collation not involved in match or sort + * Fix failure to drop a collection with long index names via + rename under MMAPv1 + * Fix privileges on setFCV virtual namespace. +- includes changes from 3.6.7: + * Use batch insert when migrating chunks + * Fix error on aggregation with $out when Auditing is enabled + * Fix mongoreplay tool thar always replayed to secondary +- includes changes from 3.6.6: + * Fix UUIDCatalog inconsistencies when using mapReduce “replace” + on a sharded output collection + * Add syncSourceHost field to replSetGetStatus output +- includes changes from 3.6.5: + * Fis segmentation fault when shard is started with --shardsvr + before being added to a shard + * Fix collMod interruption may cause invariant failure + * Fix server crash on $changeStream with invalid resume token +- includes changes from 3.6.4: + * Add sharding metadata refresh metrics section to serverStatus. + * Fix segmentation fault converting ReplicaSet to Replicated + Shard Cluster + * Fix 3.6 drivers failing to communicate with 3.6 sharded + clusters running at FCV 3.4. + * SLES11 support removed + * Fix currentOp output no longer returning threadId field +- includes changes from 3.6.3: + * fix mongod crash on find with index and nested $and/$or. + * fix CappedPositionLost failure when tailing oplog on secondary + * fix "address already in use" when using --bind_ip localhost +- add mongodb-3.6.8-fix-syntax.patch fixing syntax in build scripts +- change mongo-src-3.6.2-python3.patch to + mongo-src-3.6.8-python3.patch to include more python 3 fixes, + including those only triggered when building with system libs +- Build with the system versions of the following libraries: + boost, pcre, snappy, yaml, zlib + +------------------------------------------------------------------- Old: ---- mongo-src-3.6.2-python3.patch mongodb-src-r3.6.2.tar.gz New: ---- mongo-src-3.6.8-python3.patch mongodb-3.6.8-fix-syntax.patch mongodb-src-r3.6.13.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ mongodb.spec ++++++ --- /var/tmp/diff_new_pack.imVLKk/_old 2019-07-11 13:15:00.650833656 +0200 +++ /var/tmp/diff_new_pack.imVLKk/_new 2019-07-11 13:15:00.654833654 +0200 @@ -1,7 +1,7 @@ # # spec file for package mongodb # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,7 +12,7 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # @@ -30,7 +30,7 @@ %define scons_bin buildscripts/scons.py %endif Name: mongodb -Version: 3.6.2 +Version: 3.6.13 Release: 0 Summary: The MongoDB document-oriented database system (metapackage) License: AGPL-3.0-only @@ -42,10 +42,17 @@ Source3: mongodb.conf Source4: mongodb.service Source5: mongodb-tmpfile -Patch0: mongo-src-3.6.2-python3.patch +Patch0: mongo-src-3.6.8-python3.patch +Patch1: mongodb-3.6.8-fix-syntax.patch BuildRequires: glibc-devel +BuildRequires: libpcap-devel BuildRequires: openssl-devel +BuildRequires: pcre-devel +BuildRequires: pkgconfig BuildRequires: scons >= 2.3 +BuildRequires: snappy-devel +BuildRequires: zlib-devel +BuildRequires: pkgconfig(yaml-cpp) Requires: logrotate Requires: mongodb-mongoperf = %{version} Requires: mongodb-mongos = %{version} @@ -75,6 +82,12 @@ # PPC building when updating mongodb to newer version # since they have been known to work and have been suggested by upstream ExcludeArch: ppc64 ppc64le +%if 0%{?suse_version} >= 1500 +BuildRequires: libboost_filesystem-devel +BuildRequires: libboost_iostreams-devel +BuildRequires: libboost_program_options-devel +BuildRequires: libboost_system-devel +%endif %if 0%{?sle_version} == 120200 || 0%{?sle_version} == 120300 BuildRequires: gcc6 BuildRequires: gcc6-c++ @@ -193,12 +206,13 @@ %if %{?suse_version} >= 1500 %patch0 -p1 %endif +%patch1 -p1 # change default database path to reflect the default database user directory sed -i 's|/data/db/|%{_home_dir}/|' src/mongo/db/storage/storage_options.cpp %build -%scons_bin \ +%{scons_bin} \ %ifarch aarch64 CCFLAGS="-march=armv8-a+crc" \ %endif @@ -220,9 +234,16 @@ --js-engine=none \ --allocator=system \ %endif +%if 0%{?suse_version} >= 1500 + --use-system-boost \ +%endif + --use-system-pcre \ + --use-system-snappy \ + --use-system-yaml \ + --use-system-zlib \ %install -%scons_bin \ +%{scons_bin} \ %ifarch aarch64 CCFLAGS="-march=armv8-a+crc" \ %endif @@ -243,6 +264,13 @@ --js-engine=none \ --allocator=system \ %endif +%if 0%{?suse_version} >= 1500 + --use-system-boost \ +%endif + --use-system-pcre \ + --use-system-snappy \ + --use-system-yaml \ + --use-system-zlib \ mkdir -p %{buildroot}%{_sbindir} mv %{buildroot}%{_bindir}/mongod %{buildroot}%{_sbindir}/mongod @@ -288,7 +316,7 @@ %post server /sbin/ldconfig %if %{with systemd} - %tmpfiles_create %_tmpfilesdir/%{name}.conf + %tmpfiles_create %{_tmpfilesdir}/%{name}.conf %{service_add_post %{name}.service} %else %{fillup_and_insserv -f %{name}} @@ -311,15 +339,13 @@ %endif %files -%defattr(-,root,root) %files server -%defattr(-,root,root,-) %{_sbindir}/mongod %config(noreplace) %{_sysconfdir}/%{name}.conf %config(noreplace) %{_sysconfdir}/logrotate.d/%{name} %{_sbindir}/rc%{name} -%{_mandir}/man1/mongod.1* +%{_mandir}/man1/mongod.1%{?ext_man} %if %{with systemd} %{_unitdir}/%{name}.service @@ -332,20 +358,17 @@ %attr(0750,mongodb,mongodb) %{_var}/lib/%{name} %files shell -%defattr(-,root,root,-) %{_bindir}/mongo %{_bindir}/install_compass -%{_mandir}/man1/mongo.1* +%{_mandir}/man1/mongo.1%{?ext_man} %files mongos -%defattr(-,root,root,-) %{_sbindir}/mongos -%{_mandir}/man1/mongos.1* +%{_mandir}/man1/mongos.1%{?ext_man} %files mongoperf -%defattr(-,root,root,-) %{_bindir}/mongoperf -%{_mandir}/man1/mongoperf.1* +%{_mandir}/man1/mongoperf.1%{?ext_man} # TODO: # * /var/lib/[mongodb] is NOT a subvolume in default BTRFS setup, ++++++ mongo-src-3.6.2-python3.patch -> mongo-src-3.6.8-python3.patch ++++++ ++++ 1418 lines (skipped) ++++ between /work/SRC/openSUSE:Factory/mongodb/mongo-src-3.6.2-python3.patch ++++ and /work/SRC/openSUSE:Factory/.mongodb.new.4615/mongo-src-3.6.8-python3.patch ++++++ mongodb-3.6.8-fix-syntax.patch ++++++ From: Andreas Stieger <astie...@suse.com> Date: Sun, 20 Jan 2019 11:09:25 +0100 Subject: Fix syntax errors in mongodb 3.68 build scripts References: Upstream: no Index: mongodb-src-r3.6.8/SConstruct =================================================================== --- mongodb-src-r3.6.8.orig/SConstruct +++ mongodb-src-r3.6.8/SConstruct @@ -3117,7 +3117,7 @@ def doConfigure(myenv): outputIndex = next((idx for idx in [0,1] if conf.CheckAltivecVbpermqOutput(idx)), None) if outputIndex is not None: - conf.env.SetConfigHeaderDefine("MONGO_CONFIG_ALTIVEC_VEC_VBPERMQ_OUTPUT_INDEX", outputIndex) + conf.env.SetConfigHeaderDefine("MONGO_CONFIG_ALTIVEC_VEC_VBPERMQ_OUTPUT_INDEX", outputIndex) else: myenv.ConfError("Running on ppc64le, but can't find a correct vec_vbpermq output index. Compiler or platform not supported") ++++++ mongodb-src-r3.6.2.tar.gz -> mongodb-src-r3.6.13.tar.gz ++++++ /work/SRC/openSUSE:Factory/mongodb/mongodb-src-r3.6.2.tar.gz /work/SRC/openSUSE:Factory/.mongodb.new.4615/mongodb-src-r3.6.13.tar.gz differ: char 5, line 1