Your message dated Fri, 25 Nov 2022 13:19:07 +0000
with message-id <e1oyybj-0016wu...@fasolo.debian.org>
and subject line Bug#1024210: fixed in dbus-python 1.3.2-3
has caused the Debian Bug report #1024210,
regarding dbus-python: ftbfs on riscv64 due to timeout
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 ow...@bugs.debian.org
immediately.)


-- 
1024210: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1024210
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: dbus-python
Version: 1.3.2-2
Severity: normal
Tags: ftbfs, patch
User: debian-ri...@lists.debian.org
Usertags: riscv64
Justification: fails to build from source (but built successfully in the past)
X-Debbugs-Cc: debian-ri...@lists.debian.org

Hi, 

The package has a ftbfs issue on riscv64 due to timeout from tests.
```
ummary of Failures:

1/8 import-repeatedly  TIMEOUT        30.04s   killed by signal 15 SIGTERM

Ok:                 7   
Expected Fail:      0   
Fail:               0   
Unexpected Pass:    0   
Skipped:            0   
Timeout:            1   
dh_auto_test: error: cd build-3.11 && LC_ALL=C.UTF-8 MESON_TESTTHREADS=1 meson 
test returned exit code 1
make[1]: *** [debian/rules:64: override_dh_auto_test-arch] Error 25
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:23: binary-arch] Error 2
```
The buildd log is here:
https://buildd.debian.org/status/fetch.php?pkg=dbus-python&arch=riscv64&ver=1.3.2-2&stamp=1668443912&raw=0

Because the dbus-python package is very very key package from my view so
I think it should be considered to find a workround. The patch is very
hacky to reduce import numbers for the test on riscv64 and it should be
increased timeout value of dbus_run_seesion on riscv64.

So please let me know if there are any issues.

-- 
Regards,
--
  Bo YU

diff -Nru dbus-python-1.3.2/debian/changelog dbus-python-1.3.2/debian/changelog
--- dbus-python-1.3.2/debian/changelog  2022-11-13 18:28:33.000000000 +0000
+++ dbus-python-1.3.2/debian/changelog  2022-11-16 01:50:59.000000000 +0000
@@ -1,3 +1,10 @@
+dbus-python (1.3.2-2.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * fix ftbfs on riscv64 due to timeout
+
+ -- Bo YU <tsu.y...@gmail.com>  Wed, 16 Nov 2022 01:50:59 +0000
+
 dbus-python (1.3.2-2) unstable; urgency=medium
 
   [ Debian Janitor ]
diff -Nru dbus-python-1.3.2/debian/patches/fix-timeout-on-riscv64.patch 
dbus-python-1.3.2/debian/patches/fix-timeout-on-riscv64.patch
--- dbus-python-1.3.2/debian/patches/fix-timeout-on-riscv64.patch       
1970-01-01 00:00:00.000000000 +0000
+++ dbus-python-1.3.2/debian/patches/fix-timeout-on-riscv64.patch       
2022-11-16 01:50:59.000000000 +0000
@@ -0,0 +1,37 @@
+--- a/test/import-repeatedly.c
++++ b/test/import-repeatedly.c
+@@ -5,16 +5,23 @@
+  */
+ 
+ #include <stdio.h>
++#include <sys/utsname.h>
++#include <string.h>
+ 
+ #include <Python.h>
+ 
+ int main(void)
+ {
+-    int i;
++    int i, import_num = 100;
++
++    struct utsname unameData;
++    uname(&unameData);
++    if (strcmp(unameData.machine, "riscv64") == 0)
++        import_num = 50;
+ 
+     puts("1..1");
+ 
+-    for (i = 0; i < 100; ++i) {
++    for (i = 0; i < import_num; ++i) {
+         Py_Initialize();
+         if (PyRun_SimpleString("import dbus\n") != 0) {
+             puts("not ok 1 - there was an exception");
+@@ -23,7 +30,7 @@
+         Py_Finalize();
+     }
+ 
+-    puts("ok 1 - was able to import dbus 100 times");
++    printf("ok 1 - was able to import dbus %d times\n", import_num);
+ 
+     return 0;
+ }
diff -Nru dbus-python-1.3.2/debian/patches/series 
dbus-python-1.3.2/debian/patches/series
--- dbus-python-1.3.2/debian/patches/series     1970-01-01 00:00:00.000000000 
+0000
+++ dbus-python-1.3.2/debian/patches/series     2022-11-16 01:50:36.000000000 
+0000
@@ -0,0 +1 @@
+fix-timeout-on-riscv64.patch

Attachment: signature.asc
Description: PGP signature


--- End Message ---
--- Begin Message ---
Source: dbus-python
Source-Version: 1.3.2-3
Done: Simon McVittie <s...@debian.org>

We believe that the bug you reported is fixed in the latest version of
dbus-python, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1024...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Simon McVittie <s...@debian.org> (supplier of updated dbus-python package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Fri, 25 Nov 2022 11:28:44 +0000
Source: dbus-python
Architecture: source
Version: 1.3.2-3
Distribution: unstable
Urgency: medium
Maintainer: Utopia Maintenance Team 
<pkg-utopia-maintain...@lists.alioth.debian.org>
Changed-By: Simon McVittie <s...@debian.org>
Closes: 1024210
Changes:
 dbus-python (1.3.2-3) unstable; urgency=medium
 .
   * Increase an arbitrary test timeout to avoid intermittent FTBFS on
     slower buildds such as alpha, mips64el and riscv64 (Closes: #1024210)
Checksums-Sha1:
 a3d3d45067250b02a6c35c3d8aab54095a5a6034 3094 dbus-python_1.3.2-3.dsc
 18929ee59d1e8dd801eadac3c4ba43630ae5edbe 34464 
dbus-python_1.3.2-3.debian.tar.xz
 4ec1af6b0b617908e261a11090a74a00d58049c9 7785 
dbus-python_1.3.2-3_source.buildinfo
Checksums-Sha256:
 7cfb2d27fa9fd25dcecfe2a81e693924c5fe5f51a6cf91c5ed0e4bf780bfda86 3094 
dbus-python_1.3.2-3.dsc
 686fb94dd173439d0602fd0002e73f2f4b5dd1b48f17e0307217dd9889d071a9 34464 
dbus-python_1.3.2-3.debian.tar.xz
 7508e1c0db58c2becc83ba388fe40e01d25e315ba2cb5da6e3b5a2ef90be0e05 7785 
dbus-python_1.3.2-3_source.buildinfo
Files:
 94c5c91e949d3b57347407360cef2065 3094 devel optional dbus-python_1.3.2-3.dsc
 01032d0723cc6266762df04ddc7e9fa5 34464 devel optional 
dbus-python_1.3.2-3.debian.tar.xz
 a7cf2ea59574c35a2e8d67556b71902a 7785 devel optional 
dbus-python_1.3.2-3_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEENuxaZEik9e95vv6Y4FrhR4+BTE8FAmOAvt0ACgkQ4FrhR4+B
TE+hfRAAowVgn1IWuG3uDVnQ8yjYb8us9Q5SCtt9EwBrKuO+O4RMtvJtKel6zNw1
alsN3defHM1v6jwML1k0B6y9PJ157yaGa9cHkft55YG3cyHCnttuRK4w64NK041f
sdRhet8Q64KkgvEhrHW6ZmZsrsrWyKR6hVonb4s7O840TwFhBVVsvmfIiXes2lxu
2rIzDkX15IHoL3DgYIk3z+Pvy7ZDJGECjZp5X1k//EheQ2srb1TztiVbeHiAOz1/
Y0MdjcDehk8SsEwHLZupEQStJ2s24Tqp346xB8g+rtXaJGp0ScLPETpDbFgi68W3
gg/Flnp9D59vuHH645zXN4ndN/yLwfwKH3ciZWWUgls5V1ftZNEEia1xhC9g/P9Z
ZTCCEgFD2DRqFLTX+vOgqCyJ+7V2Ok9L4ynN/wHbq/SpY5c30AGAUmGlNgcuhyzZ
8zW1qigeLTBh5Jj+CLfFHEMtlVK+UFqz1aN7OiUryqmx9ex5/gMGstnOSUxYqOsF
JeDoTF1NXOo6ZtiDBY+pBZcesEiW54KXFotHJKNl4jHT2I64a1iIUSnSY9F6lppu
I7mu110NRoTo37FvJorb3kMNwfA6sgT0r7dmzvSC1tNMGuz/vejnM2EP84sO9d7a
4utmjk0QWbDn6CKgIGkj6RR4tA92+QaO9FIQHJj9RX5LkPYOfto=
=vHX5
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to