Opened 10 months ago
Closed 9 months ago
#69100 closed defect (fixed)
py-pandas build error: ‘signbit’ was not declared in this scope
Reported by: | barracuda156 | Owned by: | stromnov (Andrey Stromnov) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.8.1 |
Keywords: | Cc: | ||
Port: | py-pandas, py311-pandas |
Description
At least on ppc
build fails with:
/usr/bin/gcc-4.2 -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -pipe -Os -arch ppc -isysroot/ -DNPY_NO_DEPRECATED_API=0 -Ipandas/_libs/window -I/opt/local/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/numpy/core/include -I/opt/local/Library/Frameworks/Python.framework/Versions/3.11/include/python3.11 -c pandas/_libs/window/aggregations.cpp -o build/temp.macosx-10.6-ppc-cpython-311/pandas/_libs/window/aggregations.o -Wno-error=unreachable-code pandas/_libs/window/aggregations.cpp: In function ‘void __pyx_f_6pandas_5_libs_6window_12aggregations_add_mean(__pyx_t_5numpy_float64_t, Py_ssize_t*, __pyx_t_5numpy_float64_t*, Py_ssize_t*, __pyx_t_5numpy_float64_t*, __pyx_t_5numpy_int64_t*, __pyx_t_5numpy_float64_t*)’: pandas/_libs/window/aggregations.cpp:4800: error: ‘signbit’ was not declared in this scope pandas/_libs/window/aggregations.cpp: In function ‘void __pyx_f_6pandas_5_libs_6window_12aggregations_remove_mean(__pyx_t_5numpy_float64_t, Py_ssize_t*, __pyx_t_5numpy_float64_t*, Py_ssize_t*, __pyx_t_5numpy_float64_t*)’: pandas/_libs/window/aggregations.cpp:4967: error: ‘signbit’ was not declared in this scope error: command '/usr/bin/gcc-4.2' failed with exit code 1
Looks like this is a genuine bug, not specific to macOS or PPC. There is an upstream issue: https://github.com/pandas-dev/pandas/issues/51047
Change History (2)
comment:1 Changed 9 months ago by barracuda156
comment:2 Changed 9 months ago by barracuda156
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Note: See
TracTickets for help on using
tickets.
py310-pandas
fails even faster: