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)
    1 Posts 1 Posters 154 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?

        1 Reply Last reply Reply Quote 0
        • First post
          Last post