UBports Robot Logo UBports Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    Cross compiling for arm64

    Scheduled Pinned Locked Moved Lomiri (was Unity8)
    2 Posts 2 Posters 1.4k Views 1 Watching
    Loading More Posts
    • 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.
      • L Offline
        lxxlxx
        last edited by

        Hello!
        Please advise me with cross compiling lomiri for arm64.
        I have already setup sbuild environment according to https://docs.ubports.com/en/latest/systemdev/testing-locally.html :

        sudo apt install sbuild schroot devscripts debhelper dh-migrations dh-python ccache
        sudo sbuild-adduser user
        ...
        etc
        

        But after executing sbuild --host=arm64 --build=amd64 -d "focal" i am getting this error:

        E: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/focal/main/binary-arm64/Packages  404  Not Found [IP: 91.189.91.82 80]
        E: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/focal-updates/universe/binary-arm64/Packages  404  Not Found [IP: 91.189.91.82 80] 
        E: Some index files failed to download. They have been ignored, or old ones used instead.                                                    
        E: apt-get update failed  
        

        How can i fix that?

        G 1 Reply Last reply Reply Quote 0
        • G Offline
          GooglyBear @lxxlxx
          last edited by GooglyBear

          @lxxlxx said in Cross compiling for arm64:

          http://archive.ubuntu.com/ubuntu/dists/focal

          Oddly enough http://archive.ubuntu.com/ubuntu/dists/focal/main/ has no arm64 folder...

          Oh, a quick Google Search revealed the link should actually be http://ports.ubuntu.com/ubuntu-ports/dists/focal/main/binary-arm64/

          1 Reply Last reply Reply Quote 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
          • First post
            Last post