06-20-2020, 07:57 PM
(This post was last modified: 06-20-2020, 07:59 PM by Damon.
Edit Reason: remove extra lines
)
Hi, this was a prompt for me to try it. In pamac I see many rstudio packages, the top two suggested both have the current version number, one is -bin and one is not. All of the others despite having things like "git" and "daily" in their name, had older versions.
I tried building the binary first and it failed with an error about converting the Debian package and that tar was missing the file to upack. So I tried the source version. It has many more dependencies and several of them have a build file that indicate cpu architecture that doesn't include aarch64, so if you try to build them, it will exit telling you that p't ackages isn't for aarch64 architecture. To build them, you have to edit the build files for any of the packages whose arch line doesn't include aarch64, by adding it. I think in most cases, it's not that it's known not to work, people just haven't documented that it does work on aarch64, so you can add it and try. In pamac, you have the opportunity to make these edits after approving the list of packages to install. All of the dependencies compiled without complaint, and I'd guess I had to add 'aarch64' to 5-6 of them. Compiling rstudio-desktop stopped for me saying:
Once I did that, it appeared to work well for awhile until:
I tried building the binary first and it failed with an error about converting the Debian package and that tar was missing the file to upack. So I tried the source version. It has many more dependencies and several of them have a build file that indicate cpu architecture that doesn't include aarch64, so if you try to build them, it will exit telling you that p't ackages isn't for aarch64 architecture. To build them, you have to edit the build files for any of the packages whose arch line doesn't include aarch64, by adding it. I think in most cases, it's not that it's known not to work, people just haven't documented that it does work on aarch64, so you can add it and try. In pamac, you have the opportunity to make these edits after approving the list of packages to install. All of the dependencies compiled without complaint, and I'd guess I had to add 'aarch64' to 5-6 of them. Compiling rstudio-desktop stopped for me saying:
Code:
You need to have Java 8 active when building this package.
Please execute `sudo archlinux-java set java-8-openjdk`
Once I did that, it appeared to work well for awhile until:
Code:
BUILD FAILED
/var/tmp/pamac-build/rstudio-desktop/src/rstudio-rstudio-3a09be3/src/gwt/build.xml:112: Java returned: 137
Total time: 39 minutes 11 seconds
make[2]: *** [src/gwt/CMakeFiles/gwt_build.dir/build.make:77: gwt_build] Error 137
make[1]: *** [CMakeFiles/Makefile2:443: src/gwt/CMakeFiles/gwt_build.dir/all] Error 2
make: *** [Makefile:172: all] Error 2
==> ERROR: A failure occurred in package().