[MacPorts] #69100: py-pandas build error: ‘signbit’ was not declared in this scope

MacPorts noreply at macports.org
Sat Jan 13 13:31:28 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
 Keywords:                |       Port:  py-pandas, py311-pandas
--------------------------+-------------------------------------
 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

-- 
Ticket URL: <https://trac.macports.org/ticket/69100>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list