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

Not able to build Triton-server with dali backend #65

Closed
akash2826 opened this issue May 20, 2021 · 1 comment
Closed

Not able to build Triton-server with dali backend #65

akash2826 opened this issue May 20, 2021 · 1 comment
Assignees
Labels
question Further information is requested

Comments

@akash2826
Copy link

Hi Team,

I am trying to build docker container of triton-server with dali implemented.

I have downloaded the tar file "dali_backend-main.zip" and extracted the zip file then below step followed
$ cd dali_backend-main/
$ docker build -f docker/Dockerfile.release -t tritonserver:dali-latest .
//but I am facing below issue I am attaching the log segment where issue started.
[..]
Setting up packagekit (1.1.13-2ubuntu1.1) ...
invoke-rc.d: could not determine current runlevel
invoke-rc.d: policy-rc.d denied execution of force-reload.
Failed to open connection to "system" message bus: Failed to connect to socket /var/run/dbus/system_bus_socket: No such file or directory
Created symlink /etc/systemd/user/sockets.target.wants/pk-debconf-helper.socket → /usr/lib/systemd/user/pk-debconf-helper.socket.
Setting up packagekit-tools (1.1.13-2ubuntu1.1) ...
Setting up software-properties-common (0.98.9.5) ...
Processing triggers for libc-bin (2.31-0ubuntu9.2) ...
Processing triggers for dbus (1.12.16-2ubuntu2.1) ...
Cannot add PPA: 'ppa:~deadsnakes/ubuntu/ppa'.
ERROR: '~deadsnakes' user or team does not exist.
The command '/bin/sh -c apt-get update && apt-get install -y software-properties-common && add-apt-repository ppa:deadsnakes/ppa && apt-get update && apt-get install -y zip wget build-essential autoconf autogen unzip python3.8 python3-pip libboost-all-dev rapidjson-dev && rm -rf /var/lib/apt/lists/*' returned a non-zero code: 1
[..]
whole log is in attached segment
triton build fail log.txt

Please suggest what is going wrong

@szalpal szalpal self-assigned this May 20, 2021
@szalpal
Copy link
Member

szalpal commented May 20, 2021

Hi @akash2826 !

I see two problems here.

First of all, for some reason your system can't see ppa:deadsnakes repository. This issue is not related to dali_backend code. Probably you are behind some kind of proxy, which forbids you from accessing this recourse. This stackoverflow question briefly describes the problem. Therefore, there's not much we can help you with the Cannot add PPA: 'ppa:~deadsnakes/ubuntu/ppa'. ERROR: '~deadsnakes' user or team does not exist. error

Second issue, which you will face as soon as you resolve the proxy problem is how you download the code. dali_backend has some submodules inside, which are required for building, so you need to clone the repo recursively (instead of just downloading the zip). Please use git clone --recursive. The instructions show, how to build dali_backend properly.

@szalpal szalpal added the question Further information is requested label May 20, 2021
@szalpal szalpal closed this as completed Jun 23, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Development

No branches or pull requests

2 participants