#1129279 openstructure: FTBFS with Python 3.14: tests segfault

Package:
src:openstructure
Source:
src:openstructure
Submitter:
Graham Inggs
Date:
2026-06-28 21:09:06 UTC
Severity:
normal
Tags:
#1129279#5
Date:
2026-02-28 17:01:33 UTC
From:
To:
Hi Maintainer

openstructure will FTBFS once Python 3.14 is the default version in
Debian due to segmentation faults in the tests.  I've copied the
output from a failing autopkgtest log below, as a build log is even
less helpful.

Regards
Graham


454s autopkgtest [16:06:47]: test python: [-----------------------
454s /tmp/autopkgtest.61Ffy1/build.0c8/src/debian/tests/python: line
8:  5017 Segmentation fault         (core dumped) python3 ${TEST}
455s /tmp/autopkgtest.61Ffy1/build.0c8/src/debian/tests/python: line
8:  5024 Segmentation fault         (core dumped) python3 ${TEST}
455s /tmp/autopkgtest.61Ffy1/build.0c8/src/debian/tests/python: line
8:  5026 Segmentation fault         (core dumped) python3 ${TEST}
455s /tmp/autopkgtest.61Ffy1/build.0c8/src/modules/bindings/tests/test_blast.py:81:
SyntaxWarning: "\d" is an invalid escape sequence. Such sequences will
not work in the future. Did you mean "\\d"? A raw string is also an
option.
455s   re_v = re.compile('\d+\.\d+\.\d+')
455s /tmp/autopkgtest.61Ffy1/build.0c8/src/debian/tests/python: line
8:  5029 Segmentation fault         (core dumped) python3 ${TEST}
455s /tmp/autopkgtest.61Ffy1/build.0c8/src/debian/tests/python: line
8:  5031 Segmentation fault         (core dumped) python3 ${TEST}
455s /tmp/autopkgtest.61Ffy1/build.0c8/src/debian/tests/python: line
8:  5033 Segmentation fault         (core dumped) python3 ${TEST}
455s /tmp/autopkgtest.61Ffy1/build.0c8/src/debian/tests/python: line
8:  5035 Segmentation fault         (core dumped) python3 ${TEST}
455s /tmp/autopkgtest.61Ffy1/build.0c8/src/debian/tests/python: line
8:  5037 Segmentation fault         (core dumped) python3 ${TEST}
455s /tmp/autopkgtest.61Ffy1/build.0c8/src/debian/tests/python: line
8:  5039 Segmentation fault         (core dumped) python3 ${TEST}
455s /tmp/autopkgtest.61Ffy1/build.0c8/src/debian/tests/python: line
8:  5041 Segmentation fault         (core dumped) python3 ${TEST}
456s /tmp/autopkgtest.61Ffy1/build.0c8/src/debian/tests/python: line
8:  5043 Segmentation fault         (core dumped) python3 ${TEST}
456s /tmp/autopkgtest.61Ffy1/build.0c8/src/debian/tests/python: line
8:  5045 Segmentation fault         (core dumped) python3 ${TEST}
456s /tmp/autopkgtest.61Ffy1/build.0c8/src/debian/tests/python: line
8:  5047 Segmentation fault         (core dumped) python3 ${TEST}
456s /tmp/autopkgtest.61Ffy1/build.0c8/src/debian/tests/python: line
8:  5049 Segmentation fault         (core dumped) python3 ${TEST}
456s /tmp/autopkgtest.61Ffy1/build.0c8/src/debian/tests/python: line
8:  5051 Segmentation fault         (core dumped) python3 ${TEST}
456s /tmp/autopkgtest.61Ffy1/build.0c8/src/debian/tests/python: line
8:  5054 Segmentation fault         (core dumped) python3 ${TEST}
456s /tmp/autopkgtest.61Ffy1/build.0c8/src/debian/tests/python: line
8:  5056 Segmentation fault         (core dumped) python3 ${TEST}
456s /tmp/autopkgtest.61Ffy1/build.0c8/src/debian/tests/python: line
8:  5058 Segmentation fault         (core dumped) python3 ${TEST}
456s /tmp/autopkgtest.61Ffy1/build.0c8/src/debian/tests/python: line
8:  5060 Segmentation fault         (core dumped) python3 ${TEST}
457s /tmp/autopkgtest.61Ffy1/build.0c8/src/debian/tests/python: line
8:  5063 Segmentation fault         (core dumped) python3 ${TEST}
457s /tmp/autopkgtest.61Ffy1/build.0c8/src/debian/tests/python: line
8:  5066 Segmentation fault         (core dumped) python3 ${TEST}
457s Traceback (most recent call last):
457s   File "/tmp/autopkgtest.61Ffy1/build.0c8/src/modules/gfx/tests/test_entity.py",
line 1, in <module>
457s     eh=io.LoadPDB("1crn",remote=True)
457s        ^^
457s NameError: name 'io' is not defined. Did you mean: 'id'? Or did
you forget to import 'io'?
457s /tmp/autopkgtest.61Ffy1/build.0c8/src/debian/tests/python: line
8:  5070 Segmentation fault         (core dumped) python3 ${TEST}
457s Traceback (most recent call last):
457s   File "/tmp/autopkgtest.61Ffy1/build.0c8/src/modules/gfx/tests/test_gost_export.py",
line 1, in <module>
457s     import desost_util as util
457s ModuleNotFoundError: No module named 'desost_util'
457s Traceback (most recent call last):
457s   File "/tmp/autopkgtest.61Ffy1/build.0c8/src/modules/gfx/tests/test_gost_import.py",
line 3, in <module>
457s     with open("test.gost","rb") as gf:
457s          ~~~~^^^^^^^^^^^^^^^^^^
457s FileNotFoundError: [Errno 2] No such file or directory: 'test.gost'

#1129279#10
Date:
2026-03-02 08:15:04 UTC
From:
To:
Hi,

src:openstructure is built for the default Python only. Therefore its
binaries in sid are compatible with Python 3.13 only at the moment. It
has to be rebuilt for Python 3.14 to be able to work under it.

Andrius

#1129279#15
Date:
2026-03-05 07:44:01 UTC
From:
To:
Control: forwarded -1 mailto:openstructure-users@maillist.unibas.ch
Control: tags -1 + confirmed

Just checked, build of src:openstructure with Python 3.14 as default
fails as well due to segfault in tests. I have forwarded the issue upstream.

Andrius