Skip to content

kria-runtime not building from build command #1

@pandorazboxx

Description

@pandorazboxx

I ran the build command for kria-runtime:

docker build --build-arg BUILD_DATE="$(date -u +'%Y/%m/%d %H:%M')" -f kria-runtime . -t kria-runtime

but the build fails on stage 7. It looks like there's some issue adding the PPA from this command:

RUN apt-get update ; \
    apt-get install -y software-properties-common ; \
    add-apt-repository -y ppa:xilinx-apps/ppa ; \
    add-apt-repository -y ppa:ubuntu-xilinx/sdk ; \
    add-apt-repository -y ppa:ubuntu-xilinx/gstreamer ; \
    apt-get update ;

Because when the next command tries to run, it cannot find the xilinx packages needed such as: vitis-ai-library, vitis-ai-runtime, vvas-essentials, libxilinx-vcu-omx1 or xilinx-vcu-omx-utils

This is the error that I am receiving:

 => [ 6/12] RUN apt-get update ;     apt-get install -y software-properties-common ;     add-apt-repository -y p  64.9s
 => ERROR [ 7/12] RUN apt-get install --yes --no-install-recommends     vitis-ai-library     vitis-ai-runtime      0.9s
------
 > [ 7/12] RUN apt-get install --yes --no-install-recommends     vitis-ai-library     vitis-ai-runtime     v4l-utils     alsa-base     alsa-utils     pulseaudio     gstreamer1.0-tools     gstreamer1.0-plugins-base     gstreamer1.0-plugins-good     gstreamer1.0-x     gstreamer1.0-plugins-bad     wget     vvas-essentials     unzip     python3-pip     python3-dev     gstreamer1.0-omx-generic     libxilinx-vcu-omx1     xilinx-vcu-omx-utils ;:
#0 0.464 Reading package lists...
#0 0.847 Building dependency tree...
#0 0.925 Reading state information...
#0 0.929 E: Unable to locate package vitis-ai-library
#0 0.929 E: Unable to locate package vitis-ai-runtime
#0 0.929 E: Unable to locate package vvas-essentials
#0 0.929 E: Unable to locate package libxilinx-vcu-omx1
#0 0.929 E: Unable to locate package xilinx-vcu-omx-utils
------
ERROR: failed to solve: executor failed running [/bin/sh -c apt-get install --yes --no-install-recommends     vitis-ai-library     vitis-ai-runtime     v4l-utils     alsa-base     alsa-utils     pulseaudio     gstreamer1.0-tools     gstreamer1.0-plugins-base     gstreamer1.0-plugins-good     gstreamer1.0-x     gstreamer1.0-plugins-bad     wget     vvas-essentials     unzip     python3-pip     python3-dev     gstreamer1.0-omx-generic     libxilinx-vcu-omx1     xilinx-vcu-omx-utils ;]: exit code: 100

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions