Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docker build failing (no member named 'elsize' in '_PyArray_Descr') #5

Open
muety opened this issue Jul 11, 2024 · 0 comments
Open

Comments

@muety
Copy link

muety commented Jul 11, 2024

First of all, thanks for providing the updated Dockerfiles! However, the build of Carla.Dockerfile is failing for me with the following error message in step 8 (RUN make CarlaUE4Editor):

clang-linux.compile.c++ bin.v2/libs/python/build/clang-linux-10.0/release/link-static/python-3.10/threading-multi/visibility-hidden/numpy/dtype.o
In file included from libs/python/src/numpy/dtype.cpp:11:
In file included from ./boost/python/numpy/internal.hpp:17:
In file included from ./boost/python.hpp:17:
In file included from ./boost/python/call_method.hpp:32:
In file included from ./boost/preprocessor/iteration/detail/iter/forward1.hpp:1343:
In file included from ./boost/preprocessor/iteration/detail/iter/limits/forward1_256.hpp:14:
./boost/python/call_method.hpp:61:9: warning: 'PyEval_CallMethod' is deprecated [-Wdeprecated-declarations]
        PyEval_CallMethod(
        ^
/usr/include/python3.10/ceval.h:28:1: note: 'PyEval_CallMethod' has been explicitly marked deprecated here
Py_DEPRECATED(3.9) PyAPI_FUNC(PyObject *) PyEval_CallMethod(
^
/usr/include/python3.10/pyport.h:513:54: note: expanded from macro 'Py_DEPRECATED'
#define Py_DEPRECATED(VERSION_UNUSED) __attribute__((__deprecated__))
                                                     ^
libs/python/src/numpy/dtype.cpp:101:83: error: no member named 'elsize' in '_PyArray_Descr'
int dtype::get_itemsize() const { return reinterpret_cast<PyArray_Descr*>(ptr())->elsize;}
                                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~  ^
1 warning and 1 error generated.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant