dat-linux opened a new issue, #19868:
URL: https://github.com/apache/superset/issues/19868

   Is this a GCC version issue perhaps? I'm using gcc-11.2.0-19ubuntu1 amd64
   
   **Ouput:**
   
                2997 |     return 
_Py_HashDouble(npy_half_to_double(PyArrayScalar_VAL(obj, Half)));
                     |                           
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                     |                           |
                     |                           double
               In file included from /usr/include/python3.10/Python.h:77,
                                from 
numpy/core/src/multiarray/scalartypes.c.src:3:
               /usr/include/python3.10/pyhash.h:10:38: note: expected ‘PyObject 
*’ {aka ‘struct _object *’} but argument is of type ‘double’
                  10 | PyAPI_FUNC(Py_hash_t) _Py_HashDouble(PyObject *, double);
                     |                                      ^~~~~~~~~~
               numpy/core/src/multiarray/scalartypes.c.src:2997:12: error: too 
few arguments to function ‘_Py_HashDouble’
                2997 |     return 
_Py_HashDouble(npy_half_to_double(PyArrayScalar_VAL(obj, Half)));
                     |            ^~~~~~~~~~~~~~
               In file included from /usr/include/python3.10/Python.h:77,
                                from 
numpy/core/src/multiarray/scalartypes.c.src:3:
               /usr/include/python3.10/pyhash.h:10:23: note: declared here
                  10 | PyAPI_FUNC(Py_hash_t) _Py_HashDouble(PyObject *, double);
                     |                       ^~~~~~~~~~~~~~
               numpy/core/src/multiarray/scalartypes.c.src: In function 
‘longdouble_arrtype_hash’:
               numpy/core/src/multiarray/scalartypes.c.src:2968:1: warning: 
control reaches end of non-void function [-Wreturn-type]
                2968 | }
                     | ^
               numpy/core/src/multiarray/scalartypes.c.src: In function 
‘float_arrtype_hash’:
               numpy/core/src/multiarray/scalartypes.c.src:2968:1: warning: 
control reaches end of non-void function [-Wreturn-type]
                2968 | }
                     | ^
               numpy/core/src/multiarray/scalartypes.c.src: In function 
‘half_arrtype_hash’:
               numpy/core/src/multiarray/scalartypes.c.src:2998:1: warning: 
control reaches end of non-void function [-Wreturn-type]
                2998 | }
                     | ^
               x86_64-linux-gnu-gcc: numpy/core/src/multiarray/vdot.c
               x86_64-linux-gnu-gcc: numpy/core/src/multiarray/scalarapi.c
               x86_64-linux-gnu-gcc: numpy/core/src/umath/umathmodule.c
               x86_64-linux-gnu-gcc: numpy/core/src/multiarray/nditer_pywrap.c
               x86_64-linux-gnu-gcc: numpy/core/src/umath/reduction.c
               x86_64-linux-gnu-gcc: 
build/src.linux-x86_64-3.10/numpy/core/src/umath/clip.c
               x86_64-linux-gnu-gcc: 
build/src.linux-x86_64-3.10/numpy/core/src/umath/loops.c
               x86_64-linux-gnu-gcc: numpy/core/src/umath/ufunc_object.c
               x86_64-linux-gnu-gcc: numpy/core/src/umath/override.c
               x86_64-linux-gnu-gcc: numpy/core/src/npymath/npy_math.c
               x86_64-linux-gnu-gcc: 
build/src.linux-x86_64-3.10/numpy/core/src/npymath/ieee754.c
               x86_64-linux-gnu-gcc: 
build/src.linux-x86_64-3.10/numpy/core/src/npymath/npy_math_complex.c
               x86_64-linux-gnu-gcc: numpy/core/src/npymath/halffloat.c
               x86_64-linux-gnu-gcc: numpy/core/src/common/array_assign.c
               x86_64-linux-gnu-gcc: numpy/core/src/common/mem_overlap.c
               x86_64-linux-gnu-gcc: numpy/core/src/umath/extobj.c
               x86_64-linux-gnu-gcc: numpy/core/src/common/npy_longdouble.c
               x86_64-linux-gnu-gcc: numpy/core/src/common/ucsnarrow.c
               x86_64-linux-gnu-gcc: 
build/src.linux-x86_64-3.10/numpy/core/src/umath/scalarmath.c
               x86_64-linux-gnu-gcc: numpy/core/src/common/ufunc_override.c
               x86_64-linux-gnu-gcc: numpy/core/src/common/numpyos.c
               x86_64-linux-gnu-gcc: 
build/src.linux-x86_64-3.10/numpy/core/src/common/npy_cpu_features.c
               x86_64-linux-gnu-gcc: 
numpy/core/src/umath/ufunc_type_resolution.c
               x86_64-linux-gnu-gcc: numpy/core/src/multiarray/mapping.c
               x86_64-linux-gnu-gcc: numpy/core/src/multiarray/methods.c
               x86_64-linux-gnu-gcc: 
build/src.linux-x86_64-3.10/numpy/core/src/umath/matmul.c
               error: Command "x86_64-linux-gnu-gcc -Wno-unused-result 
-Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong 
-Wformat -Werror=format-security -g -fwrapv -O2 -fPIC -DNPY_INTERNAL_BUILD=1 
-DHAVE_NPY_CONFIG_H=1 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE=1 
-D_LARGEFILE64_SOURCE=1 -Ibuild/src.linux-x86_64-3.10/numpy/core/src/umath 
-Ibuild/src.linux-x86_64-3.10/numpy/core/src/npymath 
-Ibuild/src.linux-x86_64-3.10/numpy/core/src/common -Inumpy/core/include 
-Ibuild/src.linux-x86_64-3.10/numpy/core/include/numpy -Inumpy/core/src/common 
-Inumpy/core/src -Inumpy/core -Inumpy/core/src/npymath 
-Inumpy/core/src/multiarray -Inumpy/core/src/umath -Inumpy/core/src/npysort 
-I/usr/include/python3.10 -Ibuild/src.linux-x86_64-3.10/numpy/core/src/common 
-Ibuild/src.linux-x86_64-3.10/numpy/core/src/npymath -c 
build/src.linux-x86_64-3.10/numpy/core/src/multiarray/scalartypes.c -o 
build/temp.linux-x86_64-3.10/build/src.linux-x86_64-3.10/numpy/core/src/multiarray/scalartypes
 .o -MMD -MF 
build/temp.linux-x86_64-3.10/build/src.linux-x86_64-3.10/numpy/core/src/multiarray/scalartypes.o.d
 -std=c99" failed with exit status 1
               [end of output]
         
           note: This error originates from a subprocess, and is likely not a 
problem with pip.
           ERROR: Failed building wheel for numpy
         Failed to build numpy
         ERROR: Could not build wheels for numpy, which is required to install 
pyproject.toml-based projects
         [end of output]
     
     note: This error originates from a subprocess, and is likely not a problem 
with pip.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to