Package Details: rstudio-desktop 1.2.1335-1

Git Clone URL: (read-only)
Package Base: rstudio-desktop
Description: Open source and enterprise-ready professional software for the R community
Upstream URL:
Licenses: AGPL
Conflicts: rstudio-desktop-bin, rstudio-desktop-git, rstudio-desktop-preview-bin
Submitter: None
Maintainer: flying-sheep
Last Packager: flying-sheep
Votes: 43
Popularity: 0.043001
First Submitted: 2011-03-04 15:02
Last Updated: 2019-04-10 11:05

Required by (0)

Sources (4)

Pinned Comments

Xentec commented on 2019-07-08 01:13

Got same error...

make: *** [Makefile:152: all] Error 2

With a bit of backtracking...

BUILD FAILED /tmp/makepkg/rstudio-desktop/src/rstudio-rstudio-f1ac345/src/gwt/build.xml:98: Error running javac compiler

So my javac binary decided to disappear even with jdk-openjdk installed, huh? Turns out I still had wrong Java version set as default and after executing

# archlinux-java set java-8-openjdk

ant was finally willing to build gwt and the Rstudio installation was complete.

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 ... Next › Last »

CRomeroB commented on 2018-04-13 01:59

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



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?


now-im commented on 2018-04-10 14:18

Can't update following error happens:

javac: [mkdir] Created dir: /home/alpha/.cache/yay/rstudio-desktop/src/rstudio-rstudio-2c49f68/src/gwt/bin [javac] Compiling 10 source files to /home/alpha/.cache/yay/rstudio-desktop/src/rstudio-rstudio-2c49f68/src/gwt/bin [javac] error: Source option 5 is no longer supported. Use 6 or later. [javac] error: Target option 1.5 is no longer supported. Use 1.6 or later.

BUILD FAILED /home/alpha/.cache/yay/rstudio-desktop/src/rstudio-rstudio-2c49f68/src/gwt/build.xml:81: Compile failed; see the compiler error output for details.

Total time: 6 seconds make[2]: [src/gwt/CMakeFiles/gwt_build.dir/build.make:57: gwt_build] Error 1 make[1]: [CMakeFiles/Makefile2:107: src/gwt/CMakeFiles/gwt_build.dir/all] Error 2 make: *** [Makefile:152: all] Error 2 ==> ERROR: A failure occurred in package(). Aborting... Error making: rstudio-desktop

MaoCPU commented on 2018-01-17 21:33

This is more a general question: In order to compile the code of rstudio-1.1.383 with the with the current libraries (eg boost-1.66), it would be necessary to apply patches that are already part of the rstudio releases on github. I am aware that applying just some patches and ignoring others would create the potential of additional problems, so I am not sure if this would be a good idea.

An alternative would be to fall back on the rstudio-desktop-bin package as a stable alternative or the rstudio-desktop-preview-bin (both rely on prebuild deb packages).

Another solution would be to use the rstudio-desktop-git package which has all current patches applied, but uses the latest development tree – including patches that are not even packaged by the rstudio team – adding potential new problems to the software itself.

I was wondering, if any of you are aware of a PKGBUILD that builds the latest release from github ( – or if you think there is a need for this?

Apologies if this wasn't the right place to ask or this has been answered before.

MaoCPU commented on 2017-10-17 13:33

I put an updated PKGBUILD for 1.1.383 at

I cleaned out some of the patches that were necessary for the 1.0 builds.

The core-dictionaries should not have worked before, but they should now.

I am still using the previous mirrors. @RCCSilva: This part in the PKGBUILD is only to mirror what the build scripts (see dependencies/common/install-gwt) are doing and I don't think it makes sense to diverge too much from that. Other than that it would surprise me if there was a big difference between Google and Amazon S3, but what data do you base your suggestion on?

I tried building it with gwt-2.8.1, but that leads to run-time errors.

flying-sheep commented on 2017-10-16 11:37

hi! do more reliable mirrors for the other links also exist?

RCCSilva commented on 2017-10-12 13:10

Hi, I was having some issues while downloading gwt 2.7 . Not sure if I'm the only, but maybe you should use another website to download this file. I had success at <>.

Great package by the way. Thanks

flying-sheep commented on 2017-10-09 09:48

I see. So not “using javac 1.5”, but “compiling for the Java 5 runtime” fails.

Well, this is the stable RStudio, so we can either wait for a RStudio release with this commit…

…or include it as a patch and hope it works. Can you try if RStudio 1.0.153 compiled with that patch works?

creat89 commented on 2017-10-09 09:30

Sorry for the late reply, pretty busy at work. No, I don't use an old version of javac, it is the latest one. But GWT 2.7.0 doesn't compile with the newest one:

[mkdir] Created dir: /tmp/pamac-build-adrian/rstudio-desktop/src/rstudio-rstudio-a47842c/src/gwt/bin
[javac] Compiling 10 source files to /tmp/pamac-build-adrian/rstudio-desktop/src/rstudio-rstudio-a47842c/src/gwt/bin
[javac] error: Source option 1.5 is no longer supported. Use 1.6 or later.
[javac] error: Target option 1.5 is no longer supported. Use 1.6 or later.

The source and target option are indicated in the build.xml of GWT installation. It looks that the version 2.8.1 solves this problem.

flying-sheep commented on 2017-09-29 14:16

dependencies/common/install-gwt sets GWT_SDK_VER=2.7.0.

and why do you use an ancient javac?

mine has version 1.8

creat89 commented on 2017-09-29 09:07

I can't install the package, it looks there is a problem with GWT versions. gwt-2.7.0 can't be compiled using javac 1.5. The newest version of Rstudio uses gwt-2.8.1.