Summary: | dev-python/scipy-1.9.1 - ImportError: .../work/scipy-1.9.1-python3_10/install/usr/lib/python3.10/site-packages/scipy/optimize/_highs/_highs_wrapper.cpython-310-powerpc-linux-gnu.so: undefined symbol: __atomic_compare_exchange_8 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | ernsteiswuerfel <erhard_f> |
Component: | Current packages | Assignee: | Python Gentoo Team <python> |
Status: | RESOLVED UPSTREAM | ||
Severity: | normal | CC: | mgorny, sci |
Priority: | Normal | Keywords: | TESTFAILURE |
Version: | unspecified | ||
Hardware: | PPC | ||
OS: | Linux | ||
See Also: |
https://github.com/scipy/scipy/issues/17670 https://bugs.gentoo.org/show_bug.cgi?id=916460 |
||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 721344 | ||
Attachments: |
build.log.xz (ppc, 1.9.1)
emerge --info build.log.xz (ppc, 1.9.3) build.log.xz (ppc, 1.9.3 + patch) |
Created attachment 814180 [details]
emerge --info
Apart from the 4 test failures there are many test errors with: ImportError while importing test module '/var/tmp/portage/dev-python/scipy-1.9.1/work/scipy-1.9.1-python3_10/install/usr/lib/python3.10/site-packages/scipy/integrate/_ivp/tests/test_ivp.py'. Hint: make sure your test modules/packages have valid Python names. Traceback: /usr/lib/python3.10/site-packages/_pytest/python.py:608: in _importtestmodule mod = import_path(self.path, mode=importmode, root=self.config.rootpath) /usr/lib/python3.10/site-packages/_pytest/pathlib.py:533: in import_path importlib.import_module(module_name) /usr/lib/python3.10/importlib/__init__.py:126: in import_module return _bootstrap._gcd_import(name[level:], package, level) <frozen importlib._bootstrap>:1050: in _gcd_import ??? <frozen importlib._bootstrap>:1027: in _find_and_load ??? <frozen importlib._bootstrap>:1006: in _find_and_load_unlocked ??? <frozen importlib._bootstrap>:688: in _load_unlocked ??? /usr/lib/python3.10/site-packages/_pytest/assertion/rewrite.py:168: in exec_module exec(co, module.__dict__) ../work/scipy-1.9.1-python3_10/install/usr/lib/python3.10/site-packages/scipy/integrate/_ivp/tests/test_ivp.py:7: in <module> from scipy.optimize._numdiff import group_columns ../work/scipy-1.9.1-python3_10/install/usr/lib/python3.10/site-packages/scipy/optimize/__init__.py:413: in <module> from ._linprog import linprog, linprog_verbose_callback ../work/scipy-1.9.1-python3_10/install/usr/lib/python3.10/site-packages/scipy/optimize/_linprog.py:21: in <module> from ._linprog_highs import _linprog_highs ../work/scipy-1.9.1-python3_10/install/usr/lib/python3.10/site-packages/scipy/optimize/_linprog_highs.py:20: in <module> from ._highs._highs_wrapper import _highs_wrapper E ImportError: /var/tmp/portage/dev-python/scipy-1.9.1/work/scipy-1.9.1-python3_10/install/usr/lib/python3.10/site-packages/scipy/optimize/_highs/_highs_wrapper.cpython-310-powerpc-linux-gnu.so: undefined symbol: __atomic_compare_exchange_8 Created attachment 848273 [details]
build.log.xz (ppc, 1.9.3)
1.9.3 is an improvement. 1 test failure less.
[...]
FAILED _lib/tests/test_import_cycles.py::test_modules_importable - subprocess.CalledProcessError: Command '['/var/tmp/portage/dev-python/scipy-1.9.3/work/scipy-1....
FAILED _lib/tests/test_public_api.py::test_all_modules_are_expected_2 - ImportError: /var/tmp/portage/dev-python/scipy-1.9.3/work/scipy-1.9.3-python3_9/install/usr/lib...
FAILED _lib/tests/test_public_api.py::test_api_importable - AssertionError: Modules in the public API that cannot be imported: ['scipy.integrate', 'scipy.o...
= 3 failed, 22489 passed, 1865 skipped, 103 xfailed, 8 xpassed, 30 warnings, 105 errors in 290.96s (0:04:50) =
https://github.com/scipy/scipy/issues/17670 seems roughly the same problem. Do you feel like trying to upstream a patch adding -latomic if necessary? Created attachment 848457 [details] build.log.xz (ppc, 1.9.3 + patch) Upstream patch: https://github.com/scipy/scipy/pull/17777/commits/051f3b370e8d84ad4244b4a50f7f6036dbea2084 fixed in scipy-1.11.0 |
Created attachment 814177 [details] build.log.xz (ppc, 1.9.1) [...] FAILED _lib/tests/test_public_api.py::test_api_importable - AssertionError: Modules in the public API tha... FAILED _lib/tests/test_public_api.py::test_all_modules_are_expected_2 - ImportError: /var/tmp/portage/dev... FAILED _lib/tests/test_import_cycles.py::test_modules_importable - subprocess.CalledProcessError: Command... FAILED interpolate/tests/test_fitpack.py::test_bisplev_integer_overflow = 4 failed, 22420 passed, 1825 skipped, 103 xfailed, 8 xpassed, 2 warnings, 105 errors in 308.27s (0:05:08) = * ERROR: dev-python/scipy-1.9.1::gentoo failed (test phase): * pytest failed with python3.10 # python3.10 -c 'import sys, numpy; print(numpy.__version__, sys.version_info)' 1.23.1 sys.version_info(major=3, minor=10, micro=6, releaselevel='final', serial=0)