Package Details: rstudio-desktop-git v1.1.371.r1395-1

Git Clone URL: (read-only)
Package Base: rstudio-desktop-git
Description: A powerful and productive integrated development environment (IDE) for R programming language
Upstream URL:
Keywords: IDE R statistics
Licenses: AGPL3
Conflicts: rstudio-desktop, rstudio-desktop-bin, rstudio-desktop-preview
Provides: rstudio-desktop, rstudio-desktop-bin, rstudio-desktop-preview
Submitter: None
Maintainer: artemklevtsov (hwkiller, ConorIA, kngwyu)
Last Packager: ConorIA
Votes: 53
Popularity: 0.541656
First Submitted: 2011-03-09 06:13
Last Updated: 2018-03-22 20:37

Required by (1)

Sources (6)

Latest Comments

GXGOW commented on 2018-04-22 18:23

Same problem here with the r2d3 repository. Haven't found a workaround for it yet, unfortunately.

papperwing commented on 2018-04-12 11:32

I am having same problem as @TheStochasticMan.

TheStochasticMan commented on 2018-04-11 17:33

I'm having a problem with installing this.

During the part where it tries to install some required packages, it's trying to install r2d3, which apparently is a dead project and the repo no longer exists.

hwkiller commented on 2018-04-03 19:06

Is anyone willing to help with the rstudio-server-git package? I can't get it to build, and I'm unsure why. I submitted an issue here:

I'd be extremely grateful to anyone who would be willing to diagnose the issue.

ConorIA commented on 2018-03-21 02:42

I've just noticed a bunch of complaints in my build log about missing patchelf. That said, I haven't noticed any runtime errors related to it. If anyone runs into trouble, let me know so we can think about adding patchelf as a makedepend.

artemklevtsov commented on 2018-01-27 14:35

@ConorIA thank you. I comitted your suggestion. But it would be nice fix it withoud bundle the Qt libs from SDK. I added you to co-mainteiners. So you can push commits for this package.

ConorIA commented on 2018-01-27 02:14

I have the pop-up annoyance fixed by bundling in the RStudio-provided QT libs. I've updated the PKGBUILD, but am hesitant to push the changes here because they add a few hundred megabytes to the install size. The updated PKGBUILD is here: I imagine we could even remove qt5-base as a depend because we're bundling separately.

I'll leave it up to artemklevtsov or another co-maintainer to decide whether it is worth the added weight.

ConorIA commented on 2018-01-26 16:56

It would appear that the pop-up bug is related to library mismatches. RStudio folks have fingered the use of system QT libs as the culprit.

ConorIA commented on 2018-01-25 03:22

Anyone else experiencing the pop-up bug can follow along here:

heavysink commented on 2018-01-24 15:52

@jpreszler you can just change java-environment to 'java-environment>=8' in makedepends to make it work.

ConorIA commented on 2018-01-22 15:02

@hwkiller, @rkelly, have either of you reported the issue about the pop-up prompt preventing exit (or discard of anything!) to RStudio? I'm experiencing the same. I wonder if it is specific to Arch (or Manjaro in my case), or is an upstream thing.

jpreszler commented on 2018-01-19 20:00

Solution to my last comment (in case someone else is having this problem):

Based on rstudio's github issue #1640, I changed font (global options -> appearence) to Dejavu Sans mono and the trailing space issue is fixed.

jpreszler commented on 2018-01-19 18:25

@hwkiller and @kngwyu, Thanks, I had jdk9. After removal and installing jdk8 the package installs.

However, when I type in either the console or source panes, the visual cursor is moved by extra spaces. This is an rstudio issue, but I thought I'd check if anyone has encountered this and knows of a fix?


ConorIA commented on 2018-01-19 13:18

@kwkiller, the "releases" that the flagger is seeing on GitHub are based on branch v1.1-patch. The tags on master are still at 1.1.371 so the flagger must have assumed that 1.1.371 < 1.1.414 = out of date. However, branch v1.1-patch is 55 commits ahead and 776 behind master. I don't know why there is a split there, but this package is right to follow master.

hwkiller commented on 2018-01-19 08:41

Whoever flagged this out of date: It's a git package. What about it is out of date? The version is auto-generated!

To @jpreszler, which jdk do you have installed? Some folks were struggling to install the server version, and it seemed to be due to differing java versions. I recall jdk8 working fine, but not 9 or 7.

kngwyu commented on 2018-01-19 08:36

@jpreszler I couldn't reproduce, so I think this is RStudio's bag and it's already fixed. If you can encounter the error when you retry installing, please comment again. Edited: my jdk is also jdk8

jpreszler commented on 2018-01-18 16:14

I'm trying to install this package and get the following error

    [java] Jan 18, 2018 8:58:38 AM java.util.prefs.FileSystemPreferences$1 run
     [java] WARNING: Permission denied
     [java] Compiling module
     [java]    [ERROR] Hint: Check that your module inherits '' either directly or indirectly (most often by inheriting module '')
     [java] Exception in thread "Sync Timer Thread" java.lang.SecurityException: Could not lock User prefs. Lock file access denied.
     [java]     at java.prefs/java.util.prefs.FileSystemPreferences.checkLockFile0ErrorCode(
     [java]     at java.prefs/java.util.prefs.FileSystemPreferences.lockFile(
     [java]     at java.prefs/java.util.prefs.FileSystemPreferences.sync(
     [java]     at java.prefs/java.util.prefs.FileSystemPreferences.flush(
     [java]     at java.prefs/java.util.prefs.FileSystemPreferences.syncWorld(
     [java]     at java.prefs/java.util.prefs.FileSystemPreferences.access$1200(
     [java]     at java.prefs/java.util.prefs.FileSystemPreferences$4$

/home/preszler/source-inst/aur/rstudio-desktop-git/src/rstudio/src/gwt/build.xml:112: Java returned: 1

Total time: 15 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

Any ideas on a fix?

kngwyu commented on 2018-01-14 04:57

@ConorIA Many thanks for digging the problem! And now, qt5-webengine is required instead of qt5-webkit, by this pull request (merged just 2 days ago). So dependencies are also need to be updated. Here is a modified PKGBUILD based on ConorIA's.

ConorIA commented on 2018-01-12 16:57

Looks like the needs to be downloaded just like gin and gwt. It also seems that the openssl-socketproxy.patch is no longer needed. Updated PKGBUILD:

germelcar commented on 2018-01-09 02:19

I have updated my system (boost libs among the updated packages), and now, when I try to reinstall RStudio (rstudio-desktop-git) I got the following error:

Is there a fix for this? Thanks in advance.

rkelly commented on 2018-01-08 23:06

@hwkiller. I've been dealing with the same issues. Great description of the problems.

hwkiller commented on 2017-12-20 04:07

To anyone; I'm just curious.

For a long time now, my rstudio-desktop has had an annoying bug. Basically, anything that requires changing a file doesn't work.

1) Closing a source window doesn't work, if it's been modified at all. 2) Deleting a file in the file pane doesn't work. 3) Quitting the session doesn't work, unless I save everything and manually type q() in the r console.

This does not happen on the server version, but does on the desktop version. Am I alone in this? Wondering whether to submit a bug report.

artemklevtsov commented on 2017-11-03 13:17

Updated. Thanks for the feedback.

kngwyu commented on 2017-11-02 14:59

And gin version looks like changed. See
With removing openssl-crypto.patch and changed gin version, I could compile.

kngwyu commented on 2017-11-02 13:48

I'm sorry, this commit implies that not openssl-socketproxy.patch but openssl-crypto.patch is no linger needed.

kngwyu commented on 2017-11-02 13:44

It looks like the original sorce was modified to to work with OpenSSL1.1.0(Please look at this link
So, now, I think openssl-socketproxy.patch is no longer needed.

pat-s commented on 2017-11-02 09:34

==> Apply socketproxy-openssl.patch...
patching file src/cpp/core/system/Crypto.cpp
Hunk #1 FAILED at 261.
patch unexpectedly ends in middle of line
Hunk #2 FAILED at 298.
2 out of 2 hunks FAILED -- saving rejects to file src/cpp/core/system/Crypto.cpp.rej

germelcar commented on 2017-11-02 05:30

-- Looking for getpeereid - not found
CMake Deprecation Warning at src/cpp/desktop/CMakeLists.txt:18 (cmake_policy):
The OLD behavior for policy CMP0020 will be removed from a future version
of CMake.

The cmake-policies(7) manual explains that the OLD behaviors of all
policies are deprecated and that a policy should be set to OLD only under
specific short-term circumstances. Projects should be ported to the NEW
behavior and not rely on setting a policy to OLD.

CMake Error at src/cpp/session/CMakeLists.txt:23 (message):
Dictionaries not found (re-run install-dependencies script to install)

kieto commented on 2017-10-23 16:44

Thanks so much for the fix! Building and installation successful this time, after the failure of last time (1 month ago). Though this time it gave me build errors running "makepkg -sci", everything worked fine with "makepkg -si".

kngwyu commented on 2017-10-16 05:05

@hwkiller: Yes. Please look at this link.

hwkiller commented on 2017-10-15 20:25

@kngwyu: So this patch permits openssl 1.1 to work on rstudio? I may give this a go for the server release. Currently, I just patch the hell out of the server release to force it to use Arch's openssl-1.0 package (modify includes, modify cmakelists to use openssl 1.0, etc).

Does this patch basically just swap out the ssl 1.0 calls with their 1.1 equivalents?

artemklevtsov commented on 2017-10-15 13:33

Package updated. @kngwyu many thanks for the patch.

Cbhihe commented on 2017-10-15 10:42

The crash 100% is reproducible on my box [4.13.5-1-ARCH]. I removed all dependencies manually. Blah.

Cbhihe commented on 2017-10-15 10:16

Build with JRE 8 was _successful_ although in "gwtc:" screen output section, I had:

[java] WARNING: Couldn't create user preferencess directory. User preferences are unusable.
[java] WARNING: Permission denied
[java] Exception in thread "Timer=0java.lang.SecurityException: Could not lock User prefs. Lock file access denied.

Although the above was probably not serious, ... it was followed later by an error when "scanning dependencies of target rstudio-core"

[ 19%] Building CXX object src/cpp/core/CMakeFiles/rstudio-core.dir/system/Crypto.cpp.o
/var/builds/rstudio-desktop-git/src/rstudio/src/cpp/core/system/Crypto.cpp: In function ‘rstudio::core::Error rstudio::core::system::crypto::aesEncrypt(const std::vector<unsigned char>&, const std::vector<unsigned char>&, const std::vector<unsigned char>&, std::vector<unsigned char>*)’:
/var/builds/rstudio-desktop-git/src/rstudio/src/cpp/core/system/Crypto.cpp:264:19: error: aggregate ‘EVP_CIPHER_CTX ctx’ has incomplete type and cannot be defined
/var/builds/rstudio-desktop-git/src/rstudio/src/cpp/core/system/Crypto.cpp: In function ‘rstudio::core::Error rstudio::core::system::crypto::aesDecrypt(const std::vector<unsigned char>&, const std::vector<unsigned char>&, const std::vector<unsigned char>&, std::vector<unsigned char>*)’:
/var/builds/rstudio-desktop-git/src/rstudio/src/cpp/core/system/Crypto.cpp:301:19: error: aggregate ‘EVP_CIPHER_CTX ctx’ has incomplete type and cannot be defined
make[2]: *** [src/cpp/core/CMakeFiles/rstudio-core.dir/build.make:2151: src/cpp/core/CMakeFiles/rstudio-core.dir/system/Crypto.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:203: src/cpp/core/CMakeFiles/rstudio-core.dir/all] Error 2
make: *** [Makefile:152: all] Error 2
==> ERROR: A failure occurred in package().

And in doing so dependencies were not cleaned up ...

kngwyu commented on 2017-10-14 07:46

I wrote a patch which enables to compile with OpenSSL 1.1.0.
When you encounter a compile error like "aggregate ‘evp_cipher_ctx ctx’ has incomplete type and cannot be defined...", this patch may resolve it.

bosma commented on 2017-10-07 17:30

Error building:

Atraii commented on 2017-09-28 22:25

rkelly: You'll need to recompile and reinstall this package against the new boost libraries. I have this issue as well AND the issue eorn pointed out that the GWT version is incorrect.

rkelly commented on 2017-09-25 14:00

I'm getting errors when trying to run since boost and boost-libs have been updated to 1.65.1-1.

rstudio: error while loading shared libraries: cannot open shared object file: No such file or directory

rstudio does run if boost & boost-libs are downgraded back to 1.64.

eorn commented on 2017-09-25 06:46

It looks like changing line 6 of the PKGBUILD works:


kieto commented on 2017-09-23 17:30

Hi, I have tried compiling this package running "makepkg -sci", but for me and other IRC users, the following error appears:

hwkiller commented on 2017-06-15 19:23

I'm once again stealing a bit of your PKGBUILD (full disclosure). The rstudio team recently changed their dependencies/common/install-* scripts to see whether you're on ubuntu, suse, or centos, and if you're not on those, it'll throw an error. Your script circumvents that by including pandoc as a dependency and symlinking to the correct directories. This approach fixes the issue, presumably, and so I'm putting your prepare() statements into the rstudio-server-git's pkgbuild.

I assume if this works for the desktop release, it should work for the server release. One thing I noticed though, is that you don't do anything with the dictionaries.
I installed rstudio-server using your prepare statement (and the hunspell-en dependency), but in rstudio-server, it fails to find any dictionaries and throws errors related to hunspell at runtime. So for the time being, I'm using the ./install-dictionaries script.

hwkiller commented on 2017-06-15 02:41

I think this package will now require qt5-webkit-ng for a while. Updated recently, and rstudio crashes. I replaced qt5-webkit with qt5-webkit-ng, and it is working again.

I think the next qt5 release will include the patches from qt5-webkit-ng, so reverting back to qt5-webkit should be fine afterward.

laoshanlong commented on 2017-05-26 21:06

Fails to build, requires, but I have and have no idea what to do.

/usr/lib64/R/bin/exec/R: error while loading shared libraries: cannot open shared object file: No such file or directory
==> ERROR: A failure occurred in prepare().

hwkiller commented on 2017-05-01 23:27

Nevermind. I resolved it. Had to include both the socketproxy-openssl.patch along with a new patch of mine that:
- Changes a reference to <openssl> to <openssl-1.0>
- Changes cmake to forcefully use the and in /usr/lib/openssl-1.0

They don't make this easy.

hwkiller commented on 2017-05-01 19:44

Indeed, thank you for that. I was racking my brain over why my rstudio-server-git package wasn't building.

I'm guessing, though I'm not sure, that this has something to do with the update to openssl from 1.0 to 1.1. I couldn't figure out how to add openssl-1.0 to the cmake system, but even after an hour of trying, it was still failing to build at the same point.

I'm currently trying to apply a patch directly on the .cpp as you did to use openssl-1.0 rather than openssl 1.1; any help you could provide would be very appreciated.

artemklevtsov commented on 2017-04-28 05:23

@dlin many thanks for this.

dlin commented on 2017-04-28 05:14

required patch

xiaohuanyu521 commented on 2017-03-28 16:54

CMake Error at /usr/share/cmake-3.7/Modules/FindPackageHandleStandardArgs.cmake:138 (message):
Could NOT find LibR (missing: LIBR_LIBRARIES)
Call Stack (most recent call first):
/usr/share/cmake-3.7/Modules/FindPackageHandleStandardArgs.cmake:378 (_FPHSA_FAILURE_MESSAGE)
cmake/modules/FindLibR.cmake:166 (find_package_handle_standard_args)
src/cpp/CMakeLists.txt:260 (find_package)

CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
used as include directory in directory /tmp/yaourt-tmp-jadestrong/aur-rstudio-desktop-git/src/rstudio/src/cpp

cmellwig commented on 2017-01-28 14:20

qt5-svg should be a dependency

artemklevtsov commented on 2016-07-14 09:34

mathjax version fixed.

Can anyone help with the clang static analyser works?

mnyolt commented on 2016-07-14 07:26

@cassava: with an up-to-date system (r 3.3.1) and the current rstudio-desktop (d2c000b47da60) I'm not getting your error.

However, since 1898ff716d2f the build stops working due to a switch to mathjax 2.6. The PKGBUILD prepare function needs to be updated. The line
install -d dictionaries mathjax-23 …
has to be changed to
install -d dictionaries mathjax-26 …

cassava commented on 2016-07-09 10:39

With the latest version from git I'm getting the error:

-- Could not find libR shared library.
CMake Error at /usr/share/cmake-3.5/Modules/FindPackageHandleStandardArgs.cmake:148 (message):
Could NOT find LibR (missing: LIBR_LIBRARIES)

artemklevtsov commented on 2015-11-03 13:49

@wushuzh: you always get the latest tagged commit from git. No need change version for the git packages. The version will be updated automatically during build.

wushuzh commented on 2015-11-03 13:07

After installation, I found that my version is rstudio-desktop-git-0.99.749-1, while the latest version tag in aur is rstudio-desktop-git 0.99.717-1. If there is anyone get the same ?

artemklevtsov commented on 2015-10-15 15:32

Good suggestion. Thank you.

yan12125 commented on 2015-10-15 14:33

I don't request every rstudio users to install community/pandoc. Instead, specify 'pandoc' as a dependency and add 'pandoc' to provides of pandoc-bin allows users to choose from community/pandoc and pandoc-bin.

artemklevtsov commented on 2015-10-15 13:11

pandoc from the community repo depends on haskell libs and ghc (more than 1.5 Gb).

yan12125 commented on 2015-10-15 13:01

There's community/pandoc now. Could you change the dependency pandoc-bin to pandoc? I've also asked pandoc-bin to add pandoc to provides array.

artemklevtsov commented on 2015-08-04 18:03

@johanzebin this known bug in the R 3.2.0. See for the details.

Edit /usr/include/R/Rinterface.h and replace 'int R_running_as_main_program;' with 'extern int R_running_as_main_program;'.

johanzebin commented on 2015-08-04 17:58

I'm running R 3.2.0 and ran into this issue:
multiple definition of `R_running_as_main_program'

As already mentioned by @unikum, the only needed fix is to edit /usr/include/R/Rinterface.h file and add "+extern" to the following line:
-int R_running_as_main_program;
+extern int R_running_as_main_program;

artemklevtsov commented on 2015-08-01 05:05

@kruegsch thanks for the report. It should be fixed now

kruegsch commented on 2015-07-31 22:32

I had an issue in the preparation step.
The directory with gin's version number was missing.

36: -install -d src/gwt/lib/{gin,gwt/$_gwtver}
36: +install -d src/gwt/lib/{gin/${_ginver},gwt/$_gwtver}

EDIT: It was the -f paramter used for unzip. Without it, unzip will create the 1.5 directory and extract the files.

kruegsch commented on 2015-07-31 22:02

I had an issue in the preparation step.
The directory with gin's version number was missing.

36: -install -d src/gwt/lib/{gin,gwt/$_gwtver}
36: +install -d src/gwt/lib/{gin/${_ginver},gwt/$_gwtver}

artemklevtsov commented on 2015-07-25 12:56

Now it works for me. Pls try it.

Weasel commented on 2015-07-20 14:36

Trying to compile this package, but fails:

Linking CXX executable rsession
[ 90%] Built target rsession
Makefile:136: recipe for target 'all' failed
make: *** [all] Error 2
==> ERROR: A failure occurred in package().
==> ERROR: Makepkg was unable to build rstudio-desktop-git.

A more exstensive compilation-log found here on pastebin:

artemklevtsov commented on 2015-07-15 06:25

To solve problems with compilation on R version 3.2 edit the /usr/include/R/Rinterface.h file and replace the following:
-int R_running_as_main_program;
+extern int R_running_as_main_program;

artemklevtsov commented on 2015-07-15 05:58

To solve problems with compilation on R version 3.2 edit the /usr/include/R/Rinterface.h file and replace the following:
-int R_running_as_main_program;
+extern int R_running_as_main_program;

artemklevtsov commented on 2015-05-10 12:03

I can't check this now. R 3.2 isn't available in the extra now.

hwkiller commented on 2015-04-28 22:44

This fails to build in a clean source directory.

I updated to r 3.2, and perhaps that broke the rstudio build?

artemklevtsov commented on 2015-04-13 15:56

It's not related with PKGBUILD or install file. This message from source git directory. Yesterday I successfully built it in the clean chroot.

artemklevtsov commented on 2015-04-13 15:56

It's not related with PKGBUILD or install file. This message from source git directory.

gabx commented on 2015-04-13 09:21

unfortunately already done. No changes

artemklevtsov commented on 2015-04-13 08:59

@gabx: cleanup build directory and try again.

gabx commented on 2015-04-13 08:43

Error when makepkg:

==> Downloading and installing packages
Cannot pull with rebase: You have unstaged changes.
Please commit or stash them.
==> ERROR: A failure occurred in prepare().

artemklevtsov commented on 2015-01-27 10:37

Should be fixed now.

hwkiller commented on 2015-01-26 21:03

The latest preview ( v0.99.179 ) failed to build.

wertha commented on 2015-01-11 22:31

Is there a way to fix the jdk7-openjdk dependency. I'm using jdk7 and I don't want to install jdk7-openjdk. I installed it by modifying the PKGBUILD but when I try to update through pacaur is pulling that depency and it is blocking the flow. I'm using yaourt to get around. Probably changing it to java-runtime-common might work, but it is not assuring that a jdk is installed, just that java (jre/jdk) is present. Any other idea?

hwkiller commented on 2014-11-22 22:59

Temporarily circumvented this issue by modifying the prepare() function.

When cd'd into the common/ directory,
sed -e 's/wget/wget --no-check-certificate/g' -i ./install-*

hwkiller commented on 2014-11-22 22:48

--2014-11-22 16:46:18--
Resolving (
Connecting to (||:443... connected.
ERROR: cannot verify's certificate, issued by ‘/C=US/O=VeriSign, Inc./OU=VeriSign Trust Network/OU=Terms of use at (c)10/CN=VeriSign Class 3 Secure Server CA - G3’:
Unable to locally verify the issuer's authority.
To connect to insecurely, use `--no-check-certificate'.

unjello commented on 2014-10-23 20:46

@unikum: perfect. works like a charm. thanks.

artemklevtsov commented on 2014-10-23 19:02


unjello commented on 2014-10-23 18:03

Fails to build because of liblang... which package it belongs to?

-- Found Qt4: /usr/lib/qt4/bin/qmake (found suitable version "4.8.6", minimum required is "4.8.0")
CMake Error at src/cpp/session/CMakeLists.txt:50 (message):
liblang 3.5 not found (re-run install-dependencies script to install)

artemklevtsov commented on 2014-09-21 12:17

Seems this workground works:

artemklevtsov commented on 2014-09-12 03:55

It realted with boost 1.56. Already reported:

hwkiller commented on 2014-09-11 17:43

This fails to build for me. I have a feeling it's actually due to the recent changes to java in arch.

artemklevtsov commented on 2014-09-03 15:06

I successfully build a few minutes ago. I use clean chroot:

gabx commented on 2014-09-03 08:50

nup. same error

artemklevtsov commented on 2014-09-02 15:28

@gabx: clean source directory and try again.

gabx commented on 2014-09-02 06:46

Building error occurs after downloading pandoc
2014-09-02 08:45:13 (3.43 MB/s) - ‘’ saved [97002741/97002741]

Cannot pull with rebase: You have unstaged changes.
Please commit or stash them.

artemklevtsov commented on 2014-08-26 03:22

Added repo:

artemklevtsov commented on 2014-08-16 05:54

I made repo (x86_64 only): Please welcome.

artemklevtsov commented on 2014-08-04 07:16

Without gmp4 I got error:
/usr/lib/rstudio/bin/pandoc/pandoc: error while loading shared libraries: cannot open shared object file: No such file or directory

artemklevtsov commented on 2014-08-02 09:45

Thx, I'll test it.

zeny.entropy commented on 2014-08-02 08:07

As for the gmp requirement , arch linux core package version is fine.
"GMP 6.0 is upwardly source and binary compatible with 5.1, 5.0, 4.x, and 3.x, except for applications that use the semi-documented mpn_bdivmod function. "
R uses gmp as an installable extension package.
R-Studio 3.1 successfully built, gmp package installed, gmpVersion() shows 6.0.0

artemklevtsov commented on 2014-07-24 10:45

artemklevtsov commented on 2014-07-05 05:14

artemklevtsov commented on 2014-06-11 15:34

@priedel: namcap says that it needed:
rstudio-desktop-git I: Link-level dependence (gmp4) in file ['usr/lib/']
Try use pandoc with RStudio.

artemklevtsov commented on 2014-06-11 15:34

@priedel: namcap says that it need:
rstudio-desktop-git I: Link-level dependence (gmp4) in file ['usr/lib/']
Try use pandoc with RStudio.

artemklevtsov commented on 2014-06-11 14:03

Updated. x68_64 package:

dpriedel commented on 2014-06-11 13:51

FYI, I just built the package using the current Arch versions of gmp (6.0.0) and libffi (3.0.13 which provides and had no problems. Rstudio seems to run OK too.

Dave Riedel

sekret commented on 2014-05-11 09:40

Oh ok, I thought that gmp 4.3.2 might just be too new to provide But if it does, my naming scheme doesn't make a lot of sense ;)

artemklevtsov commented on 2014-05-11 09:34

I build and upload packages:
You can install it with `yaourt -U url` command.

artemklevtsov commented on 2014-05-11 09:28

But source code of gmp have 4.3.2 version :) I hope maintainer of gmp4 package will update his package.

sekret commented on 2014-05-11 07:12


I have an idea: You could upload this gmp package with the name gmp3. The 3 because the so version is 3.*. Makes sense right? So we don't get update messages from e.g. yaourt, cower etc.

artemklevtsov commented on 2014-05-11 05:19

I builded gmp4 from this PKGBUILD -
It contain necessary library:
$ yaourt -Ql gmp4
gmp4 /usr/
gmp4 /usr/lib/
gmp4 /usr/lib/
gmp4 /usr/lib/

sekret commented on 2014-05-10 16:24

According to the describtion yes, but according to the comments no ;) Seems like we need an older version. But gmp from [core] only has

gmp /usr/lib/
gmp /usr/lib/
gmp /usr/lib/

so we definitely need an older version. What I find strange is that this isn't detected by the build process!

artemklevtsov commented on 2014-05-10 14:52

gmp4 package will solve " => not found" issue?

sekret commented on 2014-05-10 14:46

Sorry for another comment, but it's really going on my nerves that those dependency files (gwt, dictionaries etc) get downloaded every time, even if I don't remove my src directory. My internet connection is both slow and limited in bandwidth. I think it would make sense to let makepkg download those files by putting them into the source line. Might be out of the ordinary, but I'll create such a PKGBUILD even if it's just for me. I'll provide a pastebin link of course. You can choose then if you'd like to adopt this way of downloading it.

sekret commented on 2014-05-10 14:26

Hm, looks like libffi5 isn't enough, there's still which is provided by gmp4. I'm rebuilding the package right now, will report back.

# ldd /usr/lib/rstudio/bin/pandoc/pandoc (0x00007fff153fe000) => /usr/lib/ (0x00007fa236b07000) => /usr/lib/ (0x00007fa2368ff000) => /usr/lib/ (0x00007fa2366fc000) => /usr/lib/ (0x00007fa2364f8000) => not found => /usr/lib/ (0x00007fa2362f0000) => /usr/lib/ (0x00007fa235fec000) => /usr/lib/ (0x00007fa235c3e000) => /usr/lib/ (0x00007fa235a20000)
/lib64/ (0x00007fa236d1d000)

artemklevtsov commented on 2014-05-10 11:18

thx. I'll fix this.

sekret commented on 2014-05-10 10:39

Looks like this package depends on libffi5. Using namcap you'll see that there are missing libraries, among them /usr/lib/ Installing libffi5 solves this.

saultdon commented on 2014-03-06 17:52

Getting this error during compile:

CMake Error at src/cpp/session/CMakeLists.txt:32 (message):
rmarkdown package not found (re-run install-dependencies script to install)

artemklevtsov commented on 2014-02-08 12:02


petelewis commented on 2014-02-08 10:25

I had to add './install-pandoc' to the PKGBUILD for this to build...

khughitt commented on 2013-03-03 16:09

Oops. ignore out of date flag -- for some reason yaourt still listing qt as a requirement.

khughitt commented on 2013-03-03 16:07

qt dependency needs to be switched to qt4 (

Anonymous comment on 2013-01-17 07:37

I had to run the src/rstudio/dependencies/install-qt-sdk script and update the qt packages with their GUI interface to resolve my issue in a previous comment.

I'm not sure what is installed with the sdk that is not in the core repository qt package, but I know that it resolved my problem.

Thanks for putting the package up.

artemklevtsov commented on 2013-01-16 08:46

Now I get
Found Qt4: /usr/bin/qmake (found suitable version "4.8.4", minimum required is "4.8.0")
and build success.
Archlinux x86_64, qt 4.8.4-1.

Anonymous comment on 2013-01-16 03:31

I'm recieving the following error when attempting to build the package:

QT_UIC_EXECUTABLE) (found suitable version "4.8.4", minimum required is

qmake -query does not list those packages (not sure if that is the right term):

[andy@Arch rstudio-desktop-git]$ qmake -query

Do you know where I can find those additional tools to be able to complete the build?

mrbit commented on 2012-09-08 09:59


artemklevtsov commented on 2012-09-08 09:58

Updated without change pkgrel.

mrbit commented on 2012-09-08 09:37

SO 64bit I installed jdk7-openjdk

openjdk6 e jdk7-openjdk conflict

mrbit commented on 2012-09-08 09:34

SO 64bit ho installato jdk7-openjdk

openjdk6 e jdk7-openjdk conflict

artemklevtsov commented on 2012-08-01 05:28

@pixies: works for me (x86_64). Please give more info, or try to ask developers -

Anonymous comment on 2012-08-01 03:31

[java] at java.util.TimerThread.mainLoop(
[java] at

/tmp/packerbuild-1000/rstudio-desktop-git/rstudio-desktop-git/src/rstudio/src/gwt/build.xml:147: The following error occurred while executing this line:
/tmp/packerbuild-1000/rstudio-desktop-git/rstudio-desktop-git/src/rstudio/src/gwt/build.xml:108: Java returned: 137

Total time: 1 minute 21 seconds
make[2]: ** [gwt_build] Erro 1
make[1]: ** [src/gwt/CMakeFiles/gwt_build.dir/all] Erro 2
make: ** [all] Erro 2
==> ERRO: Uma falha ocorreu em package().
The build failed.

artemklevtsov commented on 2012-07-26 12:28

I use prefix (/usr/lib) like .deb and rpm packages from RStudio website.

mschu commented on 2012-07-23 16:25

Please put large binary blobs in /opt/, not in /usr/lib.

artemklevtsov commented on 2012-07-18 03:20

Now the issue resolved from uptream.

artemklevtsov commented on 2012-07-09 15:25

@Apollo_Costa: Seems it's uupstream issue. You can try describe your problem here -

Anonymous comment on 2012-07-09 09:21


i can't build the R-Studio. Here is my build log: Have anyone a idea ?

artemklevtsov commented on 2012-06-11 08:48

Can't build this package:
-- Found Qt4: /usr/bin/qmake (found suitable version "4.8.2", required is "4.8.0")
CMake Error at src/cpp/session/CMakeLists.txt:20 (message):
Dictionaries not found (re-run install-dependencies script to install)

-- Configuring incomplete, errors occurred!

Pank commented on 2011-04-16 13:18

Hmm, maybe /opt/rstudio/bin/ should be added to PATH?
Also, R should know about /opt/rstudio/R/, especially given the new manipulate library, distributed with Rstuido

Anonymous comment on 2011-03-20 01:47

It's very undesirable behavior for the Qt SDK installer to modify the system like that :( At least we should no longer have that issue.

Now if we can just get rid of those GWT, Guice, and Gin downloads we will be set. Although from what I can tell, they only unpack a zip into the source tree and should not modify your system in any way.

Pank commented on 2011-03-20 00:24

you are right

Anonymous comment on 2011-03-20 00:07

I think the build problem I was having when trying to build without Qt SDK installed with the script RStudio provides. I just tried a build on an Arch VM that I just installed on one of my machines with no Qt SDK installed, and cmake was able to configure without an issue on that system.

The issue is some configuration variables were set by the Qt SDK install in qmake. You can see if this happened to you by running "qmake -query" and checking for any variables referring to the old Qt SDK install. The easiest solution for me was to just reinstall qt by running "pacman -Rnd qt && pacman -S qt". After that, things built again.

I'm updating the package to once again remove the qt-sdk install script.

Anonymous comment on 2011-03-14 19:37

I've re-enabled the qt-sdk install script so things should work again, just with that horribly large download.

Anonymous comment on 2011-03-14 18:31

Thank you Pank, I've been experimenting and seeing the same thing as you. I've raised the issue on the RStudio forum.

Development is moving very fast on the RStudio end from what I can tell and they are constantly tweaking the build system right now. I will try my best to stay on top of it. I just tried two builds about 10 minutes apart and ending up with some git updates when the second ran so they had already committed some changes in those 10 minutes.

Pank commented on 2011-03-14 16:42

It builds when I install Qt sdk.

Pank commented on 2011-03-12 20:25

I tried to remove everything, including the PKGBUILD an re-download everything. It is quite weird. . . It naturally checks for dependencies before building. I use x64, but I don't think that should matter.

Anonymous comment on 2011-03-12 19:46

Hmm that looks like the error you should have gotten on an older version when it could not find the Qt SDK. The sdk shouldn't be needed anymore, so is it possible that your git repo was not up to date? I haven't really tested the ability to update the git repo continually with the PKGBUILD yet (although I think it would work). Try deleting the src directory and regenerating it if you are trying to build on top of an old git checkout.

You have Qt installed I assume since it is a dependency, so that is likely not it.

Unfortunately this is building fine for me on 2 different computers so I can't replicate the error to help you debug

Pank commented on 2011-03-11 09:06

Hmm, not it complains about QT. It seems that it wants qt dependencies for win and mac as well cf. .

Pank commented on 2011-03-11 08:52

Pank asked:
> So can the QT SDK just be removed by rm -r /opt/qtsdk-2010.05 or should I run some kind of script to remove it?
The answer is that there is a bin/uinstall. Find just didn't find it due to permissions :)

Pank commented on 2011-03-11 08:49

So can the QT SDK just be removed by rm -r /opt/qtsdk-2010.05 or should I run some kind of script to remove it?

Anonymous comment on 2011-03-11 05:20

Good news on several fronts! The Qt SDK is no longer downloaded or installed in the build process, saving a lot of time and space. The scripts now also correctly check if gwt has already been downloaded and does not download it in later builds.

Anonymous comment on 2011-03-10 20:13

Upstream has fixed the issue with Boost 1.46 and the package now compiles fine with it.

Anonymous comment on 2011-03-10 17:28

Hmm, you are on boost 1.45 or lower correct? Could you put the entire output of makepkg on pastebin? I suspect there is an error further up in the output that is the cause of your problem.

Pank commented on 2011-03-10 17:08

They should be present

> which ant
> which java

Anonymous comment on 2011-03-10 17:04

Pank - do you have apache-ant and java on your path? The packages for those may not put them on the path and then the makefile cannot find them.

As for gwt, it might be possible to check if its already downloaded, I haven't looked at the script closely that is used for it.

Pank commented on 2011-03-10 11:48

Also, could it maybe check for gwt? Currently, it downloads it every time.

Pank commented on 2011-03-10 11:31

I cannot get past 23%. Might there be a missing dependency or something like that?

[ 22%] Building CXX object src/cpp/core/CMakeFiles/rstudio-core.dir/system/PosixSystem.cpp.o
[ 23%] Building CXX object src/cpp/core/CMakeFiles/rstudio-core.dir/system/PosixUser.cpp.o
Linking CXX static library librstudio-core.a
[ 23%] Built target rstudio-core
make: *** [all] Error 2

Anonymous comment on 2011-03-09 06:17

Note that this does not currently build with boost 1.46, you need to downgrade to 1.45 to get it to build.