- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello, I had successfully installed on my RPi the OpenVino Runtime 2 years ago. However, I had to re-install everything which inludes OpenVino runtime. I struggled a bit to find a proper tutorial on how to do it and I came across this discussion: https://community.intel.com/t5/Intel-Distribution-of-OpenVINO/Installing-OpenVino-for-Movidius-NCS2-on-Raspberry-Pi-4/m-p/1475600
Which is then refered to this link: https://www.intel.com/content/www/us/en/support/articles/000094846/boards-and-kits.html
However, on my freshly installed Bullseye OS, when I run this command here:
'git clone --recurse-submodules --single-branch --branch=2022.1.0 https://github.com/openvinotoolkit/openvino.git'
There is always an error related to the cloning:
'fetch-pack: unexpected disconnect while reading sideband packet
fatal: early EOF
fatal: index-pack failed'
I tried downloading the tar-gz file directly and extracting it, but when installing dependencies, but it says that the CMakeList.txt does not exist.
I also tried using chatgpt to help with the errors, which tells me to manually download some files an try again, but consequently it will give more errors related to the CMake part.
I would like to request the files to be updated or somehow the guide updated or files sent to me, so i can reinstall the OpenVino Runtime, please and thank you.
Here's the full log of the git clone command:
pi@raspberrypi:~ $ git config --global core.compression 9 pi@raspberrypi:~ $ git clone --recurse-submodules --single-branch --branch=2022.1.0 https://github.com/openvinotoolkit/openvino.git Cloning into 'openvino'... remote: Enumerating objects: 225216, done. remote: Counting objects: 100% (152/152), done. remote: Compressing objects: 100% (85/85), done. remote: Total 225216 (delta 77), reused 68 (delta 67), pack-reused 225064 (from 1) Receiving objects: 100% (225216/225216), 163.74 MiB | 1.01 MiB/s, done. Resolving deltas: 100% (169481/169481), done. Note: switching to 'cdb9bec7210f8c24fde3e416c7ada820faaaa23e'. You are in 'detached HEAD' state. You can look around, make experimental changes and commit them, and you can discard any commits you make in this state without impacting any branches by switching back to a branch. If you want to create a new branch to retain commits you create, you may do so (now or later) by using -c with the switch command. Example: git switch -c <new-branch-name> Or undo this operation with: git switch - Turn off this advice by setting config variable advice.detachedHead to false Updating files: 100% (14833/14833), done. Filtering content: 100% (553/553), 186.37 MiB | 964.00 KiB/s, done. Submodule 'ncc' (https://github.com/nithinn/ncc.git) registered for path 'cmake/developer_package/ncc_naming_style/ncc' Submodule 'src/bindings/python/thirdparty/pybind11' (https://github.com/pybind/pybind11.git) registered for path 'src/bindings/python/thirdparty/pybind11' Submodule 'src/plugins/intel_cpu/thirdparty/mkl-dnn' (https://github.com/openvinotoolkit/oneDNN.git) registered for path 'src/plugins/intel_cpu/thirdparty/mkl-dnn' Submodule 'thirdparty/onednn_gpu' (https://github.com/oneapi-src/oneDNN.git) registered for path 'src/plugins/intel_gpu/thirdparty/onednn_gpu' Submodule 'thirdparty/ade' (https://github.com/opencv/ade.git) registered for path 'thirdparty/ade' Submodule 'thirdparty/gflags/gflags' (https://github.com/gflags/gflags.git) registered for path 'thirdparty/gflags/gflags' Submodule 'thirdparty/gtest/gtest' (https://github.com/openvinotoolkit/googletest.git) registered for path 'thirdparty/gtest/gtest' Submodule 'thirdparty/ittapi/ittapi' (https://github.com/intel/ittapi.git) registered for path 'thirdparty/ittapi/ittapi' Submodule 'thirdparty/json/nlohmann_json' (https://github.com/nlohmann/json.git) registered for path 'thirdparty/json/nlohmann_json' Submodule 'thirdparty/json/nlohmann_json_schema_validator' (https://github.com/pboettch/json-schema-validator.git) registered for path 'thirdparty/json/nlohmann_json_schema_validator' Submodule 'thirdparty/ocl/cl_headers' (https://github.com/KhronosGroup/OpenCL-Headers.git) registered for path 'thirdparty/ocl/cl_headers' Submodule 'thirdparty/ocl/clhpp_headers' (https://github.com/KhronosGroup/OpenCL-CLHPP.git) registered for path 'thirdparty/ocl/clhpp_headers' Submodule 'thirdparty/ocl/icd_loader' (https://github.com/KhronosGroup/OpenCL-ICD-Loader.git) registered for path 'thirdparty/ocl/icd_loader' Submodule 'thirdparty/onnx' (https://github.com/onnx/onnx.git) registered for path 'thirdparty/onnx/onnx' Submodule 'tools/pot/thirdparty/open_model_zoo' (https://github.com/openvinotoolkit/open_model_zoo.git) registered for path 'thirdparty/open_model_zoo' Submodule 'thirdparty/protobuf' (https://github.com/protocolbuffers/protobuf.git) registered for path 'thirdparty/protobuf/protobuf' Submodule 'thirdparty/pugixml' (https://github.com/zeux/pugixml.git) registered for path 'thirdparty/pugixml' Submodule 'thirdparty/xbyak' (https://github.com/herumi/xbyak.git) registered for path 'thirdparty/xbyak' Submodule 'thirdparty/zlib/zlib' (https://github.com/madler/zlib.git) registered for path 'thirdparty/zlib/zlib' Cloning into '/home/pi/openvino/cmake/developer_package/ncc_naming_style/ncc'... remote: Enumerating objects: 226, done. remote: Counting objects: 100% (16/16), done. remote: Compressing objects: 100% (5/5), done. remote: Total 226 (delta 11), reused 12 (delta 11), pack-reused 210 (from 1) Receiving objects: 100% (226/226), 52.23 KiB | 636.00 KiB/s, done. Resolving deltas: 100% (121/121), done. Cloning into '/home/pi/openvino/src/bindings/python/thirdparty/pybind11'... remote: Enumerating objects: 20486, done. remote: Counting objects: 100% (438/438), done. remote: Compressing objects: 100% (337/337), done. remote: Total 20486 (delta 296), reused 129 (delta 100), pack-reused 20048 (from 5) Receiving objects: 100% (20486/20486), 9.76 MiB | 880.00 KiB/s, done. Resolving deltas: 100% (14205/14205), done. Cloning into '/home/pi/openvino/src/plugins/intel_cpu/thirdparty/mkl-dnn'... remote: Enumerating objects: 170767, done. remote: Counting objects: 100% (2/2), done. remote: Compressing objects: 100% (2/2), done. remote: Total 170767 (delta 0), reused 2 (delta 0), pack-reused 170765 (from 1) Receiving objects: 100% (170767/170767), 91.50 MiB | 1.05 MiB/s, done. Resolving deltas: 100% (139417/139417), done. Cloning into '/home/pi/openvino/src/plugins/intel_gpu/thirdparty/onednn_gpu'... remote: Enumerating objects: 189107, done. remote: Counting objects: 100% (102/102), done. remote: Compressing objects: 100% (50/50), done. remote: Total 189107 (delta 66), reused 54 (delta 52), pack-reused 189005 (from 3) Receiving objects: 100% (189107/189107), 104.21 MiB | 1.38 MiB/s, done. Resolving deltas: 100% (154734/154734), done. Cloning into '/home/pi/openvino/thirdparty/ade'... remote: Enumerating objects: 418, done. remote: Counting objects: 100% (105/105), done. remote: Compressing objects: 100% (61/61), done. remote: Total 418 (delta 52), reused 54 (delta 31), pack-reused 313 (from 1) Receiving objects: 100% (418/418), 195.08 KiB | 557.00 KiB/s, done. Resolving deltas: 100% (153/153), done. Cloning into '/home/pi/openvino/thirdparty/gflags/gflags'... remote: Enumerating objects: 2351, done. remote: Counting objects: 100% (69/69), done. remote: Compressing objects: 100% (48/48), done. remote: Total 2351 (delta 36), reused 25 (delta 21), pack-reused 2282 (from 3) Receiving objects: 100% (2351/2351), 1.52 MiB | 783.00 KiB/s, done. Resolving deltas: 100% (1401/1401), done. Cloning into '/home/pi/openvino/thirdparty/gtest/gtest'... remote: Enumerating objects: 18172, done. remote: Counting objects: 100% (1/1), done. remote: Total 18172 (delta 0), reused 1 (delta 0), pack-reused 18171 (from 1) Receiving objects: 100% (18172/18172), 6.39 MiB | 658.00 KiB/s, done. Resolving deltas: 100% (13505/13505), done. Cloning into '/home/pi/openvino/thirdparty/ittapi/ittapi'... remote: Enumerating objects: 1517, done. remote: Counting objects: 100% (386/386), done. remote: Compressing objects: 100% (155/155), done. remote: Total 1517 (delta 303), reused 236 (delta 231), pack-reused 1131 (from 3) Receiving objects: 100% (1517/1517), 600.92 KiB | 1.13 MiB/s, done. Resolving deltas: 100% (807/807), done. Cloning into '/home/pi/openvino/thirdparty/json/nlohmann_json'... remote: Enumerating objects: 1161, done. remote: Counting objects: 100% (1161/1161), done. remote: Compressing objects: 100% (844/844), done. remote: Total 1161 (delta 260), reused 650 (delta 239), pack-reused 0 (from 0) Receiving objects: 100% (1161/1161), 9.34 MiB | 1.07 MiB/s, done. Resolving deltas: 100% (260/260), done. Cloning into '/home/pi/openvino/thirdparty/json/nlohmann_json_schema_validator'... remote: Enumerating objects: 227, done. remote: Counting objects: 100% (227/227), done. remote: Compressing objects: 100% (168/168), done. remote: Total 227 (delta 78), reused 123 (delta 29), pack-reused 0 (from 0) Receiving objects: 100% (227/227), 106.78 KiB | 317.00 KiB/s, done. Resolving deltas: 100% (78/78), done. Cloning into '/home/pi/openvino/thirdparty/ocl/cl_headers'... remote: Enumerating objects: 1422, done. remote: Counting objects: 100% (281/281), done. remote: Compressing objects: 100% (142/142), done. remote: Total 1422 (delta 224), reused 150 (delta 139), pack-reused 1141 (from 2) Receiving objects: 100% (1422/1422), 832.19 KiB | 350.00 KiB/s, done. Resolving deltas: 100% (907/907), done. Cloning into '/home/pi/openvino/thirdparty/ocl/clhpp_headers'... remote: Enumerating objects: 2037, done. remote: Counting objects: 100% (680/680), done. remote: Compressing objects: 100% (107/107), done. remote: Total 2037 (delta 629), reused 585 (delta 568), pack-reused 1357 (from 3) Receiving objects: 100% (2037/2037), 6.12 MiB | 1.34 MiB/s, done. Resolving deltas: 100% (1208/1208), done. Cloning into '/home/pi/openvino/thirdparty/ocl/icd_loader'... remote: Enumerating objects: 1131, done. remote: Counting objects: 100% (564/564), done. remote: Compressing objects: 100% (172/172), done. remote: Total 1131 (delta 445), reused 405 (delta 392), pack-reused 567 (from 1) Receiving objects: 100% (1131/1131), 422.70 KiB | 599.00 KiB/s, done. Resolving deltas: 100% (755/755), done. Cloning into '/home/pi/openvino/thirdparty/onnx/onnx'... remote: Enumerating objects: 48909, done. remote: Counting objects: 100% (311/311), done. remote: Compressing objects: 100% (241/241), done. remote: Total 48909 (delta 236), reused 70 (delta 70), pack-reused 48598 (from 3) Receiving objects: 100% (48909/48909), 33.20 MiB | 1.05 MiB/s, done. Resolving deltas: 100% (29432/29432), done. Cloning into '/home/pi/openvino/thirdparty/open_model_zoo'... remote: Enumerating objects: 105286, done. remote: Counting objects: 100% (99/99), done. remote: Compressing objects: 100% (79/79), done. remote: Total 105286 (delta 44), reused 47 (delta 20), pack-reused 105187 (from 2) Receiving objects: 100% (105286/105286), 304.20 MiB | 989.00 KiB/s, done. Resolving deltas: 100% (71768/71768), done. Cloning into '/home/pi/openvino/thirdparty/protobuf/protobuf'... remote: Enumerating objects: 196118, done. remote: Counting objects: 100% (11467/11467), done. remote: Compressing objects: 100% (614/614), done. error: 2055 bytes of body are still expected.65 MiB | 231.00 KiB/s fetch-pack: unexpected disconnect while reading sideband packet fatal: early EOF fatal: index-pack failed fatal: clone of 'https://github.com/protocolbuffers/protobuf.git' into submodule path '/home/pi/openvino/thirdparty/protobuf/protobuf' failed Failed to clone 'thirdparty/protobuf/protobuf'. Retry scheduled Cloning into '/home/pi/openvino/thirdparty/pugixml'... remote: Enumerating objects: 9367, done. remote: Counting objects: 100% (508/508), done. remote: Compressing objects: 100% (248/248), done. remote: Total 9367 (delta 358), reused 260 (delta 260), pack-reused 8859 (from 4) Receiving objects: 100% (9367/9367), 7.03 MiB | 368.00 KiB/s, done. Resolving deltas: 100% (6435/6435), done. Cloning into '/home/pi/openvino/thirdparty/xbyak'... remote: Enumerating objects: 9209, done. remote: Counting objects: 100% (1301/1301), done. remote: Compressing objects: 100% (244/244), done. remote: Total 9209 (delta 1086), reused 1072 (delta 1055), pack-reused 7908 (from 1) Receiving objects: 100% (9209/9209), 2.71 MiB | 890.00 KiB/s, done. Resolving deltas: 100% (6499/6499), done. Cloning into '/home/pi/openvino/thirdparty/zlib/zlib'... remote: Enumerating objects: 6690, done. remote: Counting objects: 100% (221/221), done. remote: Compressing objects: 100% (163/163), done. remote: Total 6690 (delta 84), reused 134 (delta 58), pack-reused 6469 (from 2) Receiving objects: 100% (6690/6690), 4.26 MiB | 662.00 KiB/s, done. Resolving deltas: 100% (4750/4750), done. Cloning into '/home/pi/openvino/thirdparty/protobuf/protobuf'... remote: Enumerating objects: 196118, done. remote: Counting objects: 100% (11467/11467), done. remote: Compressing objects: 100% (614/614), done. remote: Total 196118 (delta 11042), reused 10921 (delta 10853), pack-reused 184651 (from 3) Receiving objects: 100% (196118/196118), 162.67 MiB | 1.22 MiB/s, done. Resolving deltas: 100% (141694/141694), done. Submodule path 'cmake/developer_package/ncc_naming_style/ncc': checked out '63e59ed312ba7a946779596e86124c1633f67607' Submodule path 'src/bindings/python/thirdparty/pybind11': checked out 'd71ba0cb73616c493d35699a8a9283aa64ef0f6b' remote: Enumerating objects: 1822, done. remote: Counting objects: 100% (1173/1173), done. remote: Total 1822 (delta 1172), reused 1172 (delta 1172), pack-reused 649 (from 1) Receiving objects: 100% (1822/1822), 1.05 MiB | 784.00 KiB/s, done. Resolving deltas: 100% (1523/1523), completed with 229 local objects. From https://github.com/openvinotoolkit/oneDNN * branch 82ca2f931c1d588b67d154d873136d4af1ffb3a8 -> FETCH_HEAD Submodule path 'src/plugins/intel_cpu/thirdparty/mkl-dnn': checked out '82ca2f931c1d588b67d154d873136d4af1ffb3a8' Submodule path 'src/plugins/intel_gpu/thirdparty/onednn_gpu': checked out '9e2bf22e51726ad36ddae90c7caf2898d124baa6' Submodule path 'thirdparty/ade': checked out '58b2595a1a95cc807be8bf6222f266a9a1f393a9' Submodule path 'thirdparty/gflags/gflags': checked out 'e171aa2d15ed9eb17054558e0b3a6a413bb01067' Submodule 'doc' (https://github.com/gflags/gflags.git) registered for path 'thirdparty/gflags/gflags/doc' Cloning into '/home/pi/openvino/thirdparty/gflags/gflags/doc'... remote: Enumerating objects: 2351, done. remote: Counting objects: 100% (69/69), done. remote: Compressing objects: 100% (48/48), done. remote: Total 2351 (delta 36), reused 25 (delta 21), pack-reused 2282 (from 3) Receiving objects: 100% (2351/2351), 1.52 MiB | 694.00 KiB/s, done. Resolving deltas: 100% (1401/1401), done. Submodule path 'thirdparty/gflags/gflags/doc': checked out '8411df715cf522606e3b1aca386ddfc0b63d34b4' Submodule path 'thirdparty/gtest/gtest': checked out 'f8bd7cebfb3e6aeefb1d1d93e46a461471e15f57' Submodule path 'thirdparty/ittapi/ittapi': checked out 'ca5e389079a08764b72c95f4ecfe6ee64f9c8848' remote: Enumerating objects: 30204, done. remote: Counting objects: 100% (30204/30204), done. remote: Compressing objects: 100% (8395/8395), done. error: 948 bytes of body are still expected2 MiB | 860.00 KiB/s fetch-pack: unexpected disconnect while reading sideband packet fatal: early EOF fatal: index-pack failed Fetched in submodule path 'thirdparty/json/nlohmann_json', but it did not contain fec56a1a16c6e1c1b1f4e116a20e79398282626c. Direct fetching of that commit failed.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi, thanks for the reply and for your time. It was a problem with wi-fi on the Raspberry Pi, I connected the cable directly and it solved my problem
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi publio,
I was able to run the clone command without having any issue.
git clone --recurse-submodules --single-branch --branch=2022.1.0 https://github.com/openvinotoolkit/openvino.git
And also, successfully built OpenVINO from source by referring to the article:
Building Open Source OpenVINO™ Toolkit for Debian* OS and Intel® Neural Compute Stick 2
Regarding your error, it might be due to your network issue which disconnect the connection unexpectedly. Please have a try again. If the issue persists, you can manually download the tar-gz file.
Based on your error, you failed at cloning the protobuf GitHub repository.
Failed to clone 'thirdparty/protobuf/protobuf'. Retry scheduled
Here is the protobuf GitHub repository:
https://github.com/protocolbuffers/protobuf/tree/6c6b0778b70f35f93c2f0dee30e5d12ad2a83eea
Make sure the protobuf folder is located in the right place:
https://github.com/openvinotoolkit/openvino/tree/2022.1.0/thirdparty
Download the CMakeList.txt and place together with protobuf folder.
https://github.com/openvinotoolkit/openvino/tree/2022.1.0/thirdparty/protobuf
There should be a protobuf folder and CMakeList.txt in the directory, openvino/thirdparty/protobuf
Regards,
Peh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi, thanks for the reply and for your time. It was a problem with wi-fi on the Raspberry Pi, I connected the cable directly and it solved my problem
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi publio,
Thanks for confirming the issue has been resolved. This thread will no longer be monitored since this issue has been resolved. If you need any additional information from Intel, please submit a new question.
Regards,
Peh

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page