All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 0/3] bump grpc to 1.32
@ 2020-09-11 13:29 Michael Nosthoff
  2020-09-11 13:29 ` [Buildroot] [PATCH 1/3] package/libabseil-cpp: bump to 20200225.2 Michael Nosthoff
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Michael Nosthoff @ 2020-09-11 13:29 UTC (permalink / raw)
  To: buildroot

this series bumps grpc and its dependencies

- libabseil with two patchreleases
- protobuf 3.13
- grpc 1.32

Tested with grpc.config:

BR2_PACKAGE_OPENSSL=y
BR2_PACKAGE_GRPC=y

on Ubuntu 20.04, gcc 9.3.0

./utils/test-pkg -c grpc.config -p grpc
   br-arm-full [1/6]: OK
   br-arm-cortex-a9-glibc [2/6]: OK
   br-arm-cortex-m4-full [3/6]: SKIPPED
   br-x86-64-musl [4/6]: OK
   br-arm-full-static [5/6]: SKIPPED
   sourcery-arm [6/6]: OK


Michael Nosthoff (3):
  package/libabseil-cpp: bump to 20200225.2
  package/protobuf: bump version to 3.13
  package/grpc: bump version to 1.32

 .../grpc/0001-target-build-using-host-plugin.patch    |  4 ++--
 ...-detect-the-availability-of-pthread_setname_.patch |  4 ++--
 package/grpc/grpc.hash                                |  2 +-
 package/grpc/grpc.mk                                  | 11 ++++++-----
 package/libabseil-cpp/libabseil-cpp.hash              |  2 +-
 package/libabseil-cpp/libabseil-cpp.mk                |  2 +-
 package/protobuf/protobuf.hash                        |  2 +-
 package/protobuf/protobuf.mk                          |  2 +-
 8 files changed, 15 insertions(+), 14 deletions(-)

-- 
2.25.1

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Buildroot] [PATCH 1/3] package/libabseil-cpp: bump to 20200225.2
  2020-09-11 13:29 [Buildroot] [PATCH 0/3] bump grpc to 1.32 Michael Nosthoff
@ 2020-09-11 13:29 ` Michael Nosthoff
  2020-09-11 13:29 ` [Buildroot] [PATCH 2/3] package/protobuf: bump version to 3.13 Michael Nosthoff
  2020-09-11 13:29 ` [Buildroot] [PATCH 3/3] package/grpc: bump version to 1.32 Michael Nosthoff
  2 siblings, 0 replies; 6+ messages in thread
From: Michael Nosthoff @ 2020-09-11 13:29 UTC (permalink / raw)
  To: buildroot

patch release with two bugfixes
- fixes the list of dependencies of absl::Cord in the CMake build
- bug fix for absl::Status::ErasePayload

Signed-off-by: Michael Nosthoff <buildroot@heine.tech>
---
 package/libabseil-cpp/libabseil-cpp.hash | 2 +-
 package/libabseil-cpp/libabseil-cpp.mk   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/package/libabseil-cpp/libabseil-cpp.hash b/package/libabseil-cpp/libabseil-cpp.hash
index 7f0b5fc394..fef96833de 100644
--- a/package/libabseil-cpp/libabseil-cpp.hash
+++ b/package/libabseil-cpp/libabseil-cpp.hash
@@ -1,3 +1,3 @@
 # Locally computed
-sha256  728a813291bdec2aa46eab8356ace9f75ac2ed9dfe2df5ab603c4e6c09f1c353  libabseil-cpp-20200225.tar.gz
+sha256  f41868f7a938605c92936230081175d1eae87f6ea2c248f41077c8f88316f111  libabseil-cpp-20200225.2.tar.gz
 sha256  c79a7fea0e3cac04cd43f20e7b648e5a0ff8fa5344e644b0ee09ca1162b62747  LICENSE
diff --git a/package/libabseil-cpp/libabseil-cpp.mk b/package/libabseil-cpp/libabseil-cpp.mk
index 92cbb0051d..6ca33535eb 100644
--- a/package/libabseil-cpp/libabseil-cpp.mk
+++ b/package/libabseil-cpp/libabseil-cpp.mk
@@ -4,7 +4,7 @@
 #
 ################################################################################
 
-LIBABSEIL_CPP_VERSION = 20200225
+LIBABSEIL_CPP_VERSION = 20200225.2
 LIBABSEIL_CPP_SITE = $(call github,abseil,abseil-cpp,$(LIBABSEIL_CPP_VERSION))
 LIBABSEIL_CPP_LICENSE = Apache-2.0
 LIBABSEIL_CPP_LICENSE_FILES = LICENSE
-- 
2.25.1

^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [Buildroot] [PATCH 2/3] package/protobuf: bump version to 3.13
  2020-09-11 13:29 [Buildroot] [PATCH 0/3] bump grpc to 1.32 Michael Nosthoff
  2020-09-11 13:29 ` [Buildroot] [PATCH 1/3] package/libabseil-cpp: bump to 20200225.2 Michael Nosthoff
@ 2020-09-11 13:29 ` Michael Nosthoff
  2020-09-11 13:49   ` Thomas Petazzoni
  2020-09-11 13:29 ` [Buildroot] [PATCH 3/3] package/grpc: bump version to 1.32 Michael Nosthoff
  2 siblings, 1 reply; 6+ messages in thread
From: Michael Nosthoff @ 2020-09-11 13:29 UTC (permalink / raw)
  To: buildroot

Signed-off-by: Michael Nosthoff <buildroot@heine.tech>
---
 package/protobuf/protobuf.hash | 2 +-
 package/protobuf/protobuf.mk   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/package/protobuf/protobuf.hash b/package/protobuf/protobuf.hash
index aa9d871561..c11f54edc3 100644
--- a/package/protobuf/protobuf.hash
+++ b/package/protobuf/protobuf.hash
@@ -1,3 +1,3 @@
 # Locally calculated
 sha256  6e5e117324afd944dcf67f36cf329843bc1a92229a8cd9bb573d7a83130fea7d  LICENSE
-sha256  ccfbaaba52f67e0e6536a05f3df3f6618620d255513cfca3a07f5935b624e26b  protobuf-cpp-3.12.4.tar.gz
+sha256  f8a547dfe143a9f61fadafba47fa6573713a33cb80909307c1502e26e1102298  protobuf-cpp-3.13.0.tar.gz
diff --git a/package/protobuf/protobuf.mk b/package/protobuf/protobuf.mk
index 04fea3063e..2395221313 100644
--- a/package/protobuf/protobuf.mk
+++ b/package/protobuf/protobuf.mk
@@ -7,7 +7,7 @@
 # When bumping this package, make sure to also verify if the
 # python-protobuf package still works, as they share the same
 # version/site variables.
-PROTOBUF_VERSION = 3.12.4
+PROTOBUF_VERSION = 3.13.0
 PROTOBUF_SOURCE = protobuf-cpp-$(PROTOBUF_VERSION).tar.gz
 PROTOBUF_SITE = https://github.com/google/protobuf/releases/download/v$(PROTOBUF_VERSION)
 PROTOBUF_LICENSE = BSD-3-Clause
-- 
2.25.1

^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [Buildroot] [PATCH 3/3] package/grpc: bump version to 1.32
  2020-09-11 13:29 [Buildroot] [PATCH 0/3] bump grpc to 1.32 Michael Nosthoff
  2020-09-11 13:29 ` [Buildroot] [PATCH 1/3] package/libabseil-cpp: bump to 20200225.2 Michael Nosthoff
  2020-09-11 13:29 ` [Buildroot] [PATCH 2/3] package/protobuf: bump version to 3.13 Michael Nosthoff
@ 2020-09-11 13:29 ` Michael Nosthoff
  2 siblings, 0 replies; 6+ messages in thread
From: Michael Nosthoff @ 2020-09-11 13:29 UTC (permalink / raw)
  To: buildroot

- order dependencies alphabetically
- update hash
- alter patch offsets

Signed-off-by: Michael Nosthoff <buildroot@heine.tech>
---
 .../grpc/0001-target-build-using-host-plugin.patch    |  4 ++--
 ...-detect-the-availability-of-pthread_setname_.patch |  4 ++--
 package/grpc/grpc.hash                                |  2 +-
 package/grpc/grpc.mk                                  | 11 ++++++-----
 4 files changed, 11 insertions(+), 10 deletions(-)

diff --git a/package/grpc/0001-target-build-using-host-plugin.patch b/package/grpc/0001-target-build-using-host-plugin.patch
index 5b3c6a6fae..c6de0c1831 100644
--- a/package/grpc/0001-target-build-using-host-plugin.patch
+++ b/package/grpc/0001-target-build-using-host-plugin.patch
@@ -20,7 +20,7 @@ diff --git a/CMakeLists.txt b/CMakeLists.txt
 index be695c2..45c2fcb 100644
 --- a/CMakeLists.txt
 +++ b/CMakeLists.txt
-@@ -11043,6 +11043,18 @@ target_link_libraries(grpc_cli
+@@ -11199,6 +11199,18 @@ target_link_libraries(grpc_cli
  endif()
  if(gRPC_BUILD_CODEGEN AND gRPC_BUILD_GRPC_CPP_PLUGIN)
  
@@ -39,7 +39,7 @@ index be695c2..45c2fcb 100644
  add_executable(grpc_cpp_plugin
    src/compiler/cpp_plugin.cc
  )
-@@ -11077,6 +11089,7 @@ if(gRPC_INSTALL)
+@@ -11233,6 +11245,7 @@ if(gRPC_INSTALL)
      ARCHIVE DESTINATION ${gRPC_INSTALL_LIBDIR}
    )
  endif()
diff --git a/package/grpc/0002-Properly-detect-the-availability-of-pthread_setname_.patch b/package/grpc/0002-Properly-detect-the-availability-of-pthread_setname_.patch
index c8b1dc8e73..32493ac1a0 100644
--- a/package/grpc/0002-Properly-detect-the-availability-of-pthread_setname_.patch
+++ b/package/grpc/0002-Properly-detect-the-availability-of-pthread_setname_.patch
@@ -20,7 +20,7 @@ diff --git a/CMakeLists.txt b/CMakeLists.txt
 index 45c2fcb..0b2be4f 100644
 --- a/CMakeLists.txt
 +++ b/CMakeLists.txt
-@@ -180,6 +180,12 @@ if (NOT DEFINED CMAKE_POSITION_INDEPENDENT_CODE)
+@@ -208,6 +208,12 @@ if (NOT DEFINED CMAKE_POSITION_INDEPENDENT_CODE)
  endif()
  list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake/modules")
  
@@ -37,7 +37,7 @@ diff --git a/include/grpc/impl/codegen/port_platform.h b/include/grpc/impl/codeg
 index 4f213ff..55ecd9d 100644
 --- a/include/grpc/impl/codegen/port_platform.h
 +++ b/include/grpc/impl/codegen/port_platform.h
-@@ -163,7 +163,9 @@
+@@ -168,7 +168,9 @@
  #endif /* _LP64 */
  #ifdef __GLIBC__
  #define GPR_POSIX_CRASH_HANDLER 1
diff --git a/package/grpc/grpc.hash b/package/grpc/grpc.hash
index 20368068d9..3a2dbe2d8a 100644
--- a/package/grpc/grpc.hash
+++ b/package/grpc/grpc.hash
@@ -1,3 +1,3 @@
 # Locally computed
-sha256  1236514199d3deb111a6dd7f6092f67617cd2b147f7eda7adbafccea95de7381  grpc-1.31.0.tar.gz
+sha256  f880ebeb2ccf0e47721526c10dd97469200e40b5f101a0d9774eb69efa0bd07a  grpc-1.32.0.tar.gz
 sha256  cfc7749b96f63bd31c3c42b5c471bf756814053e847c10f3eb003417bc523d30  LICENSE
diff --git a/package/grpc/grpc.mk b/package/grpc/grpc.mk
index 2114f98e40..f7a731b8a1 100644
--- a/package/grpc/grpc.mk
+++ b/package/grpc/grpc.mk
@@ -4,7 +4,7 @@
 #
 ################################################################################
 
-GRPC_VERSION = 1.31.0
+GRPC_VERSION = 1.32.0
 GRPC_SITE = $(call github,grpc,grpc,v$(GRPC_VERSION))
 GRPC_LICENSE = Apache-2.0
 GRPC_LICENSE_FILES = LICENSE
@@ -12,7 +12,7 @@ GRPC_LICENSE_FILES = LICENSE
 GRPC_INSTALL_STAGING = YES
 
 # Need to use host grpc_cpp_plugin during cross compilation.
-GRPC_DEPENDENCIES = c-ares host-grpc openssl protobuf re2 zlib libabseil-cpp
+GRPC_DEPENDENCIES = c-ares host-grpc libabseil-cpp openssl protobuf re2 zlib
 HOST_GRPC_DEPENDENCIES = host-c-ares host-libabseil-cpp host-openssl host-protobuf \
 	host-re2 host-zlib
 
@@ -21,13 +21,13 @@ HOST_GRPC_DEPENDENCIES = host-c-ares host-libabseil-cpp host-openssl host-protob
 # which doesn't do this.  These CARES settings trick the gRPC cmake code into
 # not looking for c-ares at all and yet still linking with the library.
 GRPC_CONF_OPTS = \
+	-DgRPC_ABSL_PROVIDER=package \
 	-D_gRPC_CARES_LIBRARIES=cares \
 	-DgRPC_CARES_PROVIDER=none \
 	-DgRPC_PROTOBUF_PROVIDER=package \
 	-DgRPC_RE2_PROVIDER=package \
 	-DgRPC_SSL_PROVIDER=package \
 	-DgRPC_ZLIB_PROVIDER=package \
-	-DgRPC_ABSL_PROVIDER=package \
 	-DgRPC_NATIVE_CPP_PLUGIN=$(HOST_DIR)/bin/grpc_cpp_plugin
 
 # grpc can use __atomic builtins, so we need to link with
@@ -64,13 +64,14 @@ GRPC_CONF_OPTS += \
 	-DCMAKE_CXX_FLAGS="$(GRPC_CXXFLAGS)"
 
 HOST_GRPC_CONF_OPTS = \
+	-DgRPC_ABSL_PROVIDER=package \
 	-D_gRPC_CARES_LIBRARIES=cares \
 	-DgRPC_CARES_PROVIDER=none \
 	-DgRPC_PROTOBUF_PROVIDER=package \
 	-DgRPC_RE2_PROVIDER=package \
 	-DgRPC_SSL_PROVIDER=package \
-	-DgRPC_ZLIB_PROVIDER=package \
-	-DgRPC_ABSL_PROVIDER=package
+	-DgRPC_ZLIB_PROVIDER=package
+
 
 $(eval $(cmake-package))
 $(eval $(host-cmake-package))
-- 
2.25.1

^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [Buildroot] [PATCH 2/3] package/protobuf: bump version to 3.13
  2020-09-11 13:29 ` [Buildroot] [PATCH 2/3] package/protobuf: bump version to 3.13 Michael Nosthoff
@ 2020-09-11 13:49   ` Thomas Petazzoni
  2020-09-11 14:46     ` Michael Nosthoff
  0 siblings, 1 reply; 6+ messages in thread
From: Thomas Petazzoni @ 2020-09-11 13:49 UTC (permalink / raw)
  To: buildroot

On Fri, 11 Sep 2020 15:29:07 +0200
Michael Nosthoff via buildroot <buildroot@busybox.net> wrote:

> Signed-off-by: Michael Nosthoff <buildroot@heine.tech>
> ---
>  package/protobuf/protobuf.hash | 2 +-
>  package/protobuf/protobuf.mk   | 2 +-
>  2 files changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/package/protobuf/protobuf.hash b/package/protobuf/protobuf.hash
> index aa9d871561..c11f54edc3 100644
> --- a/package/protobuf/protobuf.hash
> +++ b/package/protobuf/protobuf.hash
> @@ -1,3 +1,3 @@
>  # Locally calculated
>  sha256  6e5e117324afd944dcf67f36cf329843bc1a92229a8cd9bb573d7a83130fea7d  LICENSE
> -sha256  ccfbaaba52f67e0e6536a05f3df3f6618620d255513cfca3a07f5935b624e26b  protobuf-cpp-3.12.4.tar.gz
> +sha256  f8a547dfe143a9f61fadafba47fa6573713a33cb80909307c1502e26e1102298  protobuf-cpp-3.13.0.tar.gz
> diff --git a/package/protobuf/protobuf.mk b/package/protobuf/protobuf.mk
> index 04fea3063e..2395221313 100644
> --- a/package/protobuf/protobuf.mk
> +++ b/package/protobuf/protobuf.mk
> @@ -7,7 +7,7 @@
>  # When bumping this package, make sure to also verify if the
>  # python-protobuf package still works, as they share the same
>  # version/site variables.
> -PROTOBUF_VERSION = 3.12.4
> +PROTOBUF_VERSION = 3.13.0

You need to update package/python-protobuf/python-protobuf.hash as
well. We should actually update the comment above to make this clear.

Thanks!

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Buildroot] [PATCH 2/3] package/protobuf: bump version to 3.13
  2020-09-11 13:49   ` Thomas Petazzoni
@ 2020-09-11 14:46     ` Michael Nosthoff
  0 siblings, 0 replies; 6+ messages in thread
From: Michael Nosthoff @ 2020-09-11 14:46 UTC (permalink / raw)
  To: buildroot

Hi,

On 11.09.2020 15:49, Thomas Petazzoni wrote:
> On Fri, 11 Sep 2020 15:29:07 +0200
> Michael Nosthoff via buildroot <buildroot@busybox.net> wrote:
> 
>>  # When bumping this package, make sure to also verify if the
>>  # python-protobuf package still works, as they share the same
>>  # version/site variables.
>> -PROTOBUF_VERSION = 3.12.4
>> +PROTOBUF_VERSION = 3.13.0
> 
> You need to update package/python-protobuf/python-protobuf.hash as
> well. We should actually update the comment above to make this clear.
> 

Oops, that slipped me. I'll update this as well.

What I noticed: the python-protobuf description contains a link to the
protobuf-c project [0]. Which is, from what I take from the description
on its website, an independently developed project. So it doesn't seem
to have a connection to the python package. Wouldn't it make more sense
to put the link to the google protobuf site [1] as it is in the protobuf
package?

Regards,
Michael

[0] https://github.com/protobuf-c/protobuf-c
[1] https://developers.google.com/protocol-buffers

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2020-09-11 14:46 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-09-11 13:29 [Buildroot] [PATCH 0/3] bump grpc to 1.32 Michael Nosthoff
2020-09-11 13:29 ` [Buildroot] [PATCH 1/3] package/libabseil-cpp: bump to 20200225.2 Michael Nosthoff
2020-09-11 13:29 ` [Buildroot] [PATCH 2/3] package/protobuf: bump version to 3.13 Michael Nosthoff
2020-09-11 13:49   ` Thomas Petazzoni
2020-09-11 14:46     ` Michael Nosthoff
2020-09-11 13:29 ` [Buildroot] [PATCH 3/3] package/grpc: bump version to 1.32 Michael Nosthoff

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.