Bug#1119745: linphone: FTBFS: /<<PKGBUILDDIR>>/src/db/main-db.cpp:1530:58: error: use of deleted function 'soci::details::use_container<T, void> soci::use(T&&, const std::string&) [with T = long long int; std::string = std::__cxx11::basic_string<char>]'

Santiago Vila sanvila at debian.org
Fri Oct 31 11:28:43 GMT 2025


Package: src:linphone
Version: 5.3.105-6
Severity: serious
Tags: ftbfs forky sid

Dear maintainer:

During a rebuild of all packages in unstable, this package failed to build.

Below you will find the last part of the build log (probably the most
relevant part, but not necessarily). If required, the full build log
is available here:

https://people.debian.org/~sanvila/build-logs/202510/

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 cannot 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:linphone, so that this is still
visible in the BTS web page for this package.

Thanks.

--------------------------------------------------------------------------------
[...]
[ 52%] Building CXX object src/CMakeFiles/liblinphone.dir/dial-plan/dial-plan.cpp.o
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src && /usr/bin/c++ [too-long-redacted] R>>/src/dial-plan/dial-plan.cpp
/<<PKGBUILDDIR>>/src/db/main-db.cpp: In function ‘std::vector<char> LinphonePrivate::blobToVector(soci::blob&)’:
/<<PKGBUILDDIR>>/src/db/main-db.cpp:130:16: warning: ‘std::size_t soci::blob::read(std::size_t, void*, std::size_t)’ is deprecated: Use read_from_start instead [-Wdeprecated-declarations]
  130 |         in.read(0, &out[0], len);
      |         ~~~~~~~^~~~~~~~~~~~~~~~~
In file included from /usr/include/soci/soci.h:14,
                 from /<<PKGBUILDDIR>>/src/db/session/db-session.h:24,
                 from /<<PKGBUILDDIR>>/src/db/abstract/abstract-db-p.h:30,
                 from /<<PKGBUILDDIR>>/src/db/main-db-p.h:28,
                 from /<<PKGBUILDDIR>>/src/db/main-db.cpp:52:
/usr/include/soci/blob.h:49:17: note: declared here
   49 |     std::size_t read(std::size_t offset, void * buf, std::size_t toRead);
      |                 ^~~~
/<<PKGBUILDDIR>>/src/db/main-db.cpp: In member function ‘void LinphonePrivate::MainDbPrivate::updateConferenceChatMessageEvent(const std::shared_ptr<LinphonePrivate::EventLog>&)’:
/<<PKGBUILDDIR>>/src/db/main-db.cpp:1530:58: error: use of deleted function ‘soci::details::use_container<T, void> soci::use(T&&, const std::string&) [with T = long long int; std::string = std::__cxx11::basic_string<char>]’
 1530 |                     (session->prepare << query, soci::use(chatMessage->getStorageId()), soci::use(meAddressId));
      |                                                 ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/soci/bind-values.h:10,
                 from /usr/include/soci/statement.h:11,
                 from /usr/include/soci/values.h:11,
                 from /usr/include/soci/column-info.h:13,
                 from /usr/include/soci/soci.h:16:
/usr/include/soci/use.h:51:50: note: declared here
   51 | details::use_container<T, details::no_indicator> use(T &&t, const std::string &name = std::string()) = delete;
      |                                                  ^~~
/<<PKGBUILDDIR>>/src/db/main-db.cpp:1530:58: note: use ‘-fdiagnostics-all-candidates’ to display considered candidates
 1530 |                     (session->prepare << query, soci::use(chatMessage->getStorageId()), soci::use(meAddressId));
      |                                                 ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/src/db/main-db.cpp:1553:85: error: use of deleted function ‘soci::details::use_container<T, void> soci::use(T&&, const std::string&) [with T = long long int; std::string = std::__cxx11::basic_string<char>]’
 1553 |                 soci::rowset<soci::row> rows = (session->prepare << query, soci::use(chatMessage->getStorageId()));
      |                                                                            ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/soci/use.h:51:50: note: declared here
   51 | details::use_container<T, details::no_indicator> use(T &&t, const std::string &name = std::string()) = delete;
      |                                                  ^~~
/<<PKGBUILDDIR>>/src/db/main-db.cpp:1553:85: note: use ‘-fdiagnostics-all-candidates’ to display considered candidates
 1553 |                 soci::rowset<soci::row> rows = (session->prepare << query, soci::use(chatMessage->getStorageId()));
      |                                                                            ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/src/db/main-db.cpp: In lambda function:
/<<PKGBUILDDIR>>/src/db/main-db.cpp:2790:46: error: use of deleted function ‘soci::details::use_container<T, void> soci::use(T&&, const std::string&) [with T = long long int; std::string = std::__cxx11::basic_string<char>]’
 2790 |                                     soci::use(dbSession.getLastInsertId()), soci::use(data);
      |                                     ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/soci/use.h:51:50: note: declared here
   51 | details::use_container<T, details::no_indicator> use(T &&t, const std::string &name = std::string()) = delete;
      |                                                  ^~~
/<<PKGBUILDDIR>>/src/db/main-db.cpp:2790:46: note: use ‘-fdiagnostics-all-candidates’ to display considered candidates
 2790 |                                     soci::use(dbSession.getLastInsertId()), soci::use(data);
      |                                     ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/src/db/main-db.cpp: In lambda function:
/<<PKGBUILDDIR>>/src/db/main-db.cpp:4353:37: error: use of deleted function ‘soci::details::use_container<T, void> soci::use(T&&, const std::string&) [with T = int; std::string = std::__cxx11::basic_string<char>]’
 4353 |                            soci::use(EPHEMERAL_MESSAGE_TASKS_MAX_NB))
      |                            ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/soci/use.h:51:50: note: declared here
   51 | details::use_container<T, details::no_indicator> use(T &&t, const std::string &name = std::string()) = delete;
      |                                                  ^~~
/<<PKGBUILDDIR>>/src/db/main-db.cpp:4353:37: note: use ‘-fdiagnostics-all-candidates’ to display considered candidates
 4353 |                            soci::use(EPHEMERAL_MESSAGE_TASKS_MAX_NB))
      |                            ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
make[4]: *** [src/CMakeFiles/liblinphone.dir/build.make:1930: src/CMakeFiles/liblinphone.dir/db/main-db.cpp.o] Error 1
make[4]: *** Waiting for unfinished jobs....
make[4]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
make[3]: *** [CMakeFiles/Makefile2:493: src/CMakeFiles/liblinphone.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:83: override_dh_auto_build-arch] Error 25
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:52: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------



More information about the Pkg-voip-maintainers mailing list