Repository: opencv
Issue: Ubuntu20.04 opencv-5.4.3+ AARCH64-Linux-G ++(version 7.4.1) cross-compilation environment was built and failed to be configured using cmake-gui
Labels: category: build/install,incomplete

### System Information

// For c++ user 
OpenCV version: 4.5.3
Operating System / Platform: Ubuntu 20.04
cross-compilation version : (Linaro GCC 7.4-2019.02) 7.4.1 20181213

### Detailed description

Ubuntu20.04 opencv-5.4.3+ AARCH64-Linux-G ++(version 7.4.1) cross-compilation environment was built and failed to be configured using cmake-gui

- 1 cmake-gui configure

```
Detected processor: aarch64
Looking for ccache - found (/usr/bin/ccache)
NEON is not supported by C++ compiler
FP16 is not supported by C++ compiler
CMake Error at cmake/OpenCVCompilerOptimizations.cmake:546 (message):
  Required baseline optimization is not supported: NEON
  (CPU_BASELINE_REQUIRE=;NEON)
Call Stack (most recent call first):
  cmake/OpenCVCompilerOptions.cmake:317 (include)
  CMakeLists.txt:623 (include)


Optimization NEON is not available, skipped
Optimization FP16 is not available, skipped
OpenCV disables pkg-config to avoid using of host libraries. Consider using PKG_CONFIG_LIBDIR to specify target SYSROOT
Cleaning INTERNAL cached variable: ZLIB_LIBRARY
Cleaning INTERNAL cached variable: ZLIB_INCLUDE_DIR
Could NOT find ZLIB (missing: ZLIB_LIBRARY ZLIB_INCLUDE_DIR) (Required is at least version "1.2.3")
Cleaning INTERNAL cached variable: JPEG_LIBRARY
Cleaning INTERNAL cached variable: JPEG_INCLUDE_DIR
Could NOT find JPEG (missing: JPEG_LIBRARY JPEG_INCLUDE_DIR) 
libjpeg-turbo: VERSION = 2.1.0, BUILD = opencv-4.5.3-libjpeg-turbo
Cleaning INTERNAL cached variable: WEBP_LIBRARY
Cleaning INTERNAL cached variable: WEBP_INCLUDE_DIR
Could NOT find OpenJPEG (minimal suitable version: 2.0, recommended version >= 2.3.1). OpenJPEG will be built from sources
OpenJPEG: VERSION = 2.4.0, BUILD = opencv-4.5.3-openjp2-2.4.0
OpenJPEG libraries will be built from sources: libopenjp2 (version "2.4.0")
Cleaning INTERNAL cached variable: PNG_LIBRARY
Cleaning INTERNAL cached variable: PNG_INCLUDE_DIR
Could NOT find PNG (missing: PNG_LIBRARY PNG_PNG_INCLUDE_DIR) 
math lib 'libm' not found; floating point support disabled
Could not find OpenBLAS include. Turning OpenBLAS_FOUND off
Could not find OpenBLAS lib. Turning OpenBLAS_FOUND off
Could NOT find Atlas (missing: Atlas_CBLAS_INCLUDE_DIR Atlas_CLAPACK_INCLUDE_DIR Atlas_CBLAS_LIBRARY Atlas_BLAS_LIBRARY Atlas_LAPACK_LIBRARY) 
Could NOT find BLAS (missing: BLAS_LIBRARIES) 
LAPACK requires BLAS
A library with LAPACK API not found. Please specify library location.
Carotene: NEON is not available, disabling carotene...
CMake Warning at cmake/OpenCVUtils.cmake:884 (message):
  ocv_check_modules(GTK2): can't find library 'gtk-x11-2.0'.  Specify
  'pkgcfg_lib_GTK2_gtk-x11-2.0' manually
Call Stack (most recent call first):
  modules/highgui/cmake/detect_gtk.cmake:14 (ocv_check_modules)
  modules/highgui/cmake/init.cmake:34 (include)
  modules/highgui/cmake/init.cmake:45 (add_backend)
  cmake/OpenCVModule.cmake:298 (include)
  cmake/OpenCVModule.cmake:361 (_add_modules_1)
  modules/CMakeLists.txt:7 (ocv_glob_modules)


CMake Warning at cmake/OpenCVUtils.cmake:884 (message):
  ocv_check_modules(GTK2): can't find library 'gdk-x11-2.0'.  Specify
  'pkgcfg_lib_GTK2_gdk-x11-2.0' manually
Call Stack (most recent call first):
  modules/highgui/cmake/detect_gtk.cmake:14 (ocv_check_modules)
  modules/highgui/cmake/init.cmake:34 (include)
  modules/highgui/cmake/init.cmake:45 (add_backend)
  cmake/OpenCVModule.cmake:298 (include)
  cmake/OpenCVModule.cmake:361 (_add_modules_1)
  modules/CMakeLists.txt:7 (ocv_glob_modules)


CMake Warning at cmake/OpenCVUtils.cmake:884 (message):
  ocv_check_modules(GTK2): can't find library 'pangocairo-1.0'.  Specify
  'pkgcfg_lib_GTK2_pangocairo-1.0' manually
Call Stack (most recent call first):
  modules/highgui/cmake/detect_gtk.cmake:14 (ocv_check_modules)
  modules/highgui/cmake/init.cmake:34 (include)
  modules/highgui/cmake/init.cmake:45 (add_backend)
  cmake/OpenCVModule.cmake:298 (include)
  cmake/OpenCVModule.cmake:361 (_add_modules_1)
  modules/CMakeLists.txt:7 (ocv_glob_modules)


CMake Warning at cmake/OpenCVUtils.cmake:884 (message):
  ocv_check_modules(GTK2): can't find library 'atk-1.0'.  Specify
  'pkgcfg_lib_GTK2_atk-1.0' manually
Call Stack (most recent call first):
  modules/highgui/cmake/detect_gtk.cmake:14 (ocv_check_modules)
  modules/highgui/cmake/init.cmake:34 (include)
  modules/highgui/cmake/init.cmake:45 (add_backend)
  cmake/OpenCVModule.cmake:298 (include)
  cmake/OpenCVModule.cmake:361 (_add_modules_1)
  modules/CMakeLists.txt:7 (ocv_glob_modules)

CMake Warning at cmake/OpenCVUtils.cmake:884 (message):
  ocv_check_modules(GTK2): can't find library 'cairo'.  Specify
  'pkgcfg_lib_GTK2_cairo' manually
Call Stack (most recent call first):
  modules/highgui/cmake/detect_gtk.cmake:14 (ocv_check_modules)
  modules/highgui/cmake/init.cmake:34 (include)
  modules/highgui/cmake/init.cmake:45 (add_backend)
  cmake/OpenCVModule.cmake:298 (include)
  cmake/OpenCVModule.cmake:361 (_add_modules_1)
  modules/CMakeLists.txt:7 (ocv_glob_modules)

CMake Warning at cmake/OpenCVUtils.cmake:884 (message):
  ocv_check_modules(GTK2): can't find library 'gdk_pixbuf-2.0'.  Specify
  'pkgcfg_lib_GTK2_gdk_pixbuf-2.0' manually
Call Stack (most recent call first):
  modules/highgui/cmake/detect_gtk.cmake:14 (ocv_check_modules)
  modules/highgui/cmake/init.cmake:34 (include)
  modules/highgui/cmake/init.cmake:45 (add_backend)
  cmake/OpenCVModule.cmake:298 (include)
  cmake/OpenCVModule.cmake:361 (_add_modules_1)
  modules/CMakeLists.txt:7 (ocv_glob_modules)

CMake Warning at cmake/OpenCVUtils.cmake:884 (message):
  ocv_check_modules(GTK2): can't find library 'gio-2.0'.  Specify
  'pkgcfg_lib_GTK2_gio-2.0' manually
Call Stack (most recent call first):
  modules/highgui/cmake/detect_gtk.cmake:14 (ocv_check_modules)
  modules/highgui/cmake/init.cmake:34 (include)
  modules/highgui/cmake/init.cmake:45 (add_backend)
  cmake/OpenCVModule.cmake:298 (include)
  cmake/OpenCVModule.cmake:361 (_add_modules_1)
  modules/CMakeLists.txt:7 (ocv_glob_modules)


CMake Warning at cmake/OpenCVUtils.cmake:884 (message):
  ocv_check_modules(GTK2): can't find library 'pangoft2-1.0'.  Specify
  'pkgcfg_lib_GTK2_pangoft2-1.0' manually
Call Stack (most recent call first):
  modules/highgui/cmake/detect_gtk.cmake:14 (ocv_check_modules)
  modules/highgui/cmake/init.cmake:34 (include)
  modules/highgui/cmake/init.cmake:45 (add_backend)
  cmake/OpenCVModule.cmake:298 (include)
  cmake/OpenCVModule.cmake:361 (_add_modules_1)
  modules/CMakeLists.txt:7 (ocv_glob_modules)


CMake Warning at cmake/OpenCVUtils.cmake:884 (message):
  ocv_check_modules(GTK2): can't find library 'pango-1.0'.  Specify
  'pkgcfg_lib_GTK2_pango-1.0' manually
Call Stack (most recent call first):
  modules/highgui/cmake/detect_gtk.cmake:14 (ocv_check_modules)
  modules/highgui/cmake/init.cmake:34 (include)
  modules/highgui/cmake/init.cmake:45 (add_backend)
  cmake/OpenCVModule.cmake:298 (include)
  cmake/OpenCVModule.cmake:361 (_add_modules_1)
  modules/CMakeLists.txt:7 (ocv_glob_modules)

CMake Warning at cmake/OpenCVUtils.cmake:884 (message):
  ocv_check_modules(GTK2): can't find library 'gobject-2.0'.  Specify
  'pkgcfg_lib_GTK2_gobject-2.0' manually
Call Stack (most recent call first):
  modules/highgui/cmake/detect_gtk.cmake:14 (ocv_check_modules)
  modules/highgui/cmake/init.cmake:34 (include)
  modules/highgui/cmake/init.cmake:45 (add_backend)
  cmake/OpenCVModule.cmake:298 (include)
  cmake/OpenCVModule.cmake:361 (_add_modules_1)
  modules/CMakeLists.txt:7 (ocv_glob_modules)

CMake Warning at cmake/OpenCVUtils.cmake:884 (message):
  ocv_check_modules(GTK2): can't find library 'glib-2.0'.  Specify
  'pkgcfg_lib_GTK2_glib-2.0' manually
Call Stack (most recent call first):
  modules/highgui/cmake/detect_gtk.cmake:14 (ocv_check_modules)
  modules/highgui/cmake/init.cmake:34 (include)
  modules/highgui/cmake/init.cmake:45 (add_backend)
  cmake/OpenCVModule.cmake:298 (include)
  cmake/OpenCVModule.cmake:361 (_add_modules_1)
  modules/CMakeLists.txt:7 (ocv_glob_modules)

CMake Warning at cmake/OpenCVUtils.cmake:884 (message):
  ocv_check_modules(GTK2): can't find library 'harfbuzz'.  Specify
  'pkgcfg_lib_GTK2_harfbuzz' manually
Call Stack (most recent call first):
  modules/highgui/cmake/detect_gtk.cmake:14 (ocv_check_modules)
  modules/highgui/cmake/init.cmake:34 (include)
  modules/highgui/cmake/init.cmake:45 (add_backend)
  cmake/OpenCVModule.cmake:298 (include)
  cmake/OpenCVModule.cmake:361 (_add_modules_1)
  modules/CMakeLists.txt:7 (ocv_glob_modules)

CMake Warning at cmake/OpenCVUtils.cmake:884 (message):
  ocv_check_modules(GTK2): can't find library 'fontconfig'.  Specify
  'pkgcfg_lib_GTK2_fontconfig' manually
Call Stack (most recent call first):
  modules/highgui/cmake/detect_gtk.cmake:14 (ocv_check_modules)
  modules/highgui/cmake/init.cmake:34 (include)
  modules/highgui/cmake/init.cmake:45 (add_backend)
  cmake/OpenCVModule.cmake:298 (include)
  cmake/OpenCVModule.cmake:361 (_add_modules_1)
  modules/CMakeLists.txt:7 (ocv_glob_modules)

CMake Warning at cmake/OpenCVUtils.cmake:884 (message):
  ocv_check_modules(GTK2): can't find library 'freetype'.  Specify
  'pkgcfg_lib_GTK2_freetype' manually
Call Stack (most recent call first):
  modules/highgui/cmake/detect_gtk.cmake:14 (ocv_check_modules)
  modules/highgui/cmake/init.cmake:34 (include)
  modules/highgui/cmake/init.cmake:45 (add_backend)
  cmake/OpenCVModule.cmake:298 (include)
  cmake/OpenCVModule.cmake:361 (_add_modules_1)
  modules/CMakeLists.txt:7 (ocv_glob_modules)

CMake Warning at cmake/OpenCVUtils.cmake:884 (message):
  ocv_check_modules(GTHREAD): can't find library 'gthread-2.0'.  Specify
  'pkgcfg_lib_GTHREAD_gthread-2.0' manually
Call Stack (most recent call first):
  modules/highgui/cmake/detect_gtk.cmake:27 (ocv_check_modules)
  modules/highgui/cmake/init.cmake:34 (include)
  modules/highgui/cmake/init.cmake:45 (add_backend)
  cmake/OpenCVModule.cmake:298 (include)
  cmake/OpenCVModule.cmake:361 (_add_modules_1)
  modules/CMakeLists.txt:7 (ocv_glob_modules)

CMake Warning at cmake/OpenCVUtils.cmake:884 (message):
  ocv_check_modules(GTHREAD): can't find library 'glib-2.0'.  Specify
  'pkgcfg_lib_GTHREAD_glib-2.0' manually
Call Stack (most recent call first):
  modules/highgui/cmake/detect_gtk.cmake:27 (ocv_check_modules)
  modules/highgui/cmake/init.cmake:34 (include)
  modules/highgui/cmake/init.cmake:45 (add_backend)
  cmake/OpenCVModule.cmake:298 (include)
  cmake/OpenCVModule.cmake:361 (_add_modules_1)
  modules/CMakeLists.txt:7 (ocv_glob_modules)

Checking for module 'gtkglext-1.0'
  No package 'gtkglext-1.0' found
OpenCV Python: during development append to PYTHONPATH: /media/embedded/Data/pushCode/opencv-4.5.3/opencv453arm/python_loader
CMake Warning at cmake/OpenCVUtils.cmake:884 (message):
  ocv_check_modules(FFMPEG): can't find library 'avcodec'.  Specify
  'pkgcfg_lib_FFMPEG_avcodec' manually
Call Stack (most recent call first):
  modules/videoio/cmake/detect_ffmpeg.cmake:30 (ocv_check_modules)
  modules/videoio/cmake/init.cmake:7 (include)
  modules/videoio/cmake/init.cmake:18 (add_backend)
  cmake/OpenCVModule.cmake:298 (include)
  cmake/OpenCVModule.cmake:361 (_add_modules_1)
  modules/CMakeLists.txt:7 (ocv_glob_modules)

CMake Warning at cmake/OpenCVUtils.cmake:884 (message):
  ocv_check_modules(FFMPEG): can't find library 'avformat'.  Specify
  'pkgcfg_lib_FFMPEG_avformat' manually
Call Stack (most recent call first):
  modules/videoio/cmake/detect_ffmpeg.cmake:30 (ocv_check_modules)
  modules/videoio/cmake/init.cmake:7 (include)
  modules/videoio/cmake/init.cmake:18 (add_backend)
  cmake/OpenCVModule.cmake:298 (include)
  cmake/OpenCVModule.cmake:361 (_add_modules_1)
  modules/CMakeLists.txt:7 (ocv_glob_modules)

CMake Warning at cmake/OpenCVUtils.cmake:884 (message):
  ocv_check_modules(FFMPEG): can't find library 'avutil'.  Specify
  'pkgcfg_lib_FFMPEG_avutil' manually
Call Stack (most recent call first):
  modules/videoio/cmake/detect_ffmpeg.cmake:30 (ocv_check_modules)
  modules/videoio/cmake/init.cmake:7 (include)
  modules/videoio/cmake/init.cmake:18 (add_backend)
  cmake/OpenCVModule.cmake:298 (include)
  cmake/OpenCVModule.cmake:361 (_add_modules_1)
  modules/CMakeLists.txt:7 (ocv_glob_modules)

CMake Warning at cmake/OpenCVUtils.cmake:884 (message):
  ocv_check_modules(FFMPEG): can't find library 'swscale'.  Specify
  'pkgcfg_lib_FFMPEG_swscale' manually
Call Stack (most recent call first):
  modules/videoio/cmake/detect_ffmpeg.cmake:30 (ocv_check_modules)
  modules/videoio/cmake/init.cmake:7 (include)
  modules/videoio/cmake/init.cmake:18 (add_backend)
  cmake/OpenCVModule.cmake:298 (include)
  cmake/OpenCVModule.cmake:361 (_add_modules_1)
  modules/CMakeLists.txt:7 (ocv_glob_modules)

Checking for module 'libavresample'
  No package 'libavresample' found
Checking for module 'gstreamer-base-1.0'
  No package 'gstreamer-base-1.0' found
Checking for module 'gstreamer-app-1.0'
  No package 'gstreamer-app-1.0' found
Checking for module 'gstreamer-riff-1.0'
  No package 'gstreamer-riff-1.0' found
Checking for module 'gstreamer-pbutils-1.0'
  No package 'gstreamer-pbutils-1.0' found
Checking for module 'gstreamer-video-1.0'
  No package 'gstreamer-video-1.0' found
CMake Warning at cmake/OpenCVUtils.cmake:884 (message):
  ocv_check_modules(DC1394_2): can't find library 'dc1394'.  Specify
  'pkgcfg_lib_DC1394_2_dc1394' manually
Call Stack (most recent call first):
  modules/videoio/cmake/detect_dc1394.cmake:3 (ocv_check_modules)
  modules/videoio/cmake/init.cmake:7 (include)
  modules/videoio/cmake/init.cmake:23 (add_backend)
  cmake/OpenCVModule.cmake:298 (include)
  cmake/OpenCVModule.cmake:361 (_add_modules_1)
  modules/CMakeLists.txt:7 (ocv_glob_modules)

Allocator metrics storage type: 'int'
Excluding from source files list: <BUILD>/modules/core/test/test_intrin128.sse2.cpp
Excluding from source files list: <BUILD>/modules/core/test/test_intrin128.sse3.cpp
Excluding from source files list: <BUILD>/modules/core/test/test_intrin128.ssse3.cpp
Excluding from source files list: <BUILD>/modules/core/test/test_intrin128.sse4_1.cpp
Excluding from source files list: <BUILD>/modules/core/test/test_intrin128.sse4_2.cpp
Excluding from source files list: <BUILD>/modules/core/test/test_intrin128.avx.cpp
Excluding from source files list: <BUILD>/modules/core/test/test_intrin128.fp16.cpp
Excluding from source files list: <BUILD>/modules/core/test/test_intrin128.avx2.cpp
Excluding from source files list: <BUILD>/modules/core/test/test_intrin128.avx512_skx.cpp
Excluding from source files list: <BUILD>/modules/core/test/test_intrin256.avx2.cpp
Excluding from source files list: <BUILD>/modules/core/test/test_intrin256.avx512_skx.cpp
Excluding from source files list: <BUILD>/modules/core/test/test_intrin512.avx512_skx.cpp
Excluding from source files list: modules/imgproc/src/corner.avx.cpp
Excluding from source files list: modules/imgproc/src/imgwarp.avx2.cpp
Excluding from source files list: modules/imgproc/src/imgwarp.sse4_1.cpp
Excluding from source files list: modules/imgproc/src/resize.avx2.cpp
Excluding from source files list: modules/imgproc/src/resize.sse4_1.cpp
Registering hook 'INIT_MODULE_SOURCES_opencv_dnn': /media/embedded/Data/pushCode/opencv-4.5.3/modules/dnn/cmake/hooks/INIT_MODULE_SOURCES_opencv_dnn.cmake
opencv_dnn: filter out cuda4dnn source code
Excluding from source files list: <BUILD>/modules/dnn/layers/layers_common.avx.cpp
Excluding from source files list: <BUILD>/modules/dnn/layers/layers_common.avx2.cpp
Excluding from source files list: <BUILD>/modules/dnn/layers/layers_common.avx512_skx.cpp
Excluding from source files list: modules/features2d/src/fast.avx2.cpp
highgui: using builtin backend: GTK2

General configuration for OpenCV 4.5.3 =====================================
  Version control:               unknown

  Platform:
    Timestamp:                   2023-08-31T07:29:48Z
    Host:                        Linux 5.15.0-78-generic x86_64
    Target:                      Linux 1 aarch64
    CMake:                       3.16.3
    CMake generator:             Unix Makefiles
    CMake build tool:            /usr/bin/make
    Configuration:               Release

  CPU/HW features:
    Baseline:
      requested:                 NEON FP16
      required:                  NEON
      disabled:                  VFPV3

  C/C++:
    Built as dynamic libs?:      YES
    C++ standard:                11
    C++ Compiler:                /usr/bin/c++  (ver 9.4.0)
    C++ flags (Release):         -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wundef -Winit-self -Wpointer-arith -Wshadow -Wsign-promo -Wuninitialized -Wsuggest-override -Wno-delete-non-virtual-dtor -Wno-comment -Wimplicit-fallthrough=3 -Wno-strict-overflow -fdiagnostics-show-option -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections  -fvisibility=hidden -fvisibility-inlines-hidden -O3 -DNDEBUG  -DNDEBUG
    C++ flags (Debug):           -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wundef -Winit-self -Wpointer-arith -Wshadow -Wsign-promo -Wuninitialized -Wsuggest-override -Wno-delete-non-virtual-dtor -Wno-comment -Wimplicit-fallthrough=3 -Wno-strict-overflow -fdiagnostics-show-option -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections  -fvisibility=hidden -fvisibility-inlines-hidden -g  -O0 -DDEBUG -D_DEBUG
    C Compiler:                  /usr/bin/cc
    C flags (Release):           -fsigned-char -W -Wall -Werror=return-type -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wundef -Winit-self -Wpointer-arith -Wshadow -Wuninitialized -Wno-comment -Wimplicit-fallthrough=3 -Wno-strict-overflow -fdiagnostics-show-option -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections  -fvisibility=hidden -O3 -DNDEBUG  -DNDEBUG
    C flags (Debug):             -fsigned-char -W -Wall -Werror=return-type -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wundef -Winit-self -Wpointer-arith -Wshadow -Wuninitialized -Wno-comment -Wimplicit-fallthrough=3 -Wno-strict-overflow -fdiagnostics-show-option -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections  -fvisibility=hidden -g  -O0 -DDEBUG -D_DEBUG
    Linker flags (Release):      -Wl,--gc-sections -Wl,--as-needed  
    Linker flags (Debug):        -Wl,--gc-sections -Wl,--as-needed  
    ccache:                      YES
    Precompiled headers:         NO
    Extra dependencies:          dl m pthread rt
    3rdparty dependencies:

  OpenCV modules:
    To be built:                 calib3d core dnn features2d flann highgui imgcodecs imgproc ml objdetect photo stitching ts video videoio
    Disabled:                    gapi world
    Disabled by dependency:      -
    Unavailable:                 java python2 python3
    Applications:                tests perf_tests apps
    Documentation:               NO
    Non-free algorithms:         YES

  GUI: 
    GTK+:                        YES (ver 2.24.32)
      GThread :                  YES (ver 2.64.6)
      GtkGlExt:                  NO
    OpenGL support:              NO

  Media I/O: 
    ZLib:                        zlib (ver 1.2.11)
    JPEG:                        libjpeg-turbo (ver 2.1.0-62)
    WEBP:                        build (ver encoder: 0x020f)
    PNG:                         build (ver 1.6.37)
    TIFF:                        build (ver 42 - 4.2.0)
    JPEG 2000:                   build (ver 2.4.0)
    HDR:                         YES
    SUNRASTER:                   YES
    PXM:                         YES
    PFM:                         YES

  Video I/O:
    DC1394:                      YES (2.2.5)
    FFMPEG:                      YES
      avcodec:                   YES (58.54.100)
      avformat:                  YES (58.29.100)
      avutil:                    YES (56.31.100)
      swscale:                   YES (5.5.100)
      avresample:                NO
    GStreamer:                   NO
    v4l/v4l2:                    YES (linux/videodev2.h)

  Parallel framework:            pthreads

  Trace:                         YES (with Intel ITT)

  Other third-party libraries:
    Lapack:                      NO
    Custom HAL:                  NO
    Protobuf:                    build (3.5.1)

  OpenCL:                        YES (no extra features)
    Include path:                /media/embedded/Data/pushCode/opencv-4.5.3/3rdparty/include/opencl/1.2
    Link libraries:              Dynamic load

  Python (for build):            /usr/bin/python2.7

  Install to:                    /media/embedded/Data/pushCode/opencv-4.5.3/opencv453arm/install
-----------------------------------------------------------------

Configuring incomplete, errors occurred!
See also "/media/embedded/Data/pushCode/opencv-4.5.3/opencv453arm/CMakeFiles/CMakeOutput.log".
See also "/media/embedded/Data/pushCode/opencv-4.5.3/opencv453arm/CMakeFiles/CMakeError.log".
```
- 2 configure fail log:
```
Build output check failed:
    Regex: 'argument .* is not valid'
    Output line: 'cc1: warning: ‘-Werror=’ argument ‘-Werror=non-virtual-dtor’ is not valid for C'
Compilation failed:
    source file: '/media/embedded/Data/pushCode/opencv-4.5.3/opencv453arm/CMakeFiles/CMakeTmp/src.c'
    check option: ' -fsigned-char -W -Wall -Werror=return-type  -Werror=non-virtual-dtor'
===== BUILD LOG =====
Change Dir: /media/embedded/Data/pushCode/opencv-4.5.3/opencv453arm/CMakeFiles/CMakeTmp

Run Build Command(s):/usr/bin/make cmTC_0a6f3/fast && /usr/bin/make -f CMakeFiles/cmTC_0a6f3.dir/build.make CMakeFiles/cmTC_0a6f3.dir/build
make[1]: 进入目录“/media/embedded/Data/pushCode/opencv-4.5.3/opencv453arm/CMakeFiles/CMakeTmp”
Building C object CMakeFiles/cmTC_0a6f3.dir/src.c.o
/usr/bin/cc   -fdata-sections -Wa,--noexecstack -fsigned-char -Wno-psabi  -O3 -DNDEBUG -fPIE    -fsigned-char -W -Wall -Werror=return-type  -Werror=non-virtual-dtor -o CMakeFiles/cmTC_0a6f3.dir/src.c.o   -c /media/embedded/Data/pushCode/opencv-4.5.3/opencv453arm/CMakeFiles/CMakeTmp/src.c
cc1: warning: ‘-Werror=’ argument ‘-Werror=non-virtual-dtor’ is not valid for C
/media/embedded/Data/pushCode/opencv-4.5.3/opencv453arm/CMakeFiles/CMakeTmp/src.c:1: warning: ignoring #pragma   [-Wunknown-pragmas]
    1 | #pragma
      | 
Linking C executable cmTC_0a6f3
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_0a6f3.dir/link.txt --verbose=1
/usr/bin/cc  -fdata-sections -Wa,--noexecstack -fsigned-char -Wno-psabi  -O3 -DNDEBUG  -Wl,--no-undefined -Wl,--gc-sections -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now   CMakeFiles/cmTC_0a6f3.dir/src.c.o  -o cmTC_0a6f3 
make[1]: 离开目录“/media/embedded/Data/pushCode/opencv-4.5.3/opencv453arm/CMakeFiles/CMakeTmp”


===== END =====

Build output check failed:
    Regex: 'command[- ]line option .* is valid for .* but not for C\+\+'
    Output line: 'cc1plus: warning: command line option ‘-Wmissing-prototypes’ is valid for C/ObjC but not for C++'
Compilation failed:
    source file: '/media/embedded/Data/pushCode/opencv-4.5.3/opencv453arm/CMakeFiles/CMakeTmp/src.cxx'
    check option: ' -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations  -Wmissing-prototypes'
===== BUILD LOG =====
Change Dir: /media/embedded/Data/pushCode/opencv-4.5.3/opencv453arm/CMakeFiles/CMakeTmp

Run Build Command(s):/usr/bin/make cmTC_6c77d/fast && /usr/bin/make -f CMakeFiles/cmTC_6c77d.dir/build.make CMakeFiles/cmTC_6c77d.dir/build
make[1]: 进入目录“/media/embedded/Data/pushCode/opencv-4.5.3/opencv453arm/CMakeFiles/CMakeTmp”
Building CXX object CMakeFiles/cmTC_6c77d.dir/src.cxx.o
/usr/bin/c++    -fdata-sections -Wa,--noexecstack -fsigned-char -Wno-psabi  -O3 -DNDEBUG -fPIE    -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations  -Wmissing-prototypes -std=c++11 -o CMakeFiles/cmTC_6c77d.dir/src.cxx.o -c /media/embedded/Data/pushCode/opencv-4.5.3/opencv453arm/CMakeFiles/CMakeTmp/src.cxx
cc1plus: warning: command line option ‘-Wmissing-prototypes’ is valid for C/ObjC but not for C++
/media/embedded/Data/pushCode/opencv-4.5.3/opencv453arm/CMakeFiles/CMakeTmp/src.cxx:1: warning: ignoring #pragma   [-Wunknown-pragmas]
    1 | #pragma
      | 
Linking CXX executable cmTC_6c77d
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_6c77d.dir/link.txt --verbose=1
/usr/bin/c++   -fdata-sections -Wa,--noexecstack -fsigned-char -Wno-psabi  -O3 -DNDEBUG  -Wl,--no-undefined -Wl,--gc-sections -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now   CMakeFiles/cmTC_6c77d.dir/src.cxx.o  -o cmTC_6c77d 
make[1]: 离开目录“/media/embedded/Data/pushCode/opencv-4.5.3/opencv453arm/CMakeFiles/CMakeTmp”


Determining if the include file sys/videoio.h exists failed with the following output:
Change Dir: /media/embedded/Data/pushCode/opencv-4.5.3/opencv453arm/CMakeFiles/CMakeTmp

Run Build Command(s):/usr/bin/make cmTC_9a376/fast && /usr/bin/make -f CMakeFiles/cmTC_9a376.dir/build.make CMakeFiles/cmTC_9a376.dir/build
make[1]: 进入目录“/media/embedded/Data/pushCode/opencv-4.5.3/opencv453arm/CMakeFiles/CMakeTmp”
Building C object CMakeFiles/cmTC_9a376.dir/CheckIncludeFile.c.o
/usr/bin/cc   -fdata-sections -Wa,--noexecstack -fsigned-char -Wno-psabi   -fsigned-char -W -Wall -Werror=return-type -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wundef -Winit-self -Wpointer-arith -Wshadow -Wuninitialized -Wno-comment -Wimplicit-fallthrough=3 -Wno-strict-overflow -fdiagnostics-show-option -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections  -fvisibility=hidden  -O3 -DNDEBUG  -DNDEBUG -fPIE   -o CMakeFiles/cmTC_9a376.dir/CheckIncludeFile.c.o   -c /media/embedded/Data/pushCode/opencv-4.5.3/opencv453arm/CMakeFiles/CMakeTmp/CheckIncludeFile.c
/media/embedded/Data/pushCode/opencv-4.5.3/opencv453arm/CMakeFiles/CMakeTmp/CheckIncludeFile.c:1:10: fatal error: sys/videoio.h: 没有那个文件或目录
    1 | #include <sys/videoio.h>
      |          ^~~~~~~~~~~~~~~
compilation terminated.
make[1]: *** [CMakeFiles/cmTC_9a376.dir/build.make:66：CMakeFiles/cmTC_9a376.dir/CheckIncludeFile.c.o] 错误 1
make[1]: 离开目录“/media/embedded/Data/pushCode/opencv-4.5.3/opencv453arm/CMakeFiles/CMakeTmp”
make: *** [Makefile:121：cmTC_9a376/fast] 错误 2

```

### Steps to reproduce

100%


### Issue submission checklist

- [X] I report the issue, it's not a question
- [X] I checked the problem with documentation, FAQ, open issues, forum.opencv.org, Stack Overflow, etc and have not found any solution
- [X] I updated to the latest OpenCV version and the issue is still there
- [ ] There is reproducer code and related data files (videos, images, onnx, etc)