[Debian-astro-maintainers] Bug#1019874: python3-specutils: FTBFS on riscv64, segfault in Fortran library

Blair Noctis n at sail.ng
Thu Sep 15 11:28:20 BST 2022


Package: python3-specutils
Version: 1.8.0-1
Severity: serious
Tags: ftbfs
Justification: fails to build from source
X-Debbugs-Cc: n at sail.ng

Dear Maintainer,

This package currently fails a test on riscv64 (buildd log [1]):

> specutils/io/asdf/tags/tests/test_spectra.py xxxx.                       [  1%]
> specutils/io/default_loaders/tests/test_apogee.py sss                    [  1%]
> specutils/io/default_loaders/tests/test_jwst_reader.py ................. [  5%]
> xsss.                                                                    [  6%]
> specutils/manipulation/model_replace.py Fatal Python error: Segmentation fault
> 
> Current thread 0x0000003fa5ed5010 (most recent call first):
>   File "/usr/lib/python3/dist-packages/scipy/linalg/_basic.py", line 464 in solve_banded
>   File "/usr/lib/python3/dist-packages/scipy/interpolate/_cubic.py", line 781 in __init__
>   File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/specutils/manipulation/model_replace.py", line 171 in _interpolate_spline
>   File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/specutils/manipulation/model_replace.py", line 155 in _compute_spline_values
>   File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/specutils/manipulation/model_replace.py", line 79 in model_replace
>   File "<doctest specutils.manipulation.model_replace.model_replace[8]>", line 1 in <module>

segfault happened when `solve_banded` called into a runtime chosen variant of
LAPACK procedure `gtsv`, which in local testing was `dgtsv`.

1:
https://buildd.debian.org/status/fetch.php?pkg=specutils&arch=riscv64&ver=1.8.0-1&stamp=1661681347&raw=0

-- System Information:
Debian Release: bookworm/sid
  APT prefers unreleased
  APT policy: (500, 'unreleased'), (500, 'unstable'), (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: riscv64

-- 
Regards,
Blair Noctis


-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature
Type: application/pgp-signature
Size: 228 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/debian-astro-maintainers/attachments/20220915/267d6d8a/attachment.sig>


More information about the Debian-astro-maintainers mailing list