Building IDE 2 for Raspberry Pi OS 64 bit

Good point! Thanks for the feedback about the missing dependency.

go is not there because this script is/was supposed to produce release artifacts on Linux and release IDE builds consist of released binaries (CLI, FW uploader, language server, etc.), so go (and taskfile) was never a missing dependency so far :upside_down_face: There was no need for go to build the tools when building the IDE.

I have had some issues, on the other hand the Ubuntu script is really useful for our purpose!
Now I have got a white window. It could be a Chromium-related issue, and Chromium does not seem to work very well in my 22.04 (yes, I am on Ubuntu, now)! So, as the next step, I will retry on the 24.04.
I am almost there! :blush:

Hi everyone,
first of all thanks a lot for the build script that helped out a lot. I just tried the build on a snapdragon elite HP Elitebook ultra g1q and i get to

yarn --cwd ~/dev/git/arduino-ide start

a window indeed opens but the console puts out a lot of error message:

2025-03-13T16:59:50.542Z daemon ERROR Error: spawn /home/jscheller/dev/git/arduino-ide/arduino-ide-extension/lib/node/resources/arduino-cli ENOENT
    at Process.onexit (node:internal/child_process:283:19)
    at onErrorNT (node:internal/child_process:476:16)
    at process.processTicksAndRejections (node:internal/process/task_queues:82:21)
2025-03-13T16:59:50.543Z daemon ERROR Error: spawn /home/jscheller/dev/git/arduino-ide/arduino-ide-extension/lib/node/resources/arduino-cli ENOENT
    at Process.onexit (node:internal/child_process:283:19)
    at onErrorNT (node:internal/child_process:476:16)
    at process.processTicksAndRejections (node:internal/process/task_queues:82:21)
2025-03-13T16:59:50.543Z daemon INFO Starting daemon from /home/jscheller/dev/git/arduino-ide/arduino-ide-extension/lib/node/resources/arduino-cli...
2025-03-13T16:59:50.551Z daemon ERROR Error: spawn /home/jscheller/dev/git/arduino-ide/arduino-ide-extension/lib/node/resources/arduino-cli ENOENT
    at Process.onexit (node:internal/child_process:283:19)
    at onErrorNT (node:internal/child_process:476:16)
    at process.processTicksAndRejections (node:internal/process/task_queues:82:21)
2025-03-13T16:59:50.551Z daemon ERROR Error: spawn /home/jscheller/dev/git/arduino-ide/arduino-ide-extension/lib/node/resources/arduino-cli ENOENT
    at Process.onexit (node:internal/child_process:283:19)
    at onErrorNT (node:internal/child_process:476:16)
    at process.processTicksAndRejections (node:internal/process/task_queues:82:21)
2025-03-13T16:59:50.551Z daemon INFO Starting daemon from /home/jscheller/dev/git/arduino-ide/arduino-ide-extension/lib/node/resources/arduino-cli...

any idea what sparks these errors and how to resolve them?
Thanks in advance
J

Ok the error was solved by putting the arduino cli in

...arduino-ide-extension/lib/node/resources/

Some of you might be wondering if I managed to build the IDE… Anyone. By the way, I did it just now! In fact, I encountered some problems, and I had to solve them. The worst of which were:

  • I ended up with a blank window;
  • Ubuntu 24.04 reboots while compiling;
  • I wasn’t able to create the package, at first.

Is there a way to do that in Raspbian? I don’t know. However, there are some fellas who want to add it to a package manager. I can guess they could be better than me in writing scripts, so I’ll wait for them…
Thanks again for your help.