Error installing opencv in java for mac Catalina. ERROR: [ 26%] Built target multiview make: *** [all] Error 2?

I have followed the steps indicated in this tutorial. I installed xcode. I installed homebrew xcode-select –install brew install ant brew edit opencvand I have modified-DBUILD_opencv_java = OFFby-DBUILD_opencv_java = ON` To finish brew install –build-from-source opencv. Where do I get the following error: ==> Downloading https://github.com/opencv/opencv/archive/4.2.0.tar.gz Already downloaded: /Users/robertodaza/Library/Caches/Homebrew/downloads/2606bd5bbd9d3231837dd3bc1f76c1a935cb4ce0eae9c2a472fd15c77dfbb510–opencv-4.2.0.tar.gz ==> Downloading https://github.com/opencv/opencv_contrib/archive/4.2.0.tar.gz Already downloaded: /Users/robertodaza/Library/Caches/Homebrew/downloads/47ad25f9dd163b753420e122bad3928281696bdb5cd1c925fc90cf82e91ccda5–opencv_contrib-4.2.0.tar.gz…

Details