UPDATE: Installation completed. Deleted all installation files and started again, I figured out that solving all previous java compiler issues and starting again will yield a different behavior (errors). Indeed, new error... "undefined reference to `pthread_create'"
Added the next line to the CMakeLists.txt: find_package(Threads REQUIRED) (though I am not sure if I saved it before running again, so I cannot tell if this solved the problem)
re-run again "makepkg -sic", this time without removing anything
Success!
<hr>Hi! I am a newbie, this is just the second time I attempt to install an AUR package. Installation aborted at 97% after trying to "Linking CXX executable rsession"...
... ... BUILD SUCCESSFUL Total time: 7 minutes 5 seconds [ 94%] Built target gwt_build [ 94%] Building CXX object src/cpp/session/CMakeFiles/rsession.dir/modules/tex/SessionViewPdf.cpp.o [ 95%] Building CXX object src/cpp/session/CMakeFiles/rsession.dir/modules/vcs/SessionVCSCore.cpp.o [ 95%] Building CXX object src/cpp/session/CMakeFiles/rsession.dir/modules/vcs/SessionVCSUtils.cpp.o [ 95%] Building CXX object src/cpp/session/CMakeFiles/rsession.dir/modules/viewer/SessionViewer.cpp.o [ 95%] Building CXX object src/cpp/session/CMakeFiles/rsession.dir/modules/viewer/ViewerHistory.cpp.o [ 96%] Building CXX object src/cpp/session/CMakeFiles/rsession.dir/projects/SessionProjects.cpp.o [ 96%] Building CXX object src/cpp/session/CMakeFiles/rsession.dir/projects/SessionProjectContext.cpp.o [ 96%] Building CXX object src/cpp/session/CMakeFiles/rsession.dir/projects/SessionProjectFirstRun.cpp.o [ 96%] Building CXX object src/cpp/session/CMakeFiles/rsession.dir/SessionAddins.cpp.o [ 96%] Building CXX object src/cpp/session/CMakeFiles/rsession.dir/http/SessionPosixHttpConnectionListener.cpp.o [ 97%] Linking CXX executable rsession CMakeFiles/rsession.dir/SessionConsoleProcess.cpp.o: file not recognized: File truncated collect2: error: ld returned 1 exit status make[2]: [src/cpp/session/CMakeFiles/rsession.dir/build.make:4331: src/cpp/session/rsession] Error 1 make[1]: [CMakeFiles/Makefile2:616: src/cpp/session/CMakeFiles/rsession.dir/all] Error 2 make: *** [Makefile:152: all] Error 2 ==> ERROR: A failure occurred in package(). Aborting... [rstudio-desktop]$
Any ideas what went wrong?
Thanks!
Pinned Comments
trap000d commented on 2024-05-16 21:42 (UTC)
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.