Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
Collapse
Brand Logo

ModalAI Forum

  1. ModalAI Support Forum
  2. General Questions
  3. Error in building voxl-build

Error in building voxl-build

Scheduled Pinned Locked Moved Unsolved General Questions
5 Posts 3 Posters 974 Views 3 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • Thomas MacNamaraT Offline
    Thomas MacNamaraT Offline
    Thomas MacNamara
    wrote on last edited by
    #1

    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-build

    On 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: 1
    

    I have gotten this error in Ubuntu 20 and a clean install of Ubuntu 18

    This is with a fresh pull from the repo

    1 Reply Last reply
    0
    • modaltbM Offline
      modaltbM Offline
      modaltb
      ModalAI Team
      wrote on last edited by
      #2

      Hey @Thomas-MacNamara , we're looking into this now.
      -Travis

      1 Reply Last reply
      0
      • tomT Offline
        tomT Offline
        tom
        admin
        wrote on last edited by
        #3

        @Thomas-MacNamara The issue should be fixed now, go ahead and pull the changes and give it another try.

        1 Reply Last reply
        0
        • Thomas MacNamaraT Offline
          Thomas MacNamaraT Offline
          Thomas MacNamara
          wrote on last edited by
          #4

          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

          1 Reply Last reply
          0
          • tomT Offline
            tomT Offline
            tom
            admin
            wrote on last edited by
            #5

            Great, thank you!

            1 Reply Last reply
            0

            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
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            ModalAI
            Categories Recent Tags ModalAI.com Docs
            © 2026 ModalAI® · Accelerating autonomy for smaller, smarter, safer drones · Powered by NodeBB
            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • Users
            • Groups