🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.debian.bugs.rc
Article #4566

Bug#1119745: marked as done (linphone: FTBFS: /<<PKGBUILDDIR>>/src/db/main-db.cpp:1530:58: error: use of deleted function 'soci...

#4566
From: Debian Bug Tracking System
Date: Mon, 30 Nov 2026 06:30
254 lines
16781 bytes
This is a multi-part message in MIME format...

------------=_1796019662-4008505-0
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; charset="utf-8"

Your message dated Mon, 30 Nov 2026 07:19:13 +0100
with message-id <aw0VYX2oDE4GLcnQ@duagon-BXN3S64.localdomain>
and subject line linphone: FTBFS: /<<PKGBUILDDIR>>/src/db/main-db.cpp:1530:=
58: error: use of deleted function 'soci::details::use_container<T, void> s=
oci::use(T&&, const std::string&) [with T =3D long long int; std::string =
=3D std::__cxx11::basic_string<char>]'
has caused the Debian Bug report #1119745,
regarding linphone: FTBFS: /<<PKGBUILDDIR>>/src/db/main-db.cpp:1530:58: err=
or: use of deleted function 'soci::details::use_container<T, void> soci::us=
e(T&&, const std::string&) [with T =3D long long int; std::string =3D std::=
__cxx11::basic_string<char>]'
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


--=20
1119745: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=3D1119745
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems

------------=_1796019662-4008505-0
Content-Type: message/rfc822
Content-Disposition: inline
Content-Transfer-Encoding: 7bit

Received: (at submit) by bugs.debian.org; 31 Oct 2025 11:28:44 +0000
X-Spam-Checker-Version: SpamAssassin 4.0.1-bugs.debian.org_2005_01_02
	(2024-03-25) on buxtehude.debian.org
X-Spam-Level: 
X-Spam-Status: No, score=-120.9 required=4.0 tests=ALL_TRUSTED,BAYES_00,
	BODY_INCLUDES_PACKAGE,DKIMWL_WL_HIGH,DKIM_SIGNED,DKIM_VALID,
	DKIM_VALID_AU,DKIM_VALID_EF,FROMDEVELOPER,HAS_PACKAGE,
	PP_MIME_FAKE_ASCII_TEXT,USER_IN_DKIM_WELCOMELIST,X_DEBBUGS_CC
	autolearn=ham autolearn_force=no
	version=4.0.1-bugs.debian.org_2005_01_02
X-Spam-Bayes: score:0.0000 Tokens: new, 79; hammy, 150; neutral, 140; spammy,
	0. spammytokens: hammytokens:0.000-+--pkgbuilddir,
	0.000-+--PKGBUILDDIR, 0.000-+--H*F:U*sanvila, 0.000-+--H*rp:U*sanvila,
	0.000-+--forky
Return-path: <sanvila@debian.org>
Received: from muffat.debian.org ([2607:f8f0:614:1::1274:33]:37862)
	by buxtehude.debian.org with esmtps (TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256)
	(Exim 4.96)
	(envelope-from <sanvila@debian.org>)
	id 1vEnJC-002o1D-2E
	for submit@bugs.debian.org;
	Fri, 31 Oct 2025 11:28:43 +0000
Received: from paradis.debian.org ([2607:f8f0:614:1::1274:67]:49896)
	from C=NA,ST=NA,L=Ankh Morpork,O=Debian SMTP,OU=Debian SMTP CA,CN=paradis.debian.org,EMAIL=hostmaster@paradis.debian.org (verified)
	by muffat.debian.org with esmtps (TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256)
	(Exim 4.96)
	(envelope-from <sanvila@debian.org>)
	id 1vEnJE-00CVXK-1V
	for submit@bugs.debian.org;
	Fri, 31 Oct 2025 11:28:43 +0000
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debian.org;
	s=smtpauto.paradis; h=Date:Message-Id:Subject:To:From:Reply-To:Cc:
	MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID:
	Content-Description:In-Reply-To:References;
	bh=QbhOgnHtkdXOcLoCgNzHnx+ffV0EX2SgHuClb19gTJc=; b=HDl1wYgFutrugXnqla0KrgHbJS
	JLva2SPEBWtsNBKc6K5V2PBt2HTcUtH9u/y2Ta0JqbGNovmGaJO1u3eFqGf5PhaBIfIeZb91sqeWv
	zEw8D12iqRvFC9ts6juEE8REj1VXBAErLtWhVoB0nrzpc0N5re/+nTIWRBkr+7oipJqWoZmpdkOc+
	3wjvjajXG0NHf9ND4F5fcOQ97z27R5UtBS/35snLz8Qi2BnQ9RdQk5AlZzDe7D9W09sUOXShfMLEa
	9GyDT8wh6TMizHcZ160tb3g4JtAVjV69eguOxBbPSYL3lPKGANou5bWZu6AUZgL5fD+2KI5IffeCb
	1mibUOKg==;
Received: from sanvila by paradis.debian.org with local (Exim 4.96)
	(envelope-from <sanvila@debian.org>)
	id 1vEnJD-000cHv-2U
	for submit@bugs.debian.org;
	Fri, 31 Oct 2025 11:28:43 +0000
From: Santiago Vila <sanvila@debian.org>
To: Debian BTS <submit@bugs.debian.org>
Subject: 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>]'
X-Debbugs-Cc: sanvila@debian.org
Message-Id: <E1vEnJD-000cHv-2U@paradis.debian.org>
Date: Fri, 31 Oct 2025 11:28:43 +0000
Delivered-To: submit@bugs.debian.org

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
--------------------------------------------------------------------------------

------------=_1796019662-4008505-0
Content-Type: message/rfc822
Content-Disposition: inline
Content-Transfer-Encoding: 7bit

Received: (at 1119745-done) by bugs.debian.org; 30 Nov 2026 06:19:15 +0000
X-Spam-Checker-Version: SpamAssassin 4.0.1-bugs.debian.org_2005_01_02
	(2024-03-25) on buxtehude.debian.org
X-Spam-Level: 
X-Spam-Status: No, score=-108.2 required=4.0 tests=ALL_TRUSTED,BAYES_00,
	DKIMWL_WL_HIGH,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,
	FROMDEVELOPER,SPF_HELO_NONE,SPF_PASS,TVD_SPACE_RATIO,
	USER_IN_DKIM_WELCOMELIST,VERSION autolearn=ham autolearn_force=no
	version=4.0.1-bugs.debian.org_2005_01_02
X-Spam-Bayes: score:0.0000 Tokens: new, 13; hammy, 78; neutral, 14; spammy, 2.
	spammytokens:0.872-+--H*MI:localdomain, 0.867-+--H*M:localdomain
	hammytokens:0.000-+--Hx-spam-relays-external:sk:stravin,
	0.000-+--H*RT:sk:stravin, 0.000-+--Hx-spam-relays-external:311,
	0.000-+--H*RT:311, 0.000-+--H*RT:108
Return-path: <bage@debian.org>
Received: from stravinsky.debian.org ([2001:41b8:202:deb::311:108]:56030)
	by buxtehude.debian.org with esmtps (TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256)
	(Exim 4.96)
	(envelope-from <bage@debian.org>)
	id 1xXujM-00Goc7-0R
	for 1119745-done@bugs.debian.org;
	Mon, 30 Nov 2026 06:19:15 +0000
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debian.org;
	s=smtpauto.stravinsky; h=X-Debian-User:Content-Type:MIME-Version:Message-ID:
	Subject:To:From:Date:Reply-To:Cc:Content-Transfer-Encoding:Content-ID:
	Content-Description:In-Reply-To:References;
	bh=abPIt0IIGaulviTequsewR63snd8a3Q1xL2D9kerSqQ=; b=DDHa7Cxjji+owToaxiSS3jANoU
	HQsEOD8LZK3C1K3jqzuQIYkjvdmbnlZla+yK78kY4VI/BrZxJqROt3BU1QZZCO9HTVIItxBWaoAIX
	TD4cJ7K+eRM/OfrX1JZSk9xBbPTcvyWVLR7fPrUiJwc8acMyVQ40RkHbfaYERfSClZVyxSYbumotI
	ycn/+Q02O88ozEGMiL+eEZUq1JNR4gt+P52eDSJ3Bm1UixW2xF5Kq5wPc5grPX+3uQbsEAdRs1hmc
	Sb7AfrGEPbYoddN6eEWPlz+yril5rBv7rLt9yMXsF3nTPl1C49oC3jrUA7oyW4pp4ypuOdEl4/XkZ
	b1md8UOA==;
Received: from authenticated-user
	by stravinsky.debian.org with esmtpsa (TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256)
	(Exim 4.96)
	(envelope-from <bage@debian.org>)
	id 1xXujJ-00ASyS-2c
	for 1119745-done@bugs.debian.org;
	Mon, 30 Nov 2026 06:19:13 +0000
Date: Mon, 30 Nov 2026 07:19:13 +0100
From: Bastian Germann <bage@debian.org>
To: 1119745-done@bugs.debian.org
Subject: 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>]'
Message-ID: <aw0VYX2oDE4GLcnQ@duagon-BXN3S64.localdomain>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
X-Debian-User: bage

Version: linphone/5.4.130+ds-1
------------=_1796019662-4008505-0--
Technical Details
Message-ID: <O533H-f4ah-11@gated-at.bofh.it>
Path: mbox-mo1.pugleaf.net!news-lon.pugleaf.net!srl.newsdeef.eu!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod
References: <O533H-f4ah-13@gated-at.bofh.it> <LLVE5-9nrP-9@gated-at.bofh.it>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-lon.pugleaf.net!srl.newsdeef.eu!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod
From: "Debian Bug Tracking System" <owner@bugs.debian.org>
Newsgroups: linux.debian.bugs.rc
Subject: Bug#1119745: marked as done (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>]')
Date: Mon, 30 Nov 2026 07:30:01 +0100
Message-ID: <O533H-f4ah-11@gated-at.bofh.it>
References: <O533H-f4ah-13@gated-at.bofh.it> <LLVE5-9nrP-9@gated-at.bofh.it>
X-Mailbox-Line: From debian-bugs-rc-request@lists.debian.org  Mon Nov 30 06:21:09 2026
Old-Return-Path: <debbugs@buxtehude.debian.org>
X-Spam-Flag: NO
X-Spam-Score: -1.762
MIME-Version: 1.0
X-Mailer: MIME-tools 5.510 (Entity 5.510)
X-Debian-Pr-Message: closed 1119745
X-Debian-Pr-Package: src:linphone
X-Debian-Pr-Keywords: forky ftbfs sid
X-Debian-Pr-Source: linphone
Reply-To: 1119745@bugs.debian.org
Content-Type: multipart/mixed; boundary="----------=_1796019662-4008505-0"
X-Debian-Message: from BTS
X-Mailing-List: <debian-bugs-rc@lists.debian.org> archive/latest/840123
List-ID: <debian-bugs-rc.lists.debian.org>
List-URL: <https://lists.debian.org/debian-bugs-rc/>
Approved: robomod@news.nic.it
Lines: 254
Organization: linux.* mail to news gateway
Sender: robomod@news.nic.it
X-Original-Date: Mon, 30 Nov 2026 06:21:02 +0000
X-Original-Message-ID: <handler.1119745.D1119745.17960195554007822.ackdone@bugs.debian.org>
X-Original-References: <aw0VYX2oDE4GLcnQ@duagon-BXN3S64.localdomain>
 <E1vEnJD-000cHv-2U@paradis.debian.org>