[Debian-on-mobile-maintainers] Bug#1098531: axc: FTBFS: /usr/bin/ld: cannot find -lprotobuf-c: No such file or directory

Santiago Vila sanvila at debian.org
Fri Feb 21 23:26:15 GMT 2025


Package: src:axc
Version: 0.3.7-1.1
Severity: serious
Tags: ftbfs trixie sid

Dear maintainer:

During a rebuild of all packages in unstable, your package failed to build:

--------------------------------------------------------------------------------
[...]
 debian/rules clean
dh clean
   dh_auto_clean
	make -j2 clean
make[1]: Entering directory '/<<PKGBUILDDIR>>'
rm -f test/*.o
rm -f test/*.gcno test/*.gcda test/*.sqlite
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
   dh_clean
 debian/rules binary
dh binary
   dh_update_autotools_config
   dh_autoreconf
   dh_auto_configure
   debian/rules override_dh_auto_build
make[1]: Entering directory '/<<PKGBUILDDIR>>'
PREFIX=/usr dh_auto_build
	make -j2 "INSTALL=install --strip-program=true"
make[2]: Entering directory '/<<PKGBUILDDIR>>'
mkdir -p build
x86_64-linux-gnu-gcc -fPIC -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread    -I/usr/include/signal  -std=c11 -g -Wall -Wextra -Wpedantic -Wstrict-overflow -fno-strict-aliasing -funsigned-char -fno-builtin-memset -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -D_XOPEN_SOURCE=700 -D_BSD_SOURCE -D_POSIX_SOURCE -D_GNU_SOURCE -D_DEFAULT_SOURCE -c src/axc.c -o build/axc.o
x86_64-linux-gnu-gcc -fPIC -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread    -I/usr/include/signal  -std=c11 -g -Wall -Wextra -Wpedantic -Wstrict-overflow -fno-strict-aliasing -funsigned-char -fno-builtin-memset -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -D_XOPEN_SOURCE=700 -D_BSD_SOURCE -D_POSIX_SOURCE -D_GNU_SOURCE -D_DEFAULT_SOURCE -c src/axc_crypto.c -o build/axc_crypto.o
x86_64-linux-gnu-gcc -fPIC -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread    -I/usr/include/signal  -std=c11 -g -Wall -Wextra -Wpedantic -Wstrict-overflow -fno-strict-aliasing -funsigned-char -fno-builtin-memset -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -D_XOPEN_SOURCE=700 -D_BSD_SOURCE -D_POSIX_SOURCE -D_GNU_SOURCE -D_DEFAULT_SOURCE -c src/axc_store.c -o build/axc_store.o
x86_64-linux-gnu-gcc -shared -Wl,-soname,libaxc.so.0 -o build/libaxc.so -fPIC -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread    -I/usr/include/signal  -std=c11 -g -Wall -Wextra -Wpedantic -Wstrict-overflow -fno-strict-aliasing -funsigned-char -fno-builtin-memset -fstack-protector-strong -Wformat -Werror=format-security src/axc.c src/axc_crypto.c src/axc_store.c -Wl,-z,relro -Wl,-z,now -pthread -ldl -lglib-2.0  -lsqlite3  -lgcrypt  -lsignal-protocol-c -lprotobuf-c  -lm -Wdate-time -D_FORTIFY_SOURCE=2 -D_XOPEN_SOURCE=700 -D_BSD_SOURCE -D_POSIX_SOURCE -D_GNU_SOURCE -D_DEFAULT_SOURCE
echo 'prefix='/usr > build/libaxc.pc
echo 'exec_prefix=${prefix}' >> build/libaxc.pc
echo 'libdir=${prefix}/lib/x86_64-linux-gnu' >> build/libaxc.pc
echo 'includedir=${prefix}/include' >> build/libaxc.pc
echo 'Name: libaxc' >> build/libaxc.pc
echo 'Version: 0.3.7' >> build/libaxc.pc
echo 'Description: client library for libsignal-protocol-c' >> build/libaxc.pc
echo 'Requires: libsignal-protocol-c' >> build/libaxc.pc
echo 'Cflags: -I${includedir}/axc' >> build/libaxc.pc
echo 'Libs: -L${libdir} -laxc' >> build/libaxc.pc
x86_64-linux-gnu-ar rcs build/libaxc.a build/axc.o build/axc_crypto.o build/axc_store.o
/usr/bin/ld: cannot find -lprotobuf-c: No such file or directory
collect2: error: ld returned 1 exit status
make[2]: *** [Makefile:101: build/libaxc.so] Error 1
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_build: error: make -j2 "INSTALL=install --strip-program=true" returned exit code 2
make[1]: *** [debian/rules:15: 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:axc, so that this is still
visible in the BTS web page for this package.

Thanks.



More information about the Debian-on-mobile-maintainers mailing list