• Bug#1100833: dipy: FTBFS on s390x: two tests failing

    From Drew Parsons@21:1/5 to All on Wed Mar 19 10:20:01 2025
    XPost: linux.debian.ports.s390

    Source: dipy
    Version: 1.10.0-2
    Severity: serious
    Tags: ftbfs
    Justification: FTBFS
    X-Debbugs-Cc: debian-s390@lists.debian.org
    User: debian-s390@lists.debian.org
    Usertags: s390x

    dipy 1.11 is trying to access a scipy algorithm which is apparently
    not supported on s390x,
    ValueError: scipy.sparse does not support dtype int64
    Two tests fail, causing the build to fail.

    The tests are test_dki_fits and test_dki_errors,

    FAILED dipy/reconst/tests/test_dki.py::test_dki_fits - ValueError: Failed to ...
    FAILED dipy/reconst/tests/test_dki.py::test_dki_errors - ValueError: Failed t...
    = 2 failed, 853 passed, 176 skipped, 44 deselected, 4 warnings in 958.49s (0:15:58) =

    I'd say the simplest thing is to just skip these two tests on s390x.
    The skips would probably needs to be added to both debian/rules and debian/tests.


    -- System Information:
    Debian Release: trixie/sid
    APT prefers unstable-debug
    APT policy: (500, 'unstable-debug'), (500, 'unstable'), (1, 'experimental') Architecture: amd64 (x86_64)
    Foreign Architectures: i386

    Kernel: Linux 6.12.17-amd64 (SMP w/8 CPU threads; PREEMPT)
    Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE
    Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8), LANGUAGE=en_AU:en
    Shell: /bin/sh linked to /usr/bin/dash
    Init: systemd (via /run/systemd/system)
    LSM: AppArmor: enabled

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Santiago Vila@21:1/5 to All on Sat Mar 22 13:30:02 2025
    Hi.

    I've just made a team upload trying to address this.

    The skips would probably needs to be added to both debian/rules and debian/tests.

    I was unsure about how to do that, but then I looked at the autopkgtests logs and realized that the tests marked to be skipped in debian/rules are also skipped when the autopkgtests run.

    Apparently pybuild-autopkgtest has some kind of magic that reads variables
    from debian/rules so that we don't have to define things twice, which
    is great.

    So I hope what I did will work. If it does not, I'll probably need help to complete the fix.

    Thanks.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)