[Pkg-xmpp-devel] Bug#1095353: libsignal-protocol-c: FTBFS: #error This file was generated by a newer version of protobuf-c which is incompatible with your libprotobuf-c headers.

Hefee hefee at debian.org
Sun Feb 16 14:13:35 GMT 2025


Hey,

> Maybe this is the reason of the bug:

> ( cd protobuf ; /usr/bin/make )
> make[2]: Entering directory '/<<PKGBUILDDIR>>/protobuf'
> protoc-c --c_out=../src/ WhisperTextProtocol.proto 
LocalStorageProtocol.proto FingerprintProtocol.proto
> [libprotobuf WARNING protoc-gen-c/main.cc:44] `protoc-c` is deprecated. 
Please use `protoc` instead!

I think this is not the reason. It is more that this package and also 
libomemo-c ships a copy of the protobuf-c headers under src/protobuf-c.

The Debian package generates the protobuf files from protobuf/*proto with a 
newer protobuf version, so the copy of the headers do not match anymore

I would expect you need to use the current headers from libprotobuf-c-dev 
headers and the problem is solved.

Regards,

hefee
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: This is a digitally signed message part.
URL: <http://alioth-lists.debian.net/pipermail/pkg-xmpp-devel/attachments/20250216/1357e869/attachment.sig>


More information about the Pkg-xmpp-devel mailing list