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

ModalAI Forum

  1. ModalAI Support Forum
  2. VOXL Compute & Autopilot
  3. VOXL
  4. voxl-docker-mavsdk-python build issues

voxl-docker-mavsdk-python build issues

Scheduled Pinned Locked Moved VOXL
48 Posts 6 Posters 19.0k Views 4 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.
  • Eric KatzfeyE Eric Katzfey

    @Alexander-Saunders Yes

    Alexander SaundersA Offline
    Alexander SaundersA Offline
    Alexander Saunders
    Contributor
    wrote on last edited by
    #9

    @Eric-Katzfey Good morning Eric,

    So I tried building the image for both voxl-docker-mavsdk & voxl-docker-mavsdk-python. I run into the same issue with both, adb: command not found. Additionally, with voxl-docker-mavsdk-python the common file is not found.

    the ./build-image.sh was run on both directories in both SSH and ADB shell.

    I am at a standstill with testing until I can get the docker image built. Any additional documentation is greatly appreciated!

    Respectfully,
    Alexander

    Screenshot 2024-05-23 at 9.20.56 AM.png Screenshot 2024-05-23 at 9.05.11 AM.png Screenshot 2024-05-23 at 9.14.44 AM.png

    Eric KatzfeyE 1 Reply Last reply
    0
    • Alexander SaundersA Alexander Saunders

      @Eric-Katzfey Good morning Eric,

      So I tried building the image for both voxl-docker-mavsdk & voxl-docker-mavsdk-python. I run into the same issue with both, adb: command not found. Additionally, with voxl-docker-mavsdk-python the common file is not found.

      the ./build-image.sh was run on both directories in both SSH and ADB shell.

      I am at a standstill with testing until I can get the docker image built. Any additional documentation is greatly appreciated!

      Respectfully,
      Alexander

      Screenshot 2024-05-23 at 9.20.56 AM.png Screenshot 2024-05-23 at 9.05.11 AM.png Screenshot 2024-05-23 at 9.14.44 AM.png

      Eric KatzfeyE Online
      Eric KatzfeyE Online
      Eric Katzfey
      ModalAI Team
      wrote on last edited by
      #10

      @Alexander-Saunders You run build-image.sh on your host computer, not on the voxl

      Alexander SaundersA 2 Replies Last reply
      0
      • Eric KatzfeyE Eric Katzfey

        @Alexander-Saunders You run build-image.sh on your host computer, not on the voxl

        Alexander SaundersA Offline
        Alexander SaundersA Offline
        Alexander Saunders
        Contributor
        wrote on last edited by
        #11

        @Eric-Katzfey Hey Eric, I'm running the ./build-image.sh on a laptop and am running into this error. Screenshot from 2024-05-23 13-02-42.png

        Eric KatzfeyE 1 Reply Last reply
        0
        • Eric KatzfeyE Eric Katzfey

          @Alexander-Saunders You run build-image.sh on your host computer, not on the voxl

          Alexander SaundersA Offline
          Alexander SaundersA Offline
          Alexander Saunders
          Contributor
          wrote on last edited by
          #12

          @Eric-Katzfey image.png

          1 Reply Last reply
          0
          • Alexander SaundersA Alexander Saunders

            @Eric-Katzfey Hey Eric, I'm running the ./build-image.sh on a laptop and am running into this error. Screenshot from 2024-05-23 13-02-42.png

            Eric KatzfeyE Online
            Eric KatzfeyE Online
            Eric Katzfey
            ModalAI Team
            wrote on last edited by
            #13

            @Alexander-Saunders Oh, the repo probably has the name master changed to main. Can you change the Dockerfile to try to use main instead of master and see if that works?

            Alexander SaundersA 1 Reply Last reply
            0
            • Eric KatzfeyE Eric Katzfey

              @Alexander-Saunders Oh, the repo probably has the name master changed to main. Can you change the Dockerfile to try to use main instead of master and see if that works?

              Alexander SaundersA Offline
              Alexander SaundersA Offline
              Alexander Saunders
              Contributor
              wrote on last edited by
              #14

              @Eric-Katzfey No luck with that. Also the branch is a master. image (1).png

              Eric KatzfeyE 4 Replies Last reply
              0
              • Alexander SaundersA Alexander Saunders

                @Eric-Katzfey No luck with that. Also the branch is a master. image (1).png

                Eric KatzfeyE Online
                Eric KatzfeyE Online
                Eric Katzfey
                ModalAI Team
                wrote on last edited by
                #15

                @Alexander-Saunders But that's a different problem. Before it was the checkout of master. This is something else.

                Alexander SaundersA 1 Reply Last reply
                0
                • Alexander SaundersA Alexander Saunders

                  @Eric-Katzfey No luck with that. Also the branch is a master. image (1).png

                  Eric KatzfeyE Online
                  Eric KatzfeyE Online
                  Eric Katzfey
                  ModalAI Team
                  wrote on last edited by
                  #16

                  @Alexander-Saunders I'll try it and see what happens.

                  1 Reply Last reply
                  0
                  • Alexander SaundersA Alexander Saunders

                    @Eric-Katzfey No luck with that. Also the branch is a master. image (1).png

                    Eric KatzfeyE Online
                    Eric KatzfeyE Online
                    Eric Katzfey
                    ModalAI Team
                    wrote on last edited by
                    #17

                    @Alexander-Saunders Okay, yes, I see the same error. Sorry about that. Let me see if I can figure out what is going wrong.

                    1 Reply Last reply
                    0
                    • Alexander SaundersA Alexander Saunders

                      @Eric-Katzfey No luck with that. Also the branch is a master. image (1).png

                      Eric KatzfeyE Online
                      Eric KatzfeyE Online
                      Eric Katzfey
                      ModalAI Team
                      wrote on last edited by
                      #18

                      @Alexander-Saunders Can you try with the origin/ascend/docker branch of voxl-docker-mavsdk-python instead? Seems like that's where the latest updates have happened and haven't been merged back into master yet.

                      Alexander SaundersA 1 Reply Last reply
                      0
                      • Eric KatzfeyE Eric Katzfey

                        @Alexander-Saunders But that's a different problem. Before it was the checkout of master. This is something else.

                        Alexander SaundersA Offline
                        Alexander SaundersA Offline
                        Alexander Saunders
                        Contributor
                        wrote on last edited by Alexander Saunders
                        #19

                        @Eric-Katzfey I went ahead and tried the voxl-docker-mavsdk repo also and get the same issue. I tried docker pull docker.io/arm64v8/ubuntu:bionic and giving the user permissions for the file/folder.

                        What is stumping me is the registry-1.docker.io. I can ping it and do a DNS lookup just fine. Also pinging google is fine. But the error is persisting in relation to it.

                        I will try the other branches for voxl-docker-mavsdk andvoxl-docker-mavsdk-python. Will that require changing main to the branch name for the DockerFile?

                        1 Reply Last reply
                        0
                        • Eric KatzfeyE Eric Katzfey

                          @Alexander-Saunders Can you try with the origin/ascend/docker branch of voxl-docker-mavsdk-python instead? Seems like that's where the latest updates have happened and haven't been merged back into master yet.

                          Alexander SaundersA Offline
                          Alexander SaundersA Offline
                          Alexander Saunders
                          Contributor
                          wrote on last edited by Alexander Saunders
                          #20

                          @Eric-Katzfey image (2).png This is from the ascend branch

                          Eric KatzfeyE 1 Reply Last reply
                          0
                          • Alexander SaundersA Alexander Saunders

                            @Eric-Katzfey image (2).png This is from the ascend branch

                            Eric KatzfeyE Online
                            Eric KatzfeyE Online
                            Eric Katzfey
                            ModalAI Team
                            wrote on last edited by
                            #21

                            @Alexander-Saunders Not sure why that is happening. That does not happen when I try it. I'm guessing that you have a networking issue of some sort or perhaps all this messing with Docker on the target has somehow corrupted it and it needs to be reinstalled.

                            Alexander SaundersA 2 Replies Last reply
                            0
                            • Eric KatzfeyE Eric Katzfey

                              @Alexander-Saunders Not sure why that is happening. That does not happen when I try it. I'm guessing that you have a networking issue of some sort or perhaps all this messing with Docker on the target has somehow corrupted it and it needs to be reinstalled.

                              Alexander SaundersA Offline
                              Alexander SaundersA Offline
                              Alexander Saunders
                              Contributor
                              wrote on last edited by
                              #22

                              @Eric-Katzfey So I deleted and re cloned voxl-docker-mavsdk-python branch ascend/docker. The build image failed halfway in. Is there any work that needs to be done on the VOXL2 or host computer that I am not aware of? Screenshot from 2024-05-28 10-15-10.png Screenshot from 2024-05-28 10-14-45.png

                              1 Reply Last reply
                              0
                              • Eric KatzfeyE Eric Katzfey

                                @Alexander-Saunders Not sure why that is happening. That does not happen when I try it. I'm guessing that you have a networking issue of some sort or perhaps all this messing with Docker on the target has somehow corrupted it and it needs to be reinstalled.

                                Alexander SaundersA Offline
                                Alexander SaundersA Offline
                                Alexander Saunders
                                Contributor
                                wrote on last edited by
                                #23

                                @Eric-Katzfey Also in the environment, the SDK is 1.2, python 3.10.12, Ubuntu 22.04.4 LTS

                                Eric KatzfeyE 1 Reply Last reply
                                0
                                • Alexander SaundersA Alexander Saunders

                                  @Eric-Katzfey Also in the environment, the SDK is 1.2, python 3.10.12, Ubuntu 22.04.4 LTS

                                  Eric KatzfeyE Online
                                  Eric KatzfeyE Online
                                  Eric Katzfey
                                  ModalAI Team
                                  wrote on last edited by
                                  #24

                                  @Alexander-Saunders Okay, we're looking into it, thanks!

                                  Alexander SaundersA 1 Reply Last reply
                                  0
                                  • Eric KatzfeyE Eric Katzfey

                                    @Alexander-Saunders Okay, we're looking into it, thanks!

                                    Alexander SaundersA Offline
                                    Alexander SaundersA Offline
                                    Alexander Saunders
                                    Contributor
                                    wrote on last edited by
                                    #25

                                    @Eric-Katzfey Thank you! What kind of timeline should I expect to hear back from you?

                                    B 2 Replies Last reply
                                    0
                                    • Alexander SaundersA Alexander Saunders

                                      @Eric-Katzfey Thank you! What kind of timeline should I expect to hear back from you?

                                      B Offline
                                      B Offline
                                      brahim
                                      Contributor
                                      wrote on last edited by
                                      #26

                                      @Alexander-Saunders I am testing a fix for this issue as we speak. I've sourced the problem to a Mavsdk dependency that had a recent upstream change which is causing issues on the voxl2 build image script.

                                      1 Reply Last reply
                                      0
                                      • Alexander SaundersA Alexander Saunders

                                        @Eric-Katzfey Thank you! What kind of timeline should I expect to hear back from you?

                                        B Offline
                                        B Offline
                                        brahim
                                        Contributor
                                        wrote on last edited by
                                        #27

                                        @Alexander-Saunders can you try the following patch to the Dockerfile?

                                        I noticed that the mavsdk 3rd party package updated their header files to include a filesystem header that is incompatible with standard cpp libraries on ubuntu 18.04, hence switching the dockerfile to focal instead of bionic. You can save the text in a *.patch file (e.g. "filesystem.patch") and then run

                                        git apply filesystem.patch
                                        

                                        Alternatively just switch the docker base image from "bionic" to "focal"

                                        diff --git a/Dockerfile b/Dockerfile
                                        index c38a5c7..08e668b 100644
                                        --- a/Dockerfile
                                        +++ b/Dockerfile
                                        @@ -1,4 +1,4 @@
                                        -FROM arm64v8/ubuntu:bionic
                                        +FROM arm64v8/ubuntu:focal
                                         
                                         WORKDIR /home
                                         
                                        @@ -8,7 +8,7 @@ RUN wget -O - https://apt.kitware.com/keys/kitware-archive-latest.asc 2>/dev/nul
                                         RUN apt-add-repository 'deb https://apt.kitware.com/ubuntu/ bionic main'
                                         RUN apt-get update
                                         RUN apt-get install -y cmake build-essential colordiff git doxygen -y
                                        -RUN apt-get install -y python3 python3-pip -y 
                                        +RUN apt-get install -y python3 python3-pip -y
                                         RUN apt-get install -y git libxml2-dev libxslt-dev curl
                                         
                                         RUN git clone https://github.com/mavlink/MAVSDK.git
                                        
                                        
                                        Alexander SaundersA 2 Replies Last reply
                                        0
                                        • B brahim

                                          @Alexander-Saunders can you try the following patch to the Dockerfile?

                                          I noticed that the mavsdk 3rd party package updated their header files to include a filesystem header that is incompatible with standard cpp libraries on ubuntu 18.04, hence switching the dockerfile to focal instead of bionic. You can save the text in a *.patch file (e.g. "filesystem.patch") and then run

                                          git apply filesystem.patch
                                          

                                          Alternatively just switch the docker base image from "bionic" to "focal"

                                          diff --git a/Dockerfile b/Dockerfile
                                          index c38a5c7..08e668b 100644
                                          --- a/Dockerfile
                                          +++ b/Dockerfile
                                          @@ -1,4 +1,4 @@
                                          -FROM arm64v8/ubuntu:bionic
                                          +FROM arm64v8/ubuntu:focal
                                           
                                           WORKDIR /home
                                           
                                          @@ -8,7 +8,7 @@ RUN wget -O - https://apt.kitware.com/keys/kitware-archive-latest.asc 2>/dev/nul
                                           RUN apt-add-repository 'deb https://apt.kitware.com/ubuntu/ bionic main'
                                           RUN apt-get update
                                           RUN apt-get install -y cmake build-essential colordiff git doxygen -y
                                          -RUN apt-get install -y python3 python3-pip -y 
                                          +RUN apt-get install -y python3 python3-pip -y
                                           RUN apt-get install -y git libxml2-dev libxslt-dev curl
                                           
                                           RUN git clone https://github.com/mavlink/MAVSDK.git
                                          
                                          
                                          Alexander SaundersA Offline
                                          Alexander SaundersA Offline
                                          Alexander Saunders
                                          Contributor
                                          wrote on last edited by
                                          #28

                                          @brahim Thank you for getting back to me! I do not have access to the VOXL at this moment, but will be able to test first thing in the morning.

                                          1 Reply Last reply
                                          0

                                          Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                                          Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                                          With your input, this post could be even better 💗

                                          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