Re: [MacPorts] #69100: py-pandas build error: ‘signbit’ was not declared in this scope
MacPorts
noreply at macports.org
Sun Feb 4 09:05:22 UTC 2024
#69100: py-pandas build error: ‘signbit’ was not declared in this scope
--------------------------------------+----------------------
Reporter: barracuda156 | Owner: stromnov
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.8.1
Resolution: | Keywords:
Port: py-pandas, py311-pandas |
--------------------------------------+----------------------
Comment (by barracuda156):
`py310-pandas` fails even faster:
{{{
---> Building py310-pandas
Executing: cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
.org_macports_release_tarballs_ports_python_py-
pandas/py310-pandas/work/pandas-2.2.0" &&
/opt/local/Library/Frameworks/Python.framework/Versions/3.10/bin/python3.10
-m build --no-isolation --wheel --outdir
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
.org_macports_release_tarballs_ports_python_py-pandas/py310-pandas/work
* Getting build dependencies for wheel...
* Building wheel...
+ meson-3.10 setup
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
.org_macports_release_tarballs_ports_python_py-
pandas/py310-pandas/work/pandas-2.2.0
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
.org_macports_release_tarballs_ports_python_py-
pandas/py310-pandas/work/pandas-2.2.0/.mesonpy-djsy99if
-Dbuildtype=release -Db_ndebug=if-release -Db_vscrt=md --vsenv --native-
file=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
.org_macports_release_tarballs_ports_python_py-
pandas/py310-pandas/work/pandas-2.2.0/.mesonpy-djsy99if/meson-python-
native-file.ini
The Meson build system
Version: 1.3.1
Source dir:
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
.org_macports_release_tarballs_ports_python_py-
pandas/py310-pandas/work/pandas-2.2.0
Build dir:
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
.org_macports_release_tarballs_ports_python_py-
pandas/py310-pandas/work/pandas-2.2.0/.mesonpy-djsy99if
Build type: native build
Project name: pandas
Project version: 2.2.0
C compiler for the host machine: /usr/bin/gcc-4.2 (gcc 4.2.1 "powerpc-
apple-darwin10-gcc-4.2.1 (GCC) 4.2.1 (Apple Inc. build 5626)")
C linker for the host machine: /usr/bin/gcc-4.2 ld64 87.3.1
C++ compiler for the host machine: /usr/bin/g++-4.2 (gcc 4.2.1 "powerpc-
apple-darwin10-g++-4.2.1 (GCC) 4.2.1 (Apple Inc. build 5626)")
C++ linker for the host machine: /usr/bin/g++-4.2 ld64 87.3.1
Cython compiler for the host machine: cython (cython 3.0.8)
Host machine cpu family: ppc
Host machine cpu: power macintosh
Program python found: YES
(/opt/local/Library/Frameworks/Python.framework/Versions/3.10/bin/python3.10)
../pandas/meson.build:1:15: ERROR: Command
`/opt/local/Library/Frameworks/Python.framework/Versions/3.10/bin/python3.10
-c '
import os
import numpy as np
try:
# Check if include directory is inside the pandas dir
# e.g. a venv created inside the pandas dir
# If so, convert it to a relative path
incdir = os.path.relpath(np.get_include())
except Exception:
incdir = np.get_include()
print(incdir)
'` failed with status 1.
A full log can be found at
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
.org_macports_release_tarballs_ports_python_py-
pandas/py310-pandas/work/pandas-2.2.0/.mesonpy-djsy99if/meson-logs/meson-
log.txt
ERROR Backend subprocess exited when trying to invoke build_wheel
Command failed: cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
.org_macports_release_tarballs_ports_python_py-
pandas/py310-pandas/work/pandas-2.2.0" &&
/opt/local/Library/Frameworks/Python.framework/Versions/3.10/bin/python3.10
-m build --no-isolation --wheel --outdir
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
.org_macports_release_tarballs_ports_python_py-pandas/py310-pandas/work
Exit code: 1
Error: Failed to build py310-pandas: command execution failed
}}}
--
Ticket URL: <https://trac.macports.org/ticket/69100#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list