Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 Nov 2024 10:16:45 -0500
From:      TIM KELLERS <tim@beachpatt.com>
To:        Xavier Humbert <xavier@groumpf.org>, FreeBSD Ports ML <freebsd-ports@freebsd.org>
Subject:   Re: devel/grpc fails to build
Message-ID:  <1a044b28-c723-400b-95a9-e8d978860dc4@beachpatt.com>
In-Reply-To: <9aafe93c-222c-44f0-9554-879536856f29@groumpf.org>
References:  <9aafe93c-222c-44f0-9554-879536856f29@groumpf.org>

next in thread | previous in thread | raw e-mail | index | archive | help
<!DOCTYPE html>
<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <div class="moz-cite-prefix">On my local instance: 
      awsrestartweb.com 15.0-CURRENT FreeBSD 15.0-CURRENT #0
      main-n273448-9ca328626400-dirty: Mon Nov  4 13:53:24 EST 2024</div>
    <div class="moz-cite-prefix"><br>
    </div>
    <div class="moz-cite-prefix">I had to cd /usr/ports/devel/protobuf 
      &amp;&amp; make deinstall clean &amp;&amp; make install clean</div>
    <div class="moz-cite-prefix">Then:</div>
    <div class="moz-cite-prefix"><br>
    </div>
    <div class="moz-cite-prefix">cd /usr/ports/devel/grpc &amp;&amp;
      make deinstall clean &amp;&amp; make install clean</div>
    <div class="moz-cite-prefix"><br>
    </div>
    <div class="moz-cite-prefix">Building/updating each other separately
      caused portmaster to fail.</div>
    <div class="moz-cite-prefix"><br>
    </div>
    <div class="moz-cite-prefix">Tim<br>
    </div>
    <div class="moz-cite-prefix"><br>
    </div>
    <div class="moz-cite-prefix">On 11/9/24 11:54 AM, Xavier Humbert
      wrote:<br>
    </div>
    <blockquote type="cite"
      cite="mid:9aafe93c-222c-44f0-9554-879536856f29@groumpf.org">Hi, <br>
      <br>
      Since a couple of weeks, devel/grpc fails to build : <br>
      <br>
      [root@numenor grpc]# MAKE_JOBS_UNSAFE=yes make all <br>
      ===&gt;  Building for grpc-1.67.1,2 <br>
      [  5% 1/17] cd /usr/ports/devel/grpc/work/.build/protos &amp;&amp;
      /usr/local/bin/protoc-28.3.0
--grpc_out=generate_mock_code=true:/usr/ports/devel/grpc/work/.build/gens
      --cpp_out=/usr/ports/devel/grpc/work/.build/gens
--plugin=protoc-gen-grpc=/usr/ports/devel/grpc/work/.build/grpc_cpp_plugin
      -I . -I _gRPC_PROTOBUF_WELLKNOWN_INCLUDE_DIR-NOTFOUND
      src/proto/grpc/reflection/v1/reflection.proto <br>
      FAILED: gens/src/proto/grpc/reflection/v1/reflection.grpc.pb.cc
      gens/src/proto/grpc/reflection/v1/reflection.grpc.pb.h
      gens/src/proto/grpc/reflection/v1/reflection_mock.grpc.pb.h
      gens/src/proto/grpc/reflection/v1/reflection.pb.cc
      gens/src/proto/grpc/reflection/v1/reflection.pb.h
/usr/ports/devel/grpc/work/.build/gens/src/proto/grpc/reflection/v1/reflection.grpc.pb.cc
/usr/ports/devel/grpc/work/.build/gens/src/proto/grpc/reflection/v1/reflection.grpc.pb.h
/usr/ports/devel/grpc/work/.build/gens/src/proto/grpc/reflection/v1/reflection_mock.grpc.pb.h
/usr/ports/devel/grpc/work/.build/gens/src/proto/grpc/reflection/v1/reflection.pb.cc
/usr/ports/devel/grpc/work/.build/gens/src/proto/grpc/reflection/v1/reflection.pb.h
      <br>
      cd /usr/ports/devel/grpc/work/.build/protos &amp;&amp;
      /usr/local/bin/protoc-28.3.0
--grpc_out=generate_mock_code=true:/usr/ports/devel/grpc/work/.build/gens
      --cpp_out=/usr/ports/devel/grpc/work/.build/gens
--plugin=protoc-gen-grpc=/usr/ports/devel/grpc/work/.build/grpc_cpp_plugin
      -I . -I _gRPC_PROTOBUF_WELLKNOWN_INCLUDE_DIR-NOTFOUND
      src/proto/grpc/reflection/v1/reflection.proto <br>
      _gRPC_PROTOBUF_WELLKNOWN_INCLUDE_DIR-NOTFOUND: warning: directory
      does not exist. <br>
      WARNING: All log messages before absl::InitializeLog() is called
      are written to STDERR <br>
      F0000 00:00:1731170441.608652  101255 extension_set.cc:78]
      Multiple extension registrations for type
      "google.protobuf.FeatureSet", field number 1001. <br>
      *** Check failure stack trace: *** <br>
      --grpc_out: protoc-gen-grpc: Plugin killed by signal 6. <br>
      ninja: build stopped: subcommand failed. <br>
      *** [do-build] Error code 1 <br>
      <br>
      Obviously, it has something to do with protobuf, which  was
      upgraded a the time it began to fail. <br>
      <br>
      [root@numenor grpc]# pkg info protobuf\* <br>
      protobuf-28.3,1 <br>
      protobuf-c-1.4.1_7 <br>
      <br>
      How can I fix this ? <br>
      <br>
      Thx, regards, <br>
      <br>
      Xavier <br>
      <br>
    </blockquote>
    <p><br>
    </p>
  </body>
</html>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1a044b28-c723-400b-95a9-e8d978860dc4>