Closed turion closed 2 years ago
Bisecting is very hard because there are a lot of commits where even some dependencies don't build. I'm trying https://github.com/timokau/nix-bisect, but it has bugs.
It seems mongodb has similar problem. [https://github.com/NixOS/nixpkgs/issues/171928]()
I have investigated the same problem during the change the branch from 21.11 to 22.05.
I assume the error is related to the new compiler version (gcc 11 and later) will not compile the rstudio version. I've tried myself to fix this error, but the R version that is linked to rstudio is also too new, this will have some errors during changed headers of the new R version.
The only solution would be to raise to the current rstudio version. I have prepared the update here. But currently I am not able to start rstudio correctly:
TTY detected. Printing informational message about logging configuration. Logging configuration loaded from '/etc/xdg:/home/goetz/.nix-profile/etc/xdg:/etc/profiles/per-user/goetz/etc/xdg:/nix/var/nix/profiles/default/etc/xdg:/run/current-system/sw/etc/xdg:/nix/store/15fs19rshpzj57hw130n76w0fqhmxpsm-gnome-settings-daemon-42.2/etc/xdg/rstudio/logging.conf'. Logging to '/home/goetz/.local/share/rstudio/log/rdesktop.log'. Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway. 2022-06-08T12:12:40.894937Z [rdesktop] ERROR system error 2 (No such file or directory) [path: /nix/store/s1jjw29757y4ilsrkb0n1ylayfl9m52x-RStudio-2022.02.3+492/lib/rstudio/bin/resources/stylesheets/rstudio-gnome-light.qss]; OCCURRED AT rstudio::core::Error rstudio::core::FilePath::openForRead(std::shared_ptr<std::basic_istream
>&) const src/cpp/shared_core/FilePath.cpp:1461; LOGGED FROM: void rstudio::desktop::applyDesktopTheme(QWidget*, bool) src/cpp/desktop/DesktopUtils.cpp:176 2022-06-08T12:12:41.358884Z [rdesktop] ERROR system error 2 (No such file or directory) [path: /nix/store/s1jjw29757y4ilsrkb0n1ylayfl9m52x-RStudio-2022.02.3+492/lib/rstudio/bin/resources/html/error.html]; OCCURRED AT rstudio::core::Error rstudio::core::FilePath::openForRead(std::shared_ptr<std::basic_istream >&) const src/cpp/shared_core/FilePath.cpp:1461; LOGGED FROM: void rstudio::desktop::SessionLauncher::showLaunchErrorPage() src/cpp/desktop/DesktopSessionLauncher.cpp:379 2022-06-08T12:12:41.359539Z [rdesktop] ERROR system error 2 (No such file or directory) [path: /nix/store/s1jjw29757y4ilsrkb0n1ylayfl9m52x-RStudio-2022.02.3+492/lib/rstudio/bin/resources/html/loading.html]; OCCURRED AT rstudio::core::Error rstudio::core::FilePath::openForRead(std::shared_ptr<std::basic_istream >&) const src/cpp/shared_core/FilePath.cpp:1461; LOGGED FROM: void rstudio::desktop::MainWindow::onLoadFinished(bool) src/cpp/desktop/DesktopMainWindow.cpp:714 "Uncaught TypeError: Cannot read property 'notifyRCrashed' of undefined" 2022-06-08T12:12:41.364791Z [rdesktop] ERROR system error 2 (No such file or directory) [path: /nix/store/s1jjw29757y4ilsrkb0n1ylayfl9m52x-RStudio-2022.02.3+492/lib/rstudio/bin/resources/html/loading.html]; OCCURRED AT rstudio::core::Error rstudio::core::FilePath::openForRead(std::shared_ptr<std::basic_istream >&) const src/cpp/shared_core/FilePath.cpp:1461; LOGGED FROM: void rstudio::desktop::MainWindow::onLoadFinished(bool) src/cpp/desktop/DesktopMainWindow.cpp:714 2022-06-08T12:12:41.574135Z [rdesktop] ERROR system error 2 (No such file or directory) [path: /nix/store/s1jjw29757y4ilsrkb0n1ylayfl9m52x-RStudio-2022.02.3+492/lib/rstudio/bin/resources/html/loading.html]; OCCURRED AT rstudio::core::Error rstudio::core::FilePath::openForRead(std::shared_ptr<std::basic_istream >&) const src/cpp/shared_core/FilePath.cpp:1461; LOGGED FROM: void rstudio::desktop::MainWindow::onLoadFinished(bool) src/cpp/desktop/DesktopMainWindow.cpp:714
Maybe the maintainer can help me?
Unfortunately I don't understand this error at all. Do you maybe have some old settings files around? Possibly, can you move away all RStudio settings in your home directory and try again?
Either way, feel free to open a pull request with your change, and we can discuss there.
Unfortunately I don't understand this error at all. Do you maybe have some old settings files around? Possibly, can you move away all RStudio settings in your home directory and try again?
I solved the error already. It was not related to rstudio, more my fault. I struggled with the working of nix.
Either way, feel free to open a pull request with your change, and we can discuss there.
I created already a pull request. But I'm not sure if I have understand the way of backporting the changes correctly. As I understand, it is mandatory to create a pull request for master and create another one for backporting the changes to the current release.
Ah, I think you mean this here: https://github.com/NixOS/nixpkgs/pull/177021 (Your link goes somewhere else) Great! Let's continue there.
This can be closed I think!
See https://hydra.nixos.org/build/176099719. Log tail:
I'm currently bisecting on
x86_64-linux
.Notify maintainers
@ciil @cfhammill