From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Fri, 11 Feb 2022 15:31:42 +0100 Received: from metis.ext.pengutronix.de ([2001:67c:670:201:290:27ff:fe1d:cc33]) by lore.white.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1nIWxa-00Ct8G-Lm for lore@lore.pengutronix.de; Fri, 11 Feb 2022 15:31:42 +0100 Received: from localhost ([127.0.0.1] helo=metis.ext.pengutronix.de) by metis.ext.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1nIWxZ-00058K-6A; Fri, 11 Feb 2022 15:31:41 +0100 Received: from mail.pqgruber.com ([2a05:d014:575:f70b:4f2c:8f1d:40c4:b13e]) by metis.ext.pengutronix.de with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1nIWwu-00057G-9k; Fri, 11 Feb 2022 15:31:01 +0100 Received: from workstation (213-47-165-233.cable.dynamic.surfer.at [213.47.165.233]) by mail.pqgruber.com (Postfix) with ESMTPSA id 51211C78A30; Fri, 11 Feb 2022 15:30:59 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pqgruber.com; s=mail; t=1644589859; bh=i02yo4EBAJBQGb2oYm7bWYOhLRjYXY/PoQjhKmFpjms=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=0CoD8EHLpVWqB1/ac8h5jegv6ifbdwIAMmfwLk4nWi9yYiBPbVEyS8ISj+uRMBbH3 zfKuJccWtGoN6T+VFxexPBDgifNnSOz22DX01I5Rs941EJbptU38w4M2JDw6Wuqbky 4YZ+iARGuixQrRJKPwVAdtmIZwqd2t0TkzLUwjNE= Date: Fri, 11 Feb 2022 15:30:57 +0100 From: Clemens Gruber To: Michael Olbrich Message-ID: References: <20220204162809.830058-1-clemens.gruber@pqgruber.com> <20220204162809.830058-3-clemens.gruber@pqgruber.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on metis.ext.pengutronix.de X-Spam-Level: X-Spam-Status: No, score=-102.9 required=4.0 tests=AWL,BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE,USER_IN_WELCOMELIST,USER_IN_WHITELIST autolearn=ham autolearn_force=no version=3.4.2 Subject: Re: [ptxdist] [PATCH 3/3] protobuf: version bump 3.7.1 -> 3.19.4 X-BeenThere: ptxdist@pengutronix.de X-Mailman-Version: 2.1.29 Precedence: list List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: ptxdist@pengutronix.de Cc: ptxdist@pengutronix.de Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "ptxdist" X-SA-Exim-Connect-IP: 127.0.0.1 X-SA-Exim-Mail-From: ptxdist-bounces@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false On Fri, Feb 11, 2022 at 10:43:29AM +0100, Michael Olbrich wrote: > On Fri, Feb 04, 2022 at 05:28:09PM +0100, Clemens Gruber wrote: > > Running autogen.sh is no longer necessary. > > > > Signed-off-by: Clemens Gruber > > --- > > patches/protobuf-all-3.7.1/autogen.sh | 1 - > > rules/protobuf.make | 4 ++-- > > 2 files changed, 2 insertions(+), 3 deletions(-) > > delete mode 120000 patches/protobuf-all-3.7.1/autogen.sh > > > > diff --git a/patches/protobuf-all-3.7.1/autogen.sh b/patches/protobuf-all-3.7.1/autogen.sh > > deleted file mode 120000 > > index 9f8a4cb7d..000000000 > > --- a/patches/protobuf-all-3.7.1/autogen.sh > > +++ /dev/null > > @@ -1 +0,0 @@ > > -../autogen.sh > > \ No newline at end of file > > diff --git a/rules/protobuf.make b/rules/protobuf.make > > index a5c126443..1cb4bd7d0 100644 > > --- a/rules/protobuf.make > > +++ b/rules/protobuf.make > > @@ -14,8 +14,8 @@ PACKAGES-$(PTXCONF_PROTOBUF) += protobuf > > # > > # Paths and names > > # > > -PROTOBUF_VERSION := 3.7.1 > > -PROTOBUF_MD5 := cda6ae370a5df941f8aa837c8a0292ba > > +PROTOBUF_VERSION := 3.19.4 > > +PROTOBUF_MD5 := e96c719ff844bc2fe635efab79e71f55 > > This breaks building grpc: > > In file included from .../build-host/grpc-1.21.0-build/gens/src/proto/grpc/status/status.grpc.pb.h:30, > from .../build-host/grpc-1.21.0-build/gens/src/proto/grpc/status/status.grpc.pb.cc:6: > .../build-host/grpc-1.21.0/include/grpcpp/impl/codegen/proto_utils.h: In function 'grpc::Status grpc::GenericDeserialize(grpc::ByteBuffer*, grpc::protobuf::Message*)': > .../build-host/grpc-1.21.0/include/grpcpp/impl/codegen/proto_utils.h:86:48: error: no matching function for call to 'google::protobuf::io::CodedInputStream::SetTotalBytesLimit(int, int)' > In file included from .../build-host/grpc-1.21.0-build/gens/src/proto/grpc/status/status.pb.h:23, > from .../build-host/grpc-1.21.0-build/gens/src/proto/grpc/status/status.grpc.pb.cc:5: > .../sysroot-host/include/google/protobuf/io/coded_stream.h:406:8: note: candidate: 'void google::protobuf::io::CodedInputStream::SetTotalBytesLimit(int)' > .../sysroot-host/include/google/protobuf/io/coded_stream.h:406:8: note: candidate expects 1 argument, 2 provided > make[2]: *** [CMakeFiles/grpc++_error_details.dir/build.make:108: > CMakeFiles/grpc++_error_details.dir/gens/src/proto/grpc/status/status.grpc.pb.cc.o] > Error 1 > > You have done most of the work on that package. Can you take a look at > that. I guess it should be updated as well. > > Michael You are right. They also added more mandatory dependencies (abseil and re2) in the meantime and I am having difficulty with the abseil library. I get many linker errors when building current grpc. This will probably take some time. I'll have to take a look at how buildroot handled this. Maybe better drop the protobuf version bump in the meantime? Thanks, Clemens _______________________________________________ ptxdist mailing list ptxdist@pengutronix.de To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de