Hello community, here is the log from the commit of package grpc for openSUSE:Leap:15.2 checked in at 2020-02-06 21:36:29 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Leap:15.2/grpc (Old) and /work/SRC/openSUSE:Leap:15.2/.grpc.new.26092 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "grpc" Thu Feb 6 21:36:29 2020 rev:37 rq:769463 version:1.25.0 Changes: -------- --- /work/SRC/openSUSE:Leap:15.2/grpc/grpc.changes 2020-01-15 15:08:59.518024392 +0100 +++ /work/SRC/openSUSE:Leap:15.2/.grpc.new.26092/grpc.changes 2020-02-06 21:36:30.720107174 +0100 @@ -1,0 +2,269 @@ +Thu Jan 9 11:39:15 UTC 2020 - Michał Rostecki <[email protected]> + +- Remove patch for Bazel files, which is not needed anymore: + * 0001-bazel-Replace-boringssl-with-openssl.patch + +------------------------------------------------------------------- +Mon Dec 16 23:36:51 UTC 2019 - Jan Engelhardt <[email protected]> + +- Update to release 1.25 + * Change RR to consider a subchannel in TF if it has failed + since it was READY. + * Do not create streams after a GOAWAY has been received. + * Prevent HTTP2 parser from queueing a lot of induced frames. +- Drop gettid.patch + +------------------------------------------------------------------- +Mon Nov 11 15:37:45 UTC 2019 - Michał Rostecki <[email protected]> + +- Define BoringSSL as a Bazel dependency in WORKSPACE instead of + grpc_deps.bzl - using new_local_repository function is now always + allowed in imported modules. + +------------------------------------------------------------------- +Tue Nov 5 00:43:17 UTC 2019 - Michał Rostecki <[email protected]> + +- Add patch which replaces BoringSSL with OpenSSL as the SSL + library when grpc is used as a Bazel dependency: + * 0001-bazel-Replace-boringssl-with-openssl.patch + +------------------------------------------------------------------- +Thu Oct 10 00:23:16 UTC 2019 - Michał Rostecki <[email protected]> + +- Make sure that patches are included in the source package. +- Filter out several rpmlintrc warnings for the source package. + +------------------------------------------------------------------- +Wed Oct 2 18:39:47 UTC 2019 - Jan Engelhardt <[email protected]> + +- Update to release 1.23.1 + * Unspecific refinements, improvements, and bug fixes. +- Add gettid.patch +- Split libgrpc into libgrpc++ because that has a SO version + group of its own. +- Bump libgrpc6 to libgrpc7 as there is actually .so.7 files. + Add suitable Conflicts markers. + +------------------------------------------------------------------- +Thu Aug 22 18:28:15 UTC 2019 - Jan Engelhardt <[email protected]> + +- Disable LTO because it's broken. + +------------------------------------------------------------------- +Sun Aug 18 16:29:43 UTC 2019 - Jan Engelhardt <[email protected]> + +- Update to new upstream release 1.23 [boo#1144068] + * Fixed a bug where POST_RECV_MESSAGE was not being triggered. + * Renamed root certificate bundle in gRPC-C++ pod. + * Increased lower bound on DNS re-resolution period to 30 seconds. + * Fixed a segfault when forking while using gevent. + * Added channel idleness support + * Added threadpool support + +------------------------------------------------------------------- +Wed Jun 5 18:52:46 UTC 2019 - Jan Engelhardt <[email protected]> + +- Update to new upstream release 1.21.3 + * Add SPIFFE security stack to gRPC. + * Re-enable ALPN check in gRPC C core SSL stack. + +------------------------------------------------------------------- +Fri Apr 12 18:26:00 CEST 2019 - [email protected] + +- Fix typo in Groups. + +------------------------------------------------------------------- +Sat Mar 16 17:39:59 UTC 2019 - Jan Engelhardt <[email protected]> + +- Update to new upstream release 1.19.1 + * Use 32-bit nanopb fields. + * Avoid SRV and TXT lookups for localhost. + * Set c-ares as the default resolver. + +------------------------------------------------------------------- +Mon Jan 7 11:39:15 UTC 2019 - Michał Rostecki <[email protected]> + +- Add grpc-source package - some Go programs using gRPC need + protobuf definitions which are included inside the source code, + but are not included in the devel package. + +------------------------------------------------------------------- +Sun Nov 11 17:57:35 UTC 2018 - Jan Engelhardt <[email protected]> + +- Update to new upstream release 1.16 + * Keepalive watchdog firing should return status UNAVAILABLE. + * Set TCP_USER_TIMEOUT socket option for Linux. + * Turn loading system root certificate as default. + * Change pick_first to not unref unselected subchannels. + * cmake: prevent C core from depending on libstdc++. + * Implement Watch method in health check service. + +------------------------------------------------------------------- +Sun Nov 11 10:57:12 UTC 2018 - Thomas Bechtold <[email protected]> + +- update to 1.15.1: + * Document SSL portability and performance considerations. See + https://github.com/grpc/grpc/blob/master/doc/ssl-performance.md . + * Simplify call arena size growth. + * PF: Check connectivity state before watching. + * Added system roots feature to load roots from OS trust store. + * Fix re-resolution in pick first. + * Allow error strings in final_info to propagate to filters on + call destruction. + * Add resolver executor. + * Data race fix for lockfree_event. + * Channelz: Expose new Core API. + * cmake: disable assembly optimizations only when necessary. + * C++ sync server: Return status RESOURCE_EXHAUSTED if no + thread quota available. + * Use correct target name for gflags-config.cmake. + * Make should generate pkg-config file for gpr as well. + * Restrict the number of threads in C++ sync server. + * Allow reset of connection backoff. +- update to 1.14.2: + * Add TROUBLESHOOTING.md guide + * Fixed gRPC channels blocking indefinitely and not respecting + deadlines on network disconnect. + * Add user guide for keepalive. + * Fix GRPC_ARG_HTTP2_MIN_RECV_PING_INTERVAL_WITHOUT_DATA_MS doc + to restrict usage to server. + * Fixed ordering in adding pending picks to Round Robin LB. + * Implement local channel/server credentials for UDS connections. + * Allow extra copy in zero-copy protector integrity-only mode. + * Update to use the canonical version of LB proto. + * Prefer using https_proxy over http_proxy. + * Refactor to put c-ares queries under a combiner. + * Remove already_closed parameter from fd_orphan. + * Add channel arg to enable/disable http proxy. + * Fix shutdown of closed fd when c-ares opens a second fd. + * Fixed segmentation fault when product name from BIOS is empty. + * Introduce server-side load reporting service. + * Reorder steps in ServerBuilder::BuildAndStart(). + * Support Per-Method Codegen Generic on Server Side. + * Protobuf-related headers are available in a subspec of + gRPC-C++ podspec. +- update to 1.13.1: + * gRPC stats will only be collected for debug builds or if + GRPC_COLLECT_STATS is defined. It will be disabled for opt + builds. + * Fix for Issue #13553. Unlimited can now be set as the max + receive message length. + * cmake install now also installs should also installs the + roots.pem file. +- Drop 0001-Allow-building-the-python-module-with-system-openssl.patch + Applied upstream +- Drop 0002-Allow-building-the-python-module-with-system-zlib.patch + Applied upstream +- 0003-Allow-building-the-python-module-with-system-cares.patch + Applied upstream + +------------------------------------------------------------------- +Sat Jun 23 09:33:15 UTC 2018 - [email protected] + +- Throw out silly -Werror in release builds. + +------------------------------------------------------------------- +Fri May 25 05:34:36 UTC 2018 - [email protected] + +- build grpc python module for python2 and python3 + * add 0001-Allow-building-the-python-module-with-system-openssl.patch + * add 0002-Allow-building-the-python-module-with-system-zlib.patch + * add 0003-Allow-building-the-python-module-with-system-cares.patch + +------------------------------------------------------------------- +Fri May 18 14:55:27 UTC 2018 - [email protected] + +- Switch to plain makefiles since they generate more shared libs. +- Remove grpc-build.diff, grpc-versioning.diff. + +------------------------------------------------------------------- +Fri May 18 13:26:45 UTC 2018 - [email protected] + +- update to 1.12.0: + Core: + * Update protobuf submodule to 3.5.2 (#15114) + * Make GrpcBuffer{Reader|Writer} Public (#14541) + * Compile Out Tracers Option (#15108) + * Fix bug in an address sorting comparison (#15208) + * Fix: Check retry timer before starting resolving (#15156) + * Fix c-ares resolution with default authority (#15073) + * Fix c-ares resolver crash when DNS server unreachable (#15134) + * Performance: Avoid low severity log message construction (#14945) + * Peformance: Enable SIO_LOOPBACK_FAST_PATH on Windows (#14905) + C#: + * Add RpcException.StatusCode property (#15140) + * Improvements to C# build instructions (#15178) + Python: + * Eliminate grpcio package dependency on protobuf package (#15034). ++++ 72 more lines (skipped) ++++ between /work/SRC/openSUSE:Leap:15.2/grpc/grpc.changes ++++ and /work/SRC/openSUSE:Leap:15.2/.grpc.new.26092/grpc.changes Old: ---- grpc-build.diff grpc-versioning.diff v1.10.0.tar.gz New: ---- grpc-rpmlintrc v1.25.0.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ grpc.spec ++++++ --- /var/tmp/diff_new_pack.Ul2oSd/_old 2020-02-06 21:36:32.656107995 +0100 +++ /var/tmp/diff_new_pack.Ul2oSd/_new 2020-02-06 21:36:32.688108008 +0100 @@ -1,7 +1,7 @@ # # spec file for package grpc # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 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,40 +12,64 @@ # 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/ # -%define lname libgrpc6 +%define lver 8 +%define lverp 1 +%define src_install_dir /usr/src/%name +%{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: grpc -Version: 1.10.0 +Version: 1.25.0 Release: 0 Summary: HTTP/2-based Remote Procedure Call implementation License: Apache-2.0 Group: Development/Tools/Building -Url: http://grpc.io/ +URL: https://grpc.io/ Source: https://github.com/grpc/grpc/archive/v%version.tar.gz -Patch1: grpc-build.diff -Patch2: grpc-versioning.diff +Source2: %name-rpmlintrc +BuildRequires: %{python_module Cython} +BuildRequires: %{python_module devel} +BuildRequires: %{python_module setuptools} BuildRequires: cmake +BuildRequires: fdupes BuildRequires: gcc-c++ BuildRequires: pkg-config +BuildRequires: python-rpm-macros +BuildRequires: zypper BuildRequires: pkgconfig(libcares) BuildRequires: pkgconfig(openssl) >= 1.0.1 -BuildRequires: pkgconfig(protobuf) >= 3.5 +BuildRequires: pkgconfig(protobuf) >= 3.8.0 BuildRequires: pkgconfig(zlib) -BuildRoot: %{_tmppath}/%{name}-%{version}-build %description The reference implementation of the gRPC protocol, done on top of HTTP/2 with support for synchronous and asynchronous calls. gRPC uses Protocol Buffers as the Interface Definition Language by default. -%package -n %lname +%package -n libgrpc%lver Summary: HTTP/2-based Remote Procedure Call implementation Group: System/Libraries +%if "%lver" == "7" +# prior error in packaging +Conflicts: libgrpc6 +%endif -%description -n %lname +%description -n libgrpc%lver +The reference implementation of the gRPC protocol, done on top of +HTTP/2 with support for synchronous and asynchronous calls. gRPC uses +Protocol Buffers as the Interface Definition Language by default. + +%package -n libgrpc++%lverp +Summary: HTTP/2-based Remote Procedure Call implementation +Group: System/Libraries +%if "%lverp" == "1" +# prior error in packaging +Conflicts: libgrpc6 +%endif + +%description -n libgrpc++%lverp The reference implementation of the gRPC protocol, done on top of HTTP/2 with support for synchronous and asynchronous calls. gRPC uses Protocol Buffers as the Interface Definition Language by default. @@ -53,69 +77,112 @@ %package devel Summary: Development files for grpc, a HTTP/2 Remote Procedure Call implementation Group: Development/Tools/Building -Requires: %lname = %version +Requires: libgrpc%lver = %version +Requires: libgrpc++%lverp = %version %description devel This subpackage contains libraries and header files for developing applications that want to make use of the gRPC reference implementation. +%package source +Summary: Source code of gRPC +Group: Development/Sources +BuildArch: noarch + +%description -n grpc-source +This subpackage contains source code of the gRPC reference implementation. + +%package -n python2-grpcio +Summary: Python language bindings for grpc, a HTTP/2 Remote Procedure Call implementation +Group: Development/Libraries/Python +Requires: libgrpc%lver = %version-%release +Requires: python = %python2_version + +%description -n python2-grpcio +This subpackage contains the python2 bindings. + +%package -n python3-grpcio +Summary: Python language bindings for grpc, a HTTP/2 Remote Procedure Call implementation +Group: Development/Libraries/Python +Requires: libgrpc%lver = %version-%release +Requires: python = %python3_version + +%description -n python3-grpcio +This subpackage contains the python3 bindings. + %prep -%setup -q -%patch -P 1 -P 2 -p1 +%autosetup -p1 %build -make LIBDIR=x CONFIG=opt \ - x/opt/pkgconfig/grpc.pc x/opt/pkgconfig/grpc_unsecure.pc \ - x/opt/pkgconfig/grpc++.pc x/opt/pkgconfig/grpc++_unsecure.pc -%cmake \ - -DgRPC_PROTOBUF_PROVIDER=package \ - -DgRPC_SSL_PROVIDER=package \ - -DgRPC_ZLIB_PROVIDER=package \ - -DgRPC_CARES_PROVIDER=package \ - -DgRPC_INSTALL_BINDIR="%_bindir" \ - -DgRPC_INSTALL_INCLUDEDIR="%_includedir" \ - -DgRPC_INSTALL_LIBDIR="%_libdir" - -#[ 36%] Running gRPC C++ protocol buffer compiler on src/proto/grpc/reflection/v1alpha/reflection.proto -#cd /home/abuild/rpmbuild/BUILD/grpc-1.2.3 && /usr/bin/protoc --grpc_out=/home/abuild/rpmbuild/BUILD/grpc-1.2.3/build/gens --cpp_out=/home/abuild/rpmbuild/BUILD/grpc-1.2.3/build/gens --plugin=protoc-gen-grpc=/home/abuild/rpmbuild/BUILD/grpc-1.2.3/build/grpc_cpp_plugin -I . src/proto/grpc/reflection/v1alpha/reflection.proto -#/home/abuild/rpmbuild/BUILD/grpc-1.2.3/build/grpc_cpp_plugin: error while loading shared libraries: libgrpc_plugin_support.so: cannot open shared object file: No such file or directory -#--grpc_out: protoc-gen-grpc: Plugin failed with status code 127. -export LD_LIBRARY_PATH="$PWD" -%make_jobs +%define _lto_cflags %nil +# protoc is invoked strangely; make it happy with this dir or it will assert() +mkdir -p third_party/protobuf/src + +export CFLAGS="%optflags -Wno-error" +export CXXFLAGS="$CFLAGS" +make %{?_smp_mflags} STRIP=/bin/true V=1 VERBOSE=1 + +# build python module +export GRPC_PYTHON_BUILD_WITH_CYTHON=True +export GRPC_PYTHON_BUILD_SYSTEM_OPENSSL=True +export GRPC_PYTHON_BUILD_SYSTEM_ZLIB=True +export GRPC_PYTHON_BUILD_SYSTEM_CARES=True +%python_build %install b="%buildroot" -mkdir -p "$b/%_libdir/pkgconfig" -cp x/opt/pkgconfig/*.pc "$b/%_libdir/pkgconfig/" -%cmake_install -#for i in "$b/%_libdir"/libg*-%version.so; do -# ln -s "${i##*/}" "${i%%-%version.so}.so" -#done - -%post -n %lname -p /sbin/ldconfig -%postun -n %lname -p /sbin/ldconfig - -%files -n %lname -%defattr(-,root,root) -%_libdir/libg*.so.6 +# work around "Argument list too long" +ln -s "%buildroot" "b" +%make_install DESTDIR="b" prefix="b/%_prefix" STRIP=/bin/true V=1 VERBOSE=1 + +find "$b/%_includedir" -type f -exec chmod a-x {} + +pushd "$b/usr" +rm -fv lib/*.a share/grpc/*.pem +perl -i -pe 's{^prefix=.*}{prefix=%_prefix}' lib/pkgconfig/*.pc +perl -i -pe 's{^libdir=.*}{libdir=%_libdir}' lib/pkgconfig/*.pc +if test ! -d lib64 && test "%_lib" = lib64; then + mv lib lib64 +fi +popd +%python_install + +# Install sources +make clean +rm -f "b" "a.out" +find . -type f "(" -name "*.so" -o -name "*.o" -o -name ".git*" ")" -exec rm -rf {} + +mkdir -p "%buildroot/%src_install_dir" +cp -r * "%buildroot/%src_install_dir" + +%fdupes %buildroot/%_prefix + +%post -n libgrpc%lver -p /sbin/ldconfig +%postun -n libgrpc%lver -p /sbin/ldconfig +%post -n libgrpc++%lverp -p /sbin/ldconfig +%postun -n libgrpc++%lverp -p /sbin/ldconfig + +%files -n libgrpc%lver +%_libdir/libaddress_sorting.so.%{lver}* +%_libdir/libgpr*.so.%{lver}* +%_libdir/libgrpc*.so.%{lver}* + +%files -n libgrpc++%lverp +%_libdir/libgrpc++*.so.%{lverp}* +%_libdir/libgrpcpp_channelz.so.%{lverp}* %files devel -%defattr(-,root,root) %license LICENSE %_bindir/* %_includedir/* %_libdir/pkgconfig/*.pc -%_libdir/libgpr.so -%_libdir/libgrpc++.so -%_libdir/libgrpc++_cronet.so -%_libdir/libgrpc++_error_details.so -%_libdir/libgrpc++_reflection.so -%_libdir/libgrpc++_unsecure.so -%_libdir/libgrpc.so -%_libdir/libgrpc_cronet.so -%_libdir/libgrpc_csharp_ext.so -%_libdir/libgrpc_plugin_support.so -%_libdir/libgrpc_unsecure.so -/usr/lib/cmake +%_libdir/*.so + +%files source +%src_install_dir + +%files -n python2-grpcio +%python2_sitearch/grpc* + +%files -n python3-grpcio +%python3_sitearch/grpc* %changelog ++++++ grpc-rpmlintrc ++++++ # Ignore the following errors in the source package. addFilter("grpc-source.* env-script-interpreter") addFilter("grpc-source.* files-duplicate") addFilter("grpc-source.* hidden-file-or-dir") addFilter("grpc-source.* non-executable-script") addFilter("grpc-source.* pem-certificate") addFilter("grpc-source.* script-without-shebang") addFilter("grpc-source.* suse-filelist-forbidden-fhs23") addFilter("grpc-source.* version-control-internal-file") ++++++ v1.10.0.tar.gz -> v1.25.0.tar.gz ++++++ /work/SRC/openSUSE:Leap:15.2/grpc/v1.10.0.tar.gz /work/SRC/openSUSE:Leap:15.2/.grpc.new.26092/v1.25.0.tar.gz differ: char 13, line 1
