Error in building voxl-build
-
Hi, I am trying to build the Docker Image as per the instructions in the gitlab readme
https://gitlab.com/voxl-public/system-image-build/voxl-buildOn the step
docker build -t voxl-build -f ubuntu-xenial.Dockerfile .I get the following error:
Collecting pip Downloading https://files.pythonhosted.org/packages/f7/ce/e359cf283c0c0f2e0af7df8f16c8d79047aa1887a00a5b39b27d8afc49e2/pip-21.2.1.tar.gz (1.6MB) Complete output from command python setup.py egg_info: Traceback (most recent call last): File "<string>", line 1, in <module> File "/tmp/pip-build-1qzqBH/pip/setup.py", line 7 def read(rel_path: str) -> str: ^ SyntaxError: invalid syntax ---------------------------------------- Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-1qzqBH/pip/ You are using pip version 8.1.1, however version 21.2.1 is available. You should consider upgrading via the 'pip install --upgrade pip' command. The command '/bin/sh -c apt-get update && apt-get -y --quiet --no-install-recommends install gcc-4.8-multilib g++-4.8-multilib gawk wget git-core diffstat unzip texinfo gcc-multilib build-essential chrpath bzip2 zip cpio bc make autoconf automake libtool wget curl sudo libxml-simple-perl doxygen qemu-user-static android-tools-fsutils debootstrap schroot vim less iputils-ping python python3.6 python-pip python-setuptools python-tk openssh-server && apt-get clean autoclean && pip install --upgrade pip && curl https://storage.googleapis.com/git-repo-downloads/repo-1 > /usr/bin/repo && chmod a+x /usr/bin/repo && echo "dash dash/sh boolean false" | debconf-set-selections && DEBIAN_FRONTEND=noninteractive dpkg-reconfigure dash' returned a non-zero code: 1I have gotten this error in Ubuntu 20 and a clean install of Ubuntu 18
This is with a fresh pull from the repo
-
Hey @Thomas-MacNamara , we're looking into this now.
-Travis -
I can confirm it does work now.
Also not sure if it helps but after running through this about 10 times I got tired of copy and pasting the steps from the docs and modified the last line of the docker.run
-w /home/user ${optImg} /bin/bash -c "echo doing the first steps from the docs ; cd $optDir ; sudo -S <<< "user" chown user . ; rm -rfv $optDir ; echo user; source /home/user/build.sh $optDir; $SHELL"This just does the rest of the steps at once and starts building
I am sure most people wouldn't need it but i might be useful for someone
Reading along? Create a free ModalAI Forum account to join in.
With an account you can reply, ask your own question, get an email when a ModalAI engineer answers, and mark the reply that solved it. Your place in each thread is saved between visits.
Questions about VOXL, Flight Core, ESCs and ModalAI drones are answered here by the engineers who build them.
Register Login