Package Details: rstudio-desktop 2024.12.1.563-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: 72
Popularity: 0.003457
First Submitted: 2011-03-04 15:02 (UTC)
Last Updated: 2025-03-01 04:56 (UTC)

Dependencies (33)

Required by (0)

Sources (3)

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 2 3 4 5 6 7 8 9 10 11 12 .. 31 Next › Last »

trap000d commented on 2024-05-28 23:46 (UTC)

@mrhooman, @xiota,

Please try the updated version. I've just finished to build it in clean chroot and 'ordinary' environments. All looks good.

@xiota, thanks for a hint to bundle soci. Generally, this library is used only as statically linked object inside rsession[?] binary. Effectively, keeping system libsoci as dependency makes a little sense. I recall I have switched to system library several years ago when had cleaning up the sources from other bundled stuff (quarto?).

trap000d commented on 2024-05-28 23:36 (UTC)

Version 2024.04.1.748-4 has several significant changes in build process, which should resolve last issues:

  • Bundled build of soci is used now - resolves problem with corresponding system libraries (most probably due to LTO). Anyway libsoci is statically linked with rstudio.
  • System /usr/bin/node is used now instead of bundled one. That makes all node-based tools (e.g. copilot) working out of the box. Also it makes package smaller by a hundred MiB
  • It appears all good with _FORTIFY_SOURCE=3 flag (which is default in new makepkg.conf). A little patch removes thousands warning during the build process.

mrhooman commented on 2024-05-28 22:21 (UTC) (edited on 2024-05-28 22:22 (UTC) by mrhooman)

@xiota i tried doing it again to make sure i did not miss anything and it seems to still be having the same problem.
just to clarify the start of pkgbuild looks like this

Maintainer: Aleksandr Beliaev trap000d@gmail.com

options=('!lto')
pkgname=rstudio-desktop
_vermajor=2024
_verminor=04
_verpatch=1

mrhooman commented on 2024-05-28 20:52 (UTC) (edited on 2024-05-28 20:55 (UTC) by mrhooman)

@xiota I tried adding options=('!lto') to the begging of both soci and rstudio-desktop (after re downloading fresh files) and soci built but I got the same error in rstudio that I got last time.
I also tried it with yay and same thing happened, soci went fine but rstudio did not.
I will note that after adding the line at the top it seemed to build a lot slower (about 45 mins compared to 15-30).
I dont understand why its so slow considering i have a very beefy computer but it could just be a quirk of makepkg because everything else is very fast.

mrhooman commented on 2024-05-28 18:09 (UTC)

@trap000d I reinstalled soci but the error is still happening. I did some tests by installing some outher AUR packages and all of them installed no problem so I dont think that my system is broken (or at least not broken enough for me to see it any where else). I dont know why it is making calls to /usr/src/debug. I have all of my AUR packages in my downloads folder and I build them from there. here is my soci build logs if that would be helpful https://paste.ee/p/IiK4C . (ps. I cant tell you how much respect I have for maintainers like you, I would go insane after like 4 days. keep up the good work!)

trap000d commented on 2024-05-28 10:25 (UTC)

@xiota, Unfortunately, your trick with LDFLAGS didn't work for me. After few more build iterations with various combinations of flags and options, I suppose the only working option is to disable LTO for soci.

You can find updated PKGBUILD here: https://github.com/trap000d/aur/tree/master/soci

as well as new RStudio pkgrel: https://github.com/trap000d/aur/tree/master/rstudio-desktop

So I'm going to write to soci AUR maintainer and ask to add '!lto' option.

Could you please test my variants of these packages before? There is a probability I've missed something, or changed some new default makepkg settings accidentally.

Possible alternatives are: