Thank you for the patch @trap000d, this seems to work!
@czarlogic the log you posted doesn’t actually contain any specific error message, so no idea … but maybe it was that missing patch.
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.42 |
First Submitted: | 2011-03-04 15:02 (UTC) |
Last Updated: | 2025-05-12 06:23 (UTC) |
Thank you for the patch @trap000d, this seems to work!
@czarlogic the log you posted doesn’t actually contain any specific error message, so no idea … but maybe it was that missing patch.
Hey folks, and thank you @flying-sheep for maintaining this package, I'm having a spot of trouble reinstalling (after a recent update rstudio stopped working and I tried to do a reinstall). I fear I may have something misconfigured, but I cannot figure out what.
Here are the last couple of lines I see:
make[2]: *** [src/cpp/core/CMakeFiles/rstudio-core.dir/build.make:290: src/cpp/core/CMakeFiles/rstudio-core.dir/HtmlUtils.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [CMakeFiles/Makefile2:554: src/cpp/core/CMakeFiles/rstudio-core.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[java] Compiling 8 permutations
[java] Process output
[java] [ERROR] Picked up JAVA_TOOL_OPTIONS: -Djava.util.prefs.userRoot=/var/tmp/pamac-build-ezra/rstudio-desktop/src
[java] Compiling permutation 0...
[java] Compiling
[java] Compiling permutation 1...
[java] Compiling permutation 3...
[java] Compiling
[java] Compiling permutation 2...
[java] Compiling
[java] Compiling permutation 4...
[java] Compiling permutation 5...
[java] Compiling
[java] Compiling permutation 6...
[java] Compiling permutation 7...
[java] Compile of permutations succeeded
[java] Compilation succeeded -- 388.955s
[java] Linking into /var/tmp/pamac-build-ezra/rstudio-desktop/src/rstudio-rstudio-aee4453/src/gwt/www/rstudio; Writing extras to /var/tmp/pamac-build-ezra/rstudio-desktop/src/rstudio-rstudio-aee4453/src/gwt/extras/rstudio
[java] Link succeeded
[java] Linking succeeded -- 4.044s
build:
BUILD SUCCESSFUL
Total time: 7 minutes 29 seconds
[ 9%] Built target gwt_build
make: *** [Makefile:171: all] Error 2
==> ERROR: A failure occurred in package().
Aborting...
Any thoughts or comments would be most appreciated - thank you all!
This also has a dependency on icu67.
JFYI, Patch proposed at github won't be applied on stable. For me works only one I've made myself. Here the link to gist if you want to give it a try: https://gist.github.com/trap000d/22b11a58c064046478967e60b3394214
UPD: added 'add_definitions(-DBOOST_BIND_GLOBAL_PLACEHOLDERS)' to the patch for suppressing all boost deprecation warnings
P.S. Alternatively, check out branch https://github.com/rstudio/rstudio/tree/v1.4-juliet-rose and build 1.4 unstable yourself
@papa33, With the latest boost 1.75 build crashes due to breaking changes in the library. There is a PR in the dev branch, though: https://github.com/rstudio/rstudio/pull/8606 Not sure if it will be able to apply this to the stable. I've made changes manually into a dozen of files before found it, and right now am on 70% of compilation...
rstudio: error while loading shared libraries: libboost_regex.so.1.72.0: cannot open shared object file: No such file or directory
@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
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.
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 :-).
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...
Pinned Comments
xiota commented on 2025-03-01 05:16 (UTC) (edited on 2025-05-01 20:46 (UTC) by xiota)
Packaging notes:
pacman -Syudd
prior to rebuilding. This is unnecessary when building in a clean chroot.: ${var:=value}
can be set in the environment prior to build.var=value makepkg -rsC
; Method for AUR helpers may vary.extra-x86_64-build -- var=value
Problems?