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)

Dependencies (29)

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 .. 29 Next › Last »

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:

trap000d commented on 2024-05-28 08:44 (UTC)

@xiota, On my side I've just managed to build the package by disabling lto in both rstudio-desktop and soci PKGBUILDs. It looks like when link time optimization is on, some information about exports/locations is missed. On the other hand, your proposed workaround looks good too (at least it should work in any environment and would not require to make changes in multiple packages).

P.S. I have some ideas to optimize the build process. I planned to postpone them until the next rstudio release. Now I think it might be a good idea to roll them out, as I'll have to push a new pkgrel anyway. Just let me test if your ld flags work as expected.