-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot build on Raspberry PI4 (Raspbian) #1
Comments
Interesting. I don't have access to a 'berry at the moment, but based on what you posted — are you connected through some kind of proxy? Because AFAICT there's something interfering with the retrieval of wget -qO - http://ports.ubuntu.com/ubuntu-ports/dists/focal/InRelease|gpg --verify - if you get
you can be certain this is the case.What you should be seeing instead is
or even
if you have Ubuntu signing keys imported into your GPG database. Once you are confident that there are no networking issues and your device can successfully fetch the real, signed Ubuntu release files, the issue might be in the Docker image that you have tagged as docker pull ubuntu:20.04 and then test an Ubuntu build that updates APT package lists: printf 'FROM ubuntu:20.04\nRUN apt-get update'|docker build - The output should end in a success message (the hash value will be different for you):
|
Hi, many thanks for the quick reply! I'm doing some testing on the 'berry4 and this is what I see. On the host (no docker) everything seems ok. No networking issues:
However, when I run the docker test that you pointed out, I see the issue again. So it's definitely an issue on Docker.
In the meantime, I'll try to investigate how to workaround the issue. |
Hi again, it seems to be related to this tianon/docker-brew-ubuntu-core#183 I'm trying to understand where I should put the |
That would be somewhere between docker build --security-opt seccomp:unconfined -t ledobe docker docker build -t ledobe --security-opt seccomp:unconfined docker But I sense another problem you may be about to bump into. Are you running a 32 or 64 bit Raspbian? |
I think the Raspbian (32bit, the stock one with PI4) that I'm using does not support that option
I guess there's no other way for now For the record:
|
Just as I suspected. The official Raspberry Pi Imager only offers to install a 32-bit Raspberry Pi OS out-of-the-box, which forces your ARM64v8 capable 4B device to operate at a reduced capacity as an ARM32v7 one. The issue that you referenced (as well as other related issues, including the bug report on Ubuntu Launchpad) also concerns ARM32v7 architecture, but this project at its current incarnation only supports (and has been tested on) ARM64v8 hardware. To work around this and install 64-bit Raspberry Pi OS at this point you'd have to manually download an image from the official Raspberry Pi download server at https://downloads.raspberrypi.org/raspios_arm64/images/ and select it as "Use custom" in the Imager. There's a reddit thread and a forum post about the 64-bit Raspberry Pi OS release. If upgrading to 64-bit OS seems like too much work, you could give a try to what moby/moby#40734 (comment) suggested and, if successful, wade into the uncharted waters of adapting Ledobe for building on 32-bit |
Hi, I made some progress. I decided to install a serious Linux distro and I have now Manjaro up and running! :) I tried again and the process
Here's the full log: docker_build.txt Any suggestion? |
Hi again, with a small patch I managed to create the docker image
I will now follow the rest of the documentation to run the compilation! |
Everything worked during the compilation, now I'm trying to start the ledger live app but I get some linking issues:
I hope this is the right executable to launch |
It is. That error indicates that somehow you've managed to get this far without zlib, but the time has finally come to install it. I've released 0.1.1 which addresses the Docker build issue that can be addressed by this project. With that this can now be closed. I also looked into updating to building the very latest Ledger Live Desktop, but ISTM LedgerHQ have broken even more stuff than they had before. Unless you can successfully work around all their new glitches to get a reliable build flow, I think it more prudent to put a pin in that for now and check back later. |
Runing raspbian @Raspberry pi4: Same issue here:
Without the flag "--security-opt seccomp:unconfined":
Can I help in some way? |
Maybe. Take a look at #1 (comment), and if the sea still seems ankle-deep to you, head over to moby/moby#40734 and see what can you help with. Godspeed. |
Hi,
I'm trying to follow the README instructions and when I perform bin/build or the docker instructions, in both cases I get the following issues
The text was updated successfully, but these errors were encountered: