==>(B Making package: python-dlib 19.24-1 (Thu May 4 08:44:47 2023)(B ==>(B Retrieving sources...(B  ->(B Found dlib-19.24.tar.bz2(B ==>(B Validating source files with sha256sums...(B ==>(B Making package: python-dlib 19.24-1 (Thu May 4 08:44:50 2023)(B ==>(B Checking runtime dependencies...(B ==>(B Installing missing dependencies...(B [?25lresolving dependencies... looking for conflicting packages... Packages (12) blas-3.11.0-2 libxau-1.0.11-2 libxcb-1.15-2 libxdmcp-1.1.4-2 xcb-proto-1.15.2-3 xorgproto-2022.2-1 cblas-3.11.0-2 giflib-5.2.1-2 lapack-3.11.0-2 libjpeg-turbo-2.1.5.1-1 libpng-1.6.39-1 libx11-1.8.4-1 Total Installed Size: 27.06 MiB :: Proceed with installation? [Y/n] ( 0/12) checking keys in keyring [----------------------] 0% ( 1/12) checking keys in keyring [#---------------------] 8% ( 2/12) checking keys in keyring [###-------------------] 16% ( 3/12) checking keys in keyring [#####-----------------] 25% ( 4/12) checking keys in keyring [#######---------------] 33% ( 5/12) checking keys in keyring [#########-------------] 41% ( 6/12) checking keys in keyring [###########-----------] 50% ( 7/12) checking keys in keyring [############----------] 58% ( 8/12) checking keys in keyring [##############--------] 66% ( 9/12) checking keys in keyring [################------] 75% (10/12) checking keys in keyring [##################----] 83% (11/12) checking keys in keyring [####################--] 91% (12/12) checking keys in keyring [######################] 100% ( 0/12) checking package integrity [----------------------] 0% ( 1/12) checking package integrity [----------------------] 1% ( 2/12) checking package integrity [----------------------] 2% ( 3/12) checking package integrity [----------------------] 3% ( 4/12) checking package integrity [########--------------] 39% ( 5/12) checking package integrity [##########------------] 46% ( 6/12) checking package integrity [###########-----------] 50% ( 7/12) checking package integrity [###########-----------] 51% ( 8/12) checking package integrity [############----------] 55% ( 9/12) checking package integrity [############----------] 55% (10/12) checking package integrity [############----------] 55% (11/12) checking package integrity [###############-------] 70% (12/12) checking package integrity [######################] 100% ( 0/12) loading package files [----------------------] 0% ( 1/12) loading package files [----------------------] 1% ( 2/12) loading package files [----------------------] 2% ( 3/12) loading package files [----------------------] 3% ( 4/12) loading package files [########--------------] 39% ( 5/12) loading package files [##########------------] 46% ( 6/12) loading package files [###########-----------] 50% ( 7/12) loading package files [###########-----------] 51% ( 8/12) loading package files [############----------] 55% ( 9/12) loading package files [############----------] 55% (10/12) loading package files [############----------] 55% (11/12) loading package files [###############-------] 70% (12/12) loading package files [######################] 100% ( 0/12) checking for file conflicts [----------------------] 0% ( 1/12) checking for file conflicts [#---------------------] 8% ( 2/12) checking for file conflicts [###-------------------] 16% ( 3/12) checking for file conflicts [#####-----------------] 25% ( 4/12) checking for file conflicts [#######---------------] 33% ( 5/12) checking for file conflicts [#########-------------] 41% ( 6/12) checking for file conflicts [###########-----------] 50% ( 7/12) checking for file conflicts [############----------] 58% ( 8/12) checking for file conflicts [##############--------] 66% ( 9/12) checking for file conflicts [################------] 75% (10/12) checking for file conflicts [##################----] 83% (11/12) checking for file conflicts [####################--] 91% (12/12) checking for file conflicts [######################] 100% ( 0/12) checking available disk space [----------------------] 0% ( 1/12) checking available disk space [#---------------------] 8% ( 2/12) checking available disk space [###-------------------] 16% ( 3/12) checking available disk space [#####-----------------] 25% ( 4/12) checking available disk space [#######---------------] 33% ( 5/12) checking available disk space [#########-------------] 41% ( 6/12) checking available disk space [###########-----------] 50% ( 7/12) checking available disk space [############----------] 58% ( 8/12) checking available disk space [##############--------] 66% ( 9/12) checking available disk space [################------] 75% (10/12) checking available disk space [##################----] 83% (11/12) checking available disk space [####################--] 91% (12/12) checking available disk space [######################] 100% :: Processing package changes... ( 1/12) installing blas [----------------------] 0% ( 1/12) installing blas [######################] 100% ( 2/12) installing cblas [----------------------] 0% ( 2/12) installing cblas [######################] 100% ( 3/12) installing giflib [----------------------] 0% ( 3/12) installing giflib [######################] 100% ( 4/12) installing lapack [----------------------] 0% ( 4/12) installing lapack [######################] 100% ( 5/12) installing libjpeg-turbo [----------------------] 0% ( 5/12) installing libjpeg-turbo [######################] 100% Optional dependencies for libjpeg-turbo java-runtime>11: for TurboJPEG Java wrapper ( 6/12) installing libpng [----------------------] 0% ( 6/12) installing libpng [######################] 100% ( 7/12) installing xcb-proto [----------------------] 0% ( 7/12) installing xcb-proto [######################] 100% ( 8/12) installing xorgproto [----------------------] 0% ( 8/12) installing xorgproto [######################] 100% ( 9/12) installing libxdmcp [----------------------] 0% ( 9/12) installing libxdmcp [######################] 100% (10/12) installing libxau [----------------------] 0% (10/12) installing libxau [######################] 100% (11/12) installing libxcb [----------------------] 0% (11/12) installing libxcb [######################] 100% (12/12) installing libx11 [----------------------] 0% (12/12) installing libx11 [######################] 100% [?25h==>(B Checking buildtime dependencies...(B ==>(B Installing missing dependencies...(B [?25lresolving dependencies... looking for conflicting packages... Packages (25) boost-libs-1.81.0-5 hicolor-icon-theme-0.17-3 jsoncpp-1.9.5-2 libnsl-2.0.0-3 libuv-1.44.2-1 python-3.11.3-1 python-autocommand-2.2.2-4 python-fastjsonschema-2.16.3-4 python-inflect-6.0.4-2 python-jaraco.context-4.3.0-3 python-jaraco.functools-3.6.0-3 python-jaraco.text-3.11.1-3 python-more-itertools-9.1.1-4 python-ordered-set-4.1.0-4 python-packaging-23.0-3 python-platformdirs-3.5.0-2 python-pydantic-1.10.7-4 python-tomli-2.0.1-3 python-trove-classifiers-2023.4.22-1 python-typing_extensions-4.5.0-4 python-validate-pyproject-0.12.2-3 rhash-1.4.3-1 boost-1.81.0-5 cmake-3.26.3-1 python-setuptools-1:67.7.0-1 Total Installed Size: 345.71 MiB :: Proceed with installation? [Y/n] ( 0/25) checking keys in keyring [----------------------] 0% ( 1/25) checking keys in keyring [----------------------] 4% ( 2/25) checking keys in keyring [#---------------------] 8% ( 3/25) checking keys in keyring [##--------------------] 12% ( 4/25) checking keys in keyring [###-------------------] 16% ( 5/25) checking keys in keyring [####------------------] 20% ( 6/25) checking keys in keyring [#####-----------------] 24% ( 7/25) checking keys in keyring [######----------------] 28% ( 8/25) checking keys in keyring [#######---------------] 32% ( 9/25) checking keys in keyring [#######---------------] 36% (10/25) checking keys in keyring [########--------------] 40% (11/25) checking keys in keyring [#########-------------] 44% (12/25) checking keys in keyring [##########------------] 48% (13/25) checking keys in keyring [###########-----------] 52% (14/25) checking keys in keyring [############----------] 56% (15/25) checking keys in keyring [#############---------] 60% (16/25) checking keys in keyring [##############--------] 64% (17/25) checking keys in keyring [##############--------] 68% (18/25) checking keys in keyring [###############-------] 72% (19/25) checking keys in keyring [################------] 76% (20/25) checking keys in keyring [#################-----] 80% (21/25) checking keys in keyring [##################----] 84% (22/25) checking keys in keyring [###################---] 88% (23/25) checking keys in keyring [####################--] 92% (24/25) checking keys in keyring [#####################-] 96% (25/25) checking keys in keyring [######################] 100% ( 0/25) checking package integrity [----------------------] 0% ( 1/25) checking package integrity [----------------------] 0% ( 2/25) checking package integrity [----------------------] 0% ( 3/25) checking package integrity [----------------------] 0% ( 4/25) checking package integrity [----------------------] 0% ( 5/25) checking package integrity [----------------------] 1% ( 6/25) checking package integrity [#####-----------------] 25% ( 7/25) checking package integrity [######----------------] 30% ( 8/25) checking package integrity [#############---------] 61% ( 9/25) checking package integrity [####################--] 92% (10/25) checking package integrity [####################--] 92% (11/25) checking package integrity [####################--] 92% (12/25) checking package integrity [####################--] 92% (13/25) checking package integrity [####################--] 93% (14/25) checking package integrity [####################--] 93% (15/25) checking package integrity [#####################-] 97% (16/25) checking package integrity [#####################-] 97% (17/25) checking package integrity [#####################-] 97% (18/25) checking package integrity [#####################-] 97% (19/25) checking package integrity [#####################-] 97% (20/25) checking package integrity [#####################-] 97% (21/25) checking package integrity [#####################-] 98% (22/25) checking package integrity [#####################-] 98% (23/25) checking package integrity [#####################-] 98% (24/25) checking package integrity [#####################-] 98% (25/25) checking package integrity [######################] 100% ( 0/25) loading package files [----------------------] 0% ( 1/25) loading package files [----------------------] 0% ( 2/25) loading package files [----------------------] 0% ( 3/25) loading package files [----------------------] 0% ( 4/25) loading package files [----------------------] 0% ( 5/25) loading package files [----------------------] 1% ( 6/25) loading package files [#####-----------------] 25% ( 7/25) loading package files [######----------------] 30% ( 8/25) loading package files [#############---------] 61% ( 9/25) loading package files [####################--] 92% (10/25) loading package files [####################--] 92% (11/25) loading package files [####################--] 92% (12/25) loading package files [####################--] 92% (13/25) loading package files [####################--] 93% (14/25) loading package files [####################--] 93% (15/25) loading package files [#####################-] 97% (16/25) loading package files [#####################-] 97% (17/25) loading package files [#####################-] 97% (18/25) loading package files [#####################-] 97% (19/25) loading package files [#####################-] 97% (20/25) loading package files [#####################-] 97% (21/25) loading package files [#####################-] 98% (22/25) loading package files [#####################-] 98% (23/25) loading package files [#####################-] 98% (24/25) loading package files [#####################-] 98% (25/25) loading package files [######################] 100% ( 0/25) checking for file conflicts [----------------------] 0% ( 1/25) checking for file conflicts [----------------------] 4% ( 2/25) checking for file conflicts [#---------------------] 8% ( 3/25) checking for file conflicts [##--------------------] 12% ( 4/25) checking for file conflicts [###-------------------] 16% ( 5/25) checking for file conflicts [####------------------] 20% ( 6/25) checking for file conflicts [#####-----------------] 24% ( 7/25) checking for file conflicts [######----------------] 28% ( 8/25) checking for file conflicts [#######---------------] 32% ( 9/25) checking for file conflicts [#######---------------] 36% (10/25) checking for file conflicts [########--------------] 40% (11/25) checking for file conflicts [#########-------------] 44% (12/25) checking for file conflicts [##########------------] 48% (13/25) checking for file conflicts [###########-----------] 52% (14/25) checking for file conflicts [############----------] 56% (15/25) checking for file conflicts [#############---------] 60% (16/25) checking for file conflicts [##############--------] 64% (17/25) checking for file conflicts [##############--------] 68% (18/25) checking for file conflicts [###############-------] 72% (19/25) checking for file conflicts [################------] 76% (20/25) checking for file conflicts [#################-----] 80% (21/25) checking for file conflicts [##################----] 84% (22/25) checking for file conflicts [###################---] 88% (23/25) checking for file conflicts [####################--] 92% (24/25) checking for file conflicts [#####################-] 96% (25/25) checking for file conflicts [######################] 100% ( 0/25) checking available disk space [----------------------] 0% ( 1/25) checking available disk space [----------------------] 4% ( 2/25) checking available disk space [#---------------------] 8% ( 3/25) checking available disk space [##--------------------] 12% ( 4/25) checking available disk space [###-------------------] 16% ( 5/25) checking available disk space [####------------------] 20% ( 6/25) checking available disk space [#####-----------------] 24% ( 7/25) checking available disk space [######----------------] 28% ( 8/25) checking available disk space [#######---------------] 32% ( 9/25) checking available disk space [#######---------------] 36% (10/25) checking available disk space [########--------------] 40% (11/25) checking available disk space [#########-------------] 44% (12/25) checking available disk space [##########------------] 48% (13/25) checking available disk space [###########-----------] 52% (14/25) checking available disk space [############----------] 56% (15/25) checking available disk space [#############---------] 60% (16/25) checking available disk space [##############--------] 64% (17/25) checking available disk space [##############--------] 68% (18/25) checking available disk space [###############-------] 72% (19/25) checking available disk space [################------] 76% (20/25) checking available disk space [#################-----] 80% (21/25) checking available disk space [##################----] 84% (22/25) checking available disk space [###################---] 88% (23/25) checking available disk space [####################--] 92% (24/25) checking available disk space [#####################-] 96% (25/25) checking available disk space [######################] 100% :: Processing package changes... ( 1/25) installing hicolor-icon-theme [----------------------] 0% ( 1/25) installing hicolor-icon-theme [######################] 100% ( 2/25) installing jsoncpp [----------------------] 0% ( 2/25) installing jsoncpp [######################] 100% Optional dependencies for jsoncpp jsoncpp-doc: documentation ( 3/25) installing libnsl [----------------------] 0% ( 3/25) installing libnsl [######################] 100% ( 4/25) installing libuv [----------------------] 0% ( 4/25) installing libuv [######################] 100% ( 5/25) installing rhash [----------------------] 0% ( 5/25) installing rhash [######################] 100% ( 6/25) installing cmake [----------------------] 0% ( 6/25) installing cmake [######################] 100% Optional dependencies for cmake qt6-base: cmake-gui ( 7/25) installing boost-libs [----------------------] 0% ( 7/25) installing boost-libs [######################] 100% Optional dependencies for boost-libs openmpi: for mpi support ( 8/25) installing boost [----------------------] 0% ( 8/25) installing boost [----------------------] 0% ( 8/25) installing boost [----------------------] 0% ( 8/25) installing boost [##########------------] 49% ( 8/25) installing boost [######################] 100% Optional dependencies for boost python: for python bindings [pending] ( 9/25) installing python [----------------------] 0% ( 9/25) installing python [----------------------] 0% ( 9/25) installing python [----------------------] 0% ( 9/25) installing python [######################] 100% Optional dependencies for python python-setuptools [pending] python-pip sqlite [installed] mpdecimal: for decimal xz: for lzma [installed] tk: for tkinter (10/25) installing python-more-itertools [----------------------] 0% (10/25) installing python-more-itertools [######################] 100% (11/25) installing python-jaraco.functools [----------------------] 0% (11/25) installing python-jaraco.functools [######################] 100% (12/25) installing python-jaraco.context [----------------------] 0% (12/25) installing python-jaraco.context [######################] 100% (13/25) installing python-autocommand [----------------------] 0% (13/25) installing python-autocommand [######################] 100% (14/25) installing python-typing_extensions [----------------------] 0% (14/25) installing python-typing_extensions [######################] 100% (15/25) installing python-pydantic [----------------------] 0% (15/25) installing python-pydantic [######################] 100% Optional dependencies for python-pydantic python-dotenv: for .env file support python-email-validator: for email validation (16/25) installing python-inflect [----------------------] 0% (16/25) installing python-inflect [######################] 100% (17/25) installing python-jaraco.text [----------------------] 0% (17/25) installing python-jaraco.text [######################] 100% (18/25) installing python-ordered-set [----------------------] 0% (18/25) installing python-ordered-set [######################] 100% (19/25) installing python-packaging [----------------------] 0% (19/25) installing python-packaging [######################] 100% (20/25) installing python-platformdirs [----------------------] 0% (20/25) installing python-platformdirs [######################] 100% (21/25) installing python-tomli [----------------------] 0% (21/25) installing python-tomli [######################] 100% (22/25) installing python-fastjsonschema [----------------------] 0% (22/25) installing python-fastjsonschema [######################] 100% (23/25) installing python-trove-classifiers [----------------------] 0% (23/25) installing python-trove-classifiers [######################] 100% (24/25) installing python-validate-pyproject [----------------------] 0% (24/25) installing python-validate-pyproject [######################] 100% (25/25) installing python-setuptools [----------------------] 0% (25/25) installing python-setuptools [######################] 100% [?25h==>(B Retrieving sources...(B  ->(B Found dlib-19.24.tar.bz2(B ==> WARNING:(B Skipping all source file integrity checks.(B ==>(B Extracting sources...(B  ->(B Extracting dlib-19.24.tar.bz2 with bsdtar(B ==>(B Starting prepare()...(B ==>(B Starting build()...(B running build running build_py running build_ext Building extension for Python 3.11.3 (main, Apr 5 2023, 15:52:25) [GCC 12.2.1 20230201] Invoking CMake setup: 'cmake /build/python-dlib/src/dlib-19.24/tools/python -DCMAKE_LIBRARY_OUTPUT_DIRECTORY=/build/python-dlib/src/dlib-19.24/build/lib.linux-x86_64-cpython-311 -DPYTHON_EXECUTABLE=/usr/bin/python -DDLIB_USE_CUDA=no -DCMAKE_BUILD_TYPE=Release' -- The C compiler identification is GNU 13.1.1 -- The CXX compiler identification is GNU 13.1.1 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/cc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /usr/bin/c++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Found PythonInterp: /usr/bin/python (found version "3.11.3") -- Found PythonLibs: /usr/lib/libpython3.11.so -- Performing Test HAS_CPP14_FLAG -- Performing Test HAS_CPP14_FLAG - Success -- pybind11 v2.2.4 -- Using CMake version: 3.26.3 -- Compiling dlib version: 19.24.0 -- SSE4 instructions can be executed by the host processor. -- AVX instructions can be executed by the host processor. -- Enabling AVX instructions -- Performing Test CMAKE_HAVE_LIBC_PTHREAD -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success -- Found Threads: TRUE -- Found X11: /usr/include -- Looking for XOpenDisplay in /usr/lib/libX11.so -- Looking for XOpenDisplay in /usr/lib/libX11.so - found -- Looking for gethostbyname -- Looking for gethostbyname - found -- Looking for connect -- Looking for connect - found -- Looking for remove -- Looking for remove - found -- Looking for shmat -- Looking for shmat - found -- Found system copy of libpng: /usr/lib/libpng.so;/usr/lib/libz.so -- Found system copy of libjpeg: /usr/lib/libjpeg.so -- Searching for BLAS and LAPACK -- Searching for BLAS and LAPACK -- Found PkgConfig: /usr/bin/pkg-config (found version "1.8.1") -- Checking for module 'cblas' -- Found cblas, version 3.11.0 -- Checking for module 'lapack' -- Found lapack, version 3.11.0 -- Looking for cblas_ddot -- Looking for cblas_ddot - found -- Found BLAS and LAPACK via pkg-config -- C++11 activated. -- Configuring done (2.3s) -- Generating done (0.0s) -- Build files have been written to: /build/python-dlib/src/dlib-19.24/build/temp.linux-x86_64-cpython-311 Invoking CMake build: 'cmake --build . --config Release -- -j16' [ 1%] Building CXX object dlib_build/CMakeFiles/dlib.dir/base64/base64_kernel_1.cpp.o [ 2%] Building CXX object dlib_build/CMakeFiles/dlib.dir/bigint/bigint_kernel_1.cpp.o [ 3%] Building CXX object dlib_build/CMakeFiles/dlib.dir/bigint/bigint_kernel_2.cpp.o [ 4%] Building CXX object dlib_build/CMakeFiles/dlib.dir/bit_stream/bit_stream_kernel_1.cpp.o [ 5%] Building CXX object dlib_build/CMakeFiles/dlib.dir/entropy_decoder/entropy_decoder_kernel_1.cpp.o [ 6%] Building CXX object dlib_build/CMakeFiles/dlib.dir/entropy_decoder/entropy_decoder_kernel_2.cpp.o [ 8%] Building CXX object dlib_build/CMakeFiles/dlib.dir/entropy_encoder/entropy_encoder_kernel_1.cpp.o [ 9%] Building CXX object dlib_build/CMakeFiles/dlib.dir/md5/md5_kernel_1.cpp.o [ 10%] Building CXX object dlib_build/CMakeFiles/dlib.dir/entropy_encoder/entropy_encoder_kernel_2.cpp.o [ 11%] Building CXX object dlib_build/CMakeFiles/dlib.dir/tokenizer/tokenizer_kernel_1.cpp.o [ 12%] Building CXX object dlib_build/CMakeFiles/dlib.dir/unicode/unicode.cpp.o [ 14%] Building CXX object dlib_build/CMakeFiles/dlib.dir/bsp/bsp.cpp.o [ 14%] Building CXX object dlib_build/CMakeFiles/dlib.dir/test_for_odr_violations.cpp.o [ 16%] Building CXX object dlib_build/CMakeFiles/dlib.dir/sockets/sockets_kernel_1.cpp.o [ 17%] Building CXX object dlib_build/CMakeFiles/dlib.dir/dir_nav/dir_nav_kernel_1.cpp.o [ 18%] Building CXX object dlib_build/CMakeFiles/dlib.dir/dir_nav/dir_nav_kernel_2.cpp.o [ 20%] Building CXX object dlib_build/CMakeFiles/dlib.dir/dir_nav/dir_nav_extensions.cpp.o [ 20%] Building CXX object dlib_build/CMakeFiles/dlib.dir/gui_widgets/fonts.cpp.o [ 21%] Building CXX object dlib_build/CMakeFiles/dlib.dir/linker/linker_kernel_1.cpp.o [ 22%] Building CXX object dlib_build/CMakeFiles/dlib.dir/logger/extra_logger_headers.cpp.o [ 24%] Building CXX object dlib_build/CMakeFiles/dlib.dir/logger/logger_kernel_1.cpp.o [ 25%] Building CXX object dlib_build/CMakeFiles/dlib.dir/logger/logger_config_file.cpp.o [ 26%] Building CXX object dlib_build/CMakeFiles/dlib.dir/misc_api/misc_api_kernel_1.cpp.o [ 27%] Building CXX object dlib_build/CMakeFiles/dlib.dir/misc_api/misc_api_kernel_2.cpp.o [ 28%] Building CXX object dlib_build/CMakeFiles/dlib.dir/sockets/sockets_extensions.cpp.o [ 29%] Building CXX object dlib_build/CMakeFiles/dlib.dir/sockets/sockets_kernel_2.cpp.o [ 31%] Building CXX object dlib_build/CMakeFiles/dlib.dir/sockstreambuf/sockstreambuf.cpp.o [ 32%] Building CXX object dlib_build/CMakeFiles/dlib.dir/sockstreambuf/sockstreambuf_unbuffered.cpp.o [ 33%] Building CXX object dlib_build/CMakeFiles/dlib.dir/server/server_kernel.cpp.o [ 34%] Building CXX object dlib_build/CMakeFiles/dlib.dir/server/server_iostream.cpp.o [ 35%] Building CXX object dlib_build/CMakeFiles/dlib.dir/server/server_http.cpp.o [ 36%] Building CXX object dlib_build/CMakeFiles/dlib.dir/threads/multithreaded_object_extension.cpp.o [ 37%] Building CXX object dlib_build/CMakeFiles/dlib.dir/threads/threaded_object_extension.cpp.o [ 39%] Building CXX object dlib_build/CMakeFiles/dlib.dir/threads/threads_kernel_1.cpp.o [ 40%] Building CXX object dlib_build/CMakeFiles/dlib.dir/threads/threads_kernel_2.cpp.o [ 41%] Building CXX object dlib_build/CMakeFiles/dlib.dir/threads/threads_kernel_shared.cpp.o [ 42%] Building CXX object dlib_build/CMakeFiles/dlib.dir/threads/thread_pool_extension.cpp.o [ 43%] Building CXX object dlib_build/CMakeFiles/dlib.dir/threads/async.cpp.o [ 44%] Building CXX object dlib_build/CMakeFiles/dlib.dir/timer/timer.cpp.o [ 45%] Building CXX object dlib_build/CMakeFiles/dlib.dir/stack_trace.cpp.o [ 47%] Building CXX object dlib_build/CMakeFiles/dlib.dir/cuda/cpu_dlib.cpp.o [ 48%] Building CXX object dlib_build/CMakeFiles/dlib.dir/cuda/tensor_tools.cpp.o [ 49%] Building CXX object dlib_build/CMakeFiles/dlib.dir/data_io/image_dataset_metadata.cpp.o [ 50%] Building CXX object dlib_build/CMakeFiles/dlib.dir/data_io/mnist.cpp.o [ 51%] Building CXX object dlib_build/CMakeFiles/dlib.dir/data_io/cifar.cpp.o [ 52%] Building CXX object dlib_build/CMakeFiles/dlib.dir/global_optimization/global_function_search.cpp.o [ 54%] Building CXX object dlib_build/CMakeFiles/dlib.dir/filtering/kalman_filter.cpp.o [ 55%] Building CXX object dlib_build/CMakeFiles/dlib.dir/svm/auto.cpp.o [ 56%] Building CXX object dlib_build/CMakeFiles/dlib.dir/gui_widgets/widgets.cpp.o [ 57%] Building CXX object dlib_build/CMakeFiles/dlib.dir/gui_widgets/drawable.cpp.o [ 58%] Building CXX object dlib_build/CMakeFiles/dlib.dir/gui_widgets/canvas_drawing.cpp.o [ 59%] Building CXX object dlib_build/CMakeFiles/dlib.dir/gui_widgets/style.cpp.o [ 60%] Building CXX object dlib_build/CMakeFiles/dlib.dir/gui_widgets/base_widgets.cpp.o [ 62%] Building CXX object dlib_build/CMakeFiles/dlib.dir/gui_core/gui_core_kernel_1.cpp.o [ 63%] Building CXX object dlib_build/CMakeFiles/dlib.dir/gui_core/gui_core_kernel_2.cpp.o [ 64%] Building CXX object dlib_build/CMakeFiles/dlib.dir/image_loader/png_loader.cpp.o [ 65%] Building CXX object dlib_build/CMakeFiles/dlib.dir/image_saver/save_png.cpp.o [ 66%] Building CXX object dlib_build/CMakeFiles/dlib.dir/image_loader/jpeg_loader.cpp.o [ 67%] Building CXX object dlib_build/CMakeFiles/dlib.dir/image_saver/save_jpeg.cpp.o [ 68%] Linking CXX static library libdlib.a [ 68%] Built target dlib [ 70%] Building CXX object CMakeFiles/_dlib_pybind11.dir/src/dlib.cpp.o [ 71%] Building CXX object CMakeFiles/_dlib_pybind11.dir/src/matrix.cpp.o [ 72%] Building CXX object CMakeFiles/_dlib_pybind11.dir/src/vector.cpp.o [ 73%] Building CXX object CMakeFiles/_dlib_pybind11.dir/src/svm_rank_trainer.cpp.o [ 74%] Building CXX object CMakeFiles/_dlib_pybind11.dir/src/svm_c_trainer.cpp.o [ 75%] Building CXX object CMakeFiles/_dlib_pybind11.dir/src/basic.cpp.o [ 77%] Building CXX object CMakeFiles/_dlib_pybind11.dir/src/decision_functions.cpp.o [ 79%] Building CXX object CMakeFiles/_dlib_pybind11.dir/src/cca.cpp.o [ 79%] Building CXX object CMakeFiles/_dlib_pybind11.dir/src/other.cpp.o [ 80%] Building CXX object CMakeFiles/_dlib_pybind11.dir/src/sequence_segmenter.cpp.o [ 81%] Building CXX object CMakeFiles/_dlib_pybind11.dir/src/svm_struct.cpp.o [ 82%] Building CXX object CMakeFiles/_dlib_pybind11.dir/src/image2.cpp.o [ 85%] Building CXX object CMakeFiles/_dlib_pybind11.dir/src/rectangles.cpp.o [ 85%] Building CXX object CMakeFiles/_dlib_pybind11.dir/src/image.cpp.o [ 86%] Building CXX object CMakeFiles/_dlib_pybind11.dir/src/image4.cpp.o [ 87%] Building CXX object CMakeFiles/_dlib_pybind11.dir/src/image3.cpp.o In file included from /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/cast.h:16, from /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/attr.h:13, from /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /build/python-dlib/src/dlib-19.24/dlib/../dlib/python/pybind_utils.h:6, from /build/python-dlib/src/dlib-19.24/dlib/../dlib/python.h:6, from /build/python-dlib/src/dlib-19.24/tools/python/src/opaque_types.h:6, from /build/python-dlib/src/dlib-19.24/tools/python/src/matrix.cpp:4: /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/detail/internals.h: In function ‘pybind11::detail::internals& pybind11::detail::get_internals()’: /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/detail/internals.h:194:27: warning: ‘void PyEval_InitThreads()’ is deprecated [-Wdeprecated-declarations] 194 | PyEval_InitThreads(); | ~~~~~~~~~~~~~~~~~~^~ In file included from /usr/include/python3.11/Python.h:95, from /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/detail/common.h:112, from /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/cast.h:13: /usr/include/python3.11/ceval.h:132:37: note: declared here 132 | Py_DEPRECATED(3.9) PyAPI_FUNC(void) PyEval_InitThreads(void); | ^~~~~~~~~~~~~~~~~~ In file included from /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/cast.h:16, from /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/attr.h:13, from /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /build/python-dlib/src/dlib-19.24/dlib/../dlib/python/pybind_utils.h:6, from /build/python-dlib/src/dlib-19.24/dlib/../dlib/python.h:6, from /build/python-dlib/src/dlib-19.24/tools/python/src/basic.cpp:3: /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/detail/internals.h: In function ‘pybind11::detail::internals& pybind11::detail::get_internals()’: /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/detail/internals.h:194:27: warning: ‘void PyEval_InitThreads()’ is deprecated [-Wdeprecated-declarations] 194 | PyEval_InitThreads(); | ~~~~~~~~~~~~~~~~~~^~ In file included from /usr/include/python3.11/Python.h:95, from /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/detail/common.h:112, from /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/cast.h:13: /usr/include/python3.11/ceval.h:132:37: note: declared here 132 | Py_DEPRECATED(3.9) PyAPI_FUNC(void) PyEval_InitThreads(void); | ^~~~~~~~~~~~~~~~~~ /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/cast.h: In function ‘std::string pybind11::detail::error_string()’: /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/cast.h:441:36: error: invalid use of incomplete type ‘PyFrameObject’ {aka ‘struct _frame’} 441 | " " + handle(frame->f_code->co_filename).cast() + | ^~ In file included from /usr/include/python3.11/Python.h:42: /usr/include/python3.11/pytypedefs.h:22:16: note: forward declaration of ‘PyFrameObject’ {aka ‘struct _frame’} 22 | typedef struct _frame PyFrameObject; | ^~~~~~ /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/cast.h:441:75: error: expected primary-expression before ‘>’ token 441 | " " + handle(frame->f_code->co_filename).cast() + | ^ /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/cast.h:441:77: error: expected primary-expression before ‘)’ token 441 | " " + handle(frame->f_code->co_filename).cast() + | ^ /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/cast.h:443:29: error: invalid use of incomplete type ‘PyFrameObject’ {aka ‘struct _frame’} 443 | handle(frame->f_code->co_name).cast() + "\n"; | ^~ /usr/include/python3.11/pytypedefs.h:22:16: note: forward declaration of ‘PyFrameObject’ {aka ‘struct _frame’} 22 | typedef struct _frame PyFrameObject; | ^~~~~~ /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/cast.h:443:64: error: expected primary-expression before ‘>’ token 443 | handle(frame->f_code->co_name).cast() + "\n"; | ^ /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/cast.h:443:66: error: expected primary-expression before ‘)’ token 443 | handle(frame->f_code->co_name).cast() + "\n"; | ^ /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/cast.h:444:26: error: invalid use of incomplete type ‘PyFrameObject’ {aka ‘struct _frame’} 444 | frame = frame->f_back; | ^~ /usr/include/python3.11/pytypedefs.h:22:16: note: forward declaration of ‘PyFrameObject’ {aka ‘struct _frame’} 22 | typedef struct _frame PyFrameObject; | ^~~~~~ In file included from /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/cast.h:16, from /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/attr.h:13, from /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /build/python-dlib/src/dlib-19.24/dlib/../dlib/python/pybind_utils.h:6, from /build/python-dlib/src/dlib-19.24/dlib/../dlib/python.h:6, from /build/python-dlib/src/dlib-19.24/tools/python/src/opaque_types.h:6, from /build/python-dlib/src/dlib-19.24/tools/python/src/dlib.cpp:4: /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/detail/internals.h: In function ‘pybind11::detail::internals& pybind11::detail::get_internals()’: /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/detail/internals.h:194:27: warning: ‘void PyEval_InitThreads()’ is deprecated [-Wdeprecated-declarations] 194 | PyEval_InitThreads(); | ~~~~~~~~~~~~~~~~~~^~ In file included from /usr/include/python3.11/Python.h:95, from /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/detail/common.h:112, from /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/cast.h:13: /usr/include/python3.11/ceval.h:132:37: note: declared here 132 | Py_DEPRECATED(3.9) PyAPI_FUNC(void) PyEval_InitThreads(void); | ^~~~~~~~~~~~~~~~~~ /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/cast.h: In function ‘std::string pybind11::detail::error_string()’: /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/cast.h:441:36: error: invalid use of incomplete type ‘PyFrameObject’ {aka ‘struct _frame’} 441 | " " + handle(frame->f_code->co_filename).cast() + | ^~ In file included from /usr/include/python3.11/Python.h:42: /usr/include/python3.11/pytypedefs.h:22:16: note: forward declaration of ‘PyFrameObject’ {aka ‘struct _frame’} 22 | typedef struct _frame PyFrameObject; | ^~~~~~ /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/cast.h:441:75: error: expected primary-expression before ‘>’ token 441 | " " + handle(frame->f_code->co_filename).cast() + | ^ /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/cast.h:441:77: error: expected primary-expression before ‘)’ token 441 | " " + handle(frame->f_code->co_filename).cast() + | ^ /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/cast.h:443:29: error: invalid use of incomplete type ‘PyFrameObject’ {aka ‘struct _frame’} 443 | handle(frame->f_code->co_name).cast() + "\n"; | ^~ /usr/include/python3.11/pytypedefs.h:22:16: note: forward declaration of ‘PyFrameObject’ {aka ‘struct _frame’} 22 | typedef struct _frame PyFrameObject; | ^~~~~~ /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/cast.h:443:64: error: expected primary-expression before ‘>’ token 443 | handle(frame->f_code->co_name).cast() + "\n"; | ^ /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/cast.h:443:66: error: expected primary-expression before ‘)’ token 443 | handle(frame->f_code->co_name).cast() + "\n"; | ^ /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/cast.h:444:26: error: invalid use of incomplete type ‘PyFrameObject’ {aka ‘struct _frame’} 444 | frame = frame->f_back; | ^~ /usr/include/python3.11/pytypedefs.h:22:16: note: forward declaration of ‘PyFrameObject’ {aka ‘struct _frame’} 22 | typedef struct _frame PyFrameObject; | ^~~~~~ In file included from /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/cast.h:16, from /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/attr.h:13, from /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /build/python-dlib/src/dlib-19.24/dlib/../dlib/python/pybind_utils.h:6, from /build/python-dlib/src/dlib-19.24/dlib/../dlib/python.h:6, from /build/python-dlib/src/dlib-19.24/tools/python/src/opaque_types.h:6, from /build/python-dlib/src/dlib-19.24/tools/python/src/cca.cpp:4: /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/detail/internals.h: In function ‘pybind11::detail::internals& pybind11::detail::get_internals()’: /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/detail/internals.h:194:27: warning: ‘void PyEval_InitThreads()’ is deprecated [-Wdeprecated-declarations] 194 | PyEval_InitThreads(); | ~~~~~~~~~~~~~~~~~~^~ In file included from /usr/include/python3.11/Python.h:95, from /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/detail/common.h:112, from /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/cast.h:13: /usr/include/python3.11/ceval.h:132:37: note: declared here 132 | Py_DEPRECATED(3.9) PyAPI_FUNC(void) PyEval_InitThreads(void); | ^~~~~~~~~~~~~~~~~~ /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/cast.h: In function ‘std::string pybind11::detail::error_string()’: /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/cast.h:441:36: error: invalid use of incomplete type ‘PyFrameObject’ {aka ‘struct _frame’} 441 | " " + handle(frame->f_code->co_filename).cast() + | ^~ In file included from /usr/include/python3.11/Python.h:42: /usr/include/python3.11/pytypedefs.h:22:16: note: forward declaration of ‘PyFrameObject’ {aka ‘struct _frame’} 22 | typedef struct _frame PyFrameObject; | ^~~~~~ /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/cast.h:441:75: error: expected primary-expression before ‘>’ token 441 | " " + handle(frame->f_code->co_filename).cast() + | ^ /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/cast.h:441:77: error: expected primary-expression before ‘)’ token 441 | " " + handle(frame->f_code->co_filename).cast() + | ^ /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/cast.h:443:29: error: invalid use of incomplete type ‘PyFrameObject’ {aka ‘struct _frame’} 443 | handle(frame->f_code->co_name).cast() + "\n"; | ^~ /usr/include/python3.11/pytypedefs.h:22:16: note: forward declaration of ‘PyFrameObject’ {aka ‘struct _frame’} 22 | typedef struct _frame PyFrameObject; | ^~~~~~ /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/cast.h:443:64: error: expected primary-expression before ‘>’ token 443 | handle(frame->f_code->co_name).cast() + "\n"; | ^ /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/cast.h:443:66: error: expected primary-expression before ‘)’ token 443 | handle(frame->f_code->co_name).cast() + "\n"; | ^ /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/cast.h:444:26: error: invalid use of incomplete type ‘PyFrameObject’ {aka ‘struct _frame’} 444 | frame = frame->f_back; | ^~ /usr/include/python3.11/pytypedefs.h:22:16: note: forward declaration of ‘PyFrameObject’ {aka ‘struct _frame’} 22 | typedef struct _frame PyFrameObject; | ^~~~~~ /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/attr.h: At global scope: /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/attr.h:185:10: error: ‘uint16_t’ in namespace ‘std’ does not name a type; did you mean ‘wint_t’? 185 | std::uint16_t nargs; | ^~~~~~~~ | wint_t /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/attr.h: In constructor ‘pybind11::detail::function_call::function_call(pybind11::detail::function_record&, pybind11::handle)’: /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/attr.h:283:20: error: ‘struct pybind11::detail::function_record’ has no member named ‘nargs’; did you mean ‘args’? 283 | args.reserve(f.nargs); | ^~~~~ | args /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/attr.h:284:28: error: ‘struct pybind11::detail::function_record’ has no member named ‘nargs’; did you mean ‘args’? 284 | args_convert.reserve(f.nargs); | ^~~~~ | args In file included from /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/cast.h:16, from /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/attr.h:13, from /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /build/python-dlib/src/dlib-19.24/dlib/../dlib/python/pybind_utils.h:6, from /build/python-dlib/src/dlib-19.24/dlib/../dlib/python.h:6, from /build/python-dlib/src/dlib-19.24/tools/python/src/opaque_types.h:6, from /build/python-dlib/src/dlib-19.24/tools/python/src/other.cpp:4: /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/detail/internals.h: In function ‘pybind11::detail::internals& pybind11::detail::get_internals()’: /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/detail/internals.h:194:27: warning: ‘void PyEval_InitThreads()’ is deprecated [-Wdeprecated-declarations] 194 | PyEval_InitThreads(); | ~~~~~~~~~~~~~~~~~~^~ In file included from /usr/include/python3.11/Python.h:95, from /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/detail/common.h:112, from /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/cast.h:13: /usr/include/python3.11/ceval.h:132:37: note: declared here 132 | Py_DEPRECATED(3.9) PyAPI_FUNC(void) PyEval_InitThreads(void); | ^~~~~~~~~~~~~~~~~~ /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/attr.h: At global scope: /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/attr.h:185:10: error: ‘uint16_t’ in namespace ‘std’ does not name a type; did you mean ‘wint_t’? 185 | std::uint16_t nargs; | ^~~~~~~~ | wint_t /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/cast.h: In function ‘std::string pybind11::detail::error_string()’: /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/cast.h:441:36: error: invalid use of incomplete type ‘PyFrameObject’ {aka ‘struct _frame’} 441 | " " + handle(frame->f_code->co_filename).cast() + | ^~ In file included from /usr/include/python3.11/Python.h:42: /usr/include/python3.11/pytypedefs.h:22:16: note: forward declaration of ‘PyFrameObject’ {aka ‘struct _frame’} 22 | typedef struct _frame PyFrameObject; | ^~~~~~ /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/cast.h:441:75: error: expected primary-expression before ‘>’ token 441 | " " + handle(frame->f_code->co_filename).cast() + | ^ /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/cast.h:441:77: error: expected primary-expression before ‘)’ token 441 | " " + handle(frame->f_code->co_filename).cast() + | ^ /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/cast.h:443:29: error: invalid use of incomplete type ‘PyFrameObject’ {aka ‘struct _frame’} 443 | handle(frame->f_code->co_name).cast() + "\n"; | ^~ /usr/include/python3.11/pytypedefs.h:22:16: note: forward declaration of ‘PyFrameObject’ {aka ‘struct _frame’} 22 | typedef struct _frame PyFrameObject; | ^~~~~~ /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/cast.h:443:64: error: expected primary-expression before ‘>’ token 443 | handle(frame->f_code->co_name).cast() + "\n"; | ^ /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/cast.h:443:66: error: expected primary-expression before ‘)’ token 443 | handle(frame->f_code->co_name).cast() + "\n"; | ^ /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/cast.h:444:26: error: invalid use of incomplete type ‘PyFrameObject’ {aka ‘struct _frame’} 444 | frame = frame->f_back; | ^~ /usr/include/python3.11/pytypedefs.h:22:16: note: forward declaration of ‘PyFrameObject’ {aka ‘struct _frame’} 22 | typedef struct _frame PyFrameObject; | ^~~~~~ /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/attr.h: In constructor ‘pybind11::detail::function_call::function_call(pybind11::detail::function_record&, pybind11::handle)’: /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/attr.h:283:20: error: ‘struct pybind11::detail::function_record’ has no member named ‘nargs’; did you mean ‘args’? 283 | args.reserve(f.nargs); | ^~~~~ | args /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/attr.h:284:28: error: ‘struct pybind11::detail::function_record’ has no member named ‘nargs’; did you mean ‘args’? 284 | args_convert.reserve(f.nargs); | ^~~~~ | args /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/pybind11.h: In member function ‘void pybind11::cpp_function::initialize_generic(pybind11::detail::function_record*, const char*, const std::type_info* const*, pybind11::size_t)’: /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/pybind11.h:291:14: error: ‘struct pybind11::detail::function_record’ has no member named ‘nargs’; did you mean ‘args’? 291 | rec->nargs = (std::uint16_t) args; | ^~~~~ | args /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/pybind11.h:291:28: error: ‘uint16_t’ is not a member of ‘std’; did you mean ‘wint_t’? 291 | rec->nargs = (std::uint16_t) args; | ^~~~~~~~ | wint_t /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/pybind11.h: In static member function ‘static PyObject* pybind11::cpp_function::dispatcher(PyObject*, PyObject*, PyObject*)’: /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/pybind11.h:489:40: error: ‘struct pybind11::detail::function_record’ has no member named ‘nargs’; did you mean ‘args’? 489 | size_t pos_args = func.nargs; // Number of positional arguments that we need | ^~~~~ | args /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/pybind11.h:620:53: error: ‘struct pybind11::detail::function_record’ has no member named ‘nargs’; did you mean ‘args’? 620 | second_pass_convert.resize(func.nargs, false); | ^~~~~ | args In file included from /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/cast.h:16, from /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/attr.h:13, from /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /build/python-dlib/src/dlib-19.24/dlib/../dlib/python/pybind_utils.h:6, from /build/python-dlib/src/dlib-19.24/dlib/../dlib/python.h:6, from /build/python-dlib/src/dlib-19.24/tools/python/src/rectangles.cpp:4: /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/detail/internals.h: In function ‘pybind11::detail::internals& pybind11::detail::get_internals()’: /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/detail/internals.h:194:27: warning: ‘void PyEval_InitThreads()’ is deprecated [-Wdeprecated-declarations] 194 | PyEval_InitThreads(); | ~~~~~~~~~~~~~~~~~~^~ In file included from /usr/include/python3.11/Python.h:95, from /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/detail/common.h:112, from /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/cast.h:13: /usr/include/python3.11/ceval.h:132:37: note: declared here 132 | Py_DEPRECATED(3.9) PyAPI_FUNC(void) PyEval_InitThreads(void); | ^~~~~~~~~~~~~~~~~~ /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/pybind11.h: In member function ‘void pybind11::cpp_function::initialize_generic(pybind11::detail::function_record*, const char*, const std::type_info* const*, pybind11::size_t)’: /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/pybind11.h:291:14: error: ‘struct pybind11::detail::function_record’ has no member named ‘nargs’; did you mean ‘args’? 291 | rec->nargs = (std::uint16_t) args; | ^~~~~ | args /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/attr.h: At global scope: /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/attr.h:185:10: error: ‘uint16_t’ in namespace ‘std’ does not name a type; did you mean ‘wint_t’? 185 | std::uint16_t nargs; | ^~~~~~~~ | wint_t /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/cast.h: In function ‘std::string pybind11::detail::error_string()’: /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/cast.h:441:36: error: invalid use of incomplete type ‘PyFrameObject’ {aka ‘struct _frame’} 441 | " " + handle(frame->f_code->co_filename).cast() + | ^~ In file included from /usr/include/python3.11/Python.h:42: /usr/include/python3.11/pytypedefs.h:22:16: note: forward declaration of ‘PyFrameObject’ {aka ‘struct _frame’} 22 | typedef struct _frame PyFrameObject; | ^~~~~~ /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/cast.h:441:75: error: expected primary-expression before ‘>’ token 441 | " " + handle(frame->f_code->co_filename).cast() + | ^ /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/cast.h:441:77: error: expected primary-expression before ‘)’ token 441 | " " + handle(frame->f_code->co_filename).cast() + | ^ /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/cast.h:443:29: error: invalid use of incomplete type ‘PyFrameObject’ {aka ‘struct _frame’} 443 | handle(frame->f_code->co_name).cast() + "\n"; | ^~ /usr/include/python3.11/pytypedefs.h:22:16: note: forward declaration of ‘PyFrameObject’ {aka ‘struct _frame’} 22 | typedef struct _frame PyFrameObject; | ^~~~~~ /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/cast.h:443:64: error: expected primary-expression before ‘>’ token 443 | handle(frame->f_code->co_name).cast() + "\n"; | ^ /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/pybind11.h:291:28: error: ‘uint16_t’ is not a member of ‘std’; did you mean ‘wint_t’? 291 | rec->nargs = (std::uint16_t) args; | ^~~~~~~~ | wint_t /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/cast.h:443:66: error: expected primary-expression before ‘)’ token 443 | handle(frame->f_code->co_name).cast() + "\n"; | ^ /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/cast.h:444:26: error: invalid use of incomplete type ‘PyFrameObject’ {aka ‘struct _frame’} 444 | frame = frame->f_back; | ^~ /usr/include/python3.11/pytypedefs.h:22:16: note: forward declaration of ‘PyFrameObject’ {aka ‘struct _frame’} 22 | typedef struct _frame PyFrameObject; | ^~~~~~ /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/attr.h: In constructor ‘pybind11::detail::function_call::function_call(pybind11::detail::function_record&, pybind11::handle)’: /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/attr.h:283:20: error: ‘struct pybind11::detail::function_record’ has no member named ‘nargs’; did you mean ‘args’? 283 | args.reserve(f.nargs); | ^~~~~ | args /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/attr.h:284:28: error: ‘struct pybind11::detail::function_record’ has no member named ‘nargs’; did you mean ‘args’? 284 | args_convert.reserve(f.nargs); | ^~~~~ | args /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/pybind11.h: In static member function ‘static PyObject* pybind11::cpp_function::dispatcher(PyObject*, PyObject*, PyObject*)’: /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/pybind11.h:489:40: error: ‘struct pybind11::detail::function_record’ has no member named ‘nargs’; did you mean ‘args’? 489 | size_t pos_args = func.nargs; // Number of positional arguments that we need | ^~~~~ | args /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/pybind11.h:620:53: error: ‘struct pybind11::detail::function_record’ has no member named ‘nargs’; did you mean ‘args’? 620 | second_pass_convert.resize(func.nargs, false); | ^~~~~ | args /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/pybind11.h: In function ‘pybind11::function pybind11::get_type_overload(const void*, const detail::type_info*, const char*)’: /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/pybind11.h:1890:49: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘frame’; did you mean ‘cframe’? 1890 | PyFrameObject *frame = PyThreadState_Get()->frame; | ^~~~~ | cframe /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/pybind11.h:1891:41: error: invalid use of incomplete type ‘PyFrameObject’ {aka ‘struct _frame’} 1891 | if (frame && (std::string) str(frame->f_code->co_name) == name && | ^~ /usr/include/python3.11/pytypedefs.h:22:16: note: forward declaration of ‘PyFrameObject’ {aka ‘struct _frame’} 22 | typedef struct _frame PyFrameObject; | ^~~~~~ /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/pybind11.h:1892:14: error: invalid use of incomplete type ‘PyFrameObject’ {aka ‘struct _frame’} 1892 | frame->f_code->co_argcount > 0) { | ^~ /usr/include/python3.11/pytypedefs.h:22:16: note: forward declaration of ‘PyFrameObject’ {aka ‘struct _frame’} 22 | typedef struct _frame PyFrameObject; | ^~~~~~ /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/pybind11.h:1895:18: error: invalid use of incomplete type ‘PyFrameObject’ {aka ‘struct _frame’} 1895 | frame->f_locals, PyTuple_GET_ITEM(frame->f_code->co_varnames, 0)); | ^~ /usr/include/python3.11/pytypedefs.h:22:16: note: forward declaration of ‘PyFrameObject’ {aka ‘struct _frame’} 22 | typedef struct _frame PyFrameObject; | ^~~~~~ In file included from /usr/include/python3.11/Python.h:38: /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/pybind11.h:1895:52: error: invalid use of incomplete type ‘PyFrameObject’ {aka ‘struct _frame’} 1895 | frame->f_locals, PyTuple_GET_ITEM(frame->f_code->co_varnames, 0)); | ^~ /usr/include/python3.11/pyport.h:24:38: note: in definition of macro ‘_Py_CAST’ 24 | #define _Py_CAST(type, expr) ((type)(expr)) | ^~~~ /usr/include/python3.11/cpython/tupleobject.h:30:38: note: in expansion of macro ‘_PyTuple_CAST’ 30 | #define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[index]) | ^~~~~~~~~~~~~ /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/pybind11.h:1895:30: note: in expansion of macro ‘PyTuple_GET_ITEM’ 1895 | frame->f_locals, PyTuple_GET_ITEM(frame->f_code->co_varnames, 0)); | ^~~~~~~~~~~~~~~~ /usr/include/python3.11/pytypedefs.h:22:16: note: forward declaration of ‘PyFrameObject’ {aka ‘struct _frame’} 22 | typedef struct _frame PyFrameObject; | ^~~~~~ /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/attr.h: At global scope: /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/attr.h:185:10: error: ‘uint16_t’ in namespace ‘std’ does not name a type; did you mean ‘wint_t’? 185 | std::uint16_t nargs; | ^~~~~~~~ | wint_t /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/cast.h: In function ‘std::string pybind11::detail::error_string()’: /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/cast.h:441:36: error: invalid use of incomplete type ‘PyFrameObject’ {aka ‘struct _frame’} 441 | " " + handle(frame->f_code->co_filename).cast() + | ^~ In file included from /usr/include/python3.11/Python.h:42: /usr/include/python3.11/pytypedefs.h:22:16: note: forward declaration of ‘PyFrameObject’ {aka ‘struct _frame’} 22 | typedef struct _frame PyFrameObject; | ^~~~~~ /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/cast.h:441:75: error: expected primary-expression before ‘>’ token 441 | " " + handle(frame->f_code->co_filename).cast() + | ^ /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/cast.h:441:77: error: expected primary-expression before ‘)’ token 441 | " " + handle(frame->f_code->co_filename).cast() + | ^ /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/cast.h:443:29: error: invalid use of incomplete type ‘PyFrameObject’ {aka ‘struct _frame’} 443 | handle(frame->f_code->co_name).cast() + "\n"; | ^~ /usr/include/python3.11/pytypedefs.h:22:16: note: forward declaration of ‘PyFrameObject’ {aka ‘struct _frame’} 22 | typedef struct _frame PyFrameObject; | ^~~~~~ /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/cast.h:443:64: error: expected primary-expression before ‘>’ token 443 | handle(frame->f_code->co_name).cast() + "\n"; | ^ /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/cast.h:443:66: error: expected primary-expression before ‘)’ token 443 | handle(frame->f_code->co_name).cast() + "\n"; | ^ /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/cast.h:444:26: error: invalid use of incomplete type ‘PyFrameObject’ {aka ‘struct _frame’} 444 | frame = frame->f_back; | ^~ /usr/include/python3.11/pytypedefs.h:22:16: note: forward declaration of ‘PyFrameObject’ {aka ‘struct _frame’} 22 | typedef struct _frame PyFrameObject; | ^~~~~~ /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/pybind11.h: In member function ‘void pybind11::cpp_function::initialize_generic(pybind11::detail::function_record*, const char*, const std::type_info* const*, pybind11::size_t)’: /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/pybind11.h:291:14: error: ‘struct pybind11::detail::function_record’ has no member named ‘nargs’; did you mean ‘args’? 291 | rec->nargs = (std::uint16_t) args; | ^~~~~ | args /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/pybind11.h:291:28: error: ‘uint16_t’ is not a member of ‘std’; did you mean ‘wint_t’? 291 | rec->nargs = (std::uint16_t) args; | ^~~~~~~~ | wint_t /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/attr.h: In constructor ‘pybind11::detail::function_call::function_call(pybind11::detail::function_record&, pybind11::handle)’: /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/attr.h:283:20: error: ‘struct pybind11::detail::function_record’ has no member named ‘nargs’; did you mean ‘args’? 283 | args.reserve(f.nargs); | ^~~~~ | args In file included from /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/cast.h:16, from /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/attr.h:13, from /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /build/python-dlib/src/dlib-19.24/dlib/../dlib/python/pybind_utils.h:6, from /build/python-dlib/src/dlib-19.24/dlib/../dlib/python.h:6, from /build/python-dlib/src/dlib-19.24/tools/python/src/opaque_types.h:6, from /build/python-dlib/src/dlib-19.24/tools/python/src/svm_rank_trainer.cpp:4: /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/detail/internals.h: In function ‘pybind11::detail::internals& pybind11::detail::get_internals()’: /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/detail/internals.h:194:27: warning: ‘void PyEval_InitThreads()’ is deprecated [-Wdeprecated-declarations] 194 | PyEval_InitThreads(); | ~~~~~~~~~~~~~~~~~~^~ /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/attr.h:284:28: error: ‘struct pybind11::detail::function_record’ has no member named ‘nargs’; did you mean ‘args’? 284 | args_convert.reserve(f.nargs); | ^~~~~ | args In file included from /usr/include/python3.11/Python.h:95, from /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/detail/common.h:112, from /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/cast.h:13: /usr/include/python3.11/ceval.h:132:37: note: declared here 132 | Py_DEPRECATED(3.9) PyAPI_FUNC(void) PyEval_InitThreads(void); | ^~~~~~~~~~~~~~~~~~ In file included from /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/cast.h:16, from /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/attr.h:13, from /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /build/python-dlib/src/dlib-19.24/dlib/../dlib/python/pybind_utils.h:6, from /build/python-dlib/src/dlib-19.24/dlib/../dlib/python.h:6, from /build/python-dlib/src/dlib-19.24/tools/python/src/opaque_types.h:6, from /build/python-dlib/src/dlib-19.24/tools/python/src/decision_functions.cpp:4: /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/detail/internals.h: In function ‘pybind11::detail::internals& pybind11::detail::get_internals()’: /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/detail/internals.h:194:27: warning: ‘void PyEval_InitThreads()’ is deprecated [-Wdeprecated-declarations] 194 | PyEval_InitThreads(); | ~~~~~~~~~~~~~~~~~~^~ In file included from /usr/include/python3.11/Python.h:95, from /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/detail/common.h:112, from /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/cast.h:13: /usr/include/python3.11/ceval.h:132:37: note: declared here 132 | Py_DEPRECATED(3.9) PyAPI_FUNC(void) PyEval_InitThreads(void); | ^~~~~~~~~~~~~~~~~~ /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/pybind11.h: In static member function ‘static PyObject* pybind11::cpp_function::dispatcher(PyObject*, PyObject*, PyObject*)’: /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/pybind11.h:489:40: error: ‘struct pybind11::detail::function_record’ has no member named ‘nargs’; did you mean ‘args’? 489 | size_t pos_args = func.nargs; // Number of positional arguments that we need | ^~~~~ | args /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/pybind11.h:620:53: error: ‘struct pybind11::detail::function_record’ has no member named ‘nargs’; did you mean ‘args’? 620 | second_pass_convert.resize(func.nargs, false); | ^~~~~ | args /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/pybind11.h: In function ‘pybind11::function pybind11::get_type_overload(const void*, const detail::type_info*, const char*)’: /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/pybind11.h:1890:49: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘frame’; did you mean ‘cframe’? 1890 | PyFrameObject *frame = PyThreadState_Get()->frame; | ^~~~~ | cframe /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/pybind11.h:1891:41: error: invalid use of incomplete type ‘PyFrameObject’ {aka ‘struct _frame’} 1891 | if (frame && (std::string) str(frame->f_code->co_name) == name && | ^~ /usr/include/python3.11/pytypedefs.h:22:16: note: forward declaration of ‘PyFrameObject’ {aka ‘struct _frame’} 22 | typedef struct _frame PyFrameObject; | ^~~~~~ /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/pybind11.h:1892:14: error: invalid use of incomplete type ‘PyFrameObject’ {aka ‘struct _frame’} 1892 | frame->f_code->co_argcount > 0) { | ^~ /usr/include/python3.11/pytypedefs.h:22:16: note: forward declaration of ‘PyFrameObject’ {aka ‘struct _frame’} 22 | typedef struct _frame PyFrameObject; | ^~~~~~ /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/pybind11.h:1895:18: error: invalid use of incomplete type ‘PyFrameObject’ {aka ‘struct _frame’} 1895 | frame->f_locals, PyTuple_GET_ITEM(frame->f_code->co_varnames, 0)); | ^~ /usr/include/python3.11/pytypedefs.h:22:16: note: forward declaration of ‘PyFrameObject’ {aka ‘struct _frame’} 22 | typedef struct _frame PyFrameObject; | ^~~~~~ In file included from /usr/include/python3.11/Python.h:38: /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/pybind11.h:1895:52: error: invalid use of incomplete type ‘PyFrameObject’ {aka ‘struct _frame’} 1895 | frame->f_locals, PyTuple_GET_ITEM(frame->f_code->co_varnames, 0)); | ^~ /usr/include/python3.11/pyport.h:24:38: note: in definition of macro ‘_Py_CAST’ 24 | #define _Py_CAST(type, expr) ((type)(expr)) | ^~~~ /usr/include/python3.11/cpython/tupleobject.h:30:38: note: in expansion of macro ‘_PyTuple_CAST’ 30 | #define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[index]) | ^~~~~~~~~~~~~ /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/pybind11.h:1895:30: note: in expansion of macro ‘PyTuple_GET_ITEM’ 1895 | frame->f_locals, PyTuple_GET_ITEM(frame->f_code->co_varnames, 0)); | ^~~~~~~~~~~~~~~~ /usr/include/python3.11/pytypedefs.h:22:16: note: forward declaration of ‘PyFrameObject’ {aka ‘struct _frame’} 22 | typedef struct _frame PyFrameObject; | ^~~~~~ In file included from /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/cast.h:16, from /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/attr.h:13, from /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /build/python-dlib/src/dlib-19.24/dlib/../dlib/python/pybind_utils.h:6, from /build/python-dlib/src/dlib-19.24/dlib/../dlib/python.h:6, from /build/python-dlib/src/dlib-19.24/tools/python/src/opaque_types.h:6, from /build/python-dlib/src/dlib-19.24/tools/python/src/svm_struct.cpp:4: /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/detail/internals.h: In function ‘pybind11::detail::internals& pybind11::detail::get_internals()’: /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/detail/internals.h:194:27: warning: ‘void PyEval_InitThreads()’ is deprecated [-Wdeprecated-declarations] 194 | PyEval_InitThreads(); | ~~~~~~~~~~~~~~~~~~^~ In file included from /usr/include/python3.11/Python.h:95, from /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/detail/common.h:112, from /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/cast.h:13: /usr/include/python3.11/ceval.h:132:37: note: declared here 132 | Py_DEPRECATED(3.9) PyAPI_FUNC(void) PyEval_InitThreads(void); | ^~~~~~~~~~~~~~~~~~ In file included from /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/cast.h:16, from /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/attr.h:13, from /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /build/python-dlib/src/dlib-19.24/dlib/../dlib/python/pybind_utils.h:6, from /build/python-dlib/src/dlib-19.24/dlib/../dlib/python.h:6, from /build/python-dlib/src/dlib-19.24/tools/python/src/opaque_types.h:6, from /build/python-dlib/src/dlib-19.24/tools/python/src/vector.cpp:4: /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/detail/internals.h: In function ‘pybind11::detail::internals& pybind11::detail::get_internals()’: /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/detail/internals.h:194:27: warning: ‘void PyEval_InitThreads()’ is deprecated [-Wdeprecated-declarations] 194 | PyEval_InitThreads(); | ~~~~~~~~~~~~~~~~~~^~ In file included from /usr/include/python3.11/Python.h:95, from /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/detail/common.h:112, from /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/cast.h:13: /usr/include/python3.11/ceval.h:132:37: note: declared here 132 | Py_DEPRECATED(3.9) PyAPI_FUNC(void) PyEval_InitThreads(void); | ^~~~~~~~~~~~~~~~~~ /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/attr.h: At global scope: /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/attr.h:185:10: error: ‘uint16_t’ in namespace ‘std’ does not name a type; did you mean ‘wint_t’? 185 | std::uint16_t nargs; | ^~~~~~~~ | wint_t /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/pybind11.h: In member function ‘void pybind11::cpp_function::initialize_generic(pybind11::detail::function_record*, const char*, const std::type_info* const*, pybind11::size_t)’: /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/pybind11.h:291:14: error: ‘struct pybind11::detail::function_record’ has no member named ‘nargs’; did you mean ‘args’? 291 | rec->nargs = (std::uint16_t) args; | ^~~~~ | args /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/pybind11.h:291:28: error: ‘uint16_t’ is not a member of ‘std’; did you mean ‘wint_t’? 291 | rec->nargs = (std::uint16_t) args; | ^~~~~~~~ | wint_t /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/attr.h: In constructor ‘pybind11::detail::function_call::function_call(pybind11::detail::function_record&, pybind11::handle)’: /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/attr.h:283:20: error: ‘struct pybind11::detail::function_record’ has no member named ‘nargs’; did you mean ‘args’? 283 | args.reserve(f.nargs); | ^~~~~ | args /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/attr.h:284:28: error: ‘struct pybind11::detail::function_record’ has no member named ‘nargs’; did you mean ‘args’? 284 | args_convert.reserve(f.nargs); | ^~~~~ | args /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/cast.h: In function ‘std::string pybind11::detail::error_string()’: /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/cast.h:441:36: error: invalid use of incomplete type ‘PyFrameObject’ {aka ‘struct _frame’} 441 | " " + handle(frame->f_code->co_filename).cast() + | ^~ In file included from /usr/include/python3.11/Python.h:42: /usr/include/python3.11/pytypedefs.h:22:16: note: forward declaration of ‘PyFrameObject’ {aka ‘struct _frame’} 22 | typedef struct _frame PyFrameObject; | ^~~~~~ /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/cast.h:441:75: error: expected primary-expression before ‘>’ token 441 | " " + handle(frame->f_code->co_filename).cast() + | ^ /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/cast.h:441:77: error: expected primary-expression before ‘)’ token 441 | " " + handle(frame->f_code->co_filename).cast() + | ^ /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/cast.h:443:29: error: invalid use of incomplete type ‘PyFrameObject’ {aka ‘struct _frame’} 443 | handle(frame->f_code->co_name).cast() + "\n"; | ^~ /usr/include/python3.11/pytypedefs.h:22:16: note: forward declaration of ‘PyFrameObject’ {aka ‘struct _frame’} 22 | typedef struct _frame PyFrameObject; | ^~~~~~ /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/cast.h:443:64: error: expected primary-expression before ‘>’ token 443 | handle(frame->f_code->co_name).cast() + "\n"; | ^ /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/cast.h:443:66: error: expected primary-expression before ‘)’ token 443 | handle(frame->f_code->co_name).cast() + "\n"; | ^ /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/cast.h:444:26: error: invalid use of incomplete type ‘PyFrameObject’ {aka ‘struct _frame’} 444 | frame = frame->f_back; | ^~ /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/cast.h: In function ‘std::string pybind11::detail::error_string()’: /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/cast.h:441:36: error: invalid use of incomplete type ‘PyFrameObject’ {aka ‘struct _frame’} 441 | " " + handle(frame->f_code->co_filename).cast() + | ^~ /usr/include/python3.11/pytypedefs.h:22:16: note: forward declaration of ‘PyFrameObject’ {aka ‘struct _frame’} 22 | typedef struct _frame PyFrameObject; | ^~~~~~ In file included from /usr/include/python3.11/Python.h:42: /usr/include/python3.11/pytypedefs.h:22:16: note: forward declaration of ‘PyFrameObject’ {aka ‘struct _frame’} 22 | typedef struct _frame PyFrameObject; | ^~~~~~ /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/cast.h:441:75: error: expected primary-expression before ‘>’ token 441 | " " + handle(frame->f_code->co_filename).cast() + | ^ /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/cast.h:441:77: error: expected primary-expression before ‘)’ token 441 | " " + handle(frame->f_code->co_filename).cast() + | ^ /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/cast.h:443:29: error: invalid use of incomplete type ‘PyFrameObject’ {aka ‘struct _frame’} 443 | handle(frame->f_code->co_name).cast() + "\n"; | ^~ /usr/include/python3.11/pytypedefs.h:22:16: note: forward declaration of ‘PyFrameObject’ {aka ‘struct _frame’} 22 | typedef struct _frame PyFrameObject; | ^~~~~~ /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/cast.h:443:64: error: expected primary-expression before ‘>’ token 443 | handle(frame->f_code->co_name).cast() + "\n"; | ^ /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/cast.h:443:66: error: expected primary-expression before ‘)’ token 443 | handle(frame->f_code->co_name).cast() + "\n"; | ^ /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/cast.h:444:26: error: invalid use of incomplete type ‘PyFrameObject’ {aka ‘struct _frame’} 444 | frame = frame->f_back; | ^~ /usr/include/python3.11/pytypedefs.h:22:16: note: forward declaration of ‘PyFrameObject’ {aka ‘struct _frame’} 22 | typedef struct _frame PyFrameObject; | ^~~~~~ /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/pybind11.h: In static member function ‘static PyObject* pybind11::cpp_function::dispatcher(PyObject*, PyObject*, PyObject*)’: /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/pybind11.h:489:40: error: ‘struct pybind11::detail::function_record’ has no member named ‘nargs’; did you mean ‘args’? 489 | size_t pos_args = func.nargs; // Number of positional arguments that we need | ^~~~~ | args /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/pybind11.h:620:53: error: ‘struct pybind11::detail::function_record’ has no member named ‘nargs’; did you mean ‘args’? 620 | second_pass_convert.resize(func.nargs, false); | ^~~~~ | args /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/pybind11.h: In function ‘pybind11::function pybind11::get_type_overload(const void*, const detail::type_info*, const char*)’: /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/pybind11.h:1890:49: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘frame’; did you mean ‘cframe’? 1890 | PyFrameObject *frame = PyThreadState_Get()->frame; | ^~~~~ | cframe /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/pybind11.h:1891:41: error: invalid use of incomplete type ‘PyFrameObject’ {aka ‘struct _frame’} 1891 | if (frame && (std::string) str(frame->f_code->co_name) == name && | ^~ /usr/include/python3.11/pytypedefs.h:22:16: note: forward declaration of ‘PyFrameObject’ {aka ‘struct _frame’} 22 | typedef struct _frame PyFrameObject; | ^~~~~~ /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/pybind11.h:1892:14: error: invalid use of incomplete type ‘PyFrameObject’ {aka ‘struct _frame’} 1892 | frame->f_code->co_argcount > 0) { | ^~ /usr/include/python3.11/pytypedefs.h:22:16: note: forward declaration of ‘PyFrameObject’ {aka ‘struct _frame’} 22 | typedef struct _frame PyFrameObject; | ^~~~~~ /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/pybind11.h:1895:18: error: invalid use of incomplete type ‘PyFrameObject’ {aka ‘struct _frame’} 1895 | frame->f_locals, PyTuple_GET_ITEM(frame->f_code->co_varnames, 0)); | ^~ /usr/include/python3.11/pytypedefs.h:22:16: note: forward declaration of ‘PyFrameObject’ {aka ‘struct _frame’} 22 | typedef struct _frame PyFrameObject; | ^~~~~~ In file included from /usr/include/python3.11/Python.h:38: /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/pybind11.h:1895:52: error: invalid use of incomplete type ‘PyFrameObject’ {aka ‘struct _frame’} 1895 | frame->f_locals, PyTuple_GET_ITEM(frame->f_code->co_varnames, 0)); | ^~ /usr/include/python3.11/pyport.h:24:38: note: in definition of macro ‘_Py_CAST’ 24 | #define _Py_CAST(type, expr) ((type)(expr)) | ^~~~ /usr/include/python3.11/cpython/tupleobject.h:30:38: note: in expansion of macro ‘_PyTuple_CAST’ 30 | #define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[index]) | ^~~~~~~~~~~~~ /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/pybind11.h:1895:30: note: in expansion of macro ‘PyTuple_GET_ITEM’ 1895 | frame->f_locals, PyTuple_GET_ITEM(frame->f_code->co_varnames, 0)); | ^~~~~~~~~~~~~~~~ /usr/include/python3.11/pytypedefs.h:22:16: note: forward declaration of ‘PyFrameObject’ {aka ‘struct _frame’} 22 | typedef struct _frame PyFrameObject; | ^~~~~~ /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/cast.h: In function ‘std::string pybind11::detail::error_string()’: /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/cast.h:441:36: error: invalid use of incomplete type ‘PyFrameObject’ {aka ‘struct _frame’} 441 | " " + handle(frame->f_code->co_filename).cast() + | ^~ In file included from /usr/include/python3.11/Python.h:42: /usr/include/python3.11/pytypedefs.h:22:16: note: forward declaration of ‘PyFrameObject’ {aka ‘struct _frame’} 22 | typedef struct _frame PyFrameObject; | ^~~~~~ /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/cast.h:441:75: error: expected primary-expression before ‘>’ token 441 | " " + handle(frame->f_code->co_filename).cast() + | ^ /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/cast.h:441:77: error: expected primary-expression before ‘)’ token 441 | " " + handle(frame->f_code->co_filename).cast() + | ^ /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/cast.h:443:29: error: invalid use of incomplete type ‘PyFrameObject’ {aka ‘struct _frame’} 443 | handle(frame->f_code->co_name).cast() + "\n"; | ^~ /usr/include/python3.11/pytypedefs.h:22:16: note: forward declaration of ‘PyFrameObject’ {aka ‘struct _frame’} 22 | typedef struct _frame PyFrameObject; | ^~~~~~ /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/cast.h:443:64: error: expected primary-expression before ‘>’ token 443 | handle(frame->f_code->co_name).cast() + "\n"; | ^ /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/cast.h:443:66: error: expected primary-expression before ‘)’ token 443 | handle(frame->f_code->co_name).cast() + "\n"; | ^ /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/cast.h:444:26: error: invalid use of incomplete type ‘PyFrameObject’ {aka ‘struct _frame’} 444 | frame = frame->f_back; | ^~ /usr/include/python3.11/pytypedefs.h:22:16: note: forward declaration of ‘PyFrameObject’ {aka ‘struct _frame’} 22 | typedef struct _frame PyFrameObject; | ^~~~~~ /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/attr.h: At global scope: /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/attr.h:185:10: error: ‘uint16_t’ in namespace ‘std’ does not name a type; did you mean ‘wint_t’? 185 | std::uint16_t nargs; | ^~~~~~~~ | wint_t /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/cast.h: In function ‘std::string pybind11::detail::error_string()’: /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/cast.h:441:36: error: invalid use of incomplete type ‘PyFrameObject’ {aka ‘struct _frame’} 441 | " " + handle(frame->f_code->co_filename).cast() + | ^~ In file included from /usr/include/python3.11/Python.h:42: /usr/include/python3.11/pytypedefs.h:22:16: note: forward declaration of ‘PyFrameObject’ {aka ‘struct _frame’} 22 | typedef struct _frame PyFrameObject; | ^~~~~~ /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/cast.h:441:75: error: expected primary-expression before ‘>’ token 441 | " " + handle(frame->f_code->co_filename).cast() + | ^ /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/cast.h:441:77: error: expected primary-expression before ‘)’ token 441 | " " + handle(frame->f_code->co_filename).cast() + | ^ /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/cast.h:443:29: error: invalid use of incomplete type ‘PyFrameObject’ {aka ‘struct _frame’} 443 | handle(frame->f_code->co_name).cast() + "\n"; | ^~ /usr/include/python3.11/pytypedefs.h:22:16: note: forward declaration of ‘PyFrameObject’ {aka ‘struct _frame’} 22 | typedef struct _frame PyFrameObject; | ^~~~~~ /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/cast.h:443:64: error: expected primary-expression before ‘>’ token 443 | handle(frame->f_code->co_name).cast() + "\n"; | ^ /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/pybind11.h: In member function ‘void pybind11::cpp_function::initialize_generic(pybind11::detail::function_record*, const char*, const std::type_info* const*, pybind11::size_t)’: /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/pybind11.h:291:14: error: ‘struct pybind11::detail::function_record’ has no member named ‘nargs’; did you mean ‘args’? 291 | rec->nargs = (std::uint16_t) args; | ^~~~~ | args /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/cast.h:443:66: error: expected primary-expression before ‘)’ token 443 | handle(frame->f_code->co_name).cast() + "\n"; | ^ /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/cast.h:444:26: error: invalid use of incomplete type ‘PyFrameObject’ {aka ‘struct _frame’} 444 | frame = frame->f_back; | ^~ /usr/include/python3.11/pytypedefs.h:22:16: note: forward declaration of ‘PyFrameObject’ {aka ‘struct _frame’} 22 | typedef struct _frame PyFrameObject; | ^~~~~~ /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/pybind11.h:291:28: error: ‘uint16_t’ is not a member of ‘std’; did you mean ‘wint_t’? 291 | rec->nargs = (std::uint16_t) args; | ^~~~~~~~ | wint_t /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/attr.h: In constructor ‘pybind11::detail::function_call::function_call(pybind11::detail::function_record&, pybind11::handle)’: /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/attr.h:283:20: error: ‘struct pybind11::detail::function_record’ has no member named ‘nargs’; did you mean ‘args’? 283 | args.reserve(f.nargs); | ^~~~~ | args /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/attr.h:284:28: error: ‘struct pybind11::detail::function_record’ has no member named ‘nargs’; did you mean ‘args’? 284 | args_convert.reserve(f.nargs); | ^~~~~ | args /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/pybind11.h: In static member function ‘static PyObject* pybind11::cpp_function::dispatcher(PyObject*, PyObject*, PyObject*)’: /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/pybind11.h:489:40: error: ‘struct pybind11::detail::function_record’ has no member named ‘nargs’; did you mean ‘args’? 489 | size_t pos_args = func.nargs; // Number of positional arguments that we need | ^~~~~ | args /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/pybind11.h:620:53: error: ‘struct pybind11::detail::function_record’ has no member named ‘nargs’; did you mean ‘args’? 620 | second_pass_convert.resize(func.nargs, false); | ^~~~~ | args /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/pybind11.h: In function ‘pybind11::function pybind11::get_type_overload(const void*, const detail::type_info*, const char*)’: /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/pybind11.h:1890:49: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘frame’; did you mean ‘cframe’? 1890 | PyFrameObject *frame = PyThreadState_Get()->frame; | ^~~~~ | cframe /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/pybind11.h:1891:41: error: invalid use of incomplete type ‘PyFrameObject’ {aka ‘struct _frame’} 1891 | if (frame && (std::string) str(frame->f_code->co_name) == name && | ^~ /usr/include/python3.11/pytypedefs.h:22:16: note: forward declaration of ‘PyFrameObject’ {aka ‘struct _frame’} 22 | typedef struct _frame PyFrameObject; | ^~~~~~ /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/pybind11.h:1892:14: error: invalid use of incomplete type ‘PyFrameObject’ {aka ‘struct _frame’} 1892 | frame->f_code->co_argcount > 0) { | ^~ /usr/include/python3.11/pytypedefs.h:22:16: note: forward declaration of ‘PyFrameObject’ {aka ‘struct _frame’} 22 | typedef struct _frame PyFrameObject; | ^~~~~~ /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/pybind11.h:1895:18: error: invalid use of incomplete type ‘PyFrameObject’ {aka ‘struct _frame’} 1895 | frame->f_locals, PyTuple_GET_ITEM(frame->f_code->co_varnames, 0)); | ^~ /usr/include/python3.11/pytypedefs.h:22:16: note: forward declaration of ‘PyFrameObject’ {aka ‘struct _frame’} 22 | typedef struct _frame PyFrameObject; | ^~~~~~ In file included from /usr/include/python3.11/Python.h:38: /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/pybind11.h:1895:52: error: invalid use of incomplete type ‘PyFrameObject’ {aka ‘struct _frame’} 1895 | frame->f_locals, PyTuple_GET_ITEM(frame->f_code->co_varnames, 0)); | ^~ /usr/include/python3.11/pyport.h:24:38: note: in definition of macro ‘_Py_CAST’ 24 | #define _Py_CAST(type, expr) ((type)(expr)) | ^~~~ /usr/include/python3.11/cpython/tupleobject.h:30:38: note: in expansion of macro ‘_PyTuple_CAST’ 30 | #define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[index]) | ^~~~~~~~~~~~~ /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/pybind11.h:1895:30: note: in expansion of macro ‘PyTuple_GET_ITEM’ 1895 | frame->f_locals, PyTuple_GET_ITEM(frame->f_code->co_varnames, 0)); | ^~~~~~~~~~~~~~~~ /usr/include/python3.11/pytypedefs.h:22:16: note: forward declaration of ‘PyFrameObject’ {aka ‘struct _frame’} 22 | typedef struct _frame PyFrameObject; | ^~~~~~ /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/pybind11.h: In member function ‘void pybind11::cpp_function::initialize_generic(pybind11::detail::function_record*, const char*, const std::type_info* const*, pybind11::size_t)’: /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/pybind11.h:291:14: error: ‘struct pybind11::detail::function_record’ has no member named ‘nargs’; did you mean ‘args’? 291 | rec->nargs = (std::uint16_t) args; | ^~~~~ | args /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/pybind11.h:291:28: error: ‘uint16_t’ is not a member of ‘std’; did you mean ‘wint_t’? 291 | rec->nargs = (std::uint16_t) args; | ^~~~~~~~ | wint_t /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/attr.h: At global scope: /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/attr.h:185:10: error: ‘uint16_t’ in namespace ‘std’ does not name a type; did you mean ‘wint_t’? 185 | std::uint16_t nargs; | ^~~~~~~~ | wint_t /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/attr.h: At global scope: /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/attr.h:185:10: error: ‘uint16_t’ in namespace ‘std’ does not name a type; did you mean ‘wint_t’? 185 | std::uint16_t nargs; | ^~~~~~~~ | wint_t /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/attr.h: In constructor ‘pybind11::detail::function_call::function_call(pybind11::detail::function_record&, pybind11::handle)’: /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/attr.h:283:20: error: ‘struct pybind11::detail::function_record’ has no member named ‘nargs’; did you mean ‘args’? 283 | args.reserve(f.nargs); | ^~~~~ | args /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/attr.h:284:28: error: ‘struct pybind11::detail::function_record’ has no member named ‘nargs’; did you mean ‘args’? 284 | args_convert.reserve(f.nargs); | ^~~~~ | args /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/attr.h: In constructor ‘pybind11::detail::function_call::function_call(pybind11::detail::function_record&, pybind11::handle)’: /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/attr.h:283:20: error: ‘struct pybind11::detail::function_record’ has no member named ‘nargs’; did you mean ‘args’? 283 | args.reserve(f.nargs); | ^~~~~ | args /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/attr.h:284:28: error: ‘struct pybind11::detail::function_record’ has no member named ‘nargs’; did you mean ‘args’? 284 | args_convert.reserve(f.nargs); | ^~~~~ | args /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/pybind11.h: In static member function ‘static PyObject* pybind11::cpp_function::dispatcher(PyObject*, PyObject*, PyObject*)’: /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/pybind11.h:489:40: error: ‘struct pybind11::detail::function_record’ has no member named ‘nargs’; did you mean ‘args’? 489 | size_t pos_args = func.nargs; // Number of positional arguments that we need | ^~~~~ | args /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/pybind11.h:620:53: error: ‘struct pybind11::detail::function_record’ has no member named ‘nargs’; did you mean ‘args’? 620 | second_pass_convert.resize(func.nargs, false); | ^~~~~ | args /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/pybind11.h: In function ‘pybind11::function pybind11::get_type_overload(const void*, const detail::type_info*, const char*)’: /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/pybind11.h:1890:49: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘frame’; did you mean ‘cframe’? 1890 | PyFrameObject *frame = PyThreadState_Get()->frame; | ^~~~~ | cframe /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/pybind11.h:1891:41: error: invalid use of incomplete type ‘PyFrameObject’ {aka ‘struct _frame’} 1891 | if (frame && (std::string) str(frame->f_code->co_name) == name && | ^~ /usr/include/python3.11/pytypedefs.h:22:16: note: forward declaration of ‘PyFrameObject’ {aka ‘struct _frame’} 22 | typedef struct _frame PyFrameObject; | ^~~~~~ /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/pybind11.h:1892:14: error: invalid use of incomplete type ‘PyFrameObject’ {aka ‘struct _frame’} 1892 | frame->f_code->co_argcount > 0) { | ^~ /usr/include/python3.11/pytypedefs.h:22:16: note: forward declaration of ‘PyFrameObject’ {aka ‘struct _frame’} 22 | typedef struct _frame PyFrameObject; | ^~~~~~ /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/pybind11.h:1895:18: error: invalid use of incomplete type ‘PyFrameObject’ {aka ‘struct _frame’} 1895 | frame->f_locals, PyTuple_GET_ITEM(frame->f_code->co_varnames, 0)); | ^~ /usr/include/python3.11/pytypedefs.h:22:16: note: forward declaration of ‘PyFrameObject’ {aka ‘struct _frame’} 22 | typedef struct _frame PyFrameObject; | ^~~~~~ In file included from /usr/include/python3.11/Python.h:38: /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/pybind11.h:1895:52: error: invalid use of incomplete type ‘PyFrameObject’ {aka ‘struct _frame’} 1895 | frame->f_locals, PyTuple_GET_ITEM(frame->f_code->co_varnames, 0)); | ^~ /usr/include/python3.11/pyport.h:24:38: note: in definition of macro ‘_Py_CAST’ 24 | #define _Py_CAST(type, expr) ((type)(expr)) | ^~~~ /usr/include/python3.11/cpython/tupleobject.h:30:38: note: in expansion of macro ‘_PyTuple_CAST’ 30 | #define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[index]) | ^~~~~~~~~~~~~ /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/pybind11.h:1895:30: note: in expansion of macro ‘PyTuple_GET_ITEM’ 1895 | frame->f_locals, PyTuple_GET_ITEM(frame->f_code->co_varnames, 0)); | ^~~~~~~~~~~~~~~~ /usr/include/python3.11/pytypedefs.h:22:16: note: forward declaration of ‘PyFrameObject’ {aka ‘struct _frame’} 22 | typedef struct _frame PyFrameObject; | ^~~~~~ /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/attr.h: At global scope: /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/attr.h:185:10: error: ‘uint16_t’ in namespace ‘std’ does not name a type; did you mean ‘wint_t’? 185 | std::uint16_t nargs; | ^~~~~~~~ | wint_t /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/attr.h: In constructor ‘pybind11::detail::function_call::function_call(pybind11::detail::function_record&, pybind11::handle)’: /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/attr.h:283:20: error: ‘struct pybind11::detail::function_record’ has no member named ‘nargs’; did you mean ‘args’? 283 | args.reserve(f.nargs); | ^~~~~ | args /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/attr.h:284:28: error: ‘struct pybind11::detail::function_record’ has no member named ‘nargs’; did you mean ‘args’? 284 | args_convert.reserve(f.nargs); | ^~~~~ | args In file included from /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/cast.h:16, from /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/attr.h:13, from /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /build/python-dlib/src/dlib-19.24/dlib/../dlib/python/pybind_utils.h:6, from /build/python-dlib/src/dlib-19.24/dlib/../dlib/python.h:6, from /build/python-dlib/src/dlib-19.24/tools/python/src/opaque_types.h:6, from /build/python-dlib/src/dlib-19.24/tools/python/src/svm_c_trainer.cpp:4: /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/detail/internals.h: In function ‘pybind11::detail::internals& pybind11::detail::get_internals()’: /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/detail/internals.h:194:27: warning: ‘void PyEval_InitThreads()’ is deprecated [-Wdeprecated-declarations] 194 | PyEval_InitThreads(); | ~~~~~~~~~~~~~~~~~~^~ In file included from /usr/include/python3.11/Python.h:95, from /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/detail/common.h:112, from /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/cast.h:13: /usr/include/python3.11/ceval.h:132:37: note: declared here 132 | Py_DEPRECATED(3.9) PyAPI_FUNC(void) PyEval_InitThreads(void); | ^~~~~~~~~~~~~~~~~~ /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/pybind11.h: In member function ‘void pybind11::cpp_function::initialize_generic(pybind11::detail::function_record*, const char*, const std::type_info* const*, pybind11::size_t)’: /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/pybind11.h:291:14: error: ‘struct pybind11::detail::function_record’ has no member named ‘nargs’; did you mean ‘args’? 291 | rec->nargs = (std::uint16_t) args; | ^~~~~ | args /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/pybind11.h: In member function ‘void pybind11::cpp_function::initialize_generic(pybind11::detail::function_record*, const char*, const std::type_info* const*, pybind11::size_t)’: /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/pybind11.h:291:14: error: ‘struct pybind11::detail::function_record’ has no member named ‘nargs’; did you mean ‘args’? 291 | rec->nargs = (std::uint16_t) args; | ^~~~~ | args /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/attr.h: At global scope: /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/attr.h:185:10: error: ‘uint16_t’ in namespace ‘std’ does not name a type; did you mean ‘wint_t’? 185 | std::uint16_t nargs; | ^~~~~~~~ | wint_t /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/pybind11.h:291:28: error: ‘uint16_t’ is not a member of ‘std’; did you mean ‘wint_t’? 291 | rec->nargs = (std::uint16_t) args; | ^~~~~~~~ | wint_t /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/pybind11.h:291:28: error: ‘uint16_t’ is not a member of ‘std’; did you mean ‘wint_t’? 291 | rec->nargs = (std::uint16_t) args; | ^~~~~~~~ | wint_t In file included from /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/cast.h:16, from /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/attr.h:13, from /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /build/python-dlib/src/dlib-19.24/dlib/../dlib/python/pybind_utils.h:6, from /build/python-dlib/src/dlib-19.24/dlib/../dlib/python.h:6, from /build/python-dlib/src/dlib-19.24/tools/python/src/opaque_types.h:6, from /build/python-dlib/src/dlib-19.24/tools/python/src/sequence_segmenter.cpp:4: /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/detail/internals.h: In function ‘pybind11::detail::internals& pybind11::detail::get_internals()’: /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/detail/internals.h:194:27: warning: ‘void PyEval_InitThreads()’ is deprecated [-Wdeprecated-declarations] 194 | PyEval_InitThreads(); | ~~~~~~~~~~~~~~~~~~^~ In file included from /usr/include/python3.11/Python.h:95, from /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/detail/common.h:112, from /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/cast.h:13: /usr/include/python3.11/ceval.h:132:37: note: declared here 132 | Py_DEPRECATED(3.9) PyAPI_FUNC(void) PyEval_InitThreads(void); | ^~~~~~~~~~~~~~~~~~ /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/attr.h: In constructor ‘pybind11::detail::function_call::function_call(pybind11::detail::function_record&, pybind11::handle)’: /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/attr.h:283:20: error: ‘struct pybind11::detail::function_record’ has no member named ‘nargs’; did you mean ‘args’? 283 | args.reserve(f.nargs); | ^~~~~ | args /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/attr.h:284:28: error: ‘struct pybind11::detail::function_record’ has no member named ‘nargs’; did you mean ‘args’? 284 | args_convert.reserve(f.nargs); | ^~~~~ | args /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/pybind11.h: In static member function ‘static PyObject* pybind11::cpp_function::dispatcher(PyObject*, PyObject*, PyObject*)’: /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/pybind11.h:489:40: error: ‘struct pybind11::detail::function_record’ has no member named ‘nargs’; did you mean ‘args’? 489 | size_t pos_args = func.nargs; // Number of positional arguments that we need | ^~~~~ | args /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/pybind11.h: In static member function ‘static PyObject* pybind11::cpp_function::dispatcher(PyObject*, PyObject*, PyObject*)’: /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/pybind11.h:489:40: error: ‘struct pybind11::detail::function_record’ has no member named ‘nargs’; did you mean ‘args’? 489 | size_t pos_args = func.nargs; // Number of positional arguments that we need | ^~~~~ | args /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/pybind11.h:620:53: error: ‘struct pybind11::detail::function_record’ has no member named ‘nargs’; did you mean ‘args’? 620 | second_pass_convert.resize(func.nargs, false); | ^~~~~ | args /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/pybind11.h:620:53: error: ‘struct pybind11::detail::function_record’ has no member named ‘nargs’; did you mean ‘args’? 620 | second_pass_convert.resize(func.nargs, false); | ^~~~~ | args /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/pybind11.h: In function ‘pybind11::function pybind11::get_type_overload(const void*, const detail::type_info*, const char*)’: /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/pybind11.h:1890:49: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘frame’; did you mean ‘cframe’? 1890 | PyFrameObject *frame = PyThreadState_Get()->frame; | ^~~~~ | cframe /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/pybind11.h:1891:41: error: invalid use of incomplete type ‘PyFrameObject’ {aka ‘struct _frame’} 1891 | if (frame && (std::string) str(frame->f_code->co_name) == name && | ^~ /usr/include/python3.11/pytypedefs.h:22:16: note: forward declaration of ‘PyFrameObject’ {aka ‘struct _frame’} 22 | typedef struct _frame PyFrameObject; | ^~~~~~ /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/pybind11.h:1892:14: error: invalid use of incomplete type ‘PyFrameObject’ {aka ‘struct _frame’} 1892 | frame->f_code->co_argcount > 0) { | ^~ /usr/include/python3.11/pytypedefs.h:22:16: note: forward declaration of ‘PyFrameObject’ {aka ‘struct _frame’} 22 | typedef struct _frame PyFrameObject; | ^~~~~~ In file included from /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/cast.h:16, from /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/attr.h:13, from /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /build/python-dlib/src/dlib-19.24/dlib/../dlib/python/pybind_utils.h:6, from /build/python-dlib/src/dlib-19.24/dlib/../dlib/python.h:6, from /build/python-dlib/src/dlib-19.24/tools/python/src/opaque_types.h:6, from /build/python-dlib/src/dlib-19.24/tools/python/src/image2.cpp:3: /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/detail/internals.h: In function ‘pybind11::detail::internals& pybind11::detail::get_internals()’: /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/detail/internals.h:194:27: warning: ‘void PyEval_InitThreads()’ is deprecated [-Wdeprecated-declarations] 194 | PyEval_InitThreads(); | ~~~~~~~~~~~~~~~~~~^~ /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/pybind11.h:1895:18: error: invalid use of incomplete type ‘PyFrameObject’ {aka ‘struct _frame’} 1895 | frame->f_locals, PyTuple_GET_ITEM(frame->f_code->co_varnames, 0)); | ^~ In file included from /usr/include/python3.11/Python.h:95, from /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/detail/common.h:112, from /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/cast.h:13: /usr/include/python3.11/ceval.h:132:37: note: declared here 132 | Py_DEPRECATED(3.9) PyAPI_FUNC(void) PyEval_InitThreads(void); | ^~~~~~~~~~~~~~~~~~ /usr/include/python3.11/pytypedefs.h:22:16: note: forward declaration of ‘PyFrameObject’ {aka ‘struct _frame’} 22 | typedef struct _frame PyFrameObject; | ^~~~~~ In file included from /usr/include/python3.11/Python.h:38: /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/pybind11.h:1895:52: error: invalid use of incomplete type ‘PyFrameObject’ {aka ‘struct _frame’} 1895 | frame->f_locals, PyTuple_GET_ITEM(frame->f_code->co_varnames, 0)); | ^~ /usr/include/python3.11/pyport.h:24:38: note: in definition of macro ‘_Py_CAST’ 24 | #define _Py_CAST(type, expr) ((type)(expr)) | ^~~~ /usr/include/python3.11/cpython/tupleobject.h:30:38: note: in expansion of macro ‘_PyTuple_CAST’ 30 | #define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[index]) | ^~~~~~~~~~~~~ /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/pybind11.h:1895:30: note: in expansion of macro ‘PyTuple_GET_ITEM’ 1895 | frame->f_locals, PyTuple_GET_ITEM(frame->f_code->co_varnames, 0)); | ^~~~~~~~~~~~~~~~ /usr/include/python3.11/pytypedefs.h:22:16: note: forward declaration of ‘PyFrameObject’ {aka ‘struct _frame’} 22 | typedef struct _frame PyFrameObject; | ^~~~~~ In file included from /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/cast.h:16, from /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/attr.h:13, from /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /build/python-dlib/src/dlib-19.24/dlib/../dlib/python/pybind_utils.h:6, from /build/python-dlib/src/dlib-19.24/dlib/../dlib/python.h:6, from /build/python-dlib/src/dlib-19.24/tools/python/src/opaque_types.h:6, from /build/python-dlib/src/dlib-19.24/tools/python/src/image4.cpp:3: /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/detail/internals.h: In function ‘pybind11::detail::internals& pybind11::detail::get_internals()’: /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/detail/internals.h:194:27: warning: ‘void PyEval_InitThreads()’ is deprecated [-Wdeprecated-declarations] 194 | PyEval_InitThreads(); | ~~~~~~~~~~~~~~~~~~^~ In file included from /usr/include/python3.11/Python.h:95, from /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/detail/common.h:112, from /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/cast.h:13: /usr/include/python3.11/ceval.h:132:37: note: declared here 132 | Py_DEPRECATED(3.9) PyAPI_FUNC(void) PyEval_InitThreads(void); | ^~~~~~~~~~~~~~~~~~ /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/pybind11.h: In member function ‘void pybind11::cpp_function::initialize_generic(pybind11::detail::function_record*, const char*, const std::type_info* const*, pybind11::size_t)’: /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/pybind11.h:291:14: error: ‘struct pybind11::detail::function_record’ has no member named ‘nargs’; did you mean ‘args’? 291 | rec->nargs = (std::uint16_t) args; | ^~~~~ | args /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/pybind11.h:291:28: error: ‘uint16_t’ is not a member of ‘std’; did you mean ‘wint_t’? 291 | rec->nargs = (std::uint16_t) args; | ^~~~~~~~ | wint_t /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/pybind11.h: In static member function ‘static PyObject* pybind11::cpp_function::dispatcher(PyObject*, PyObject*, PyObject*)’: /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/pybind11.h:489:40: error: ‘struct pybind11::detail::function_record’ has no member named ‘nargs’; did you mean ‘args’? 489 | size_t pos_args = func.nargs; // Number of positional arguments that we need | ^~~~~ | args /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/cast.h: In function ‘std::string pybind11::detail::error_string()’: /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/cast.h:441:36: error: invalid use of incomplete type ‘PyFrameObject’ {aka ‘struct _frame’} 441 | " " + handle(frame->f_code->co_filename).cast() + | ^~ In file included from /usr/include/python3.11/Python.h:42: /usr/include/python3.11/pytypedefs.h:22:16: note: forward declaration of ‘PyFrameObject’ {aka ‘struct _frame’} 22 | typedef struct _frame PyFrameObject; | ^~~~~~ /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/cast.h:441:75: error: expected primary-expression before ‘>’ token 441 | " " + handle(frame->f_code->co_filename).cast() + | ^ /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/cast.h:441:77: error: expected primary-expression before ‘)’ token 441 | " " + handle(frame->f_code->co_filename).cast() + | ^ /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/cast.h:443:29: error: invalid use of incomplete type ‘PyFrameObject’ {aka ‘struct _frame’} 443 | handle(frame->f_code->co_name).cast() + "\n"; | ^~ /usr/include/python3.11/pytypedefs.h:22:16: note: forward declaration of ‘PyFrameObject’ {aka ‘struct _frame’} 22 | typedef struct _frame PyFrameObject; | ^~~~~~ /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/cast.h:443:64: error: expected primary-expression before ‘>’ token 443 | handle(frame->f_code->co_name).cast() + "\n"; | ^ /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/cast.h:443:66: error: expected primary-expression before ‘)’ token 443 | handle(frame->f_code->co_name).cast() + "\n"; | ^ /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/cast.h:444:26: error: invalid use of incomplete type ‘PyFrameObject’ {aka ‘struct _frame’} 444 | frame = frame->f_back; | ^~ /usr/include/python3.11/pytypedefs.h:22:16: note: forward declaration of ‘PyFrameObject’ {aka ‘struct _frame’} 22 | typedef struct _frame PyFrameObject; | ^~~~~~ /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/pybind11.h:620:53: error: ‘struct pybind11::detail::function_record’ has no member named ‘nargs’; did you mean ‘args’? 620 | second_pass_convert.resize(func.nargs, false); | ^~~~~ | args In file included from /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/cast.h:16, from /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/attr.h:13, from /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /build/python-dlib/src/dlib-19.24/dlib/../dlib/python/pybind_utils.h:6, from /build/python-dlib/src/dlib-19.24/dlib/../dlib/python.h:6, from /build/python-dlib/src/dlib-19.24/tools/python/src/opaque_types.h:6, from /build/python-dlib/src/dlib-19.24/tools/python/src/image.cpp:3: /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/detail/internals.h: In function ‘pybind11::detail::internals& pybind11::detail::get_internals()’: /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/detail/internals.h:194:27: warning: ‘void PyEval_InitThreads()’ is deprecated [-Wdeprecated-declarations] 194 | PyEval_InitThreads(); | ~~~~~~~~~~~~~~~~~~^~ In file included from /usr/include/python3.11/Python.h:95, from /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/detail/common.h:112, from /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/cast.h:13: /usr/include/python3.11/ceval.h:132:37: note: declared here 132 | Py_DEPRECATED(3.9) PyAPI_FUNC(void) PyEval_InitThreads(void); | ^~~~~~~~~~~~~~~~~~ /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/pybind11.h: In member function ‘void pybind11::cpp_function::initialize_generic(pybind11::detail::function_record*, const char*, const std::type_info* const*, pybind11::size_t)’: /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/pybind11.h:291:14: error: ‘struct pybind11::detail::function_record’ has no member named ‘nargs’; did you mean ‘args’? 291 | rec->nargs = (std::uint16_t) args; | ^~~~~ | args /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/cast.h: In function ‘std::string pybind11::detail::error_string()’: /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/cast.h:441:36: error: invalid use of incomplete type ‘PyFrameObject’ {aka ‘struct _frame’} 441 | " " + handle(frame->f_code->co_filename).cast() + | ^~ In file included from /usr/include/python3.11/Python.h:42: /usr/include/python3.11/pytypedefs.h:22:16: note: forward declaration of ‘PyFrameObject’ {aka ‘struct _frame’} 22 | typedef struct _frame PyFrameObject; | ^~~~~~ /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/cast.h:441:75: error: expected primary-expression before ‘>’ token 441 | " " + handle(frame->f_code->co_filename).cast() + | ^ /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/cast.h:441:77: error: expected primary-expression before ‘)’ token 441 | " " + handle(frame->f_code->co_filename).cast() + | ^ /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/cast.h:443:29: error: invalid use of incomplete type ‘PyFrameObject’ {aka ‘struct _frame’} 443 | handle(frame->f_code->co_name).cast() + "\n"; | ^~ /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/pybind11.h:291:28: error: ‘uint16_t’ is not a member of ‘std’; did you mean ‘wint_t’? 291 | rec->nargs = (std::uint16_t) args; | ^~~~~~~~ | wint_t /usr/include/python3.11/pytypedefs.h:22:16: note: forward declaration of ‘PyFrameObject’ {aka ‘struct _frame’} 22 | typedef struct _frame PyFrameObject; | ^~~~~~ /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/cast.h:443:64: error: expected primary-expression before ‘>’ token 443 | handle(frame->f_code->co_name).cast() + "\n"; | ^ /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/cast.h:443:66: error: expected primary-expression before ‘)’ token 443 | handle(frame->f_code->co_name).cast() + "\n"; | ^ /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/cast.h:444:26: error: invalid use of incomplete type ‘PyFrameObject’ {aka ‘struct _frame’} 444 | frame = frame->f_back; | ^~ /usr/include/python3.11/pytypedefs.h:22:16: note: forward declaration of ‘PyFrameObject’ {aka ‘struct _frame’} 22 | typedef struct _frame PyFrameObject; | ^~~~~~ /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/pybind11.h: In function ‘pybind11::function pybind11::get_type_overload(const void*, const detail::type_info*, const char*)’: /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/pybind11.h:1890:49: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘frame’; did you mean ‘cframe’? 1890 | PyFrameObject *frame = PyThreadState_Get()->frame; | ^~~~~ | cframe /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/pybind11.h: In function ‘pybind11::function pybind11::get_type_overload(const void*, const detail::type_info*, const char*)’: /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/pybind11.h:1890:49: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘frame’; did you mean ‘cframe’? 1890 | PyFrameObject *frame = PyThreadState_Get()->frame; | ^~~~~ | cframe /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/pybind11.h:1891:41: error: invalid use of incomplete type ‘PyFrameObject’ {aka ‘struct _frame’} 1891 | if (frame && (std::string) str(frame->f_code->co_name) == name && | ^~ /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/pybind11.h:1891:41: error: invalid use of incomplete type ‘PyFrameObject’ {aka ‘struct _frame’} 1891 | if (frame && (std::string) str(frame->f_code->co_name) == name && | ^~ /usr/include/python3.11/pytypedefs.h:22:16: note: forward declaration of ‘PyFrameObject’ {aka ‘struct _frame’} 22 | typedef struct _frame PyFrameObject; | ^~~~~~ /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/pybind11.h:1892:14: error: invalid use of incomplete type ‘PyFrameObject’ {aka ‘struct _frame’} 1892 | frame->f_code->co_argcount > 0) { | ^~ /usr/include/python3.11/pytypedefs.h:22:16: note: forward declaration of ‘PyFrameObject’ {aka ‘struct _frame’} 22 | typedef struct _frame PyFrameObject; | ^~~~~~ /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/pybind11.h:1895:18: error: invalid use of incomplete type ‘PyFrameObject’ {aka ‘struct _frame’} 1895 | frame->f_locals, PyTuple_GET_ITEM(frame->f_code->co_varnames, 0)); | ^~ /usr/include/python3.11/pytypedefs.h:22:16: note: forward declaration of ‘PyFrameObject’ {aka ‘struct _frame’} 22 | typedef struct _frame PyFrameObject; | ^~~~~~ /usr/include/python3.11/pytypedefs.h:22:16: note: forward declaration of ‘PyFrameObject’ {aka ‘struct _frame’} 22 | typedef struct _frame PyFrameObject; | ^~~~~~ In file included from /usr/include/python3.11/Python.h:38: /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/pybind11.h:1895:52: error: invalid use of incomplete type ‘PyFrameObject’ {aka ‘struct _frame’} 1895 | frame->f_locals, PyTuple_GET_ITEM(frame->f_code->co_varnames, 0)); | ^~ /usr/include/python3.11/pyport.h:24:38: note: in definition of macro ‘_Py_CAST’ 24 | #define _Py_CAST(type, expr) ((type)(expr)) | ^~~~ /usr/include/python3.11/cpython/tupleobject.h:30:38: note: in expansion of macro ‘_PyTuple_CAST’ 30 | #define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[index]) | ^~~~~~~~~~~~~ /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/pybind11.h:1895:30: note: in expansion of macro ‘PyTuple_GET_ITEM’ 1895 | frame->f_locals, PyTuple_GET_ITEM(frame->f_code->co_varnames, 0)); | ^~~~~~~~~~~~~~~~ /usr/include/python3.11/pytypedefs.h:22:16: note: forward declaration of ‘PyFrameObject’ {aka ‘struct _frame’} 22 | typedef struct _frame PyFrameObject; | ^~~~~~ /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/pybind11.h:1892:14: error: invalid use of incomplete type ‘PyFrameObject’ {aka ‘struct _frame’} 1892 | frame->f_code->co_argcount > 0) { | ^~ /usr/include/python3.11/pytypedefs.h:22:16: note: forward declaration of ‘PyFrameObject’ {aka ‘struct _frame’} 22 | typedef struct _frame PyFrameObject; | ^~~~~~ /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/pybind11.h:1895:18: error: invalid use of incomplete type ‘PyFrameObject’ {aka ‘struct _frame’} 1895 | frame->f_locals, PyTuple_GET_ITEM(frame->f_code->co_varnames, 0)); | ^~ /usr/include/python3.11/pytypedefs.h:22:16: note: forward declaration of ‘PyFrameObject’ {aka ‘struct _frame’} 22 | typedef struct _frame PyFrameObject; | ^~~~~~ In file included from /usr/include/python3.11/Python.h:38: /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/pybind11.h:1895:52: error: invalid use of incomplete type ‘PyFrameObject’ {aka ‘struct _frame’} 1895 | frame->f_locals, PyTuple_GET_ITEM(frame->f_code->co_varnames, 0)); | ^~ /usr/include/python3.11/pyport.h:24:38: note: in definition of macro ‘_Py_CAST’ 24 | #define _Py_CAST(type, expr) ((type)(expr)) | ^~~~ /usr/include/python3.11/cpython/tupleobject.h:30:38: note: in expansion of macro ‘_PyTuple_CAST’ 30 | #define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[index]) | ^~~~~~~~~~~~~ /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/pybind11.h:1895:30: note: in expansion of macro ‘PyTuple_GET_ITEM’ 1895 | frame->f_locals, PyTuple_GET_ITEM(frame->f_code->co_varnames, 0)); | ^~~~~~~~~~~~~~~~ /usr/include/python3.11/pytypedefs.h:22:16: note: forward declaration of ‘PyFrameObject’ {aka ‘struct _frame’} 22 | typedef struct _frame PyFrameObject; | ^~~~~~ /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/cast.h: In function ‘std::string pybind11::detail::error_string()’: /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/cast.h:441:36: error: invalid use of incomplete type ‘PyFrameObject’ {aka ‘struct _frame’} 441 | " " + handle(frame->f_code->co_filename).cast() + | ^~ In file included from /usr/include/python3.11/Python.h:42: /usr/include/python3.11/pytypedefs.h:22:16: note: forward declaration of ‘PyFrameObject’ {aka ‘struct _frame’} 22 | typedef struct _frame PyFrameObject; | ^~~~~~ /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/cast.h:441:75: error: expected primary-expression before ‘>’ token 441 | " " + handle(frame->f_code->co_filename).cast() + | ^ /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/cast.h:441:77: error: expected primary-expression before ‘)’ token 441 | " " + handle(frame->f_code->co_filename).cast() + | ^ /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/cast.h:443:29: error: invalid use of incomplete type ‘PyFrameObject’ {aka ‘struct _frame’} 443 | handle(frame->f_code->co_name).cast() + "\n"; | ^~ /usr/include/python3.11/pytypedefs.h:22:16: note: forward declaration of ‘PyFrameObject’ {aka ‘struct _frame’} 22 | typedef struct _frame PyFrameObject; | ^~~~~~ /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/cast.h:443:64: error: expected primary-expression before ‘>’ token 443 | handle(frame->f_code->co_name).cast() + "\n"; | ^ /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/cast.h:443:66: error: expected primary-expression before ‘)’ token 443 | handle(frame->f_code->co_name).cast() + "\n"; | ^ /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/cast.h:444:26: error: invalid use of incomplete type ‘PyFrameObject’ {aka ‘struct _frame’} 444 | frame = frame->f_back; | ^~ /usr/include/python3.11/pytypedefs.h:22:16: note: forward declaration of ‘PyFrameObject’ {aka ‘struct _frame’} 22 | typedef struct _frame PyFrameObject; | ^~~~~~ /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/pybind11.h: In static member function ‘static PyObject* pybind11::cpp_function::dispatcher(PyObject*, PyObject*, PyObject*)’: /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/pybind11.h:489:40: error: ‘struct pybind11::detail::function_record’ has no member named ‘nargs’; did you mean ‘args’? 489 | size_t pos_args = func.nargs; // Number of positional arguments that we need | ^~~~~ | args /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/cast.h: In function ‘std::string pybind11::detail::error_string()’: /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/cast.h:441:36: error: invalid use of incomplete type ‘PyFrameObject’ {aka ‘struct _frame’} 441 | " " + handle(frame->f_code->co_filename).cast() + | ^~ In file included from /usr/include/python3.11/Python.h:42: /usr/include/python3.11/pytypedefs.h:22:16: note: forward declaration of ‘PyFrameObject’ {aka ‘struct _frame’} 22 | typedef struct _frame PyFrameObject; | ^~~~~~ /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/cast.h:441:75: error: expected primary-expression before ‘>’ token 441 | " " + handle(frame->f_code->co_filename).cast() + | ^ /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/cast.h:441:77: error: expected primary-expression before ‘)’ token 441 | " " + handle(frame->f_code->co_filename).cast() + | ^ /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/cast.h:443:29: error: invalid use of incomplete type ‘PyFrameObject’ {aka ‘struct _frame’} 443 | handle(frame->f_code->co_name).cast() + "\n"; | ^~ /usr/include/python3.11/pytypedefs.h:22:16: note: forward declaration of ‘PyFrameObject’ {aka ‘struct _frame’} 22 | typedef struct _frame PyFrameObject; | ^~~~~~ /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/cast.h:443:64: error: expected primary-expression before ‘>’ token 443 | handle(frame->f_code->co_name).cast() + "\n"; | ^ /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/cast.h:443:66: error: expected primary-expression before ‘)’ token 443 | handle(frame->f_code->co_name).cast() + "\n"; | ^ /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/cast.h:444:26: error: invalid use of incomplete type ‘PyFrameObject’ {aka ‘struct _frame’} 444 | frame = frame->f_back; | ^~ /usr/include/python3.11/pytypedefs.h:22:16: note: forward declaration of ‘PyFrameObject’ {aka ‘struct _frame’} 22 | typedef struct _frame PyFrameObject; | ^~~~~~ /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/pybind11.h:620:53: error: ‘struct pybind11::detail::function_record’ has no member named ‘nargs’; did you mean ‘args’? 620 | second_pass_convert.resize(func.nargs, false); | ^~~~~ | args /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/pybind11.h: In function ‘pybind11::function pybind11::get_type_overload(const void*, const detail::type_info*, const char*)’: /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/pybind11.h:1890:49: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘frame’; did you mean ‘cframe’? 1890 | PyFrameObject *frame = PyThreadState_Get()->frame; | ^~~~~ | cframe /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/pybind11.h:1891:41: error: invalid use of incomplete type ‘PyFrameObject’ {aka ‘struct _frame’} 1891 | if (frame && (std::string) str(frame->f_code->co_name) == name && | ^~ /usr/include/python3.11/pytypedefs.h:22:16: note: forward declaration of ‘PyFrameObject’ {aka ‘struct _frame’} 22 | typedef struct _frame PyFrameObject; | ^~~~~~ /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/pybind11.h:1892:14: error: invalid use of incomplete type ‘PyFrameObject’ {aka ‘struct _frame’} 1892 | frame->f_code->co_argcount > 0) { | ^~ /usr/include/python3.11/pytypedefs.h:22:16: note: forward declaration of ‘PyFrameObject’ {aka ‘struct _frame’} 22 | typedef struct _frame PyFrameObject; | ^~~~~~ /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/pybind11.h:1895:18: error: invalid use of incomplete type ‘PyFrameObject’ {aka ‘struct _frame’} 1895 | frame->f_locals, PyTuple_GET_ITEM(frame->f_code->co_varnames, 0)); | ^~ /usr/include/python3.11/pytypedefs.h:22:16: note: forward declaration of ‘PyFrameObject’ {aka ‘struct _frame’} 22 | typedef struct _frame PyFrameObject; | ^~~~~~ In file included from /usr/include/python3.11/Python.h:38: /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/pybind11.h:1895:52: error: invalid use of incomplete type ‘PyFrameObject’ {aka ‘struct _frame’} 1895 | frame->f_locals, PyTuple_GET_ITEM(frame->f_code->co_varnames, 0)); | ^~ /usr/include/python3.11/pyport.h:24:38: note: in definition of macro ‘_Py_CAST’ 24 | #define _Py_CAST(type, expr) ((type)(expr)) | ^~~~ /usr/include/python3.11/cpython/tupleobject.h:30:38: note: in expansion of macro ‘_PyTuple_CAST’ 30 | #define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[index]) | ^~~~~~~~~~~~~ /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/pybind11.h:1895:30: note: in expansion of macro ‘PyTuple_GET_ITEM’ 1895 | frame->f_locals, PyTuple_GET_ITEM(frame->f_code->co_varnames, 0)); | ^~~~~~~~~~~~~~~~ /usr/include/python3.11/pytypedefs.h:22:16: note: forward declaration of ‘PyFrameObject’ {aka ‘struct _frame’} 22 | typedef struct _frame PyFrameObject; | ^~~~~~ /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/cast.h: In function ‘std::string pybind11::detail::error_string()’: /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/cast.h:441:36: error: invalid use of incomplete type ‘PyFrameObject’ {aka ‘struct _frame’} 441 | " " + handle(frame->f_code->co_filename).cast() + | ^~ In file included from /usr/include/python3.11/Python.h:42: /usr/include/python3.11/pytypedefs.h:22:16: note: forward declaration of ‘PyFrameObject’ {aka ‘struct _frame’} 22 | typedef struct _frame PyFrameObject; | ^~~~~~ /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/cast.h:441:75: error: expected primary-expression before ‘>’ token 441 | " " + handle(frame->f_code->co_filename).cast() + | ^ /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/cast.h:441:77: error: expected primary-expression before ‘)’ token 441 | " " + handle(frame->f_code->co_filename).cast() + | ^ /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/cast.h:443:29: error: invalid use of incomplete type ‘PyFrameObject’ {aka ‘struct _frame’} 443 | handle(frame->f_code->co_name).cast() + "\n"; | ^~ /usr/include/python3.11/pytypedefs.h:22:16: note: forward declaration of ‘PyFrameObject’ {aka ‘struct _frame’} 22 | typedef struct _frame PyFrameObject; | ^~~~~~ /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/cast.h:443:64: error: expected primary-expression before ‘>’ token 443 | handle(frame->f_code->co_name).cast() + "\n"; | ^ /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/cast.h:443:66: error: expected primary-expression before ‘)’ token 443 | handle(frame->f_code->co_name).cast() + "\n"; | ^ /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/cast.h:444:26: error: invalid use of incomplete type ‘PyFrameObject’ {aka ‘struct _frame’} 444 | frame = frame->f_back; | ^~ /usr/include/python3.11/pytypedefs.h:22:16: note: forward declaration of ‘PyFrameObject’ {aka ‘struct _frame’} 22 | typedef struct _frame PyFrameObject; | ^~~~~~ /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/attr.h: At global scope: /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/attr.h:185:10: error: ‘uint16_t’ in namespace ‘std’ does not name a type; did you mean ‘wint_t’? 185 | std::uint16_t nargs; | ^~~~~~~~ | wint_t /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/attr.h: In constructor ‘pybind11::detail::function_call::function_call(pybind11::detail::function_record&, pybind11::handle)’: /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/attr.h:283:20: error: ‘struct pybind11::detail::function_record’ has no member named ‘nargs’; did you mean ‘args’? 283 | args.reserve(f.nargs); | ^~~~~ | args /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/attr.h:284:28: error: ‘struct pybind11::detail::function_record’ has no member named ‘nargs’; did you mean ‘args’? 284 | args_convert.reserve(f.nargs); | ^~~~~ | args In file included from /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/cast.h:16, from /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/attr.h:13, from /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /build/python-dlib/src/dlib-19.24/dlib/../dlib/python/pybind_utils.h:6, from /build/python-dlib/src/dlib-19.24/dlib/../dlib/python.h:6, from /build/python-dlib/src/dlib-19.24/tools/python/src/opaque_types.h:6, from /build/python-dlib/src/dlib-19.24/tools/python/src/image3.cpp:3: /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/detail/internals.h: In function ‘pybind11::detail::internals& pybind11::detail::get_internals()’: /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/detail/internals.h:194:27: warning: ‘void PyEval_InitThreads()’ is deprecated [-Wdeprecated-declarations] 194 | PyEval_InitThreads(); | ~~~~~~~~~~~~~~~~~~^~ In file included from /usr/include/python3.11/Python.h:95, from /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/detail/common.h:112, from /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/cast.h:13: /usr/include/python3.11/ceval.h:132:37: note: declared here 132 | Py_DEPRECATED(3.9) PyAPI_FUNC(void) PyEval_InitThreads(void); | ^~~~~~~~~~~~~~~~~~ /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/pybind11.h: In function ‘pybind11::function pybind11::get_type_overload(const void*, const detail::type_info*, const char*)’: /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/pybind11.h:1890:49: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘frame’; did you mean ‘cframe’? 1890 | PyFrameObject *frame = PyThreadState_Get()->frame; | ^~~~~ | cframe /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/pybind11.h:1891:41: error: invalid use of incomplete type ‘PyFrameObject’ {aka ‘struct _frame’} 1891 | if (frame && (std::string) str(frame->f_code->co_name) == name && | ^~ /usr/include/python3.11/pytypedefs.h:22:16: note: forward declaration of ‘PyFrameObject’ {aka ‘struct _frame’} 22 | typedef struct _frame PyFrameObject; | ^~~~~~ /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/pybind11.h:1892:14: error: invalid use of incomplete type ‘PyFrameObject’ {aka ‘struct _frame’} 1892 | frame->f_code->co_argcount > 0) { | ^~ /usr/include/python3.11/pytypedefs.h:22:16: note: forward declaration of ‘PyFrameObject’ {aka ‘struct _frame’} 22 | typedef struct _frame PyFrameObject; | ^~~~~~ /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/pybind11.h:1895:18: error: invalid use of incomplete type ‘PyFrameObject’ {aka ‘struct _frame’} 1895 | frame->f_locals, PyTuple_GET_ITEM(frame->f_code->co_varnames, 0)); | ^~ /usr/include/python3.11/pytypedefs.h:22:16: note: forward declaration of ‘PyFrameObject’ {aka ‘struct _frame’} 22 | typedef struct _frame PyFrameObject; | ^~~~~~ In file included from /usr/include/python3.11/Python.h:38: /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/pybind11.h:1895:52: error: invalid use of incomplete type ‘PyFrameObject’ {aka ‘struct _frame’} 1895 | frame->f_locals, PyTuple_GET_ITEM(frame->f_code->co_varnames, 0)); | ^~ /usr/include/python3.11/pyport.h:24:38: note: in definition of macro ‘_Py_CAST’ 24 | #define _Py_CAST(type, expr) ((type)(expr)) | ^~~~ /usr/include/python3.11/cpython/tupleobject.h:30:38: note: in expansion of macro ‘_PyTuple_CAST’ 30 | #define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[index]) | ^~~~~~~~~~~~~ /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/pybind11.h:1895:30: note: in expansion of macro ‘PyTuple_GET_ITEM’ 1895 | frame->f_locals, PyTuple_GET_ITEM(frame->f_code->co_varnames, 0)); | ^~~~~~~~~~~~~~~~ /usr/include/python3.11/pytypedefs.h:22:16: note: forward declaration of ‘PyFrameObject’ {aka ‘struct _frame’} 22 | typedef struct _frame PyFrameObject; | ^~~~~~ /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/attr.h: At global scope: /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/attr.h:185:10: error: ‘uint16_t’ in namespace ‘std’ does not name a type; did you mean ‘wint_t’? 185 | std::uint16_t nargs; | ^~~~~~~~ | wint_t /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/attr.h: In constructor ‘pybind11::detail::function_call::function_call(pybind11::detail::function_record&, pybind11::handle)’: /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/attr.h:283:20: error: ‘struct pybind11::detail::function_record’ has no member named ‘nargs’; did you mean ‘args’? 283 | args.reserve(f.nargs); | ^~~~~ | args /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/attr.h:284:28: error: ‘struct pybind11::detail::function_record’ has no member named ‘nargs’; did you mean ‘args’? 284 | args_convert.reserve(f.nargs); | ^~~~~ | args /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/attr.h: At global scope: /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/attr.h:185:10: error: ‘uint16_t’ in namespace ‘std’ does not name a type; did you mean ‘wint_t’? 185 | std::uint16_t nargs; | ^~~~~~~~ | wint_t /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/attr.h: At global scope: /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/attr.h:185:10: error: ‘uint16_t’ in namespace ‘std’ does not name a type; did you mean ‘wint_t’? 185 | std::uint16_t nargs; | ^~~~~~~~ | wint_t /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/attr.h: In constructor ‘pybind11::detail::function_call::function_call(pybind11::detail::function_record&, pybind11::handle)’: /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/attr.h:283:20: error: ‘struct pybind11::detail::function_record’ has no member named ‘nargs’; did you mean ‘args’? 283 | args.reserve(f.nargs); | ^~~~~ | args /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/attr.h:284:28: error: ‘struct pybind11::detail::function_record’ has no member named ‘nargs’; did you mean ‘args’? 284 | args_convert.reserve(f.nargs); | ^~~~~ | args /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/attr.h: In constructor ‘pybind11::detail::function_call::function_call(pybind11::detail::function_record&, pybind11::handle)’: /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/attr.h:283:20: error: ‘struct pybind11::detail::function_record’ has no member named ‘nargs’; did you mean ‘args’? 283 | args.reserve(f.nargs); | ^~~~~ | args /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/attr.h:284:28: error: ‘struct pybind11::detail::function_record’ has no member named ‘nargs’; did you mean ‘args’? 284 | args_convert.reserve(f.nargs); | ^~~~~ | args /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/pybind11.h: In member function ‘void pybind11::cpp_function::initialize_generic(pybind11::detail::function_record*, const char*, const std::type_info* const*, pybind11::size_t)’: /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/pybind11.h:291:14: error: ‘struct pybind11::detail::function_record’ has no member named ‘nargs’; did you mean ‘args’? 291 | rec->nargs = (std::uint16_t) args; | ^~~~~ | args /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/pybind11.h:291:28: error: ‘uint16_t’ is not a member of ‘std’; did you mean ‘wint_t’? 291 | rec->nargs = (std::uint16_t) args; | ^~~~~~~~ | wint_t /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/pybind11.h: In static member function ‘static PyObject* pybind11::cpp_function::dispatcher(PyObject*, PyObject*, PyObject*)’: /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/pybind11.h:489:40: error: ‘struct pybind11::detail::function_record’ has no member named ‘nargs’; did you mean ‘args’? 489 | size_t pos_args = func.nargs; // Number of positional arguments that we need | ^~~~~ | args /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/pybind11.h:620:53: error: ‘struct pybind11::detail::function_record’ has no member named ‘nargs’; did you mean ‘args’? 620 | second_pass_convert.resize(func.nargs, false); | ^~~~~ | args /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/attr.h: At global scope: /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/attr.h:185:10: error: ‘uint16_t’ in namespace ‘std’ does not name a type; did you mean ‘wint_t’? 185 | std::uint16_t nargs; | ^~~~~~~~ | wint_t /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/cast.h: In function ‘std::string pybind11::detail::error_string()’: /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/cast.h:441:36: error: invalid use of incomplete type ‘PyFrameObject’ {aka ‘struct _frame’} 441 | " " + handle(frame->f_code->co_filename).cast() + | ^~ In file included from /usr/include/python3.11/Python.h:42: /usr/include/python3.11/pytypedefs.h:22:16: note: forward declaration of ‘PyFrameObject’ {aka ‘struct _frame’} 22 | typedef struct _frame PyFrameObject; | ^~~~~~ /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/cast.h:441:75: error: expected primary-expression before ‘>’ token 441 | " " + handle(frame->f_code->co_filename).cast() + | ^ /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/cast.h:441:77: error: expected primary-expression before ‘)’ token 441 | " " + handle(frame->f_code->co_filename).cast() + | ^ /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/cast.h:443:29: error: invalid use of incomplete type ‘PyFrameObject’ {aka ‘struct _frame’} 443 | handle(frame->f_code->co_name).cast() + "\n"; | ^~ /usr/include/python3.11/pytypedefs.h:22:16: note: forward declaration of ‘PyFrameObject’ {aka ‘struct _frame’} 22 | typedef struct _frame PyFrameObject; | ^~~~~~ /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/cast.h:443:64: error: expected primary-expression before ‘>’ token 443 | handle(frame->f_code->co_name).cast() + "\n"; | ^ /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/cast.h:443:66: error: expected primary-expression before ‘)’ token 443 | handle(frame->f_code->co_name).cast() + "\n"; | ^ /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/cast.h:444:26: error: invalid use of incomplete type ‘PyFrameObject’ {aka ‘struct _frame’} 444 | frame = frame->f_back; | ^~ /usr/include/python3.11/pytypedefs.h:22:16: note: forward declaration of ‘PyFrameObject’ {aka ‘struct _frame’} 22 | typedef struct _frame PyFrameObject; | ^~~~~~ /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/pybind11.h: In member function ‘void pybind11::cpp_function::initialize_generic(pybind11::detail::function_record*, const char*, const std::type_info* const*, pybind11::size_t)’: /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/pybind11.h:291:14: error: ‘struct pybind11::detail::function_record’ has no member named ‘nargs’; did you mean ‘args’? 291 | rec->nargs = (std::uint16_t) args; | ^~~~~ | args /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/attr.h: In constructor ‘pybind11::detail::function_call::function_call(pybind11::detail::function_record&, pybind11::handle)’: /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/attr.h:283:20: error: ‘struct pybind11::detail::function_record’ has no member named ‘nargs’; did you mean ‘args’? 283 | args.reserve(f.nargs); | ^~~~~ | args /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/attr.h:284:28: error: ‘struct pybind11::detail::function_record’ has no member named ‘nargs’; did you mean ‘args’? 284 | args_convert.reserve(f.nargs); | ^~~~~ | args /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/pybind11.h:291:28: error: ‘uint16_t’ is not a member of ‘std’; did you mean ‘wint_t’? 291 | rec->nargs = (std::uint16_t) args; | ^~~~~~~~ | wint_t /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/pybind11.h: In member function ‘void pybind11::cpp_function::initialize_generic(pybind11::detail::function_record*, const char*, const std::type_info* const*, pybind11::size_t)’: /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/pybind11.h:291:14: error: ‘struct pybind11::detail::function_record’ has no member named ‘nargs’; did you mean ‘args’? 291 | rec->nargs = (std::uint16_t) args; | ^~~~~ | args /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/pybind11.h: In static member function ‘static PyObject* pybind11::cpp_function::dispatcher(PyObject*, PyObject*, PyObject*)’: /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/pybind11.h:489:40: error: ‘struct pybind11::detail::function_record’ has no member named ‘nargs’; did you mean ‘args’? 489 | size_t pos_args = func.nargs; // Number of positional arguments that we need | ^~~~~ | args /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/pybind11.h: In member function ‘void pybind11::cpp_function::initialize_generic(pybind11::detail::function_record*, const char*, const std::type_info* const*, pybind11::size_t)’: /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/pybind11.h:291:14: error: ‘struct pybind11::detail::function_record’ has no member named ‘nargs’; did you mean ‘args’? 291 | rec->nargs = (std::uint16_t) args; | ^~~~~ | args /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/pybind11.h:291:28: error: ‘uint16_t’ is not a member of ‘std’; did you mean ‘wint_t’? 291 | rec->nargs = (std::uint16_t) args; | ^~~~~~~~ | wint_t /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/pybind11.h:291:28: error: ‘uint16_t’ is not a member of ‘std’; did you mean ‘wint_t’? 291 | rec->nargs = (std::uint16_t) args; | ^~~~~~~~ | wint_t /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/pybind11.h:620:53: error: ‘struct pybind11::detail::function_record’ has no member named ‘nargs’; did you mean ‘args’? 620 | second_pass_convert.resize(func.nargs, false); | ^~~~~ | args /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/pybind11.h: In static member function ‘static PyObject* pybind11::cpp_function::dispatcher(PyObject*, PyObject*, PyObject*)’: /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/pybind11.h:489:40: error: ‘struct pybind11::detail::function_record’ has no member named ‘nargs’; did you mean ‘args’? 489 | size_t pos_args = func.nargs; // Number of positional arguments that we need | ^~~~~ | args /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/pybind11.h: In static member function ‘static PyObject* pybind11::cpp_function::dispatcher(PyObject*, PyObject*, PyObject*)’: /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/pybind11.h:489:40: error: ‘struct pybind11::detail::function_record’ has no member named ‘nargs’; did you mean ‘args’? 489 | size_t pos_args = func.nargs; // Number of positional arguments that we need | ^~~~~ | args /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/pybind11.h:620:53: error: ‘struct pybind11::detail::function_record’ has no member named ‘nargs’; did you mean ‘args’? 620 | second_pass_convert.resize(func.nargs, false); | ^~~~~ | args /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/pybind11.h:620:53: error: ‘struct pybind11::detail::function_record’ has no member named ‘nargs’; did you mean ‘args’? 620 | second_pass_convert.resize(func.nargs, false); | ^~~~~ | args /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/pybind11.h: In member function ‘void pybind11::cpp_function::initialize_generic(pybind11::detail::function_record*, const char*, const std::type_info* const*, pybind11::size_t)’: /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/pybind11.h:291:14: error: ‘struct pybind11::detail::function_record’ has no member named ‘nargs’; did you mean ‘args’? 291 | rec->nargs = (std::uint16_t) args; | ^~~~~ | args /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/pybind11.h:291:28: error: ‘uint16_t’ is not a member of ‘std’; did you mean ‘wint_t’? 291 | rec->nargs = (std::uint16_t) args; | ^~~~~~~~ | wint_t /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/pybind11.h: In function ‘pybind11::function pybind11::get_type_overload(const void*, const detail::type_info*, const char*)’: /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/pybind11.h:1890:49: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘frame’; did you mean ‘cframe’? 1890 | PyFrameObject *frame = PyThreadState_Get()->frame; | ^~~~~ | cframe /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/pybind11.h:1891:41: error: invalid use of incomplete type ‘PyFrameObject’ {aka ‘struct _frame’} 1891 | if (frame && (std::string) str(frame->f_code->co_name) == name && | ^~ /usr/include/python3.11/pytypedefs.h:22:16: note: forward declaration of ‘PyFrameObject’ {aka ‘struct _frame’} 22 | typedef struct _frame PyFrameObject; | ^~~~~~ /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/pybind11.h:1892:14: error: invalid use of incomplete type ‘PyFrameObject’ {aka ‘struct _frame’} 1892 | frame->f_code->co_argcount > 0) { | ^~ /usr/include/python3.11/pytypedefs.h:22:16: note: forward declaration of ‘PyFrameObject’ {aka ‘struct _frame’} 22 | typedef struct _frame PyFrameObject; | ^~~~~~ /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/pybind11.h:1895:18: error: invalid use of incomplete type ‘PyFrameObject’ {aka ‘struct _frame’} 1895 | frame->f_locals, PyTuple_GET_ITEM(frame->f_code->co_varnames, 0)); | ^~ /usr/include/python3.11/pytypedefs.h:22:16: note: forward declaration of ‘PyFrameObject’ {aka ‘struct _frame’} 22 | typedef struct _frame PyFrameObject; | ^~~~~~ In file included from /usr/include/python3.11/Python.h:38: /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/pybind11.h:1895:52: error: invalid use of incomplete type ‘PyFrameObject’ {aka ‘struct _frame’} 1895 | frame->f_locals, PyTuple_GET_ITEM(frame->f_code->co_varnames, 0)); | ^~ /usr/include/python3.11/pyport.h:24:38: note: in definition of macro ‘_Py_CAST’ 24 | #define _Py_CAST(type, expr) ((type)(expr)) | ^~~~ /usr/include/python3.11/cpython/tupleobject.h:30:38: note: in expansion of macro ‘_PyTuple_CAST’ 30 | #define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[index]) | ^~~~~~~~~~~~~ /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/pybind11.h:1895:30: note: in expansion of macro ‘PyTuple_GET_ITEM’ 1895 | frame->f_locals, PyTuple_GET_ITEM(frame->f_code->co_varnames, 0)); | ^~~~~~~~~~~~~~~~ /usr/include/python3.11/pytypedefs.h:22:16: note: forward declaration of ‘PyFrameObject’ {aka ‘struct _frame’} 22 | typedef struct _frame PyFrameObject; | ^~~~~~ /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/pybind11.h: In static member function ‘static PyObject* pybind11::cpp_function::dispatcher(PyObject*, PyObject*, PyObject*)’: /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/pybind11.h:489:40: error: ‘struct pybind11::detail::function_record’ has no member named ‘nargs’; did you mean ‘args’? 489 | size_t pos_args = func.nargs; // Number of positional arguments that we need | ^~~~~ | args /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/pybind11.h:620:53: error: ‘struct pybind11::detail::function_record’ has no member named ‘nargs’; did you mean ‘args’? 620 | second_pass_convert.resize(func.nargs, false); | ^~~~~ | args /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/pybind11.h: In function ‘pybind11::function pybind11::get_type_overload(const void*, const detail::type_info*, const char*)’: /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/pybind11.h:1890:49: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘frame’; did you mean ‘cframe’? 1890 | PyFrameObject *frame = PyThreadState_Get()->frame; | ^~~~~ | cframe /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/pybind11.h:1891:41: error: invalid use of incomplete type ‘PyFrameObject’ {aka ‘struct _frame’} 1891 | if (frame && (std::string) str(frame->f_code->co_name) == name && | ^~ /usr/include/python3.11/pytypedefs.h:22:16: note: forward declaration of ‘PyFrameObject’ {aka ‘struct _frame’} 22 | typedef struct _frame PyFrameObject; | ^~~~~~ /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/pybind11.h:1892:14: error: invalid use of incomplete type ‘PyFrameObject’ {aka ‘struct _frame’} 1892 | frame->f_code->co_argcount > 0) { | ^~ /usr/include/python3.11/pytypedefs.h:22:16: note: forward declaration of ‘PyFrameObject’ {aka ‘struct _frame’} 22 | typedef struct _frame PyFrameObject; | ^~~~~~ /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/pybind11.h:1895:18: error: invalid use of incomplete type ‘PyFrameObject’ {aka ‘struct _frame’} 1895 | frame->f_locals, PyTuple_GET_ITEM(frame->f_code->co_varnames, 0)); | ^~ /usr/include/python3.11/pytypedefs.h:22:16: note: forward declaration of ‘PyFrameObject’ {aka ‘struct _frame’} 22 | typedef struct _frame PyFrameObject; | ^~~~~~ In file included from /usr/include/python3.11/Python.h:38: /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/pybind11.h:1895:52: error: invalid use of incomplete type ‘PyFrameObject’ {aka ‘struct _frame’} 1895 | frame->f_locals, PyTuple_GET_ITEM(frame->f_code->co_varnames, 0)); | ^~ /usr/include/python3.11/pyport.h:24:38: note: in definition of macro ‘_Py_CAST’ 24 | #define _Py_CAST(type, expr) ((type)(expr)) | ^~~~ /usr/include/python3.11/cpython/tupleobject.h:30:38: note: in expansion of macro ‘_PyTuple_CAST’ 30 | #define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[index]) | ^~~~~~~~~~~~~ /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/pybind11.h:1895:30: note: in expansion of macro ‘PyTuple_GET_ITEM’ 1895 | frame->f_locals, PyTuple_GET_ITEM(frame->f_code->co_varnames, 0)); | ^~~~~~~~~~~~~~~~ /usr/include/python3.11/pytypedefs.h:22:16: note: forward declaration of ‘PyFrameObject’ {aka ‘struct _frame’} 22 | typedef struct _frame PyFrameObject; | ^~~~~~ /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/pybind11.h: In function ‘pybind11::function pybind11::get_type_overload(const void*, const detail::type_info*, const char*)’: /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/pybind11.h:1890:49: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘frame’; did you mean ‘cframe’? 1890 | PyFrameObject *frame = PyThreadState_Get()->frame; | ^~~~~ | cframe /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/pybind11.h:1891:41: error: invalid use of incomplete type ‘PyFrameObject’ {aka ‘struct _frame’} 1891 | if (frame && (std::string) str(frame->f_code->co_name) == name && | ^~ /usr/include/python3.11/pytypedefs.h:22:16: note: forward declaration of ‘PyFrameObject’ {aka ‘struct _frame’} 22 | typedef struct _frame PyFrameObject; | ^~~~~~ /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/pybind11.h:1892:14: error: invalid use of incomplete type ‘PyFrameObject’ {aka ‘struct _frame’} 1892 | frame->f_code->co_argcount > 0) { | ^~ /usr/include/python3.11/pytypedefs.h:22:16: note: forward declaration of ‘PyFrameObject’ {aka ‘struct _frame’} 22 | typedef struct _frame PyFrameObject; | ^~~~~~ /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/pybind11.h:1895:18: error: invalid use of incomplete type ‘PyFrameObject’ {aka ‘struct _frame’} 1895 | frame->f_locals, PyTuple_GET_ITEM(frame->f_code->co_varnames, 0)); | ^~ /usr/include/python3.11/pytypedefs.h:22:16: note: forward declaration of ‘PyFrameObject’ {aka ‘struct _frame’} 22 | typedef struct _frame PyFrameObject; | ^~~~~~ /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/pybind11.h: In function ‘pybind11::function pybind11::get_type_overload(const void*, const detail::type_info*, const char*)’: /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/pybind11.h:1890:49: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘frame’; did you mean ‘cframe’? 1890 | PyFrameObject *frame = PyThreadState_Get()->frame; | ^~~~~ | cframe /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/pybind11.h:1891:41: error: invalid use of incomplete type ‘PyFrameObject’ {aka ‘struct _frame’} 1891 | if (frame && (std::string) str(frame->f_code->co_name) == name && | ^~ /usr/include/python3.11/pytypedefs.h:22:16: note: forward declaration of ‘PyFrameObject’ {aka ‘struct _frame’} 22 | typedef struct _frame PyFrameObject; | ^~~~~~ /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/pybind11.h:1892:14: error: invalid use of incomplete type ‘PyFrameObject’ {aka ‘struct _frame’} 1892 | frame->f_code->co_argcount > 0) { | ^~ /usr/include/python3.11/pytypedefs.h:22:16: note: forward declaration of ‘PyFrameObject’ {aka ‘struct _frame’} 22 | typedef struct _frame PyFrameObject; | ^~~~~~ /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/pybind11.h:1895:18: error: invalid use of incomplete type ‘PyFrameObject’ {aka ‘struct _frame’} 1895 | frame->f_locals, PyTuple_GET_ITEM(frame->f_code->co_varnames, 0)); | ^~ /usr/include/python3.11/pytypedefs.h:22:16: note: forward declaration of ‘PyFrameObject’ {aka ‘struct _frame’} 22 | typedef struct _frame PyFrameObject; | ^~~~~~ In file included from /usr/include/python3.11/Python.h:38: /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/pybind11.h:1895:52: error: invalid use of incomplete type ‘PyFrameObject’ {aka ‘struct _frame’} 1895 | frame->f_locals, PyTuple_GET_ITEM(frame->f_code->co_varnames, 0)); | ^~ /usr/include/python3.11/pyport.h:24:38: note: in definition of macro ‘_Py_CAST’ 24 | #define _Py_CAST(type, expr) ((type)(expr)) | ^~~~ /usr/include/python3.11/cpython/tupleobject.h:30:38: note: in expansion of macro ‘_PyTuple_CAST’ 30 | #define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[index]) | ^~~~~~~~~~~~~ /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/pybind11.h:1895:30: note: in expansion of macro ‘PyTuple_GET_ITEM’ 1895 | frame->f_locals, PyTuple_GET_ITEM(frame->f_code->co_varnames, 0)); | ^~~~~~~~~~~~~~~~ /usr/include/python3.11/pytypedefs.h:22:16: note: forward declaration of ‘PyFrameObject’ {aka ‘struct _frame’} 22 | typedef struct _frame PyFrameObject; | ^~~~~~ In file included from /usr/include/python3.11/Python.h:38: /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/pybind11.h:1895:52: error: invalid use of incomplete type ‘PyFrameObject’ {aka ‘struct _frame’} 1895 | frame->f_locals, PyTuple_GET_ITEM(frame->f_code->co_varnames, 0)); | ^~ /usr/include/python3.11/pyport.h:24:38: note: in definition of macro ‘_Py_CAST’ 24 | #define _Py_CAST(type, expr) ((type)(expr)) | ^~~~ /usr/include/python3.11/cpython/tupleobject.h:30:38: note: in expansion of macro ‘_PyTuple_CAST’ 30 | #define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[index]) | ^~~~~~~~~~~~~ /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/pybind11.h:1895:30: note: in expansion of macro ‘PyTuple_GET_ITEM’ 1895 | frame->f_locals, PyTuple_GET_ITEM(frame->f_code->co_varnames, 0)); | ^~~~~~~~~~~~~~~~ /usr/include/python3.11/pytypedefs.h:22:16: note: forward declaration of ‘PyFrameObject’ {aka ‘struct _frame’} 22 | typedef struct _frame PyFrameObject; | ^~~~~~ /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/attr.h: At global scope: /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/attr.h:185:10: error: ‘uint16_t’ in namespace ‘std’ does not name a type; did you mean ‘wint_t’? 185 | std::uint16_t nargs; | ^~~~~~~~ | wint_t /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/attr.h: In constructor ‘pybind11::detail::function_call::function_call(pybind11::detail::function_record&, pybind11::handle)’: /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/attr.h:283:20: error: ‘struct pybind11::detail::function_record’ has no member named ‘nargs’; did you mean ‘args’? 283 | args.reserve(f.nargs); | ^~~~~ | args /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/attr.h:284:28: error: ‘struct pybind11::detail::function_record’ has no member named ‘nargs’; did you mean ‘args’? 284 | args_convert.reserve(f.nargs); | ^~~~~ | args /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/pybind11.h: In function ‘pybind11::function pybind11::get_type_overload(const void*, const detail::type_info*, const char*)’: /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/pybind11.h:1890:49: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘frame’; did you mean ‘cframe’? 1890 | PyFrameObject *frame = PyThreadState_Get()->frame; | ^~~~~ | cframe /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/pybind11.h:1891:41: error: invalid use of incomplete type ‘PyFrameObject’ {aka ‘struct _frame’} 1891 | if (frame && (std::string) str(frame->f_code->co_name) == name && | ^~ /usr/include/python3.11/pytypedefs.h:22:16: note: forward declaration of ‘PyFrameObject’ {aka ‘struct _frame’} 22 | typedef struct _frame PyFrameObject; | ^~~~~~ /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/pybind11.h:1892:14: error: invalid use of incomplete type ‘PyFrameObject’ {aka ‘struct _frame’} 1892 | frame->f_code->co_argcount > 0) { | ^~ /usr/include/python3.11/pytypedefs.h:22:16: note: forward declaration of ‘PyFrameObject’ {aka ‘struct _frame’} 22 | typedef struct _frame PyFrameObject; | ^~~~~~ /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/pybind11.h:1895:18: error: invalid use of incomplete type ‘PyFrameObject’ {aka ‘struct _frame’} 1895 | frame->f_locals, PyTuple_GET_ITEM(frame->f_code->co_varnames, 0)); | ^~ /usr/include/python3.11/pytypedefs.h:22:16: note: forward declaration of ‘PyFrameObject’ {aka ‘struct _frame’} 22 | typedef struct _frame PyFrameObject; | ^~~~~~ In file included from /usr/include/python3.11/Python.h:38: /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/pybind11.h:1895:52: error: invalid use of incomplete type ‘PyFrameObject’ {aka ‘struct _frame’} 1895 | frame->f_locals, PyTuple_GET_ITEM(frame->f_code->co_varnames, 0)); | ^~ /usr/include/python3.11/pyport.h:24:38: note: in definition of macro ‘_Py_CAST’ 24 | #define _Py_CAST(type, expr) ((type)(expr)) | ^~~~ /usr/include/python3.11/cpython/tupleobject.h:30:38: note: in expansion of macro ‘_PyTuple_CAST’ 30 | #define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[index]) | ^~~~~~~~~~~~~ /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/pybind11.h:1895:30: note: in expansion of macro ‘PyTuple_GET_ITEM’ 1895 | frame->f_locals, PyTuple_GET_ITEM(frame->f_code->co_varnames, 0)); | ^~~~~~~~~~~~~~~~ /usr/include/python3.11/pytypedefs.h:22:16: note: forward declaration of ‘PyFrameObject’ {aka ‘struct _frame’} 22 | typedef struct _frame PyFrameObject; | ^~~~~~ /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/pybind11.h: In member function ‘void pybind11::cpp_function::initialize_generic(pybind11::detail::function_record*, const char*, const std::type_info* const*, pybind11::size_t)’: /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/pybind11.h:291:14: error: ‘struct pybind11::detail::function_record’ has no member named ‘nargs’; did you mean ‘args’? 291 | rec->nargs = (std::uint16_t) args; | ^~~~~ | args /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/pybind11.h:291:28: error: ‘uint16_t’ is not a member of ‘std’; did you mean ‘wint_t’? 291 | rec->nargs = (std::uint16_t) args; | ^~~~~~~~ | wint_t /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/pybind11.h: In static member function ‘static PyObject* pybind11::cpp_function::dispatcher(PyObject*, PyObject*, PyObject*)’: /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/pybind11.h:489:40: error: ‘struct pybind11::detail::function_record’ has no member named ‘nargs’; did you mean ‘args’? 489 | size_t pos_args = func.nargs; // Number of positional arguments that we need | ^~~~~ | args /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/pybind11.h:620:53: error: ‘struct pybind11::detail::function_record’ has no member named ‘nargs’; did you mean ‘args’? 620 | second_pass_convert.resize(func.nargs, false); | ^~~~~ | args /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/pybind11.h: In function ‘pybind11::function pybind11::get_type_overload(const void*, const detail::type_info*, const char*)’: /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/pybind11.h:1890:49: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘frame’; did you mean ‘cframe’? 1890 | PyFrameObject *frame = PyThreadState_Get()->frame; | ^~~~~ | cframe /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/pybind11.h:1891:41: error: invalid use of incomplete type ‘PyFrameObject’ {aka ‘struct _frame’} 1891 | if (frame && (std::string) str(frame->f_code->co_name) == name && | ^~ /usr/include/python3.11/pytypedefs.h:22:16: note: forward declaration of ‘PyFrameObject’ {aka ‘struct _frame’} 22 | typedef struct _frame PyFrameObject; | ^~~~~~ /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/pybind11.h:1892:14: error: invalid use of incomplete type ‘PyFrameObject’ {aka ‘struct _frame’} 1892 | frame->f_code->co_argcount > 0) { | ^~ /usr/include/python3.11/pytypedefs.h:22:16: note: forward declaration of ‘PyFrameObject’ {aka ‘struct _frame’} 22 | typedef struct _frame PyFrameObject; | ^~~~~~ /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/pybind11.h:1895:18: error: invalid use of incomplete type ‘PyFrameObject’ {aka ‘struct _frame’} 1895 | frame->f_locals, PyTuple_GET_ITEM(frame->f_code->co_varnames, 0)); | ^~ /usr/include/python3.11/pytypedefs.h:22:16: note: forward declaration of ‘PyFrameObject’ {aka ‘struct _frame’} 22 | typedef struct _frame PyFrameObject; | ^~~~~~ In file included from /usr/include/python3.11/Python.h:38: /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/pybind11.h:1895:52: error: invalid use of incomplete type ‘PyFrameObject’ {aka ‘struct _frame’} 1895 | frame->f_locals, PyTuple_GET_ITEM(frame->f_code->co_varnames, 0)); | ^~ /usr/include/python3.11/pyport.h:24:38: note: in definition of macro ‘_Py_CAST’ 24 | #define _Py_CAST(type, expr) ((type)(expr)) | ^~~~ /usr/include/python3.11/cpython/tupleobject.h:30:38: note: in expansion of macro ‘_PyTuple_CAST’ 30 | #define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[index]) | ^~~~~~~~~~~~~ /build/python-dlib/src/dlib-19.24/dlib/external/pybind11/include/pybind11/pybind11.h:1895:30: note: in expansion of macro ‘PyTuple_GET_ITEM’ 1895 | frame->f_locals, PyTuple_GET_ITEM(frame->f_code->co_varnames, 0)); | ^~~~~~~~~~~~~~~~ /usr/include/python3.11/pytypedefs.h:22:16: note: forward declaration of ‘PyFrameObject’ {aka ‘struct _frame’} 22 | typedef struct _frame PyFrameObject; | ^~~~~~ make[2]: *** [CMakeFiles/_dlib_pybind11.dir/build.make:76: CMakeFiles/_dlib_pybind11.dir/src/dlib.cpp.o] Error 1 make[2]: *** Waiting for unfinished jobs.... make[2]: *** [CMakeFiles/_dlib_pybind11.dir/build.make:90: CMakeFiles/_dlib_pybind11.dir/src/matrix.cpp.o] Error 1 make[2]: *** [CMakeFiles/_dlib_pybind11.dir/build.make:188: CMakeFiles/_dlib_pybind11.dir/src/cca.cpp.o] Error 1 make[2]: *** [CMakeFiles/_dlib_pybind11.dir/build.make:160: CMakeFiles/_dlib_pybind11.dir/src/other.cpp.o] Error 1 make[2]: *** [CMakeFiles/_dlib_pybind11.dir/build.make:216: CMakeFiles/_dlib_pybind11.dir/src/svm_struct.cpp.o] Error 1 make[2]: *** [CMakeFiles/_dlib_pybind11.dir/build.make:286: CMakeFiles/_dlib_pybind11.dir/src/rectangles.cpp.o] Error 1 make[2]: *** [CMakeFiles/_dlib_pybind11.dir/build.make:132: CMakeFiles/_dlib_pybind11.dir/src/svm_rank_trainer.cpp.o] Error 1 make[2]: *** [CMakeFiles/_dlib_pybind11.dir/build.make:174: CMakeFiles/_dlib_pybind11.dir/src/basic.cpp.o] Error 1 make[2]: *** [CMakeFiles/_dlib_pybind11.dir/build.make:104: CMakeFiles/_dlib_pybind11.dir/src/vector.cpp.o] Error 1 make[2]: *** [CMakeFiles/_dlib_pybind11.dir/build.make:146: CMakeFiles/_dlib_pybind11.dir/src/decision_functions.cpp.o] Error 1 make[2]: *** [CMakeFiles/_dlib_pybind11.dir/build.make:202: CMakeFiles/_dlib_pybind11.dir/src/sequence_segmenter.cpp.o] Error 1 make[2]: *** [CMakeFiles/_dlib_pybind11.dir/build.make:118: CMakeFiles/_dlib_pybind11.dir/src/svm_c_trainer.cpp.o] Error 1 make[2]: *** [CMakeFiles/_dlib_pybind11.dir/build.make:230: CMakeFiles/_dlib_pybind11.dir/src/image.cpp.o] Error 1 make[2]: *** [CMakeFiles/_dlib_pybind11.dir/build.make:272: CMakeFiles/_dlib_pybind11.dir/src/image4.cpp.o] Error 1 make[2]: *** [CMakeFiles/_dlib_pybind11.dir/build.make:244: CMakeFiles/_dlib_pybind11.dir/src/image2.cpp.o] Error 1 make[2]: *** [CMakeFiles/_dlib_pybind11.dir/build.make:258: CMakeFiles/_dlib_pybind11.dir/src/image3.cpp.o] Error 1 make[1]: *** [CMakeFiles/Makefile2:118: CMakeFiles/_dlib_pybind11.dir/all] Error 2 make: *** [Makefile:91: all] Error 2 Traceback (most recent call last): File "/build/python-dlib/src/dlib-19.24/setup.py", line 222, in setup( File "/usr/lib/python3.11/site-packages/setuptools/__init__.py", line 107, in setup return distutils.core.setup(**attrs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/setuptools/_distutils/core.py", line 185, in setup return run_commands(dist) ^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/setuptools/_distutils/core.py", line 201, in run_commands dist.run_commands() File "/usr/lib/python3.11/site-packages/setuptools/_distutils/dist.py", line 969, in run_commands self.run_command(cmd) File "/usr/lib/python3.11/site-packages/setuptools/dist.py", line 1243, in run_command super().run_command(command) File "/usr/lib/python3.11/site-packages/setuptools/_distutils/dist.py", line 988, in run_command cmd_obj.run() File "/usr/lib/python3.11/site-packages/setuptools/_distutils/command/build.py", line 131, in run self.run_command(cmd_name) File "/usr/lib/python3.11/site-packages/setuptools/_distutils/cmd.py", line 318, in run_command self.distribution.run_command(command) File "/usr/lib/python3.11/site-packages/setuptools/dist.py", line 1243, in run_command super().run_command(command) File "/usr/lib/python3.11/site-packages/setuptools/_distutils/dist.py", line 988, in run_command cmd_obj.run() File "/build/python-dlib/src/dlib-19.24/setup.py", line 134, in run self.build_extension(ext) File "/build/python-dlib/src/dlib-19.24/setup.py", line 174, in build_extension subprocess.check_call(cmake_build, cwd=build_folder) File "/usr/lib/python3.11/subprocess.py", line 413, in check_call raise CalledProcessError(retcode, cmd) subprocess.CalledProcessError: Command '['cmake', '--build', '.', '--config', 'Release', '--', '-j16']' returned non-zero exit status 2. ==> ERROR:(B A failure occurred in build().(B  Aborting...(B