Skip to content

opencv: fix cross compliation by patching protobuf#415591

Closed
phanirithvij wants to merge 2 commits into
NixOS:stagingfrom
phanirithvij:opencv-cross-protoc
Closed

opencv: fix cross compliation by patching protobuf#415591
phanirithvij wants to merge 2 commits into
NixOS:stagingfrom
phanirithvij:opencv-cross-protoc

protobuf: patch allow configuring protoc path in cmake for ver < 29

8543e19
Select commit
Loading
Failed to load commit list.
OfBorg / opencv, opencv.passthru.tests, protobuf, protobuf.passthru.tests on aarch64-darwin completed Jun 15, 2025 in 0s

Unexpected error: command failed with exit code 1

Attempted: opencv, opencv.passthru.tests, protobuf, protobuf.passthru.tests

Details

Partial log

       > [ 30%] Building CXX object CMakeFiles/grpc_unsecure.dir/src/core/util/time_averaged_stats.cc.o
       > [ 30%] Building CXX object CMakeFiles/grpc_unsecure.dir/src/core/util/uri.cc.o
       > [ 30%] Building CXX object CMakeFiles/grpc_unsecure.dir/src/core/util/uuid_v4.cc.o
       > [ 30%] Building CXX object CMakeFiles/grpc_unsecure.dir/src/core/util/validation_errors.cc.o
       > [ 30%] Building CXX object CMakeFiles/grpc_unsecure.dir/src/core/util/work_serializer.cc.o
       > [ 30%] Linking CXX shared library libgrpc_unsecure.dylib
       > [ 30%] Built target grpc_unsecure
       > make: *** [Makefile:136: all] Error 2
       For full logs, run 'nix log /nix/store/z905ji87pmj5rlapq9jc1rnc2bb154y0-grpc-1.73.0.drv'.
error: build of '/nix/store/3gc7ic8ik6my4g41vqpipgrnxr36qlk0-gst-plugins-bad-1.26.0.drv', '/nix/store/9gwdc9dj6rw9b04zgcbvj006xgd20a5f-opencv4-tests.drv', '/nix/store/mm1dhxfk4l33zc1kyiviqi2qkn43qsrq-opencv-4.11.0.drv', '/nix/store/xf17b33w6zg713x05ppc9a7jlc8dfkh4-opencv-4.11.0.drv', '/nix/store/z905ji87pmj5rlapq9jc1rnc2bb154y0-grpc-1.73.0.drv' failed