Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build process failed #835

Open
M-Melodious opened this issue Aug 27, 2024 · 2 comments
Open

Build process failed #835

M-Melodious opened this issue Aug 27, 2024 · 2 comments

Comments

@M-Melodious
Copy link

 => [build 76/89] RUN apt-get update &&   DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends     cmake git ocl-icd-o  7.1s
 => ERROR [build 77/89] RUN git clone -b v1.4.1 --depth 1 https://github.com/openvinotoolkit/dlstreamer_gst.git /opt/build/gst-video-analyt  6.5s
------
 > [build 77/89] RUN git clone -b v1.4.1 --depth 1 https://github.com/openvinotoolkit/dlstreamer_gst.git /opt/build/gst-video-analytics &&     cd /opt/build/gst-video-analytics &&     git submodule update --init &&     sed -i "195s/) {/||g_strrstr(name, "image")) {/" gst/elements/gvapython/python_callback.cpp &&     mkdir -p build && cd build &&     cmake         -DVERSION_PATCH="$(git rev-list --count --first-parent HEAD)"         -DGIT_INFO=git_"$(git rev-parse --short HEAD)"         -DCMAKE_INSTALL_PREFIX=/usr/local         -DCMAKE_BUILD_TYPE=Release         -DDISABLE_SAMPLES=ON         -DENABLE_PAHO_INSTALLATION=ON         -DENABLE_RDKAFKA_INSTALLATION=ON         -DENABLE_VAAPI=OFF         -DENABLE_VAS_TRACKER=ON         -DENABLE_AUDIO_INFERENCE_ELEMENTS=OFF         -Dwith_drm=no         -Dwith_x11=no         -Dwith_glx=no         -Dwith_wayland=no         -Dwith_egl=no         -DMQTT=1         -DKAFKA=1         ..     && make -j $(nproc)     && make install     && make install DESTDIR=/opt/dist:
0.097 Cloning into '/opt/build/gst-video-analytics'...
0.403 Note: switching to '4a8b37a81b4f8362899d3521bcabe5ecaec97014'.
0.403 
0.403 You are in 'detached HEAD' state. You can look around, make experimental
0.403 changes and commit them, and you can discard any commits you make in this
0.403 state without impacting any branches by switching back to a branch.
0.403 
0.403 If you want to create a new branch to retain commits you create, you may
0.403 do so (now or later) by using -c with the switch command. Example:
0.403 
0.403   git switch -c <new-branch-name>
0.403 
0.403 Or undo this operation with:
0.403 
0.403   git switch -
0.403 
0.403 Turn off this advice by setting config variable advice.detachedHead to false
0.403 
0.556 -- The C compiler identification is GNU 9.4.0
0.621 -- The CXX compiler identification is GNU 9.4.0
0.626 -- Check for working C compiler: /usr/bin/cc
0.708 -- Check for working C compiler: /usr/bin/cc -- works
0.709 -- Detecting C compiler ABI info
0.791 -- Detecting C compiler ABI info - done
0.805 -- Detecting C compile features
0.805 -- Detecting C compile features - done
0.808 -- Check for working CXX compiler: /usr/bin/c++
0.904 -- Check for working CXX compiler: /usr/bin/c++ -- works
0.905 -- Detecting CXX compiler ABI info
1.001 -- Detecting CXX compiler ABI info - done
1.016 -- Detecting CXX compile features
1.016 -- Detecting CXX compile features - done
1.018 -- Looking for pthread.h
1.105 -- Looking for pthread.h - found
1.105 -- Performing Test CMAKE_HAVE_LIBC_PTHREAD
1.194 -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed
1.194 -- Looking for pthread_create in pthreads
1.267 -- Looking for pthread_create in pthreads - not found
1.268 -- Looking for pthread_create in pthread
1.352 -- Looking for pthread_create in pthread - found
1.354 -- Found Threads: TRUE  
1.354 ENABLE_PAHO_INSTALLATION=ON
1.354 ENABLE_RDKAFKA_INSTALLATION=ON
1.360 -- Found PkgConfig: /usr/bin/pkg-config (found version "0.29.1") 
1.361 -- Checking for module 'gstreamer-1.0>=1.16'
1.382 --   Found gstreamer-1.0, version 1.19.1
1.437 -- Checking for module 'gstreamer-video-1.0>=1.16'
1.455 --   Found gstreamer-video-1.0, version 1.19.1
1.507 -- Checking for module 'gstreamer-allocators-1.0'
1.526 --   Found gstreamer-allocators-1.0, version 1.19.1
1.577 -- Checking for module 'glib-2.0'
1.595 --   Found glib-2.0, version 2.64.6
1.651 -- Found OpenCV: /usr/local (found version "4.5.3") found components: core imgproc 
1.658 MQTT support will be available in metapublish element
1.658 Kafka support will be available in metapublish element
1.664 -- Checking for module 'pygobject-3.0'
1.683 --   Found pygobject-3.0, version 3.36.0
1.744 -- Found PythonLibs: /usr/lib/x86_64-linux-gnu/libpython3.8.so (found suitable version "3.8.10", minimum required is "3.4") 
1.752 -- Checking for module 'gstreamer-1.0>=1.14'
1.771 --   Found gstreamer-1.0, version 1.19.1
1.831 -- Checking for module 'gstreamer-1.0>=1.16'
1.851 --   Found gstreamer-1.0, version 1.19.1
1.929 CMake Warning at /usr/local/openvino/deployment_tools/inference_engine/share/InferenceEngineConfig-version.cmake:17 (message):
1.929   Inference Engine versioning has changed.  Use 0.0.0 instead of 2.1.0
1.929 Call Stack (most recent call first):
1.929   inference_backend/image_inference/openvino/CMakeLists.txt:11 (find_package)
1.929 
1.929 
1.943 CMake Warning at /usr/local/openvino/deployment_tools/inference_engine/share/InferenceEngineConfig-version.cmake:17 (message):
1.943   Inference Engine versioning has changed.  Use 0.0.0 instead of 2.1.0
1.943 Call Stack (most recent call first):
1.943   inference_backend/image_inference/CMakeLists.txt:19 (find_package)
1.943 
1.943 
1.952 -- Found OpenCV: /usr/local (found version "4.5.3") found components: core imgproc imgcodecs 
2.200 -- Found OpenCV: /usr/local (found version "4.5.3") found components: core imgproc 
2.215 -- Configuring done
2.299 -- Generating done
2.305 CMake Warning:
2.305   Manually-specified variables were not used by the project:
2.305 
2.305     DISABLE_SAMPLES
2.305     with_drm
2.305     with_egl
2.305     with_glx
2.305     with_wayland
2.305     with_x11
2.305 
2.305 
2.306 -- Build files have been written to: /opt/build/gst-video-analytics/build
2.361 Scanning dependencies of target getexternal
2.361 Scanning dependencies of target utils
2.364 Scanning dependencies of target logger
2.379 [  2%] Generating ../../thirdparty/json/nlohmann/json.hpp
2.379 [  2%] Building CXX object utils/CMakeFiles/utils.dir/utils.cpp.o
2.382 Downloading /opt/build/gst-video-analytics/thirdparty/json/nlohmann/json.hpp...
2.382 [  3%] Building CXX object inference_backend/logger/CMakeFiles/logger.dir/logger.cpp.o
2.387 --2024-08-27 15:53:14--  https://github.com/nlohmann/json/releases/download/v3.7.3/json.hpp
2.390 Resolving github.com (github.com)... 140.82.113.3
2.391 Connecting to github.com (github.com)|140.82.113.3|:443... connected.
2.396 Scanning dependencies of target gstvideoanalyticsmeta
2.398 HTTP request sent, awaiting response... [  4%] Building C object gst-libs/gst/videoanalytics/CMakeFiles/gstvideoanalyticsmeta.dir/metadata/gva_json_meta.c.o
2.454 302 Found
2.455 Location: https://objects.githubusercontent.com/github-production-release-asset-2e65be/11171548/1a73cc00-0933-11ea-8c51-8fdb16b78b7e?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=releaseassetproduction%2F20240827%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20240827T155314Z&X-Amz-Expires=300&X-Amz-Signature=0bcf2024f16892f1fa137392b6c35c5fee7a3b9b41db1243426b5351e4e992a6&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=11171548&response-content-disposition=attachment%3B%20filename%3Djson.hpp&response-content-type=application%2Foctet-stream [following]
2.455 --2024-08-27 15:53:14--  https://objects.githubusercontent.com/github-production-release-asset-2e65be/11171548/1a73cc00-0933-11ea-8c51-8fdb16b78b7e?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=releaseassetproduction%2F20240827%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20240827T155314Z&X-Amz-Expires=300&X-Amz-Signature=0bcf2024f16892f1fa137392b6c35c5fee7a3b9b41db1243426b5351e4e992a6&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=11171548&response-content-disposition=attachment%3B%20filename%3Djson.hpp&response-content-type=application%2Foctet-stream
2.456 Resolving objects.githubusercontent.com (objects.githubusercontent.com)... 185.199.111.133, 185.199.108.133, 185.199.109.133, ...
2.459 Connecting to objects.githubusercontent.com (objects.githubusercontent.com)|185.199.111.133|:443... connected.
2.464 HTTP request sent, awaiting response... 200 OK
2.487 Length: 809489 (791K) [application/octet-stream]
2.489 Saving to: '/opt/build/gst-video-analytics/thirdparty/json/nlohmann/json.hpp'
2.489 
2.489      0K .......... .......... .......... .......... ..........  6% 2.75M 0s
2.508     50K .......... .......... .......... .......... .......... 12% 3.08M 0s
2.525    100K .......... .......... .......... .......... .......... 18% 3.87M 0s
2.537    150K .......... .......... .......... .......... .......... 25% 23.6M 0s
2.537    200K .......... .......... .......... .......... .......... 31% 7.53M 0s
2.545    250K .......... .......... .......... .......... .......... 37% 12.4M 0s
2.550    300K .......... .......... .......... .......... .......... 44%  200M 0s
2.550    350K .......... .......... .......... .......... .......... 50%  166M 0s
2.550    400K .......... .......... .......... .......... .......... 56%  201M 0s
2.550    450K .......... .......... .......... .......... .......... 63%  176M 0s
2.550    500K .......... .......... .......... .......... .......... 69%  172M 0s
2.550    550K .......... .......... .......... .......... .......... 75%  178M 0s
2.550    600K .......... .......... .......... .......... .......... 82%  211M 0s
2.550    650K .......... .......... .......... .......... .......... 88%  197M 0s
2.550    700K .......... .......... .......... .......... .......... 94%  202M 0s
2.550    750K .......... .......... .......... ..........           100%  162M=0.06s
2.550 
2.550 2024-08-27 15:53:14 (12.6 MB/s) - '/opt/build/gst-video-analytics/thirdparty/json/nlohmann/json.hpp' saved [809489/809489]
2.550 
2.580 [  4%] Built target getexternal
2.599 Scanning dependencies of target getexternalvas
2.617 [  5%] Generating ../../../thirdparty/vas/include/vas/common.h, ../../../thirdparty/vas/include/vas/ot.h, ../../intel64/Release/lib/libvasot.so, ../../../thirdparty/vas/Intel-Simplified-Software-License.txt
2.620 Downloading Vas...
2.624 --2024-08-27 15:53:14--  https://downloadmirror.intel.com/30258/eng/vasot.2021.3.ubuntu18.opencv.4.5.2.tar.xz
2.626 Resolving downloadmirror.intel.com (downloadmirror.intel.com)... [  6%] Building C object gst-libs/gst/videoanalytics/CMakeFiles/gstvideoanalyticsmeta.dir/metadata/gva_tensor_meta.c.o
2.698 [  7%] Building CXX object inference_backend/logger/CMakeFiles/logger.dir/perf_logger.cpp.o
2.706 52.85.132.28, 52.85.132.53, 52.85.132.52, ...
2.707 Connecting to downloadmirror.intel.com (downloadmirror.intel.com)|52.85.132.28|:443... connected.
2.712 HTTP request sent, awaiting response... [  8%] Linking C shared library ../../../intel64/Release/lib/libgstvideoanalyticsmeta.so
2.881 [  8%] Built target gstvideoanalyticsmeta
2.894 Scanning dependencies of target pre_proc
2.907 [  9%] Building CXX object inference_backend/pre_proc/CMakeFiles/pre_proc.dir/pre_proc.cpp.o
3.019 403 Forbidden
3.019 2024-08-27 15:53:14 ERROR 403: Forbidden.
3.020 
3.021 make[2]: *** [thirdparty/vas/CMakeFiles/getexternalvas.dir/build.make:66: ../thirdparty/vas/include/vas/common.h] Error 8
3.021 make[1]: *** [CMakeFiles/Makefile2:1135: thirdparty/vas/CMakeFiles/getexternalvas.dir/all] Error 2
3.021 make[1]: *** Waiting for unfinished jobs....
3.028 [ 10%] Linking CXX static library ../../intel64/Release/lib/liblogger.a
3.088 [ 10%] Built target logger
3.296 [ 11%] Linking CXX static library ../../intel64/Release/lib/libpre_proc.a
3.343 [ 11%] Built target pre_proc
6.365 [ 12%] Linking CXX static library ../intel64/Release/lib/libutils.a
6.406 [ 12%] Built target utils
6.408 make: *** [Makefile:130: all] Error 2
------
Dockerfile.1.gst:632
--------------------
 631 |     ENV LIBRARY_PATH=/usr/local/lib
 632 | >>> RUN git clone -b v1.4.1 --depth 1 $GVA_REPO /opt/build/gst-video-analytics && \
 633 | >>>     cd /opt/build/gst-video-analytics && \
 634 | >>>     git submodule update --init && \
 635 | >>>     sed -i "195s/) {/||g_strrstr(name, \"image\")) {/" gst/elements/gvapython/python_callback.cpp && \
 636 | >>>     mkdir -p build && cd build && \
 637 | >>>     cmake \
 638 | >>>         -DVERSION_PATCH="$(git rev-list --count --first-parent HEAD)" \
 639 | >>>         -DGIT_INFO=git_"$(git rev-parse --short HEAD)" \
 640 | >>>         -DCMAKE_INSTALL_PREFIX=/usr/local \
 641 | >>>         -DCMAKE_BUILD_TYPE=Release \
 642 | >>>         -DDISABLE_SAMPLES=ON \
 643 | >>>         -DENABLE_PAHO_INSTALLATION=ON \
 644 | >>>         -DENABLE_RDKAFKA_INSTALLATION=ON \
 645 | >>>         -DENABLE_VAAPI=OFF \
 646 | >>>         -DENABLE_VAS_TRACKER=ON \
 647 | >>>         -DENABLE_AUDIO_INFERENCE_ELEMENTS=OFF \
 648 | >>>         -Dwith_drm=no \
 649 | >>>         -Dwith_x11=no \
 650 | >>>         -Dwith_glx=no \
 651 | >>>         -Dwith_wayland=no \
 652 | >>>         -Dwith_egl=no \
 653 | >>>         -DMQTT=1 \
 654 | >>>         -DKAFKA=1 \
 655 | >>>         .. \
 656 | >>>     && make -j $(nproc) \
 657 | >>>     && make install \
 658 | >>>     && make install DESTDIR=/opt/dist 
 659 |     ENV LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:/usr/local/lib/gstreamer-1.0/:/usr/local/lib/
--------------------
ERROR: failed to solve: process "/bin/sh -c git clone -b v1.4.1 --depth 1 $GVA_REPO /opt/build/gst-video-analytics &&     cd /opt/build/gst-video-analytics &&     git submodule update --init &&     sed -i \"195s/) {/||g_strrstr(name, \\\"image\\\")) {/\" gst/elements/gvapython/python_callback.cpp &&     mkdir -p build && cd build &&     cmake         -DVERSION_PATCH=\"$(git rev-list --count --first-parent HEAD)\"         -DGIT_INFO=git_\"$(git rev-parse --short HEAD)\"         -DCMAKE_INSTALL_PREFIX=/usr/local         -DCMAKE_BUILD_TYPE=Release         -DDISABLE_SAMPLES=ON         -DENABLE_PAHO_INSTALLATION=ON         -DENABLE_RDKAFKA_INSTALLATION=ON         -DENABLE_VAAPI=OFF         -DENABLE_VAS_TRACKER=ON         -DENABLE_AUDIO_INFERENCE_ELEMENTS=OFF         -Dwith_drm=no         -Dwith_x11=no         -Dwith_glx=no         -Dwith_wayland=no         -Dwith_egl=no         -DMQTT=1         -DKAFKA=1         ..     && make -j $(nproc)     && make install     && make install DESTDIR=/opt/dist" did not complete successfully: exit code: 2
make[2]: *** [analytics/common/CMakeFiles/build_smtc_analytics_common.dir/build.make:70: analytics/common/CMakeFiles/build_smtc_analytics_common] Error 1
make[1]: *** [CMakeFiles/Makefile2:516: analytics/common/CMakeFiles/build_smtc_analytics_common.dir/all] Error 2
make: *** [Makefile:91: all] Error 2
@brmarkus
Copy link

brmarkus commented Aug 27, 2024

There is a

3.019 403 Forbidden
3.019 2024-08-27 15:53:14 ERROR 403: Forbidden.

I see the same when trying to access "https://downloadmirror.intel.com/30258/eng/vasot.2021.3.ubuntu18.opencv.4.5.2.tar.xz".

<Error>
<Code>AccessDenied</Code>
<Message>Access Denied</Message>
<RequestId>RMPWFAZYH3XMAVMT</RequestId>
<HostId>Doju4f2vl2msYWmsnmA0T5Wwn344ly/Kd4TSFWTd4mINYk+uj+jyq+p0ggDOJ26JPSPEblWg7C8=</HostId>
</Error>

Wasn't VAS (video analytics software) just renamed (and is actually DL-Streamer now)?
Someone from Intel need to comment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants
@brmarkus @M-Melodious and others