Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package grpc for openSUSE:Factory checked in at 2023-11-15 21:06:43 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/grpc (Old) and /work/SRC/openSUSE:Factory/.grpc.new.17445 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "grpc" Wed Nov 15 21:06:43 2023 rev:67 rq:1125885 version:1.59.2 Changes: -------- --- /work/SRC/openSUSE:Factory/grpc/grpc.changes 2023-11-01 22:09:41.203014461 +0100 +++ /work/SRC/openSUSE:Factory/.grpc.new.17445/grpc.changes 2023-11-15 21:07:03.044850791 +0100 @@ -1,0 +2,8 @@ +Tue Nov 14 10:21:58 UTC 2023 - John Paul Adrian Glaubitz <[email protected]> + +- Adjust RPATH handling to fix FTBFS on SLE-15 + * Set CMAKE_SKIP_RPATH to FALSE + * Set CMAKE_SKIP_INSTALL_RPATH to TRUE +- Build with gcc-12 on SLE-15 to fix FTBFS on ppc64le + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ grpc.spec ++++++ --- /var/tmp/diff_new_pack.Zc2pUY/_old 2023-11-15 21:07:03.860880899 +0100 +++ /var/tmp/diff_new_pack.Zc2pUY/_new 2023-11-15 21:07:03.864881047 +0100 @@ -31,7 +31,11 @@ BuildRequires: abseil-cpp-devel BuildRequires: cmake BuildRequires: fdupes +%if 0%{?suse_version} < 1550 +BuildRequires: gcc12-c++ +%else BuildRequires: gcc-c++ +%endif BuildRequires: opencensus-proto-source BuildRequires: pkg-config BuildRequires: pkgconfig(libcares) >= 1.19.1 @@ -124,6 +128,10 @@ rm -Rf third_party/abseil-cpp/ %build +%if 0%{?suse_version} < 1550 +export CC=gcc-12 +export CXX=g++-12 +%endif %define _lto_cflags %nil # protoc is invoked strangely; make it happy with this dir or it will assert() mkdir -p third_party/protobuf/src @@ -141,7 +149,9 @@ -DgRPC_SSL_PROVIDER=package \ -DZLIB_LIBRARY=%{_libdir}/libz.so \ -DgRPC_ZLIB_PROVIDER=package \ - -DCMAKE_CXX_STANDARD=17 + -DCMAKE_CXX_STANDARD=17 \ + -DCMAKE_SKIP_RPATH=FALSE \ + -DCMAKE_SKIP_INSTALL_RPATH=TRUE %cmake_build %install
