## Package Details: rstudio-desktop 1.1.442-1

Git Clone URL: https://aur.archlinux.org/rstudio-desktop.git (read-only) rstudio-desktop Open source and enterprise-ready professional software for the R community http://www.rstudio.com/ AGPL rstudio-desktop-bin, rstudio-desktop-git, rstudio-desktop-preview-bin None flying-sheep flying-sheep 41 0.402696 2011-03-04 15:02 2018-04-09 09:31

### Sources (4)

#### 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

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"...

==> Removing existing $pkgdir/ directory... ==> Starting build()... patching file src/cpp/r/RRoutines.cpp patching file src/cpp/core/http/SocketProxy.cpp -- Boost version: 1.64.0 -- Found the following Boost libraries: -- date_time -- filesystem -- iostreams -- program_options -- regex -- signals -- system -- thread -- chrono -- atomic /usr/lib64/R/bin/exec/R: error while loading shared libraries: libgfortran.so.3: cannot open shared object file: No such file or directory /usr/lib64/R/bin/exec/R: error while loading shared libraries: libgfortran.so.3: cannot open shared object file: No such file or directory /usr/lib64/R/bin/exec/R: error while loading shared libraries: libgfortran.so.3: cannot open shared object file: No such file or directory /usr/lib64/R/bin/exec/R: error while loading shared libraries: libgfortran.so.3: cannot open shared object file: No such file or directory -- Could not find libR shared library. CMake Error at /usr/share/cmake-3.8/Modules/FindPackageHandleStandardArgs.cmake:137 (message): Could NOT find LibR (missing: LIBR_HOME LIBR_INCLUDE_DIRS LIBR_LIBRARIES LIBR_DOC_DIR) Call Stack (most recent call first): /usr/share/cmake-3.8/Modules/FindPackageHandleStandardArgs.cmake:377 (_FPHSA_FAILURE_MESSAGE) cmake/modules/FindLibR.cmake:166 (find_package_handle_standard_args) src/cpp/CMakeLists.txt:228 (find_package) boost and boost-lib version: 1.64.0-1 R version: 3.4.0-2 #### flying-sheep commented on 2017-04-28 09:30 thanks for the patches. i just applied them without checking, because i still have the dialog problem (all yes/no/cancel dialogs behave like i always clicked “cancel”) #### netpumber commented on 2017-04-28 09:15 I compiled it with this new .patch you said and seemed that rstudio was working. But after a while, by running and anova analysis, I got an segmentation fault error. 1 0xb69b2ae0 /usr/lib/libQt5WebKit.so.5(WTFCrash+0x20) [0xb69b2ae0] 2 0xb69f57d5 /usr/lib/libQt5WebKit.so.5(_ZN3WTF11OSAllocator18reserveUncommittedEjNS0_5UsageEbbb+0x55) [0xb69f57d5] 3 0xb69dc406 /usr/lib/libQt5WebKit.so.5(_ZN3WTF21PageAllocationAligned8allocateEjjNS_11OSAllocator5UsageEb+0x46) [0xb69dc406] 4 0xb66b2720 /usr/lib/libQt5WebKit.so.5(+0x1749720) [0xb66b2720] 5 0xb66b2b53 /usr/lib/libQt5WebKit.so.5(+0x1749b53) [0xb66b2b53] 6 0xb66b4eb8 /usr/lib/libQt5WebKit.so.5(+0x174beb8) [0xb66b4eb8] 7 0xb692b1b2 /usr/lib/libQt5WebKit.so.5(+0x19c21b2) [0xb692b1b2] 8 0xb6930a66 /usr/lib/libQt5WebKit.so.5(+0x19c7a66) [0xb6930a66] 9 0xb692cc7b /usr/lib/libQt5WebKit.so.5(_ZN3JSC8JSObject32putDirectIndexBeyondVectorLengthEPNS_9ExecStateEjNS_7JSValueEjNS_18PutDirectIndexModeE+0x2ab) [0xb692cc7b] 10 0xb6537f5d /usr/lib/libQt5WebKit.so.5(+0x15cef5d) [0xb6537f5d] 11 0xb69878f0 /usr/lib/libQt5WebKit.so.5(+0x1a1e8f0) [0xb69878f0] 12 0xad1fbb0f [0xad1fbb0f] 13 0xb67a78af /usr/lib/libQt5WebKit.so.5(+0x183e8af) [0xb67a78af] 14 0x992dcb0 [0x992dcb0] Segmentation fault (core dumped) Should we blame rstudio or Qt5 for this ? #### MaoCPU commented on 2017-04-27 03:41 @netpumber: I have a x86_64 system. The problem you see is related to openssl-1.1.0. After the update today I saw the same problem which should be fixed at https://gist.github.com/anonymous/870e853c7045158bae2ab79bfd27179a. The new patch is just a replication from upstream (https://github.com/rstudio/rstudio/pull/1063/commits/e8c9a7783f3ff44dea2e2464b4bf2904325c72cd), which might not be the final solution for rstudio-1.1. #### netpumber commented on 2017-04-26 19:50 @MaoCPu : Do you have x86_64 or x86 system ? Also when i run the makepkg -sri i came across this error "SocketProxy.cpp:152:60: error: ‘SSL_R_SHORT_READ’ was not declared in this scope error.code().value() == ERR_PACK(ERR_LIB_SSL, 0, SSL_R_SHORT_READ);" Does anyone else have the same problem ? #### MaoCPU commented on 2017-04-24 18:23 With the following changes I was able to build rstudio-desktop-1.0.143 with R-3.4.0 installed: https://gist.github.com/anonymous/b2dbe59f847c41120c0968d1280ddb34 #### flying-sheep commented on 2017-04-05 08:52 no idea how to fix that, sorry. do y’all use an AUR helper? if so, please try without #### burgerga commented on 2017-04-04 13:50 Same issue as @argymeg and @sguyader, can't install #### raith commented on 2017-04-01 17:54 @flying-sheep: Sorry for the late reply. My qmake path problem seems to come from having both qt4 and qt5-base installed, with qmake-qt4 being linked to qmake. #### flying-sheep commented on 2017-03-14 13:39 hmm, maybe this will work for you #### argymeg commented on 2017-03-14 01:56 I'm having the same issue during compilation as @sguyader below. Any ideas what could be causing it, or how to triage it? #### flying-sheep commented on 2017-03-06 13:46 huh? why isn’t qmake-qt5 a symlink to qmake on your system? it is on mine.$ ll /usr/bin/qmake-qt5
lrwxrwxrwx 1 root root 14 2017-03-03 16:22 /usr/bin/qmake-qt5 -> /usr/bin/qmake

#### flying-sheep commented on 2017-01-13 12:22

i updated it.

don’t you experience the bug with the dialog windows? (i.e. that e.g. the “clear plots? [yes] [no]” window doesn’t respond to clicking a button)

#### MaoCPU commented on 2017-01-13 09:29

I had the same problem and for me a rebuild of rstudio-desktop solved it.

I was also able to build the rstudio-desktop-1.0.136 using the PKGBUILD at https://gist.github.com/anonymous/85cf69f39b32e5b9d68f3f2a31501a6b

#### alejandrogm commented on 2017-01-12 22:46

Latest boost-lib upgrade (1.62 -> 1.63) broke the package, as libboost_{thread,system,regex,iostreams,filesystem,date_time}.so.1.62.0 are not anymore on the system. Creating the symbolic links manually change this error by an undefined symbol one.

Is it just me?

#### sguyader commented on 2016-11-28 12:35

With the current version, I get the following error message:

==> Starting package()...
CMake Error: Parse error in cache file /tmp/yaourt-tmp-sguyader/aur-rstudio-desktop/src/rstudio-rstudio-46c2013/CMakeCache.txt on line 410. Offending entry: Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).

In the CMakeCache.txt file, line 410 is empty but the two preceding lines show this:
//Git Revision Hash
RSTUDIO_GIT_REVISION_HASH:STRING=fatal: Not a git repository (or any parent up to mount point /tmp)

I don't know if it's correct to do it, but I edited that last line and replaced the string starting by "fatal..." with "46c2013", and compilation could be resumed.

#### cbrnr commented on 2016-11-21 08:05

I noticed that HTML documents knitted from Rmd files do not use monospace fonts for code, although they should. The binary package rstudio-desktop-bin works as expected.

#### qxeee commented on 2016-11-20 23:07

I had to edit the PKGBUILD to change line 66 to
-DQT_QMAKE_EXECUTABLE=/usr/bin/qmake
to get this to compile.

#### MaoCPU commented on 2016-11-03 17:13

Would it be possible to provide a ln from /usr/bin to /usr/lib/rstudio/bin/rstudio in the PKGBUILD?

#### flying-sheep commented on 2016-09-29 09:33

very weird… do you have any program-specific settings? (Alt-F3 → More Actions → Special …)

I do get a normal title bar.

However, this package is still not very usable as the Yes/No/Cancel dialogs don’t work (They always behave as if you clicked “Cancel”, so you can’t clear plots or save the workspace and exit, you have to kill RStudio)

#### greenisagoodcolo commented on 2016-09-28 23:19

Hello, I am using plasma and not getting a system title bar. This makes it impossible to resize to half screen...any thoughts or tips? much appreciated...love, greenisagoodcolor

#### flying-sheep commented on 2016-02-05 08:52

stuff in qt5-base:

QtConcurrent QtCore QtDBus QtGui QtNetwork QtOpenGL QtOpenGLExtensions QtPlatformHeaders QtPlatformSupport QtPrintSupport QtSql QtTest QtWidgets QtXml

so we’re missing:

qt5-declarative (for Qt5Quick and Qt5Qml)
qt5-location (for Qt5Positioning)
qt5-sensors (for Qt5Sensors)
qt5-svg (for Qt5Svg)
qt5-xmlpatterns (for Qt5XmlPatterns)

quite some stuff!

#### flying-sheep commented on 2016-02-05 08:42

will fix. for the record:

it’s mentioned in src/cpp/desktop/cmakelists.txt:

find_package(Qt5Core REQUIRED)
find_package(Qt5Widgets REQUIRED)
find_package(Qt5Gui REQUIRED)
find_package(Qt5Network REQUIRED)
find_package(Qt5WebKit REQUIRED)
find_package(Qt5WebKitWidgets REQUIRED)
find_package(Qt5PrintSupport REQUIRED)
find_package(Qt5Quick REQUIRED)
find_package(Qt5Positioning REQUIRED)
find_package(Qt5Sensors REQUIRED)
find_package(Qt5Svg REQUIRED)
find_package(Qt5Xml REQUIRED)
find_package(Qt5XmlPatterns REQUIRED)
find_package(Qt5Qml REQUIRED)
find_package(Qt5Sql REQUIRED)
find_package(Qt5OpenGL REQUIRED)
if(UNIX AND NOT APPLE)
find_package(Qt5DBus REQUIRED)
endif()

#### markzz commented on 2016-02-04 18:08

There's a missing qt5 dependency. I'm not entirely sure which one, but after installing the entire qt5 group, it compiles fine. It would probably be a good idea to build this in a clean chroot to make sure you have all the dependencies in the PKGBUILD.

#### jdarch commented on 2015-12-16 11:53

Is someone keeping this package up to date? Are there unmentioned reasons it is not at v0.99.489?

#### flying-sheep commented on 2015-07-13 08:36

pandoc-cabal, pandoc-static, ... provide it. haskell-pandoc doesn’t.

idk if haskell-pandoc or pandoc are the right thing to depend on.

pandoc-bin doesn’t provide any of those but probably should.

#### navi_se commented on 2015-07-10 12:57

Pandoc dependency is unavailable?

#### flying-sheep commented on 2015-07-09 07:38

hi, this is up and kicking again!

the only thing i’ve “cheated” with is that i call install_packages to install rsconnect from git.

if that would be changed to manually install a version of the package (they don’t git-tag versions, but regularly bump it in the description file), this package could be built from the sources without internet access.

#### kidoz commented on 2014-05-05 17:54

It may be useful to someone - pkgbuild for version 0.9.8.507
https://github.com/kidoz/pkgbuilds/tree/master/rstudio-desktop

#### Dasonk commented on 2014-04-24 22:31

I emailed the maintainer a few days ago and haven't heard back yet. If it goes another week I'll be requesting that this gets orphaned.

#### sokuban commented on 2014-02-28 20:52

I have the same problem as gbc921, same error messages and all. Did you/anyone find a fix in the end? I tried using jdk6, but that didn't seem to help.

#### gbc921 commented on 2013-04-05 01:24

Seems a permission problem (arch x64, jdk)?

[ 79%] Built target rstudio
[java] Compile of permutations succeeded
[java] Linking into /tmp/yaourt-tmp-gabriel/aur-rstudio-desktop/src/rstudio-rstudio-d528686/src/gwt/www/rstudio; Writing extras to /tmp/yaourt-tmp-gabriel/aur-rstudio-desktop/src/rstudio-rstudio-d528686/src/gwt/extras/rstudio
[java] Compilation succeeded -- 162.691s
[java] at java.util.prefs.FileSystemPreferences.checkLockFile0ErrorCode(FileSystemPreferences.java:936)
[java] at java.util.prefs.FileSystemPreferences.lockFile(FileSystemPreferences.java:925)
[java] at java.util.prefs.FileSystemPreferences.sync(FileSystemPreferences.java:729)
[java] at java.util.prefs.FileSystemPreferences.flush(FileSystemPreferences.java:824)
[java] at java.util.prefs.FileSystemPreferences.syncWorld(FileSystemPreferences.java:464)
[java] at java.util.prefs.FileSystemPreferences.access$1200(FileSystemPreferences.java:50) [java] at java.util.prefs.FileSystemPreferences$4$1.run(FileSystemPreferences.java:442) BUILD SUCCESSFUL Total time: 3 minutes 48 seconds [ 79%] Built target gwt_build make: *** [all] Error 2 #### ender4 commented on 2013-02-10 07:35 Is there any way to get this working with JDK 7 installed, since openjdk6 conflicts with openjdk7? #### tdy commented on 2013-01-28 23:27 The build works fine on all of my comps, but it does fail in a clean chroot. It seems that jdk6 is needed for the build, so I added a "<7" filter and now it builds fine for me in the chroot also. #### Anonymous comment on 2013-01-28 22:36 BUILD FAILED I am getting following error: /home/yasar/rstudio/src/rstudio-rstudio-2f428e3/src/gwt/build.xml:144: The following error occurred while executing this line: /home/yasar/rstudio/src/rstudio-rstudio-2f428e3/src/gwt/build.xml:105: Java returned: 1 Total time: 3 minutes 23 seconds make[2]: *** [gwt_build] Hata 1 make[1]: *** [src/gwt/CMakeFiles/gwt_build.dir/all] Hata 2 make: *** [all] Hata 2 #### tdy commented on 2013-01-04 05:08 fyi the build is now fixed #### artemklevtsov commented on 2012-06-23 01:21 @mrbit: try rstudio-desktop-git. #### mrbit commented on 2012-06-10 15:15 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) #### mrbit commented on 2012-06-10 14:23 plese update...thanks #### Anonymous comment on 2012-01-26 23:54 #### Anonymous comment on 2011-04-07 01:09 Thanks, made the changes when I last updated the version number. #### Anonymous comment on 2011-03-29 01:53 ben - if you are going to try to source the ant config file, you need to do it before the test to see if ant is on the PATH. Otherwise the test will fail and makepkg will exit before the file is sourced. You probably also want to change the cmake line to install somewhere other than /usr/local as that is not used in Arch (/opt/rstudio may be best). #### Anonymous comment on 2011-03-23 11:21 td123 - that's true, but won't work for the java dependency as they could have openjdk or jdk. You could try sourcing the files for both I suppose. On that note, the JDK is required to build this package, so the dependency should be java-environment, not java-runtime. And it is only a makedepends I believe. #### td123 commented on 2011-03-20 03:45 jowilkin, another solution to the missing apache and problem is to do the following line in the PKGBUILD: source /etc/profile.d/apache-ant.sh #### Anonymous comment on 2011-03-20 00:52 jelly - GWT is in AUR, but the RStudio build process expects it to be in a very specific place (the place that the build process downloads it to). I've contacted the devs to see if it's possible to use an existing installation of GWT instead, but in it's current state, it won't build unless the GWT installation is present in the source tree. The boost errors are also fixed in the RStudio git tree, so there are no errors building the git package right now related to boost. If this package does currently have errors related to boost requiring modification of the compile flags, then that will be fixed by updating to a newer tag in the RStudio git repo. zeltak - that most likely means that you had apache-ant installed as a dependency during the build process. You need to log out and log back in so that ant is placed on your PATH, and then the build should work for you. It's a limitation of the way ant is packaged that it will not appear on your PATH after you install it unless you log out and back in. #### Anonymous comment on 2011-03-18 15:05 Hi zeltak, this may be because you don't have java or ANT installed or configured on the system correctly - the script used to sort this but it was changed to just give an error, because it went and altered a persons files ad made an unmanaged link so was deemed bad practice, and so I implemented a method suggested by jwolkin below in his git version of this package. I'm not 100 % sure on what a person should do if this is indeed the cause of the error - myself I used the PKGBUILD back when it created the link so all other versions up to now work for my machine - which makes it difficult to determine if others will have issues. If this is indeed the source of the error I think what you need to do is make sure ant is on the PATH. If it is not the error then I'm unsure - it's a completely new one to me. There is a forum thread here https://bbs.archlinux.org/viewtopic.php?id=114333&p=3 which has discussion of building r-studio. An alternative would be to set up a github account and see if the git version does the same thing. #### zeltak commented on 2011-03-16 16:16 Hi im a neewb trying to install r-studio. i get this error : -> Extracting v0.93.35 with bsdtar ==> Starting build()... which: no ant in (/home/zeltak/bin/scrot:/home/zeltak/bin:/home/zeltak/bin/scrot:/home/zeltak/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin:/usr/lib/perl5/site_perl/bin:/usr/bin/vendor_perl:/usr/lib/perl5/vendor_perl/bin:/usr/bin/core_perl) Aborting... The build failed is there someway to fix it? thx Z. #### jelly commented on 2011-03-15 11:12 export CXXFLAGS="${CXXFLAGS} -DBOOST_FILESYSTEM_VERSION=2"

before ./configure, to fix the boost errors

#### jelly commented on 2011-03-15 11:01

did you notice GWT is in AUR?

#### Anonymous comment on 2011-03-14 21:07

I was working on a way to check for ant and java and the method reztho is what first occurred to me, but it doesn't quite work as expected since makepkg will now exit immediately upon an error. So if we test the exit code for an error and then output a message, makepkg will exit immediately upon the error and the message will never get printed. This is the compromise I think works well:

# Check if ant and java can be found
msg "Checking if java and ant are on the PATH...."
which ant > /dev/null
which java > /dev/null

This will output nothing if ant and java are found (stdout goes to /dev/null), but if they are not found an error message will be printed by "which" to stderr and then makepkg will exit as a result of which not returning 0.

#### Anonymous comment on 2011-03-14 19:42

The ant link was my fault :P It was a hack to get it working the first time, but I did not include it in my rstudio git pkbuild, I should have noted on the forum that it was a bad idea. The warning is a much more sane way to handle this, I only have a note in the comments of the git pkgbuild.

#### Anonymous comment on 2011-03-10 20:24

Thanks reztho, I've altered it and it'll be uploaded later when it's no longer peak time here. I did wonder about it, because it was included in the forum dedicated to this, but when I built the package manually first hand from source, the first time it worked I didn't do anything about ant.

#### reztho commented on 2011-03-10 17:21

if [ ! -e /usr/bin/ant ] ; then
msg "Creating a link so that make can find apache ant"
ln -s /usr/share/java/apache-ant/bin/ant /usr/bin/ant
fi

For god's sake, do not do that. Makepkg isn't supposed to be run under a root account. And those people who do it are going to have an unmanaged symbolic link by pacman which can make problems in the future.

Instead just check ant is accesible and if it's not, throw a warning message to the user if you want to and exit gracefully. Something like this should work:
which ant &> /dev/null
if [ \$? -gt 0 ]; then
msg "whatever"
exit 1
fi

Apache-ant package comes with a bash script (/etc/profile.d/apache-ant.sh) which needs to be sourced before doing anything the first time is installed or the user just needs to relogin for it being sourced automatically.

Makepkg just fakes root perms; it doesn't make a chroot. AUR isn't supposed to be user friendly and it's your responsibility not to mess with people's filesystem, that's why there aren't any AUR helper in community.

#### Anonymous comment on 2011-03-09 05:19

As of boost v 1.46 it breaks the compile, suggesting some major compatibility issue between R-Studio and the latest boost, this has been raised on their support site.

#### Anonymous comment on 2011-03-08 18:01

I believe the current java-runtime dependency should work (i.e. jre or openjdk6 both should be fine). I think the issue you are having might be that the jre package does not put the 'java' executable on the path (I believe it puts it at /opt/java/jre/bin/java by default. You need to add this location to your path if you are using the jre package, otherwise cmake will not be able to find your java installation. The openjdk package however puts the executable right in /usr/bin which is on most everyone's path already, so things will work out of the box.

#### Anonymous comment on 2011-03-07 22:20

It is possible that openjdk6 is required, it is not listed as a dependency however in the PKGBUILD, as it is unclear from experience building it, whether it is required or not, and how it is required. Thus if you have issues, a first stop might be to look at installing openjdk6 if you don't already have it. At the next major version release, a neater tarball and source will make dependencies clearer.