Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 890487 - dev-python/scipy-1.9.2 - ../../meson.build:64:0: ERROR: Program 'pythran' not found or not executable
Summary: dev-python/scipy-1.9.2 - ../../meson.build:64:0: ERROR: Program 'pythran' not...
Status: RESOLVED DUPLICATE of bug 878361
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Science Related Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-01-11 15:27 UTC by ernsteiswuerfel
Modified: 2023-01-12 07:58 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (ppc, 1.9.2) (scipy-1.9.2:20230111-143017.log,8.14 KB, text/plain)
2023-01-11 15:27 UTC, ernsteiswuerfel
Details
emerge --info (file_890487.txt,6.43 KB, text/plain)
2023-01-11 15:27 UTC, ernsteiswuerfel
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ernsteiswuerfel archtester 2023-01-11 15:27:15 UTC
Created attachment 848221 [details]
build.log (ppc, 1.9.2)

Looks like pythran is requested for building even without USE=pythran.

[...]
Program cython found: YES (/usr/bin/cython)
Program pythran found: NO

../../meson.build:64:0: ERROR: Program 'pythran' not found or not executable

A full log can be found at /var/tmp/portage/dev-python/scipy-1.9.2/work/scipy-1.9.2/.mesonpy-re4gw8iq/build/meson-logs/meson-log.txt
+ meson setup --prefix=/usr /var/tmp/portage/dev-python/scipy-1.9.2/work/scipy-1.9.2 /var/tmp/portage/dev-python/scipy-1.9.2/work/scipy-1.9.2/.mesonpy-re4gw8iq/build --native-file=/var/tmp/portage/dev-python/scipy-1.9.2/work/scipy-1.9.2/.mesonpy-native-file.ini -Ddebug=false -Doptimization=2
Traceback (most recent call last):
  File "/usr/lib/python-exec/python3.9/gpep517", line 4, in <module>
    sys.exit(main())
  File "/usr/lib/python3.9/site-packages/gpep517/__main__.py", line 339, in main
    return func(args)
  File "/usr/lib/python3.9/site-packages/gpep517/__main__.py", line 139, in build_wheel
    print(build_wheel_impl(args, args.wheel_dir), file=out)
  File "/usr/lib/python3.9/site-packages/gpep517/__main__.py", line 131, in build_wheel_impl
    wheel_name = backend.build_wheel(str(wheel_dir), args.config_json)
  File "/usr/lib/python3.9/site-packages/mesonpy/__init__.py", line 1060, in build_wheel
    with _project(config_settings) as project:
  File "/usr/lib/python3.9/contextlib.py", line 119, in __enter__
    return next(self.gen)
  File "/usr/lib/python3.9/site-packages/mesonpy/__init__.py", line 975, in _project
    with Project.with_temp_working_dir(
  File "/usr/lib/python3.9/contextlib.py", line 119, in __enter__
    return next(self.gen)
  File "/usr/lib/python3.9/site-packages/mesonpy/__init__.py", line 750, in with_temp_working_dir
    yield cls(source_dir, tmpdir, build_dir, meson_args)
  File "/usr/lib/python3.9/site-packages/mesonpy/__init__.py", line 632, in __init__
    self._configure(reconfigure=bool(build_dir) and not native_file_mismatch)
  File "/usr/lib/python3.9/site-packages/mesonpy/__init__.py", line 680, in _configure
    self._meson('setup', *setup_args)
  File "/usr/lib/python3.9/site-packages/mesonpy/__init__.py", line 657, in _meson
    return self._proc('meson', *args)
  File "/usr/lib/python3.9/site-packages/mesonpy/__init__.py", line 652, in _proc
    subprocess.check_call(list(args), env=self._env)
  File "/usr/lib/python3.9/subprocess.py", line 373, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['meson', 'setup', '--prefix=/usr', '/var/tmp/portage/dev-python/scipy-1.9.2/work/scipy-1.9.2', '/var/tmp/portage/dev-python/scipy-1.9.2/work/scipy-1.9.2/.mesonpy-re4gw8iq/build', '--native-file=/var/tmp/portage/dev-python/scipy-1.9.2/work/scipy-1.9.2/.mesonpy-native-file.ini', '-Ddebug=false', '-Doptimization=2']' returned non-zero exit status 1.
 * ERROR: dev-python/scipy-1.9.2::gentoo failed (compile phase):
 *   Wheel build failed
Comment 1 ernsteiswuerfel archtester 2023-01-11 15:27:54 UTC
Created attachment 848223 [details]
emerge --info
Comment 2 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-01-12 07:58:41 UTC

*** This bug has been marked as a duplicate of bug 878361 ***