[Pkg-xmpp-devel] Bug#1098618: qxmpp: FTBFS: /usr/bin/ld: cannot find -lprotobuf-c: No such file or directory
Santiago Vila
sanvila at debian.org
Fri Feb 21 23:29:17 GMT 2025
Package: src:qxmpp
Version: 1.5.5-0.4
Severity: serious
Tags: ftbfs trixie sid
Dear maintainer:
During a rebuild of all packages in unstable, your package failed to build:
--------------------------------------------------------------------------------
[...]
[ 99%] Building CXX object src/omemo/CMakeFiles/QXmppOmemoQt5.dir/QXmppOmemoStorage.cpp.o
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/omemo && /usr/bin/c++ -DBUILD_OMEMO -DQT_CORE_LIB -DQT_DISABLE_DEPRECATED_BEFORE=0x050F00 -DQT_NETWORK_LIB -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_FOREACH -DQT_NO_KEYWORDS -DQT_XML_LIB -DQURL_NO_CAST_FROM_STRING -DQXmppOmemoQt5_EXPORTS -DWITH_QCA -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/omemo/QXmppOmemoQt5_autogen/include -I/usr/include/QXmppQt5/Omemo -I/<<PKGBUILDDIR>>/src/omemo -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/omemo -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src -I/<<PKGBUILDDIR>>/src/base -I/<<PKGBUILDDIR>>/src/client -I/<<PKGBUILDDIR>>/src/server -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore -isystem /usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -isystem /usr/include/x86_64-linux-gnu/qt5/QtNetwork -isystem /usr/include/x86_64-linux-gnu/qt5/QtXml -isystem /usr/include/omemo -isystem /usr/include/Qca-qt5/QtCrypto -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++17 -fPIC -fPIC -MD -MT src/omemo/CMakeFiles/QXmppOmemoQt5.dir/QXmppOmemoStorage.cpp.o -MF CMakeFiles/QXmppOmemoQt5.dir/QXmppOmemoStorage.cpp.o.d -o CMakeFiles/QXmppOmemoQt5.dir/QXmppOmemoStorage.cpp.o -c /<<PKGBUILDDIR>>/src/omemo/QXmppOmemoStorage.cpp
[100%] Linking CXX shared library libQXmppOmemoQt5.so
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/omemo && /usr/bin/cmake -E cmake_link_script CMakeFiles/QXmppOmemoQt5.dir/link.txt --verbose=1
/usr/bin/ld: cannot find -lprotobuf-c: No such file or directory
collect2: error: ld returned 1 exit status
/usr/bin/c++ -fPIC -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,--dependency-file=CMakeFiles/QXmppOmemoQt5.dir/link.d -Wl,-z,relro -Wl,-z,now -shared -Wl,-soname,libQXmppOmemoQt5.so.4 -o libQXmppOmemoQt5.so.1.5.5 CMakeFiles/QXmppOmemoQt5.dir/QXmppOmemoQt5_autogen/mocs_compilation.cpp.o CMakeFiles/QXmppOmemoQt5.dir/OmemoCryptoProvider.cpp.o CMakeFiles/QXmppOmemoQt5.dir/QXmppOmemoData.cpp.o CMakeFiles/QXmppOmemoQt5.dir/QXmppOmemoManager.cpp.o CMakeFiles/QXmppOmemoQt5.dir/QXmppOmemoManager_p.cpp.o CMakeFiles/QXmppOmemoQt5.dir/QXmppOmemoMemoryStorage.cpp.o CMakeFiles/QXmppOmemoQt5.dir/QXmppOmemoStorage.cpp.o -Wl,-rpath,/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src: ../libQXmppQt5.so.1.5.5 /usr/lib/x86_64-linux-gnu/libqca-qt5.so.2.3.9 /usr/lib/x86_64-linux-gnu/libQt5Network.so.5.15.15 /usr/lib/x86_64-linux-gnu/libQt5Xml.so.5.15.15 /usr/lib/x86_64-linux-gnu/libQt5Core.so.5.15.15 /usr/lib/x86_64-linux-gnu/libomemo-c.so -lprotobuf-c
make[3]: *** [src/omemo/CMakeFiles/QXmppOmemoQt5.dir/build.make:212: src/omemo/libQXmppOmemoQt5.so.1.5.5] Error 1
make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
make[2]: *** [CMakeFiles/Makefile2:257: src/omemo/CMakeFiles/QXmppOmemoQt5.dir/all] Error 2
make[2]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
make[1]: *** [Makefile:139: all] Error 2
make[1]: 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: *** [debian/rules:13: binary] Error 25
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:qxmpp, so that this is still
visible in the BTS web page for this package.
Thanks.
More information about the Pkg-xmpp-devel
mailing list