[Pkg-kde-extras] Bug#1056583: kaidan: FTBFS with disabled network

Gianfranco Costamagna locutusofborg at debian.org
Fri Dec 15 11:25:41 GMT 2023


control: tags -1 patch

https://patches.ubuntu.com/k/kaidan/kaidan_0.9.1-2ubuntu1.patch

this patch might do the trick.

+Description: Disable test requiring internet access
+Author: Gianfranco Costamagna <locutusofborg at debian.org>
+Bug-Debian: https://bugs.debian.org/1056583
+Last-Update: 2023-11-23
+
+--- kaidan-0.9.1.orig/tests/PublicGroupChatTest.cpp
++++ kaidan-0.9.1/tests/PublicGroupChatTest.cpp
+@@ -125,7 +125,7 @@ private Q_SLOTS:
+ 		QVERIFY(PublicGroupChat::toJson(groupChats) == QJsonArray({object1, object2}));
+ 		QVERIFY(groupChats == (PublicGroupChats {PublicGroupChat {object1}, PublicGroupChat {object2}}));
+ 	}
+-
++/*
+ 	void test_GroupChatSearchManager_GroupChatModel()
+ 	{
+ 		PublicGroupChatSearchManager manager;
+@@ -179,7 +179,7 @@ private Q_SLOTS:
+ 		QCOMPARE(groupChat.name(), index.data(Qt::DisplayRole));
+ 		QCOMPARE(groupChat.description(), index.data(Qt::ToolTipRole));
+ 	}
+-
++*/
+ 	void test_GroupChatProxyModel_data()
+ 	{
+ 		using Role = PublicGroupChatModel::CustomRole;


G.

On Thu, 23 Nov 2023 14:53:14 +0100 Gianfranco Costamagna <locutusofborg at debian.org> wrote:
> Source: kaidan
> Version: 0.9.1-2
> Severity: serious
> 
> 
> Hello, the package FTBFS trying to call search.jabber.network, something forbidden by policy.
> 
> 6: QWARN  : GroupChatTest::test_GroupChatSearchManager_GroupChatModel() public-group-chat.search: Search request error: Host search.jabber.network not found
> 6: FAIL!  : GroupChatTest::test_GroupChatSearchManager_GroupChatModel() 'spyError.isEmpty()' returned FALSE. ()
> 
> Full log available e.g. here: https://launchpadlibrarian.net/698369989/buildlog_ubuntu-noble-amd64.kaidan_0.9.1-2_BUILDING.txt.gz
> 
> I think disabling that test function should work as workaround.
> 
> G.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature.asc
Type: application/pgp-signature
Size: 840 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-kde-extras/attachments/20231215/efec531d/attachment.sig>


More information about the pkg-kde-extras mailing list