mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Clemens Gruber <clemens.gruber@pqgruber.com>
To: Michael Olbrich <m.olbrich@pengutronix.de>
Cc: ptxdist@pengutronix.de
Subject: Re: [ptxdist] [PATCH 3/3] protobuf: version bump 3.7.1 -> 3.19.4
Date: Fri, 11 Feb 2022 15:30:57 +0100	[thread overview]
Message-ID: <YgZzIaePptTfmdns@workstation> (raw)
In-Reply-To: <YgYvwaPVR79EgdqO@pengutronix.de>

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 <clemens.gruber@pqgruber.com>
> > ---
> >  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


  reply	other threads:[~2022-02-11 14:31 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-02-04 16:28 [ptxdist] [PATCH 1/3] hiredis: new package Clemens Gruber
2022-02-04 16:28 ` [ptxdist] [PATCH 2/3] systemd: add option for openssl support Clemens Gruber
2022-02-14 12:43   ` [ptxdist] [APPLIED] " Michael Olbrich
2022-02-04 16:28 ` [ptxdist] [PATCH 3/3] protobuf: version bump 3.7.1 -> 3.19.4 Clemens Gruber
2022-02-11  9:43   ` Michael Olbrich
2022-02-11 14:30     ` Clemens Gruber [this message]
2022-02-07  7:39 ` [ptxdist] [PATCH 1/3] hiredis: new package Michael Olbrich
2022-02-07  9:03   ` Clemens Gruber
2022-02-07 10:39     ` Alexander Dahl
2022-02-07 12:54       ` Clemens Gruber
2022-02-07 13:11         ` Alexander Dahl
2022-02-07 13:33           ` Clemens Gruber
2022-02-07 15:22             ` Michael Olbrich
2022-02-07 15:25               ` Michael Olbrich
2022-02-07 15:51                 ` Clemens Gruber
2022-02-07 16:30             ` Alexander Dahl

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=YgZzIaePptTfmdns@workstation \
    --to=clemens.gruber@pqgruber.com \
    --cc=m.olbrich@pengutronix.de \
    --cc=ptxdist@pengutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox