Package Details: rstudio-desktop 2025.05.1.513-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 (thotypous)
Last Packager: xiota
Votes: 73
Popularity: 0.188930
First Submitted: 2011-03-04 15:02 (UTC)
Last Updated: 2025-06-06 20:45 (UTC)

Dependencies (36)

Required by (0)

Sources (4)

Pinned Comments

xiota commented on 2025-03-01 05:16 (UTC) (edited on 2025-05-01 20:46 (UTC) by xiota)

Packaging notes:

  • Given the inconvenience of having this package become unusable for an indefinite amount time, sodeps are used to prevent boost upgrades from breaking this package. Others may be added. Updates may need to be forced with pacman -Syudd prior to rebuilding. This is unnecessary when building in a clean chroot.
  • Any variable declared : ${var:=value} can be set in the environment prior to build.
    • For example: var=value makepkg -rsC; Method for AUR helpers may vary.
    • For clean chroot, try something like: extra-x86_64-build -- var=value

Problems?

  • Try building in a clean chroot.
  • If your distro has delayed updates, you may need to wait a few weeks.
  • Avoid commenting and flagging for the same issue at the same time.
    • Flag for routine and mechanical issues (depends, typos, mistakes, etc)
    • Comment for issues requiring discussion.
    • Please use a pastebin for blocks of text more than a few lines.

Latest Comments

« First ‹ Previous 1 .. 6 7 8 9 10 11 12 13 14 15 16 .. 31 Next › Last »

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

hopimet commented on 2024-05-16 10:39 (UTC) (edited on 2024-05-16 11:15 (UTC) by hopimet)

Error at the end of building (exit status 4). It seems that the script is looking for quarto but quarto is not installed.


panmirror:
     [echo] yarn location: yarn
     [echo] panmirror location: ./lib/quarto/apps/panmirror
     [echo] panmirror minify: true
    [mkdir] Created dir: /home/marc/.cache/yay/rstudio-desktop/src/rstudio-2024.04.1-748/src/gwt/www/js/panmirror
     [exec] yarn install v1.22.22
     [exec] [1/4] Resolving packages...
     [exec] [2/4] Fetching packages...
     [exec] warning quarto@1.68.0: The engine "vscode" appears to be invalid.
     [exec] warning vscode-languageclient@8.0.2: The engine "vscode" appears to be invalid.
     [exec] [3/4] Linking dependencies...
     [exec] warning "eslint-config-custom > @typescript-eslint/eslint-plugin > tsutils@3.21.0" has unmet peer dependency "typescript@>=2.8.0 || >= 3.2.0-dev || >= 3.3.0-dev || >= 3.4.0-dev || >= 3.5.0-dev || >= 3.6.0-dev || >= 3.6.0-beta || >= 3.7.0-dev || >= 3.7.0-beta".
     [exec] warning "workspace-aggregator-780ddc35-86fd-4f5c-94e9-b80e3c17dc6b > panmirror > vite-plugin-css-injected-by-js@2.3.1" has unmet peer dependency "vite@>2.0.0-0".
     [exec] warning "workspace-aggregator-780ddc35-86fd-4f5c-94e9-b80e3c17dc6b > quarto-vscode-editor > vite-plugin-static-copy@0.13.0" has unmet peer dependency "vite@^3.0.0 || ^4.0.0".
     [exec] warning "workspace-aggregator-780ddc35-86fd-4f5c-94e9-b80e3c17dc6b > editor-codemirror > @codemirror/autocomplete@6.4.0" has unmet peer dependency "@lezer/common@^1.0.0".
     [exec] warning "workspace-aggregator-780ddc35-86fd-4f5c-94e9-b80e3c17dc6b > editor > prosemirror-utils@0.9.6" has incorrect peer dependency "prosemirror-tables@^0.9.1".
     [exec] warning "workspace-aggregator-780ddc35-86fd-4f5c-94e9-b80e3c17dc6b > quarto-ojs-runtime > @rollup/plugin-commonjs@22.0.2" has incorrect peer dependency "rollup@^2.68.0".
     [exec] warning "workspace-aggregator-780ddc35-86fd-4f5c-94e9-b80e3c17dc6b > quarto-ojs-runtime > @rollup/plugin-node-resolve@13.3.0" has incorrect peer dependency "rollup@^2.42.0".
     [exec] warning "workspace-aggregator-780ddc35-86fd-4f5c-94e9-b80e3c17dc6b > quarto-vscode-editor > @blueprintjs/core > react-popper@1.3.11" has incorrect peer dependency "react@0.14.x || ^15.0.0 || ^16.0.0 || ^17.0.0".
     [exec] warning "workspace-aggregator-780ddc35-86fd-4f5c-94e9-b80e3c17dc6b > editor > prosemirror-dev-tools > react-dock@0.2.4" has unmet peer dependency "babel-runtime@^6.3.13".
     [exec] warning "workspace-aggregator-780ddc35-86fd-4f5c-94e9-b80e3c17dc6b > editor > prosemirror-dev-tools > react-json-tree@0.11.2" has incorrect peer dependency "react@^15.0.0 || ^16.0.0".
     [exec] warning "workspace-aggregator-780ddc35-86fd-4f5c-94e9-b80e3c17dc6b > editor > prosemirror-dev-tools > react-json-tree@0.11.2" has incorrect peer dependency "react-dom@^15.0.0 || ^16.0.0".
     [exec] warning "workspace-aggregator-780ddc35-86fd-4f5c-94e9-b80e3c17dc6b > editor > prosemirror-dev-tools > unstated@2.1.1" has incorrect peer dependency "react@^15.0.0 || ^16.0.0".
     [exec] warning "workspace-aggregator-780ddc35-86fd-4f5c-94e9-b80e3c17dc6b > quarto-ojs-runtime > @rollup/plugin-commonjs > @rollup/pluginutils@3.1.0" has incorrect peer dependency "rollup@^1.20.0||^2.0.0".
     [exec] warning "workspace-aggregator-780ddc35-86fd-4f5c-94e9-b80e3c17dc6b > editor > prosemirror-dev-tools > @emotion/css > @emotion/babel-plugin@11.10.5" has unmet peer dependency "@babel/core@^7.0.0".
     [exec] warning "workspace-aggregator-780ddc35-86fd-4f5c-94e9-b80e3c17dc6b > editor > prosemirror-dev-tools > unstated > create-react-context@0.1.6" has incorrect peer dependency "react@^14.0.0 || ^15.0.0 || ^16.0.0".
     [exec] warning "workspace-aggregator-780ddc35-86fd-4f5c-94e9-b80e3c17dc6b > editor > prosemirror-dev-tools > @emotion/css > @emotion/babel-plugin > @babel/plugin-syntax-jsx@7.18.6" has unmet peer dependency "@babel/core@^7.0.0-0".
     [exec] [4/4] Building fresh packages...
     [exec] error /home/marc/.cache/yay/rstudio-desktop/src/rstudio-2024.04.1-748/src/gwt/lib/quarto/node_modules/turbo: Command failed.
     [exec] Exit code: 126
     [exec] Command: node install.js
     [exec] Arguments: 
     [exec] Directory: /home/marc/.cache/yay/rstudio-desktop/src/rstudio-2024.04.1-748/src/gwt/lib/quarto/node_modules/turbo
     [exec] Output:
     [exec] info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
     [exec] info This module is OPTIONAL, you can safely ignore this error
     [exec] /bin/sh: /tmp/yarn--1715854830808-0.9346360007908847/node : /bin/sh : mauvais interpréteur: Fichier texte occupé
     [exec] warning Error running install script for optional dependency: "/home/marc/.cache/yay/rstudio-desktop/src/rstudio-2024.04.1-748/src/gwt/lib/quarto/node_modules/nodejieba: Command failed.
     [exec] Exit code: 126
     [exec] Command: node-pre-gyp install --fallback-to-build
     [exec] Arguments: 
     [exec] Directory: /home/marc/.cache/yay/rstudio-desktop/src/rstudio-2024.04.1-748/src/gwt/lib/quarto/node_modules/nodejieba
     [exec] Output:
     [exec] /usr/bin/env: « node »: Fichier texte occupé"

BUILD FAILED
/home/marc/.cache/yay/rstudio-desktop/src/rstudio-2024.04.1-748/src/gwt/build.xml:189: The following error occurred while executing this line:
/home/marc/.cache/yay/rstudio-desktop/src/rstudio-2024.04.1-748/src/gwt/build.xml:142: exec returned: 126

trap000d commented on 2024-05-13 20:09 (UTC) (edited on 2024-05-13 20:10 (UTC) by trap000d)

Hi @Mailaender,

"Notabug". This var used if cmake<3.14. You might argue cmake=3.29 already in Arch. I'll think what to do with it by the next rstudio release.

Corresponding part in CmakeLists.txt looks as:

if(CMAKE_VERSION VERSION_GREATER "3.14")
    ..........
    set(YAML_CPP_INCLUDE_DIR "${yaml-cpp_SOURCE_DIR}/include")
    set(YAML_CPP_LIBRARIES   yaml-cpp::yaml-cpp)
elseif(NOT RSTUDIO_USE_SYSTEM_YAML_CPP)
    set(YAML_CPP_INCLUDE_DIR "${RSTUDIO_TOOLS_ROOT}/yaml-cpp/${YAML_CPP_VERSION}/include")
    set(YAML_CPP_LIBRARIES   "${RSTUDIO_TOOLS_ROOT}/yaml-cpp/${YAML_CPP_VERSION}/build/libyaml-cpp.a")
else()
  ..........
endif()

Mailaender commented on 2024-05-13 19:30 (UTC)

  Manually-specified variables were not used by the project:

    RSTUDIO_USE_SYSTEM_YAML_CPP

trap000d commented on 2024-05-04 21:13 (UTC)

@arunkhattri,

It looks as the error happened somewhere in the middle of the build process. Tail of message is too generic, it tells nothing (except it happened around 60%). To find out where is the error, you might need to look through the full build log: either increase terminal buffer size, or redirect output to file.

Standard recommendations: update all other packages, clean up yay and makepkg caches, be sure you've got enough RAM (8 GB or more is highly recommended) and space on disk (at least 3 GB).

arunkhattri commented on 2024-05-04 15:17 (UTC)

[ 60%] Built target rstudio
make: *** [Makefile:156: all] Error 2
make: Leaving directory '/home/arunkhattri/.cache/yay/rstudio-desktop/src/build'
ERROR: A failure occurred in package().
    Aborting...
 -> error making: rstudio-desktop-exit status 4
 -> Failed to install the following packages. Manual intervention is required:
rstudio-desktop - exit status 4

can anybody help me?

xiota commented on 2023-12-21 01:56 (UTC) (edited on 2023-12-21 02:18 (UTC) by xiota)

@leonardof Try building in clean chroot. Successfully built this a couple days ago.

leonardof commented on 2023-12-21 01:27 (UTC)

Looks like icu 74 is not compatible with building rstudio-desktop?

==> Iniciando package()...
make: Entrando no diretório '/home/leonardof/aur/rstudio-desktop/src/build'

SNIP

[100%] Built target rsession
[100%] Building GWT sources
Buildfile: /home/leonardof/aur/rstudio-desktop/src/rstudio-2023.12.0-369/src/gwt/build.xml

SNIP

panmirror:
     [echo] yarn location: yarn
     [echo] panmirror location: ./lib/quarto/apps/panmirror
     [echo] panmirror minify: true
     [exec] node: error while loading shared libraries: libicui18n.so.73: cannot open shared object file: No such file or directory

BUILD FAILED
/home/leonardof/aur/rstudio-desktop/src/rstudio-2023.12.0-369/src/gwt/build.xml:189: The following error occurred while executing this line:
/home/leonardof/aur/rstudio-desktop/src/rstudio-2023.12.0-369/src/gwt/build.xml:142: exec returned: 127

Total time: 2 seconds
make[2]: *** [src/gwt/CMakeFiles/gwt_build.dir/build.make:2692: src/gwt/timestamp] Error 1
make[1]: *** [CMakeFiles/Makefile2:412: src/gwt/CMakeFiles/gwt_build.dir/all] Error 2
make: *** [Makefile:156: all] Error 2
make: Saindo do diretório '/home/leonardof/aur/rstudio-desktop/src/build'

==> ERRO: Uma falha ocorreu em package().
    Abortando...

trap000d commented on 2023-11-14 20:52 (UTC)

Hi @BAlmeidaS,

Sorry, no idea. I don't use copilot and have no intention to. You might try to install rstudio-desktop-bin from AUR to check if this tool works there.

As they mention, currently it's a "public preview"

https://docs.posit.co/ide/user/ide/guide/tools/copilot.html

...and I guess is not ready to use yet - you might refer to issues here (I see several are very similar to what you have):

https://github.com/rstudio/rstudio/issues?q=copilot