Package Details: openvino 2024.6.0-1

Git Clone URL: https://aur.archlinux.org/openvino.git (read-only, click to copy)
Package Base: openvino
Description: A toolkit for developing artificial inteligence and deep learning applications
Upstream URL: https://docs.openvinotoolkit.org/
Licenses: Apache-2.0
Conflicts: intel-openvino
Provides: intel-openvino
Replaces: intel-openvino
Submitter: dbermond
Maintainer: dbermond
Last Packager: dbermond
Votes: 12
Popularity: 0.68
First Submitted: 2020-12-23 22:29 (UTC)
Last Updated: 2024-12-20 01:20 (UTC)

Dependencies (20)

Sources (33)

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 Next › Last »

dbermond commented on 2024-01-04 19:37 (UTC)

@Bluebomber182 I've just checked, and the package is building fine. Your log does not show any meaningful error messages.

Bluebomber182 commented on 2024-01-04 10:44 (UTC)

I got this error message upon installing it. So I just installed OpenVino from the Chaotic-AUR repo instead

[ 89%] Building CXX object src/plugins/intel_gpu/src/graph/CMakeFiles/openvino_intel_gpu_graph.dir/impls/onednn/reorder_onednn.cpp.o
[ 89%] Building CXX object src/plugins/intel_gpu/src/graph/CMakeFiles/openvino_intel_gpu_graph.dir/impls/onednn/utils.cpp.o
[ 89%] Building CXX object src/plugins/intel_gpu/src/graph/CMakeFiles/openvino_intel_gpu_graph.dir/input_layout.cpp.o
[ 89%] Building CXX object src/plugins/intel_gpu/src/graph/CMakeFiles/openvino_intel_gpu_graph.dir/kernel_impl_params.cpp.o
[ 89%] Building CXX object src/plugins/intel_gpu/src/graph/CMakeFiles/openvino_intel_gpu_graph.dir/layout_optimizer.cpp.o
[ 89%] Building CXX object src/plugins/intel_gpu/src/graph/CMakeFiles/openvino_intel_gpu_graph.dir/loop.cpp.o
[ 89%] Building CXX object src/plugins/intel_gpu/src/graph/CMakeFiles/openvino_intel_gpu_graph.dir/lrn.cpp.o
[ 89%] Building CXX object src/plugins/intel_gpu/src/graph/CMakeFiles/openvino_intel_gpu_graph.dir/lstm.cpp.o
[ 89%] Building CXX object src/plugins/intel_gpu/src/graph/CMakeFiles/openvino_intel_gpu_graph.dir/lstm_dynamic.cpp.o
[ 89%] Building CXX object src/plugins/intel_gpu/src/graph/CMakeFiles/openvino_intel_gpu_graph.dir/lstm_dynamic_input.cpp.o
[ 89%] Building CXX object src/plugins/intel_gpu/src/graph/CMakeFiles/openvino_intel_gpu_graph.dir/lstm_dynamic_timeloop.cpp.o
[ 89%] Building CXX object src/plugins/intel_gpu/src/graph/CMakeFiles/openvino_intel_gpu_graph.dir/lstm_elt.cpp.o
[ 89%] Building CXX object src/plugins/intel_gpu/src/graph/CMakeFiles/openvino_intel_gpu_graph.dir/lstm_gemm.cpp.o
[ 89%] Building CXX object src/plugins/intel_gpu/src/graph/CMakeFiles/openvino_intel_gpu_graph.dir/matrix_nms.cpp.o
[ 89%] Building CXX object src/plugins/intel_gpu/src/graph/CMakeFiles/openvino_intel_gpu_graph.dir/multiclass_nms.cpp.o
[ 89%] Building CXX object src/plugins/intel_gpu/src/graph/CMakeFiles/openvino_intel_gpu_graph.dir/mutable_data.cpp.o
[ 89%] Building CXX object src/plugins/intel_gpu/src/graph/CMakeFiles/openvino_intel_gpu_graph.dir/mvn.cpp.o
[ 89%] Building CXX object src/plugins/intel_gpu/src/graph/CMakeFiles/openvino_intel_gpu_graph.dir/network.cpp.o
[ 89%] Building CXX object src/plugins/intel_gpu/src/graph/CMakeFiles/openvino_intel_gpu_graph.dir/nodes_ordering.cpp.o
[ 89%] Building CXX object src/plugins/intel_gpu/src/graph/CMakeFiles/openvino_intel_gpu_graph.dir/non_max_suppression.cpp.o
[ 89%] Building CXX object src/plugins/intel_gpu/src/graph/CMakeFiles/openvino_intel_gpu_graph.dir/non_zero.cpp.o
[ 89%] Building CXX object src/plugins/intel_gpu/src/graph/CMakeFiles/openvino_intel_gpu_graph.dir/normalize.cpp.o
[ 89%] Building CXX object src/plugins/intel_gpu/src/graph/CMakeFiles/openvino_intel_gpu_graph.dir/one_hot.cpp.o
[ 89%] Building CXX object src/plugins/intel_gpu/src/graph/CMakeFiles/openvino_intel_gpu_graph.dir/pass_manager.cpp.o
[ 89%] Building CXX object src/plugins/intel_gpu/src/graph/CMakeFiles/openvino_intel_gpu_graph.dir/permute.cpp.o
[ 89%] Building CXX object src/plugins/intel_gpu/src/graph/CMakeFiles/openvino_intel_gpu_graph.dir/pooling.cpp.o
[ 89%] Building CXX object src/plugins/intel_gpu/src/graph/CMakeFiles/openvino_intel_gpu_graph.dir/primitive_inst.cpp.o
[ 89%] Building CXX object src/plugins/intel_gpu/src/graph/CMakeFiles/openvino_intel_gpu_graph.dir/prior_box.cpp.o
[ 89%] Building CXX object src/plugins/intel_gpu/src/graph/CMakeFiles/openvino_intel_gpu_graph.dir/program.cpp.o
[ 89%] Building CXX object src/plugins/intel_gpu/src/graph/CMakeFiles/openvino_intel_gpu_graph.dir/program_dump_graph.cpp.o
[ 90%] Building CXX object src/plugins/intel_gpu/src/graph/CMakeFiles/openvino_intel_gpu_graph.dir/program_helpers.cpp.o
[ 90%] Building CXX object src/plugins/intel_gpu/src/graph/CMakeFiles/openvino_intel_gpu_graph.dir/program_node.cpp.o
[ 90%] Building CXX object src/plugins/intel_gpu/src/graph/CMakeFiles/openvino_intel_gpu_graph.dir/proposal.cpp.o
[ 90%] Building CXX object src/plugins/intel_gpu/src/graph/CMakeFiles/openvino_intel_gpu_graph.dir/pyramid_roi_align.cpp.o
[ 90%] Building CXX object src/plugins/intel_gpu/src/graph/CMakeFiles/openvino_intel_gpu_graph.dir/quantize.cpp.o
[ 90%] Building CXX object src/plugins/intel_gpu/src/graph/CMakeFiles/openvino_intel_gpu_graph.dir/random_uniform.cpp.o
[ 90%] Building CXX object src/plugins/intel_gpu/src/graph/CMakeFiles/openvino_intel_gpu_graph.dir/range.cpp.o
[ 90%] Building CXX object src/plugins/intel_gpu/src/graph/CMakeFiles/openvino_intel_gpu_graph.dir/read_value.cpp.o
[ 90%] Building CXX object src/plugins/intel_gpu/src/graph/CMakeFiles/openvino_intel_gpu_graph.dir/reduce.cpp.o
[ 90%] Building CXX object src/plugins/intel_gpu/src/graph/CMakeFiles/openvino_intel_gpu_graph.dir/region_yolo.cpp.o
[ 90%] Building CXX object src/plugins/intel_gpu/src/graph/CMakeFiles/openvino_intel_gpu_graph.dir/reorder.cpp.o
[ 90%] Building CXX object src/plugins/intel_gpu/src/graph/CMakeFiles/openvino_intel_gpu_graph.dir/reorg_yolo.cpp.o
[ 90%] Building CXX object src/plugins/intel_gpu/src/graph/CMakeFiles/openvino_intel_gpu_graph.dir/resample.cpp.o
[ 90%] Building CXX object src/plugins/intel_gpu/src/graph/CMakeFiles/openvino_intel_gpu_graph.dir/reshape.cpp.o
[ 90%] Building CXX object src/plugins/intel_gpu/src/graph/CMakeFiles/openvino_intel_gpu_graph.dir/reverse.cpp.o
[ 90%] Building CXX object src/plugins/intel_gpu/src/graph/CMakeFiles/openvino_intel_gpu_graph.dir/reverse_sequence.cpp.o
[ 90%] Building CXX object src/plugins/intel_gpu/src/graph/CMakeFiles/openvino_intel_gpu_graph.dir/rms.cpp.o
[ 90%] Building CXX object src/plugins/intel_gpu/src/graph/CMakeFiles/openvino_intel_gpu_graph.dir/roi_align.cpp.o
[ 90%] Building CXX object src/plugins/intel_gpu/src/graph/CMakeFiles/openvino_intel_gpu_graph.dir/roi_pooling.cpp.o
[ 90%] Building CXX object src/plugins/intel_gpu/src/graph/CMakeFiles/openvino_intel_gpu_graph.dir/roll.cpp.o
[ 90%] Building CXX object src/plugins/intel_gpu/src/graph/CMakeFiles/openvino_intel_gpu_graph.dir/scatter_elements_update.cpp.o
[ 90%] Building CXX object src/plugins/intel_gpu/src/graph/CMakeFiles/openvino_intel_gpu_graph.dir/scatter_nd_update.cpp.o
[ 90%] Building CXX object src/plugins/intel_gpu/src/graph/CMakeFiles/openvino_intel_gpu_graph.dir/scatter_update.cpp.o
[ 90%] Building CXX object src/plugins/intel_gpu/src/graph/CMakeFiles/openvino_intel_gpu_graph.dir/select.cpp.o
[ 90%] Building CXX object src/plugins/intel_gpu/src/graph/CMakeFiles/openvino_intel_gpu_graph.dir/shape_of.cpp.o
[ 90%] Building CXX object src/plugins/intel_gpu/src/graph/CMakeFiles/openvino_intel_gpu_graph.dir/shuffle_channels.cpp.o
[ 90%] Building CXX object src/plugins/intel_gpu/src/graph/CMakeFiles/openvino_intel_gpu_graph.dir/slice.cpp.o
[ 90%] Building CXX object src/plugins/intel_gpu/src/graph/CMakeFiles/openvino_intel_gpu_graph.dir/softmax.cpp.o
[ 90%] Building CXX object src/plugins/intel_gpu/src/graph/CMakeFiles/openvino_intel_gpu_graph.dir/space_to_batch.cpp.o
[ 90%] Building CXX object src/plugins/intel_gpu/src/graph/CMakeFiles/openvino_intel_gpu_graph.dir/space_to_depth.cpp.o
[ 90%] Building CXX object src/plugins/intel_gpu/src/graph/CMakeFiles/openvino_intel_gpu_graph.dir/split.cpp.o
[ 90%] Building CXX object src/plugins/intel_gpu/src/graph/CMakeFiles/openvino_intel_gpu_graph.dir/strided_slice.cpp.o
[ 90%] Building CXX object src/plugins/intel_gpu/src/graph/CMakeFiles/openvino_intel_gpu_graph.dir/tile.cpp.o
[ 90%] Building CXX object src/plugins/intel_gpu/src/graph/CMakeFiles/openvino_intel_gpu_graph.dir/topology.cpp.o
[ 90%] Building CXX object src/plugins/intel_gpu/src/graph/CMakeFiles/openvino_intel_gpu_graph.dir/unique.cpp.o
[ 90%] Linking CXX static library /home/bud/Downloads/openvino/src/openvino/bin/intel64/Release/libopenvino_intel_gpu_graph.a
[ 90%] Built target openvino_intel_gpu_graph
make: *** [Makefile:156: all] Error 2
==> ERROR: A failure occurred in build().
    Aborting...

dbermond commented on 2023-12-18 21:47 (UTC)

@Fifis It looks like you have opencv2 concomitantly installed. I've pushed an update to it that fixes the issue you're having.

Fifis commented on 2023-12-14 13:59 (UTC)

There is a path error in the OpenCV dependency ("lib" mentioned twice in the path /usr/lib/lib/libopencv_core.so.2.4.13), which makes compilation impossible.

<...>
-- Found Cython version 3.0.6
CMake Error at /usr/lib/cmake/OpenCV/OpenCVModules.cmake:205 (message):
  The imported target "opencv_core" references the file

     "/usr/lib/lib/libopencv_core.so.2.4.13"

  but this file does not exist.  Possible reasons include:

  * The file was deleted, renamed, or moved to another location.

  * An install or uninstall procedure did not complete successfully.

  * The installation package was faulty and contained

     "/usr/lib/cmake/OpenCV/OpenCVModules.cmake"

  but not all the files it references.

Call Stack (most recent call first):
  /usr/lib/cmake/OpenCV/OpenCVConfig.cmake:71 (include)
  samples/cpp/common/format_reader/CMakeLists.txt:20 (find_package)


-- Configuring incomplete, errors occurred!
==> ERROR: A failure occurred in build().
    Aborting...
error: failed to build 'openvino-2023.2.0-1': 
error: packages failed to build: openvino-2023.2.0-1

dbermond commented on 2023-07-18 17:08 (UTC)

@WSDMatty That's due to the protobuf update 21.x->23.x that was pushed to the official repositories a few days ago. Protobuf 23 now requires c++14 at minimum, and now it also depends on abseil-cpp, which in turn requires c++17 at minimum. I've updated the package, and it's building fine. I could not make it to build by applying your suggestion and neither by applying a backported upstream patch. Thanks for reporting.

WSDMatty commented on 2023-07-18 10:58 (UTC)

Build fails with the error:

In file included from /usr/include/absl/base/config.h:86,
                 from /usr/include/absl/base/attributes.h:37,
                 from /usr/include/absl/strings/string_view.h:39,
                 from /usr/include/google/protobuf/stubs/common.h:44,
                 from /home/AUR/openvino/src/openvino/src/frontends/common/shutdown_protobuf/shutdown_protobuf.cpp:5:
/usr/include/absl/base/policy_checks.h:79:2: error: #error "C++ versions less than C++14 are not supported."
   79 | #error "C++ versions less than C++14 are not supported."
      |  ^~~~~
/usr/include/absl/strings/string_view.h:52:26: error: ‘string_view’ in namespace ‘std’ does not name a type
   52 | using string_view = std::string_view;
      |                          ^~~~~~~~~~~
/usr/include/absl/strings/string_view.h:52:21: note: ‘std::string_view’ is only available from C++17 onwards
   52 | using string_view = std::string_view;
      |                     ^~~
/usr/include/absl/strings/string_view.h:686:8: error: ‘string_view’ does not name a type
  686 | inline string_view ClippedSubstr(string_view s, size_t pos,
      |        ^~~~~~~~~~~
/usr/include/absl/strings/string_view.h:697:11: error: ‘string_view’ does not name a type
  697 | constexpr string_view NullSafeStringView(const char* p) {
      |           ^~~~~~~~~~~
In file included from /usr/include/google/protobuf/stubs/port.h:45,
                 from /usr/include/google/protobuf/stubs/common.h:46:
/usr/include/google/protobuf/port_def.inc:205:15: error: static assertion failed: Protobuf only supports C++14 and newer.
  205 | static_assert(PROTOBUF_CPLUSPLUS_MIN(201402L), "Protobuf only supports C++14 and newer.");
      |               ^~~~~~~~~~~~~~~~~~~~~~

Adding -DCMAKE_CXX_STANDARD='17' to the pkgbuild with the rest of the cmake flags when running cmake -B build -S openvino fixes the build errors.

dbermond commented on 2023-06-20 01:58 (UTC)

@Eugine_Nier Package updated. Building fine.

@msa81 Package updated. Building fine. No need to use gcc12, I've added the needed fixes to build with the current gcc13.

msa81 commented on 2023-06-09 15:57 (UTC) (edited on 2023-06-09 15:59 (UTC) by msa81)

Also, I keep getting the error: "uint8 t" was not declared in this scope.

It's caused by gcc13 and can be fixed by installing gcc12 and exporting it to the environment. In short, openvino builds successfully by doing the workaround:

yay -S gcc12 gcc12-libs

export CC=gcc-12 CXX=g++-12

yay -S openvino

Eugine_Nier commented on 2023-05-18 06:29 (UTC) (edited on 2023-05-18 06:33 (UTC) by Eugine_Nier)

I keep getting this error:

[ 46%] Building CXX object src/common/util/CMakeFiles/util.dir/src/file_util.cpp.o
In file included from /home/enier/.cache/yay/openvino/src/openvino/src/common/util/src/file_util.cpp:4:
/home/enier/.cache/yay/openvino/src/openvino/src/common/util/include/openvino/util/file_util.hpp:250:13: error: ‘uint8_t’ was not declared in this scope
  250 | std::vector<uint8_t> load_binary(const std::string& path);
      |             ^~~~~~~
/home/enier/.cache/yay/openvino/src/openvino/src/common/util/include/openvino/util/file_util.hpp:13:1: note: ‘uint8_t’ is defined in header ‘<cstdint>’; did you forget to ‘#include <cstdint>’?
   12 | #include "openvino/util/util.hpp"
  +++ |+#include <cstdint>
   13 | 
/home/enier/.cache/yay/openvino/src/openvino/src/common/util/include/openvino/util/file_util.hpp:250:20: error: template argument 1 is invalid
  250 | std::vector<uint8_t> load_binary(const std::string& path);
      |                    ^
/home/enier/.cache/yay/openvino/src/openvino/src/common/util/include/openvino/util/file_util.hpp:250:20: error: template argument 2 is invalid
/home/enier/.cache/yay/openvino/src/openvino/src/common/util/include/openvino/util/file_util.hpp:256:55: error: ‘uint8_t’ was not declared in this scope
  256 | void save_binary(const std::string& path, std::vector<uint8_t> binary);
      |                                                       ^~~~~~~
/home/enier/.cache/yay/openvino/src/openvino/src/common/util/include/openvino/util/file_util.hpp:256:55: note: ‘uint8_t’ is defined in header ‘<cstdint>’; did you forget to ‘#include <cstdint>’?
/home/enier/.cache/yay/openvino/src/openvino/src/common/util/include/openvino/util/file_util.hpp:256:62: error: template argument 1 is invalid
  256 | void save_binary(const std::string& path, std::vector<uint8_t> binary);
      |                                                              ^
/home/enier/.cache/yay/openvino/src/openvino/src/common/util/include/openvino/util/file_util.hpp:256:62: error: template argument 2 is invalid
/home/enier/.cache/yay/openvino/src/openvino/src/common/util/src/file_util.cpp:461:13: error: ‘uint8_t’ was not declared in this scope
  461 | std::vector<uint8_t> ov::util::load_binary(const std::string& path) {
      |             ^~~~~~~
/home/enier/.cache/yay/openvino/src/openvino/src/common/util/src/file_util.cpp:43:1: note: ‘uint8_t’ is defined in header ‘<cstdint>’; did you forget to ‘#include <cstdint>’?
   42 | #        include <locale>
  +++ |+#include <cstdint>
   43 | #    endif
/home/enier/.cache/yay/openvino/src/openvino/src/common/util/src/file_util.cpp:461:20: error: template argument 1 is invalid
  461 | std::vector<uint8_t> ov::util::load_binary(const std::string& path) {
      |                    ^
/home/enier/.cache/yay/openvino/src/openvino/src/common/util/src/file_util.cpp:461:20: error: template argument 2 is invalid
/home/enier/.cache/yay/openvino/src/openvino/src/common/util/src/file_util.cpp: In function ‘int ov::util::load_binary(const std::string&)’:
/home/enier/.cache/yay/openvino/src/openvino/src/common/util/src/file_util.cpp:482:21: error: ‘uint8_t’ was not declared in this scope
  482 |         std::vector<uint8_t> ret(nsize);
      |                     ^~~~~~~
/home/enier/.cache/yay/openvino/src/openvino/src/common/util/src/file_util.cpp:482:21: note: ‘uint8_t’ is defined in header ‘<cstdint>’; did you forget to ‘#include <cstdint>’?
/home/enier/.cache/yay/openvino/src/openvino/src/common/util/src/file_util.cpp:482:28: error: template argument 1 is invalid
  482 |         std::vector<uint8_t> ret(nsize);
      |                            ^
/home/enier/.cache/yay/openvino/src/openvino/src/common/util/src/file_util.cpp:482:28: error: template argument 2 is invalid
/home/enier/.cache/yay/openvino/src/openvino/src/common/util/src/file_util.cpp:484:30: error: request for member ‘data’ in ‘ret’, which is of non-class type ‘int’
  484 |         auto res = fread(ret.data(), sizeof(uint8_t), nsize, fp);
      |                              ^~~~
/home/enier/.cache/yay/openvino/src/openvino/src/common/util/src/file_util.cpp: At global scope:
/home/enier/.cache/yay/openvino/src/openvino/src/common/util/src/file_util.cpp:493:65: error: ‘uint8_t’ was not declared in this scope
  493 | void ov::util::save_binary(const std::string& path, std::vector<uint8_t> binary) {
      |                                                                 ^~~~~~~
/home/enier/.cache/yay/openvino/src/openvino/src/common/util/src/file_util.cpp:493:65: note: ‘uint8_t’ is defined in header ‘<cstdint>’; did you forget to ‘#include <cstdint>’?
/home/enier/.cache/yay/openvino/src/openvino/src/common/util/src/file_util.cpp:493:72: error: template argument 1 is invalid
  493 | void ov::util::save_binary(const std::string& path, std::vector<uint8_t> binary) {
      |                                                                        ^
/home/enier/.cache/yay/openvino/src/openvino/src/common/util/src/file_util.cpp:493:72: error: template argument 2 is invalid
/home/enier/.cache/yay/openvino/src/openvino/src/common/util/src/file_util.cpp: In function ‘void ov::util::save_binary(const std::string&, int)’:
/home/enier/.cache/yay/openvino/src/openvino/src/common/util/src/file_util.cpp:502:61: error: invalid types ‘int[int]’ for array subscript
  502 |         out_file.write(reinterpret_cast<const char*>(&binary[0]), binary.size());
      |                                                             ^
/home/enier/.cache/yay/openvino/src/openvino/src/common/util/src/file_util.cpp:502:74: error: request for member ‘size’ in ‘binary’, which is of non-class type ‘int’
  502 |         out_file.write(reinterpret_cast<const char*>(&binary[0]), binary.size());
      |                                                                          ^~~~
make[2]: *** [src/common/util/CMakeFiles/util.dir/build.make:104: src/common/util/CMakeFiles/util.dir/src/file_util.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:2734: src/common/util/CMakeFiles/util.dir/all] Error 2
make: *** [Makefile:156: all] Error 2
==> ERROR: A failure occurred in build().
    Aborting...
 -> error making: openvino-exit status 4
 -> Failed to install the following packages. Manual intervention is required:
openvino - exit status 4

dbermond commented on 2023-04-02 15:23 (UTC)

@Eirikr I've pushed a fix. My guess is that this is some incompatibility with newer cmake versions. Building fine now.