Package: src:libsignal-protocol-c
Version: 2.3.3-3
Severity: serious
Tags: ftbfs trixie sid
Dear maintainer:
During a rebuild of all packages in unstable, your package failed to build:
--------------------------------------------------------------------------------
[...]
[ 78%] Building C object
src/CMakeFiles/signal-protocol-c.dir/WhisperTextProtocol.pb-c.c.o
[ 78%] Building C object
src/CMakeFiles/signal-protocol-c.dir/LocalStorageProtocol.pb-c.c.o
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src && /usr/bin/cc
-Dsignal_protocol_c_EXPORTS -I/<<PKGBUILDDIR>>/src/.
-I/<<PKGBUILDDIR>>/src/curve25519/ed25519/nacl_includes
-I/<<PKGBUILDDIR>>/src/curve25519/ed25519/additions
-I/<<PKGBUILDDIR>>/src/curve25519/ed25519/sha512
-I/<<PKGBUILDDIR>>/src/curve25519/ed25519 -I/<<PKGBUILDDIR>>/src/curve25519 -g
-O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=.
-fstack-protector-strong -fstack-clash-protection -Wformat
-Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2
-fmessage-length=0 -Wall -Wmissing-field-initializers -Wno-missing-braces
-Wparentheses -Wsign-compare -Wsign-conversion -fPIC -MD -MT
src/CMakeFiles/signal-protocol-c.dir/WhisperTextProtocol.pb-c.c.o -MF
CMakeFiles/signal-protocol-c.dir/WhisperTextProtocol.pb-c.c.o.d -o
CMakeFiles/signal-protocol-c.dir/WhisperTextProtocol.pb-c.c.o -c
/<<PKGBUILDDIR>>/src/WhisperTextProtocol.pb-c.c
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src && /usr/bin/cc
-Dsignal_protocol_c_EXPORTS -I/<<PKGBUILDDIR>>/src/.
-I/<<PKGBUILDDIR>>/src/curve25519/ed25519/nacl_includes
-I/<<PKGBUILDDIR>>/src/curve25519/ed25519/additions
-I/<<PKGBUILDDIR>>/src/curve25519/ed25519/sha512
-I/<<PKGBUILDDIR>>/src/curve25519/ed25519 -I/<<PKGBUILDDIR>>/src/curve25519 -g
-O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=.
-fstack-protector-strong -fstack-clash-protection -Wformat
-Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2
-fmessage-length=0 -Wall -Wmissing-field-initializers -Wno-missing-braces
-Wparentheses -Wsign-compare -Wsign-conversion -fPIC -MD -MT
src/CMakeFiles/signal-protocol-c.dir/LocalStorageProtocol.pb-c.c.o -MF
CMakeFiles/signal-protocol-c.dir/LocalStorageProtocol.pb-c.c.o.d -o
CMakeFiles/signal-protocol-c.dir/LocalStorageProtocol.pb-c.c.o -c
/<<PKGBUILDDIR>>/src/LocalStorageProtocol.pb-c.c
In file included from /<<PKGBUILDDIR>>/src/LocalStorageProtocol.pb-c.c:9:
/<<PKGBUILDDIR>>/src/LocalStorageProtocol.pb-c.h:12:3: error: #error This file
was generated by a newer version of protobuf-c which is incompatible with your
libprotobuf-c headers. Please update your headers.
12 | # error This file was generated by a newer version of protobuf-c which
is incompatible with your libprotobuf-c headers. Please update your headers.
| ^~~~~
In file included from /<<PKGBUILDDIR>>/src/WhisperTextProtocol.pb-c.c:9:
/<<PKGBUILDDIR>>/src/WhisperTextProtocol.pb-c.h:12:3: error: #error This file
was generated by a newer version of protobuf-c which is incompatible with your
libprotobuf-c headers. Please update your headers.
12 | # error This file was generated by a newer version of protobuf-c which
is incompatible with your libprotobuf-c headers. Please update your headers.
| ^~~~~
make[4]: *** [src/CMakeFiles/signal-protocol-c.dir/build.make:96:
src/CMakeFiles/signal-protocol-c.dir/WhisperTextProtocol.pb-c.c.o] Error 1
make[4]: *** Waiting for unfinished jobs....
make[4]: *** [src/CMakeFiles/signal-protocol-c.dir/build.make:82:
src/CMakeFiles/signal-protocol-c.dir/LocalStorageProtocol.pb-c.c.o] Error 1
make[4]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
make[3]: *** [CMakeFiles/Makefile2:155:
src/CMakeFiles/signal-protocol-c.dir/all] Error 2
make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
make[2]: *** [Makefile:139: all] Error 2
make[2]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
dh_auto_build: error: cd obj-x86_64-linux-gnu && make -j2 "INSTALL=install
--strip-program=true" VERBOSE=1 returned exit code 2
make[1]: *** [debian/rules:12: override_dh_auto_build] Error 25
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:8: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------
The above is just how the build ends and not necessarily the most relevant part.
If required, the full build log is available here:
https://people.debian.org/~sanvila/build-logs/202502/
About the archive rebuild: The build was made on virtual machines from AWS,
using sbuild and a reduced chroot with only build-essential packages.
If you could not reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.
If this is really a bug in one of the build-depends, please use
reassign and add an affects on src:libsignal-protocol-c, so that this is still
visible in the BTS web page for this package.
Thanks.