Package Details: rstudio-desktop 2024.09.1.394-1

Git Clone URL: https://aur.archlinux.org/rstudio-desktop.git (read-only, click to copy)
Package Base: rstudio-desktop
Description: A powerful and productive integrated development environment (IDE) for R programming language
Upstream URL: https://github.com/rstudio/rstudio
Licenses: AGPL-3.0-only
Conflicts: rstudio-desktop
Provides: rstudio-desktop
Submitter: None
Maintainer: xiota
Last Packager: xiota
Votes: 73
Popularity: 0.052003
First Submitted: 2011-03-04 15:02 (UTC)
Last Updated: 2024-11-11 05:37 (UTC)

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.

Latest Comments

« First ‹ Previous 1 .. 11 12 13 14 15 16 17 18 19 20 21 .. 29 Next › Last »

papa33 commented on 2020-12-19 21:47 (UTC)

rstudio: error while loading shared libraries: libboost_regex.so.1.72.0: cannot open shared object file: No such file or directory

flying-sheep commented on 2020-12-08 09:43 (UTC) (edited on 2020-12-08 12:25 (UTC) by flying-sheep)

@Wild_Penguin: thank you for investigating! Manually calling /usr/bin/cmake fixes the build errors but still not the QtWebEngineProcess thing.

Regarding the build script: You’re not expected to use it. I just think it helps, since if you want to use extra-x86_64-build, you need to hand it all AUR dependencies (i.e. r-testthat and all its deps in this case).

@ith140 please read the sticky comment

ith140 commented on 2020-12-07 21:51 (UTC) (edited on 2020-12-07 21:53 (UTC) by ith140)

I've been using this package for quite some time and had issues on the most recent update with Qt Webengine resources not being found.


Qt WebEngine resources not found at /share/qt/resources. Trying parent directory...
Qt WebEngine resources not found at /share/qt/resources. Trying parent directory...
Qt WebEngine resources not found at /share/qt. Trying application directory...
Qt WebEngine resources not found at /share/qt. Trying application directory...
Qt WebEngine resources not found at /usr/lib/qt/libexec. Trying fallback directory... The application MAY NOT work.
Qt WebEngine resources not found at /usr/lib/qt/libexec. Trying fallback directory... The application MAY NOT work.
Path override failed for key base::DIR_QT_LIBRARY_DATA and path '/home/ith140/.QtWebEngineProcess'
Path override failed for key base::DIR_QT_LIBRARY_DATA and path '/home/ith140/.QtWebEngineProcess'
Installed Qt WebEngine locales directory not found at location /share/qt/translations/qtwebengine_locales. Trying application directory...
Installed Qt WebEngine locales directory not found at location /share/qt/translations/qtwebengine_locales. Trying application directory...
Qt WebEngine locales directory not found at location /usr/lib/qt/libexec/qtwebengine_locales. Trying fallback directory... Translations MAY NOT not be correct.
Qt WebEngine locales directory not found at location /usr/lib/qt/libexec/qtwebengine_locales. Trying fallback directory... Translations MAY NOT not be correct.
Path override failed for key ui::DIR_LOCALES and path '/home/ith140/.QtWebEngineProcess'
Path override failed for key ui::DIR_LOCALES and path '/home/ith140/.QtWebEngineProcess'
[1207/162412.829325:ERROR:resource_bundle.cc(932)] Failed to load /home/ith140/.QtWebEngineProcess/qtwebengine_resources_100p.pak
Some features may not be available.
[1207/162412.829325:ERROR:resource_bundle.cc(932)] Failed to load /home/ith140/.QtWebEngineProcess/qtwebengine_resources_100p.pak
Some features may not be available.
[1207/162412.829354:ERROR:resource_bundle.cc(932)] Failed to load /home/ith140/.QtWebEngineProcess/qtwebengine_resources_200p.pak
Some features may not be available.
[1207/162412.829355:ERROR:resource_bundle.cc(932)] Failed to load /home/ith140/.QtWebEngineProcess/qtwebengine_resources_200p.pak
Some features may not be available.
[1207/162412.829360:ERROR:resource_bundle.cc(932)] Failed to load /home/ith140/.QtWebEngineProcess/qtwebengine_resources.pak
Some features may not be available.
[1207/162412.829361:ERROR:resource_bundle.cc(932)] Failed to load /home/ith140/.QtWebEngineProcess/qtwebengine_resources.pak
Some features may not be available.
[1207/162412.830003:WARNING:resource_bundle_qt.cpp(115)] locale_file_path.empty() for locale 
[1207/162412.830007:WARNING:resource_bundle_qt.cpp(115)] locale_file_path.empty() for locale 
Use of deprecated not thread-safe setter, use setUrlRequestInterceptor instead.
Use of deprecated not thread-safe setter, use setUrlRequestInterceptor instead.
Qt WebEngine resources not found at /share/qt/resources. Trying parent directory...
Qt WebEngine resources not found at /share/qt. Trying application directory...
Qt WebEngine resources not found at /usr/lib/qt/libexec. Trying fallback directory... The application MAY NOT work.
Path override failed for key base::DIR_QT_LIBRARY_DATA and path '/home/ith140
Installed Qt WebEngine locales directory not found at location /share/qt/translations/qtwebengine_locales. Trying application directory...
Qt WebEngine locales directory not found at location /usr/lib/qt/libexec/qtwebengine_locales. Trying fallback directory... Translations MAY NOT not be correct.
Path override failed for key ui::DIR_LOCALES and path '/home/ith140/.QtWebEngineProcess'
[1207/162412.964181:ERROR:resource_bundle.cc(932)] Failed to load /home/ith140/.QtWebEngineProcess/qtwebengine_resources_100p.pak
Some features may not be available.
[1207/162412.964219:ERROR:resource_bundle.cc(932)] Failed to load /home/ith140/.QtWebEngineProcess/qtwebengine_resources_200p.pak
Some features may not be available.
[1207/162412.964225:ERROR:resource_bundle.cc(932)] Failed to load /home/ith140/.QtWebEngineProcess/qtwebengine_resources.pak
Some features may not be available.
[1207/162412.964859:WARNING:resource_bundle_qt.cpp(115)] locale_file_path.empty() for locale 
"Synchronous XMLHttpRequest on the main thread is deprecated because of its detrimental effects to the end user's experience. For more help, check https://xhr.spec.whatwg.org/."
"Invalid splitter position detected: 687/0"
"Invalid splitter position detected: 687/0"

I had to use the qt.conf file installed into /usr/lib/qt/libexec (see https://bugs.archlinux.org/task/64973) to get rstudio to run.

Perhaps there's been some regression?

Thanks for all the work on this package.

Wild_Penguin commented on 2020-12-01 20:42 (UTC) (edited on 2020-12-04 13:47 (UTC) by Wild_Penguin)

I've made some progress. Seems like cmake, boost or some other component does not like /bin in search path. See: https://bbs.archlinux.org/viewtopic.php?pid=1940942#p1940942

EDIT/ALSO: https://bbs.archlinux.org/viewtopic.php?pid=1941537 .

So in case anyone has the same problem: remove /bin from PATH. If you have not set it, good luck in finding who did :-).

Wild_Penguin commented on 2020-10-25 17:06 (UTC)

Hi flying-sheep,

First, I want to thank for your effort on this PKGBUILD.

But, are you saying users are expected to install yay and use the build.sh to use this package?

It never even occurred to look into the build.sh script, I assumed it is something the PKGBUILD or the original sources use. Now I see it uses yay cache, but I do not use yay, I don't even have it installed. FWIW I usually use aurutils, and only fall back into standard way of using makepkg in case that fails (to rule out any issues caused by aur helpers). Needless to say, that script fails (it is useless to me, I don't like yay nor the concept of any AUR wrapper - I want to manage and review all AUR pkgbuilds myself, or at least glimpse what they are doing etc.).

This same PKGBUILD does work on my laptop, though I have no idea why. I will investigate when I have the time...

flying-sheep commented on 2020-10-25 12:57 (UTC)

Can you try building with the build script? It expects the AUR packages this depends on to be in a certain cache directory, and will use extra-x86_64-build to build everything in a clean CHROOT

Wild_Penguin commented on 2020-10-24 14:02 (UTC) (edited on 2020-10-24 14:09 (UTC) by Wild_Penguin)

Hmm, seems to fail currently. Something in CMakeLists.txt file(s) are not generated correctly. I'm not familiar enough with cmake to determine quickly why it fails. I get this at the end of configure phase:

$ LANG=C makepkg
==> Making package: rstudio-desktop 1.3.1093-1 (Sat Oct 24 17:05:28 2020)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Found rstudio-1.3.1093.tar.gz
  -> Found core-dictionaries.zip
==> Validating source files with sha256sums...
    rstudio-1.3.1093.tar.gz ... Passed
    core-dictionaries.zip ... Passed
==> Extracting sources...
  -> Extracting rstudio-1.3.1093.tar.gz with bsdtar
==> Starting build()...
[1] "/usr/lib64/R" is not writable. Creating user R library directory.
CMake Warning:
  No source or binary directory provided.  Both will be assumed to be the
  same as the current working directory, but note that this warning will
  become a fatal error in future CMake releases.


-- The C compiler identification is GNU 10.2.0
-- The CXX compiler identification is GNU 10.2.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/lib/ccache/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/lib/ccache/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- LSB release: arch
-- Performing Test COMPILER_SUPPORTS_CXX11
-- Performing Test COMPILER_SUPPORTS_CXX11 - Success
-- Found Boost: /lib64/cmake/Boost-1.72.0/BoostConfig.cmake (found suitable version "1.72.0", minimum required is "1.69.0")  
-- Found Boost: /lib64/cmake/Boost-1.72.0/BoostConfig.cmake (found suitable version "1.72.0", minimum required is "1.69.0") found components: atomic chrono date_time filesystem iostreams program_options random regex system thread 
-- Using Boost.Signals version 2
-- No Crashpad libraries found under /opt/rstudio-tools/crashpad/crashpad/out/Default/obj. Crashpad integration disabled.
-- Performing Test HAVE_SCANDIR_POSIX
-- Performing Test HAVE_SCANDIR_POSIX - Success
-- Looking for SA_NOCLDWAIT
-- Looking for SA_NOCLDWAIT - found
-- Looking for SO_PEERCRED
-- Looking for SO_PEERCRED - found
-- Looking for inotify_init1
-- Looking for inotify_init1 - found
-- Looking for getpeereid
-- Looking for getpeereid - not found
-- Looking for setresuid
-- Looking for setresuid - found
-- Configured to build DESKTOP
-- Found LibR: /usr/lib64/R  
-- Found R: /usr/lib64/R
-- Found Qt: /usr/bin/qmake-qt5
-- Configuring done
CMake Error in src/cpp/shared_core/CMakeLists.txt:
  Imported target "Boost::atomic" includes non-existent path

    "/include"

  in its INTERFACE_INCLUDE_DIRECTORIES.  Possible reasons include:

  * The path was deleted, renamed, or moved to another location.

  * An install or uninstall procedure did not complete successfully.

  * The installation package was faulty and references files it does not
  provide.



CMake Error in src/cpp/shared_core/CMakeLists.txt:
  Imported target "Boost::atomic" includes non-existent path

    "/include"

  in its INTERFACE_INCLUDE_DIRECTORIES.  Possible reasons include:

  * The path was deleted, renamed, or moved to another location.

  * An install or uninstall procedure did not complete successfully.

  * The installation package was faulty and references files it does not
  provide.



CMake Error in src/cpp/desktop/CMakeLists.txt:
  Imported target "Boost::atomic" includes non-existent path

    "/include"

  in its INTERFACE_INCLUDE_DIRECTORIES.  Possible reasons include:

  * The path was deleted, renamed, or moved to another location.

  * An install or uninstall procedure did not complete successfully.

  * The installation package was faulty and references files it does not
  provide.



CMake Error in src/cpp/desktop/CMakeLists.txt:
  Imported target "Boost::atomic" includes non-existent path

    "/include"

  in its INTERFACE_INCLUDE_DIRECTORIES.  Possible reasons include:

  * The path was deleted, renamed, or moved to another location.

  * An install or uninstall procedure did not complete successfully.

  * The installation package was faulty and references files it does not
  provide.



-- Generating done
CMake Generate step failed.  Build files cannot be regenerated correctly.
==> ERROR: A failure occurred in build().
    Aborting...

EDIT: Added the whole log. Now with LANG=C.

flying-sheep commented on 2020-09-14 08:13 (UTC)

If you figure out a way to make RStudio’s build system use that qtconfig, I’ll include it in the PKGBUILD ASAP!

HydraViridissima commented on 2020-09-01 01:34 (UTC)

Hi, for anyone having the Qt issue which causes no internal frames to display, flying-sheep has a fix in the pinned comment ^ and there is also a bug report and fix here --> https://bugs.archlinux.org/task/64973 Thank you flying-sheep for maintaining the package :):)

flying-sheep commented on 2020-06-16 11:53 (UTC)

will. what do you think the pinned comment is for? decoration?