Changes between Initial Version and Version 1 of Ticket #66577, comment 4


Ignore:
Timestamp:
Apr 15, 2023, 4:16:06 AM (18 months ago)
Author:
barracuda156
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #66577, comment 4

    initial v1  
    1 Replying to [comment:1 kencu]:
    2 > is this on a 10.6 system running rosetta, or on 10.6-for-PPC?
    3 
    4 It got further broken. Now it fails even earlier:
    5 {{{
    6 --->  Building py311-numpy
    7 Executing:  cd "/opt/local/var/macports/build/_opt_PPCRosettaPorts_python_py-numpy/py311-numpy/work/numpy-1.23.5" && /opt/local/Library/Frameworks/Python.framework/Versions/3.11/bin/python3.11 -m build --no-isolation --wheel --outdir /opt/local/var/macports/build/_opt_PPCRosettaPorts_python_py-numpy/py311-numpy/work --skip-dependency-check
    8 * Building wheel...
    9 Running from numpy source directory.
    10 <string>:86: DeprecationWarning:
    11 
    12   `numpy.distutils` is deprecated since NumPy 1.23.0, as a result
    13   of the deprecation of `distutils` itself. It will be removed for
    14   Python >= 3.12. For older Python versions it will remain present.
    15   It is recommended to use `setuptools < 60.0` for those Python versions.
    16   For more details, see:
    17     https://numpy.org/devdocs/reference/distutils_status_migration.html
    18 
    19 
    20 Traceback (most recent call last):
    21   File "/opt/local/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/pyproject_hooks/_in_process/_in_process.py", line 353, in <module>
    22     main()
    23   File "/opt/local/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/pyproject_hooks/_in_process/_in_process.py", line 335, in main
    24     json_out['return_val'] = hook(**hook_input['kwargs'])
    25                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    26   File "/opt/local/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/pyproject_hooks/_in_process/_in_process.py", line 251, in build_wheel
    27     return _build_backend().build_wheel(wheel_directory, config_settings,
    28            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    29   File "/opt/local/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/setuptools/build_meta.py", line 413, in build_wheel
    30     return self._build_with_temp_dir(['bdist_wheel'], '.whl',
    31            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    32   File "/opt/local/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/setuptools/build_meta.py", line 398, in _build_with_temp_dir
    33     self.run_setup()
    34   File "/opt/local/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/setuptools/build_meta.py", line 485, in run_setup
    35     self).run_setup(setup_script=setup_script)
    36           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    37   File "/opt/local/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/setuptools/build_meta.py", line 335, in run_setup
    38     exec(code, locals())
    39   File "<string>", line 101, in <module>
    40   File "/opt/local/var/macports/build/_opt_PPCRosettaPorts_python_py-numpy/py311-numpy/work/numpy-1.23.5/numpy/distutils/core.py", line 24, in <module>
    41     from numpy.distutils.command import config, config_compiler, \
    42   File "/opt/local/var/macports/build/_opt_PPCRosettaPorts_python_py-numpy/py311-numpy/work/numpy-1.23.5/numpy/distutils/command/build_ext.py", line 22, in <module>
    43     from numpy.distutils.ccompiler_opt import new_ccompiler_opt, CCompilerOpt
    44   File "/opt/local/var/macports/build/_opt_PPCRosettaPorts_python_py-numpy/py311-numpy/work/numpy-1.23.5/numpy/distutils/ccompiler_opt.py", line 511
    45     )
    46      ^
    47 IndentationError: unindent does not match any outer indentation level
    48 
    49 ERROR Backend subprocess exited when trying to invoke build_wheel
    50 Command failed:  cd "/opt/local/var/macports/build/_opt_PPCRosettaPorts_python_py-numpy/py311-numpy/work/numpy-1.23.5" && /opt/local/Library/Frameworks/Python.framework/Versions/3.11/bin/python3.11 -m build --no-isolation --wheel --outdir /opt/local/var/macports/build/_opt_PPCRosettaPorts_python_py-numpy/py311-numpy/work --skip-dependency-check
    51 Exit code: 1
    52 }}}
     1Edited: Sorry, ignore this, outdated portfile. Will try again now.