Hey folks, and thank you @flying-sheep for maintaining this package, I'm having a spot of trouble reinstalling (after a recent update rstudio stopped working and I tried to do a reinstall). I fear I may have something misconfigured, but I cannot figure out what.
Here are the last couple of lines I see:
make[2]: *** [src/cpp/core/CMakeFiles/rstudio-core.dir/build.make:290: src/cpp/core/CMakeFiles/rstudio-core.dir/HtmlUtils.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [CMakeFiles/Makefile2:554: src/cpp/core/CMakeFiles/rstudio-core.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[java] Compiling 8 permutations
[java] Process output
[java] [ERROR] Picked up JAVA_TOOL_OPTIONS: -Djava.util.prefs.userRoot=/var/tmp/pamac-build-ezra/rstudio-desktop/src
[java] Compiling permutation 0...
[java] Compiling
[java] Compiling permutation 1...
[java] Compiling permutation 3...
[java] Compiling
[java] Compiling permutation 2...
[java] Compiling
[java] Compiling permutation 4...
[java] Compiling permutation 5...
[java] Compiling
[java] Compiling permutation 6...
[java] Compiling permutation 7...
[java] Compile of permutations succeeded
[java] Compilation succeeded -- 388.955s
[java] Linking into /var/tmp/pamac-build-ezra/rstudio-desktop/src/rstudio-rstudio-aee4453/src/gwt/www/rstudio; Writing extras to /var/tmp/pamac-build-ezra/rstudio-desktop/src/rstudio-rstudio-aee4453/src/gwt/extras/rstudio
[java] Link succeeded
[java] Linking succeeded -- 4.044s
build:
BUILD SUCCESSFUL
Total time: 7 minutes 29 seconds
[ 9%] Built target gwt_build
make: *** [Makefile:171: all] Error 2
==> ERROR: A failure occurred in package().
Aborting...
Any thoughts or comments would be most appreciated - thank you all!
Pinned Comments
trap000d commented on 2024-05-16 21:42 (UTC) (edited on 2024-05-28 20:09 (UTC) by trap000d)
A note for users.
This package is quite complex. It MAY not be built because of OTHER issues. I always build, install and test it on at least two different machines. Only after that I would push a new version to AUR.
Please try some generic solutions before reporting of build problems:
1) Update all other packages (sudo pacman -Syu),
2) Clean up yay and/or makepkg caches ('yay -Sc', 'rm -rf /var/tmp/makepkg'),
3) Be sure you've got enough RAM (8 GB or more is highly recommended) and space on disk (at least 3 GB).
4) Is your Internet connection is stable, fast and not blocked somewhere?
trap000d commented on 2022-07-05 20:32 (UTC) (edited on 2022-10-03 06:28 (UTC) by trap000d)
PLEASE READ THIS MESSAGE BEFORE COMPLAINING FOR LIBBOOST
When boost is updated to a new version and you see an error message about missing libboost*.so, you will need to rebuild and reinstall the rstudio-desktop package.
trap000d commented on 2022-02-19 06:20 (UTC) (edited on 2022-02-19 06:21 (UTC) by trap000d)
Build logic is slightly changed due to changes in upstream. As they've introduced new project format (quarto), it contradicted with standard Arch package base. In brief, quarto contains pandoc as part of itself, so it's pretty hard to keep together system pandoc and embedded quarto.
So I've "resolved" it such way: if there is "quarto*" package installed, then rstudio-desktop will pick it up and use. Otherwise (not installed), quarto support in rstudio will be disabled.
'quarto' is added as optional dependency.