Package Details: rstudio-desktop 2024.12.0.467-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.028233
First Submitted: 2011-03-04 15:02 (UTC)
Last Updated: 2024-12-20 21:33 (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 .. 3 4 5 6 7 8 9 10 11 12 13 .. 29 Next › Last »

trap000d commented on 2024-05-27 22:44 (UTC)

Hi @mrhooman

The log provided by @xiota - is it from your build?

What I can see - the issue is in soci - linker couldn't find some references in libsoci to include to executable.

-- SOCI libraries found under

this looks weird - libs must be located in a certain place (i.e. /usr/lib)

/usr/sbin/ld: <artificial>:(.text+0x665): undefined reference to `soci::details::statement_impl::dec_ref()'

On the other hand, I see you're using a third party repos for building the package. Am I guessing right, you pulling all AUR based precompiled deps from chaotic-aur ?

At first try to build it without any third party repositories.

Then you might try to to refresh soci in the chaotic-aur. Corresponding PKGBUILD was not updated in official AUR since 2022, effectively, it might become incompatible with other libraries (libboost in particular).

mrhooman commented on 2024-05-27 21:21 (UTC)

Hello, I am new to arch so im sorry if this is stupid. when I build I get this error. collect2: error: ld returned 1 exit status make[2]: *** [src/cpp/session/CMakeFiles/rsession.dir/build.make:4162: src/cpp/session/rsession] Error 1 make[1]: *** [CMakeFiles/Makefile2:1713: src/cpp/session/CMakeFiles/rsession.dir/all] Error 2 make: *** [Makefile:156: all] Error 2 make: Leaving directory '/home/mrhooman/Downloads/rstudio-desktop/src/build' ==> ERROR: A failure occurred in package(). Aborting...

does anyone know how to solve this?

trap000d commented on 2024-05-20 23:49 (UTC)

@jdarch, thanks for the hint about node. It appears node location is hardcoded into corresponding CMakeLists.txt. I've played a bit with project files and structures, managed to remove dependency of bundled node, then build it against the system node.

I had no time to test the result yet (anyway I don't have copilot), however you might give it a try and let me know if it works. Experimental PKGBUILD (and other files) can be downloaded here:

https://github.com/trap000d/aur/tree/master/rstudio-desktop

Pushing this to AUR without thoughtful tests looks as a bad idea to me.

jdarch commented on 2024-05-20 10:52 (UTC)

@BAlmeidaS and others who might be looking to get Co-Pilot working (I do not really use it, but I cannot stand error messages...).

You are right that it has to do with node. Rstudio built with this package cannot find the node binary. To solve that you could try setting "options(rstudio.copilot.nodeBinaryPath = "/usr/bin/node")" in the .Rprofile file (the path has to point to an existing binary of course). For me the given line works with the nodejs 22.2.0-1 package from the Arch repository.

hopimet commented on 2024-05-19 11:00 (UTC)

Great thanks to 29ggf for the workaround and to trap000d for the modification of the PKGBUILD. The package is now working fine!

29ggf commented on 2024-05-19 05:18 (UTC)

Here's what worked for me:

Add export UV_USE_IO_URING=0 at the beginning of the prepare() and build() functions

Source

hopimet commented on 2024-05-19 03:07 (UTC) (edited on 2024-05-19 03:07 (UTC) by hopimet)

@trap000d,

My desktop was already updated. The problem persists after cleaning the cache, with the same error messages. However the package build successfully on my second machine, with the same configuration. As a dirty workaround I used this compiled package to update rstudio on my first machine.

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 2024-05-16 21:26 (UTC) (edited on 2024-05-16 21:28 (UTC) by trap000d)

@hopimet,

I've removed quarto-cli on my test machine and rebuilt the package. I suppose your error is not related to Quarto. Please try to update system, clean up all caches and temp directories, then rebuild rstudio-desktop.

### skipped all ###
==> Leaving fakeroot environment.
==> Finished making: rstudio-desktop 2024.04.1.748-1 (Fri 17 May 2024 08:39:07)
==> Cleaning up...
0
2024.04.1.748