[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#902104: [libqb] Please fix building on riscv64



Package: libqb
Version: 1.0.3-1
Severity: normal
Tags: patch
X-Debbugs-CC: debian-riscv@lists.debian.org
User: debian-riscv@lists.debian.org
Usertags: riscv64

Hi,

packages libqb currently FTBFS on architecture riscv64[1]. Please apply
the attached patch, that should fix the issue.

 [1]
https://buildd.debian.org/status/fetch.php?pkg=libqb&arch=riscv64&ver=1.0.3-1%2Bb1&stamp=1524063616&raw=0

From the patch description:

Some test timeouts are currently too small for architecture riscv64,
which is built on rather slow QEMU virtual machines. This patch
increases the timeout, so that automated building does not fail.

Thanks, Giovanni.
-- 
Giovanni Mascellani <g.mascellani@gmail.com>
Postdoc researcher - Université Libre de Bruxelles
From: Giovanni Mascellani <gio@debian.org>
Subject: Increase timeout for some tests on riscv64

Some test timeouts are currently too small for architecture riscv64,
which is built on rather slow QEMU virtual machines. This patch
increases the timeout, so that automated building does not fail.

Index: libqb-1.0.3/tests/check_ipc.c
===================================================================
--- libqb-1.0.3.orig/tests/check_ipc.c
+++ libqb-1.0.3/tests/check_ipc.c
@@ -1569,7 +1569,11 @@ make_shm_suite(void)
 	add_cond_tcase(test_ipc_exit_shm, 8);
 	add_cond_tcase(test_ipc_event_on_created_shm, 10);
 	add_cond_tcase(test_ipc_service_ref_count_shm, 10);
+#ifndef __riscv
 	add_cond_tcase(test_ipc_stress_connections_shm, 3600);
+#else
+	add_cond_tcase(test_ipc_stress_connections_shm, 7200);
+#endif
 
 #ifdef HAVE_FAILURE_INJECTION
 	add_cond_tcase(test_ipcc_truncate_when_unlink_fails_shm, 8);
@@ -1609,7 +1613,11 @@ make_soc_suite(void)
 	add_cond_tcase(test_ipc_event_on_created_us, 10);
 	add_cond_tcase(test_ipc_disconnect_after_created_us, 10);
 	add_cond_tcase(test_ipc_service_ref_count_us, 10);
+#ifndef __riscv
 	add_cond_tcase(test_ipc_stress_connections_us, 3600);
+#else
+	add_cond_tcase(test_ipc_stress_connections_us, 7200);
+#endif
 
 	return s;
 }

Attachment: signature.asc
Description: OpenPGP digital signature


Reply to: