Re: pkg/60138: protobuf-34.1 is not compiling on AMD64 for me.

"Adam via gnats" <[email protected]>
Newsgroups gmane.os.netbsd.devel.pkgsrc.bugs
Message-ID <[email protected]>
The following reply was made to PR pkg/60138; it has been noted by GNATS.

From: Adam <[email protected]>
To: Marcin Gondek <[email protected]>
Cc: "[email protected]" <[email protected]>,
 "[email protected]" <[email protected]>,
 "[email protected]" <[email protected]>,
 "[email protected]" <[email protected]>,
 "[email protected]" <[email protected]>
Subject: Re: pkg/60138: protobuf-34.1 is not compiling on AMD64 for me.
Date: Mon, 30 Mar 2026 18:50:37 +0200

 There is an issue for that upstream =
 https://github.com/protocolbuffers/protobuf/issues/26383
 
 Protobuf requires C++17, so let's don't bump USE_CXX_FEATURES to c++23.
 
 Can you try to set GCC_REQD=3D14 (or 13) in the Makefile and try again? =
 Of course, that will pull lang/gcc14.
 
 Kind regards,
 Adam
 
 
 > Hi Adam,
 >=20
 > Could you take a look on that? If I look correctly the commit comes =
 from you.
 >=20
 > Thanks,
 >=20
 >=20
 > --
 > Marcin Gondek / Drixter
 > http://fido.e-utp.net/
 > AS56662
 >=20
 > -----Original Message-----
 > From: [email protected] <[email protected]> On =
 Behalf Of Kimmo Suominen via gnats
 > Sent: Sunday, March 29, 2026 8:05 AM
 > To: [email protected]; [email protected]; =
 [email protected]; Marcin Gondek <[email protected]>
 > Cc: [email protected]
 > Subject: Re: pkg/60138: protobuf-34.1 is not compiling on AMD64 for =
 me.
 >=20
 > The following reply was made to PR pkg/60138; it has been noted by =
 GNATS.
 >=20
 > From: Kimmo Suominen <[email protected]>
 > To: [email protected]
 > Cc:=20
 > Subject: Re: pkg/60138: protobuf-34.1 is not compiling on AMD64 for =
 me.
 > Date: Sun, 29 Mar 2026 09:02:36 +0300
 >=20
 > Hi Marcin,
 >=20
 > On Sat, Mar 28, 2026 at 02:34:00PM +0000, Marcin Gondek wrote:
 >> Maybe it's worth to back to old version v33.5 or newer in that v33  > =
 layout, so v33.6 and not go to v34.1?
 >=20
 > If the only reason for v34.1 is that "it is the latest," then I'm  =
 inclined to agree with sticking to v33 for now.
 >=20
 > However, I'm not the maintainer of protobuf in pkgsrc, and it only  =
 gets pulled into my builds because of mosh.  A quick cursory test  run =
 of mosh revealed no issues.
 >=20
 > Kind regards,
 > + Kimmo
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.