RStudio Server compile error on arm64 machine?

I think you can try installing your own gwt compiler with something like this

BTW for Ubuntu Jammy there is no need to compile RStudio on your own, you can simply download a precompiled binary from their daily builds page