Skip to content

ERROR #1068

Closed
Closed
ERROR#1068
@esaaprillia

Description

@esaaprillia
2025-01-02T18:34:57.9171705Z [938/952] Linking CXX static library lib/libopencv_objdetect.a
2025-01-02T18:34:58.0792559Z [939/952] Linking CXX static library lib/libopencv_stitching.a
2025-01-02T18:34:58.9328796Z [940/952] Generate files for Python bindings and documentation
2025-01-02T18:34:58.9330953Z /home/runner/work/mosdns/mosdns/sdk/build_dir/target-aarch64_generic_musl/pypi/opencv-python-4.10.0.84/opencv/modules/python/src2/typing_stubs_gene>
2025-01-02T18:34:58.9332945Z Traceback (most recent call last):
2025-01-02T18:34:58.9384912Z   File "/home/runner/work/mosdns/mosdns/sdk/build_dir/target-aarch64_generic_musl/pypi/opencv-python-4.10.0.84/opencv/modules/python/src2/typing_st>
2025-01-02T18:34:58.9386905Z     self.value.resolve(root)
2025-01-02T18:34:58.9387421Z     ~~~~~~~~~~~~~~~~~~^^^^^^
2025-01-02T18:34:58.9388945Z   File "/home/runner/work/mosdns/mosdns/sdk/build_dir/target-aarch64_generic_musl/pypi/opencv-python-4.10.0.84/opencv/modules/python/src2/typing_st>
2025-01-02T18:34:58.9390490Z     raise TypeResolutionError(
2025-01-02T18:34:58.9391025Z     ...<3 lines>...
2025-01-02T18:34:58.9391446Z     )
2025-01-02T18:34:58.9393296Z typing_stubs_generation.nodes.type_node.TypeResolutionError: Failed to resolve one of "_typing.Union[cv2.typing.Scalar, GMat, GOpaqueT, GArrayT]" i>
2025-01-02T18:34:58.9506393Z
2025-01-02T18:34:58.9506864Z The above exception was the direct cause of the following exception:
2025-01-02T18:34:58.9507353Z
2025-01-02T18:34:58.9507502Z Traceback (most recent call last):
2025-01-02T18:34:58.9508851Z   File "/home/runner/work/mosdns/mosdns/sdk/build_dir/target-aarch64_generic_musl/pypi/opencv-python-4.10.0.84/opencv/modules/python/src2/typing_st>
2025-01-02T18:34:58.9510214Z     ret_type = func(*args, **kwargs)
2025-01-02T18:34:58.9511505Z   File "/home/runner/work/mosdns/mosdns/sdk/build_dir/target-aarch64_generic_musl/pypi/opencv-python-4.10.0.84/opencv/modules/python/src2/typing_st>
2025-01-02T18:34:58.9512875Z     generate_typing_stubs(self.cv_root, output_path)
2025-01-02T18:34:58.9513340Z     ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^
2025-01-02T18:34:58.9514823Z   File "/home/runner/work/mosdns/mosdns/sdk/build_dir/target-aarch64_generic_musl/pypi/opencv-python-4.10.0.84/opencv/modules/python/src2/typing_st>
2025-01-02T18:34:58.9516801Z     _generate_typing_module(root, output_path)
2025-01-02T18:34:58.9517233Z     ~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
2025-01-02T18:34:58.9518675Z   File "/home/runner/work/mosdns/mosdns/sdk/build_dir/target-aarch64_generic_musl/pypi/opencv-python-4.10.0.84/opencv/modules/python/src2/typing_st>
2025-01-02T18:34:58.9520128Z     node.resolve(root)
2025-01-02T18:34:58.9520453Z     ~~~~~~~~~~~~^^^^^^
2025-01-02T18:34:58.9521765Z   File "/home/runner/work/mosdns/mosdns/sdk/build_dir/target-aarch64_generic_musl/pypi/opencv-python-4.10.0.84/opencv/modules/python/src2/typing_st>
2025-01-02T18:34:58.9523138Z     raise TypeResolutionError(
2025-01-02T18:34:58.9523475Z     ...<3 lines>...
2025-01-02T18:34:58.9523743Z     ) from e
2025-01-02T18:34:58.9524452Z typing_stubs_generation.nodes.type_node.TypeResolutionError: Failed to resolve alias "GProtoArg" exposed as "GProtoArg"
2025-01-02T18:34:58.9525167Z
2025-01-02T18:34:58.9525278Z   warnings.warn(
2025-01-02T18:34:58.9526542Z Note: Class cv::Feature2D has more than 1 base class (not supported by Python C extensions)
2025-01-02T18:34:58.9527461Z       Bases:  cv::Algorithm, cv::class, cv::Feature2D, cv::Algorithm
2025-01-02T18:34:58.9527994Z       Only the first base class will be used
2025-01-02T18:34:58.9528757Z Note: Class cv::detail::GraphCutSeamFinder has more than 1 base class (not supported by Python C extensions)
2025-01-02T18:34:58.9529645Z       Bases:  cv::detail::GraphCutSeamFinderBase, cv::detail::SeamFinder
2025-01-02T18:34:58.9530196Z       Only the first base class will be used
2025-01-02T18:34:58.9904234Z [941/952] Building CXX object modules/video/CMakeFiles/opencv_video.dir/src/tracking/tracker_vit.cpp.o
2025-01-02T18:34:59.0039399Z [942/952] Building CXX object modules/video/CMakeFiles/opencv_video.dir/src/tracking/tracker_nano.cpp.o                                             2025-01-02T18:34:59.0095199Z [943/952] Building CXX object modules/video/CMakeFiles/opencv_video.dir/opencl_kernels_video.cpp.o                                                  2025-01-02T18:35:01.5014811Z [944/952] Building CXX object modules/video/CMakeFiles/opencv_video.dir/src/variational_refinement.cpp.o

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions