From nobody Mon Nov 11 15:16:45 2024 X-Original-To: freebsd-ports@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4XnCng2c6Nz5bjNr for ; Mon, 11 Nov 2024 15:16:55 +0000 (UTC) (envelope-from tim@beachpatt.com) Received: from serendipity35.net (serendipity35.net [167.71.244.20]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "serendipity35.net", Issuer "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4XnCnf45zSz45lG for ; Mon, 11 Nov 2024 15:16:54 +0000 (UTC) (envelope-from tim@beachpatt.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=beachpatt.com header.s=mail header.b=QkauZJga; spf=pass (mx1.freebsd.org: domain of tim@beachpatt.com designates 167.71.244.20 as permitted sender) smtp.mailfrom=tim@beachpatt.com; dmarc=pass (policy=quarantine) header.from=beachpatt.com Received: from beachpatt.com.com (50-36-35-186.drr01.mybh.sc.frontiernet.net [50.36.35.186]) by serendipity35.net (8.18.1/8.18.1) with ESMTPS id 4ABFGlsL043267 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=FAIL) for ; Mon, 11 Nov 2024 10:16:47 -0500 (EST) (envelope-from tim@beachpatt.com) X-Authentication-Warning: serendipity35.net: Host 50-36-35-186.drr01.mybh.sc.frontiernet.net [50.36.35.186] claimed to be beachpatt.com.com Received: from [192.168.254.154] (MacStudio-39.home [192.168.254.154]) (authenticated bits=0) by beachpatt.com.com (8.18.1/8.18.1) with ESMTPSA id 4ABFGjEc033600 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NO); Mon, 11 Nov 2024 10:16:46 -0500 (EST) (envelope-from tim@beachpatt.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=beachpatt.com; s=mail; t=1731338206; bh=qvVMGQCtYIPT9pHFUC+Wk5kmfiAYcWHW3pHBXZy00JM=; h=Date:From:Subject:Reply-To:To:References:In-Reply-To; b=QkauZJgaAfjv8ONmJrUnPFHuOAk4cyPgdn+u6VopO1O8csbw0xQeGu4eDgn1beI0c pXfNkABcbHjBVkIJGna0wUl4qOW+QgHtBp82U41B+ahdc0KYyVbI0bYu6FHXhqYsW3 6NChQTpwA2GXHIr5v/Uyb7OB54ylnkih10cfI5HQ= X-Authentication-Warning: beachpatt.com.com: Host MacStudio-39.home [192.168.254.154] claimed to be [192.168.254.154] Message-ID: <1a044b28-c723-400b-95a9-e8d978860dc4@beachpatt.com> Date: Mon, 11 Nov 2024 10:16:45 -0500 List-Id: Porting software to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-ports List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-ports@freebsd.org Sender: owner-freebsd-ports@FreeBSD.org MIME-Version: 1.0 User-Agent: Mozilla Thunderbird From: TIM KELLERS Subject: Re: devel/grpc fails to build Reply-To: Tim To: Xavier Humbert , FreeBSD Ports ML References: <9aafe93c-222c-44f0-9554-879536856f29@groumpf.org> Content-Language: en-US In-Reply-To: <9aafe93c-222c-44f0-9554-879536856f29@groumpf.org> Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spamd-Result: default: False [-3.69 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-1.000]; DMARC_POLICY_ALLOW(-0.50)[beachpatt.com,quarantine]; R_DKIM_ALLOW(-0.20)[beachpatt.com:s=mail]; MIME_HTML_ONLY(0.20)[]; R_SPF_ALLOW(-0.20)[+a:serendipity35.net]; XM_UA_NO_VERSION(0.01)[]; DKIM_TRACE(0.00)[beachpatt.com:+]; TO_DN_ALL(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; ARC_NA(0.00)[]; ASN(0.00)[asn:14061, ipnet:167.71.240.0/20, country:US]; HAS_XAW(0.00)[]; MIME_TRACE(0.00)[0:~]; REPLYTO_ADDR_EQ_FROM(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; FROM_HAS_DN(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; PREVIOUSLY_DELIVERED(0.00)[freebsd-ports@freebsd.org]; MID_RHS_MATCH_FROM(0.00)[]; MLMMJ_DEST(0.00)[freebsd-ports@freebsd.org]; HAS_REPLYTO(0.00)[tim@beachpatt.com] X-Rspamd-Queue-Id: 4XnCnf45zSz45lG X-Spamd-Bar: ---
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

I had to cd /usr/ports/devel/protobuf  && make deinstall clean && make install clean
Then:

cd /usr/ports/devel/grpc && make deinstall clean && make install clean

Building/updating each other separately caused portmaster to fail.

Tim

On 11/9/24 11:54 AM, Xavier Humbert wrote:
Hi,

Since a couple of weeks, devel/grpc fails to build :

[root@numenor grpc]# MAKE_JOBS_UNSAFE=yes make all
===>  Building for grpc-1.67.1,2
[  5% 1/17] cd /usr/ports/devel/grpc/work/.build/protos && /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
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
cd /usr/ports/devel/grpc/work/.build/protos && /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
_gRPC_PROTOBUF_WELLKNOWN_INCLUDE_DIR-NOTFOUND: warning: directory does not exist.
WARNING: All log messages before absl::InitializeLog() is called are written to STDERR
F0000 00:00:1731170441.608652  101255 extension_set.cc:78] Multiple extension registrations for type "google.protobuf.FeatureSet", field number 1001.
*** Check failure stack trace: ***
--grpc_out: protoc-gen-grpc: Plugin killed by signal 6.
ninja: build stopped: subcommand failed.
*** [do-build] Error code 1

Obviously, it has something to do with protobuf, which  was upgraded a the time it began to fail.

[root@numenor grpc]# pkg info protobuf\*
protobuf-28.3,1
protobuf-c-1.4.1_7

How can I fix this ?

Thx, regards,

Xavier