Package Details: rstudio-desktop 2023.12.1.402-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://www.rstudio.com/products/rstudio/
Licenses: AGPL3
Submitter: None
Maintainer: trap000d (xiota)
Last Packager: trap000d
Votes: 71
Popularity: 0.54
First Submitted: 2011-03-04 15:02 (UTC)
Last Updated: 2024-01-30 19:34 (UTC)

Pinned Comments

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

xiota commented on 2023-09-30 18:30 (UTC)

@jeyes Built fine for me in clean chroot. Errors like that indicate a dependency needs to be rebuilt.

jeyes commented on 2023-09-30 16:05 (UTC)

Build failing on my 6.1.53-1-MANJARO with gcc 13.2.1-3. End of log:

[ 98%] Building CXX object src/cpp/session/CMakeFiles/rsession.dir/SessionConsoleProcessInfoTests.cpp.o
[ 98%] Building CXX object src/cpp/session/CMakeFiles/rsession.dir/SessionConsoleProcessPersistTests.cpp.o
[ 99%] Building CXX object src/cpp/session/CMakeFiles/rsession.dir/SessionConsoleProcessSocketTests.cpp.o
In file included from /var/tmp/pamac-build-laser/rstudio-desktop/src/rstudio-2023.09.0-463/src/cpp/ext/websocketpp/http/parser.hpp:36,
                 from /var/tmp/pamac-build-laser/rstudio-desktop/src/rstudio-2023.09.0-463/src/cpp/ext/websocketpp/http/request.hpp:34,
                 from /var/tmp/pamac-build-laser/rstudio-desktop/src/rstudio-2023.09.0-463/src/cpp/ext/websocketpp/config/core.hpp:43,
                 from /var/tmp/pamac-build-laser/rstudio-desktop/src/rstudio-2023.09.0-463/src/cpp/ext/websocketpp/config/asio_no_tls.hpp:31,
                 from /var/tmp/pamac-build-laser/rstudio-desktop/src/rstudio-2023.09.0-463/src/cpp/session/include/session/SessionConsoleProcessSocket.hpp:32,
                 from /var/tmp/pamac-build-laser/rstudio-desktop/src/rstudio-2023.09.0-463/src/cpp/session/SessionConsoleProcessSocketTests.cpp:16:
/var/tmp/pamac-build-laser/rstudio-desktop/src/rstudio-2023.09.0-463/src/cpp/ext/websocketpp/utilities.hpp:75:23: warning: ‘template<class _Arg1, class _Arg2, class _Result> struct std::binary_function’ is deprecated [-Wdeprecated-declarations]
   75 | struct ci_less : std::binary_function<std::string, std::string, bool> {
      |                       ^~~~~~~~~~~~~~~
In file included from /usr/include/c++/13.2.1/string:49,
                 from /var/tmp/pamac-build-laser/rstudio-desktop/src/rstudio-2023.09.0-463/src/cpp/session/include/session/SessionConsoleProcessSocket.hpp:18:
/usr/include/c++/13.2.1/bits/stl_function.h:131:12: note: declared here
  131 |     struct binary_function
      |            ^~~~~~~~~~~~~~~
/var/tmp/pamac-build-laser/rstudio-desktop/src/rstudio-2023.09.0-463/src/cpp/ext/websocketpp/utilities.hpp:78:21: warning: ‘template<class _Arg1, class _Arg2, class _Result> struct std::binary_function’ is deprecated [-Wdeprecated-declarations]
   78 |       : public std::binary_function<unsigned char,unsigned char,bool>
      |                     ^~~~~~~~~~~~~~~
/usr/include/c++/13.2.1/bits/stl_function.h:131:12: note: declared here
  131 |     struct binary_function
      |            ^~~~~~~~~~~~~~~
In file included from /usr/include/boost/asio/io_service.hpp:18,
                 from /var/tmp/pamac-build-laser/rstudio-desktop/src/rstudio-2023.09.0-463/src/cpp/core/include/core/http/AsyncConnection.hpp:21,
                 from /var/tmp/pamac-build-laser/rstudio-desktop/src/rstudio-2023.09.0-463/src/cpp/core/include/core/http/UriHandler.hpp:25,
                 from /var/tmp/pamac-build-laser/rstudio-desktop/src/rstudio-2023.09.0-463/src/cpp/session/include/session/SessionHttpConnection.hpp:24,
                 from /var/tmp/pamac-build-laser/rstudio-desktop/src/rstudio-2023.09.0-463/src/cpp/session/include/session/SessionHttpConnectionQueue.hpp:27,
                 from /var/tmp/pamac-build-laser/rstudio-desktop/src/rstudio-2023.09.0-463/src/cpp/session/include/session/SessionHttpConnectionListener.hpp:71,
                 from /var/tmp/pamac-build-laser/rstudio-desktop/src/rstudio-2023.09.0-463/src/cpp/session/http/SessionPosixHttpConnectionListener.cpp:16:
In function ‘bool boost::asio::operator==(const io_context::basic_executor_type<std::allocator<void>, 0>&, const io_context::basic_executor_type<std::allocator<void>, 0>&)’,
    inlined from ‘static bool boost::asio::execution::detail::any_executor_base::equal_ex(const boost::asio::execution::detail::any_executor_base&, const boost::asio::execution::detail::any_executor_base&) [with Ex = boost::asio::io_context::basic_executor_type<std::allocator<void>, 0>]’ at /usr/include/boost/asio/execution/any_executor.hpp:999:16:
/usr/include/boost/asio/io_context.hpp:994:27: warning: potential null pointer dereference [-Wnull-dereference]
  994 |     return a.target_ == b.target_
      |                         ~~^~~~~~~
/usr/include/boost/asio/io_context.hpp:994:27: warning: potential null pointer dereference [-Wnull-dereference]
/usr/include/boost/asio/io_context.hpp:994:27: warning: potential null pointer dereference [-Wnull-dereference]
In function ‘bool boost::asio::operator==(const io_context::basic_executor_type<std::allocator<void>, 4>&, const io_context::basic_executor_type<std::allocator<void>, 4>&)’,
    inlined from ‘static bool boost::asio::execution::detail::any_executor_base::equal_ex(const boost::asio::execution::detail::any_executor_base&, const boost::asio::execution::detail::any_executor_base&) [with Ex = boost::asio::io_context::basic_executor_type<std::allocator<void>, 4>]’ at /usr/include/boost/asio/execution/any_executor.hpp:999:16:
/usr/include/boost/asio/io_context.hpp:994:27: warning: potential null pointer dereference [-Wnull-dereference]
  994 |     return a.target_ == b.target_
      |                         ~~^~~~~~~
/usr/include/boost/asio/io_context.hpp:994:27: warning: potential null pointer dereference [-Wnull-dereference]
/usr/include/boost/asio/io_context.hpp:994:27: warning: potential null pointer dereference [-Wnull-dereference]
In file included from /usr/include/boost/asio/detail/io_object_impl.hpp:23,
                 from /usr/include/boost/asio/basic_socket.hpp:22,
                 from /usr/include/boost/asio/basic_datagram_socket.hpp:20,
                 from /usr/include/boost/asio.hpp:32,
                 from /var/tmp/pamac-build-laser/rstudio-desktop/src/rstudio-2023.09.0-463/src/cpp/session/include/session/SessionConsoleProcessSocket.hpp:26:
In function ‘bool boost::asio::operator==(const io_context::basic_executor_type<std::allocator<void>, 0>&, const io_context::basic_executor_type<std::allocator<void>, 0>&)’,
    inlined from ‘static bool boost::asio::execution::detail::any_executor_base::equal_ex(const boost::asio::execution::detail::any_executor_base&, const boost::asio::execution::detail::any_executor_base&) [with Ex = boost::asio::io_context::basic_executor_type<std::allocator<void>, 0>]’ at /usr/include/boost/asio/execution/any_executor.hpp:999:16:
/usr/include/boost/asio/io_context.hpp:994:27: warning: potential null pointer dereference [-Wnull-dereference]
  994 |     return a.target_ == b.target_
      |                         ~~^~~~~~~
/usr/include/boost/asio/io_context.hpp:994:27: warning: potential null pointer dereference [-Wnull-dereference]
/usr/include/boost/asio/io_context.hpp:994:27: warning: potential null pointer dereference [-Wnull-dereference]
In function ‘bool boost::asio::operator==(const io_context::basic_executor_type<std::allocator<void>, 4>&, const io_context::basic_executor_type<std::allocator<void>, 4>&)’,
    inlined from ‘static bool boost::asio::execution::detail::any_executor_base::equal_ex(const boost::asio::execution::detail::any_executor_base&, const boost::asio::execution::detail::any_executor_base&) [with Ex = boost::asio::io_context::basic_executor_type<std::allocator<void>, 4>]’ at /usr/include/boost/asio/execution/any_executor.hpp:999:16:
/usr/include/boost/asio/io_context.hpp:994:27: warning: potential null pointer dereference [-Wnull-dereference]
  994 |     return a.target_ == b.target_
      |                         ~~^~~~~~~
/usr/include/boost/asio/io_context.hpp:994:27: warning: potential null pointer dereference [-Wnull-dereference]
/usr/include/boost/asio/io_context.hpp:994:27: warning: potential null pointer dereference [-Wnull-dereference]
In file included from /usr/include/boost/smart_ptr/shared_ptr.hpp:18,
                 from /usr/include/boost/shared_ptr.hpp:17,
                 from /usr/include/boost/date_time/time_clock.hpp:17,
                 from /usr/include/boost/date_time/posix_time/posix_time_types.hpp:10,
                 from /usr/include/boost/asio/time_traits.hpp:23,
                 from /usr/include/boost/asio/detail/timer_queue_ptime.hpp:22,
                 from /usr/include/boost/asio/detail/deadline_timer_service.hpp:31,
                 from /usr/include/boost/asio/basic_deadline_timer.hpp:25,
                 from /usr/include/boost/asio.hpp:33:
In member function ‘boost::detail::weak_count& boost::detail::weak_count::operator=(const boost::detail::weak_count&)’,
    inlined from ‘boost::weak_ptr<T>& boost::weak_ptr<T>::operator=(const boost::weak_ptr<T>&) [with T = void]’ at /usr/include/boost/smart_ptr/weak_ptr.hpp:54:12,
    inlined from ‘void websocketpp::connection<config>::set_handle(websocketpp::connection_hdl) [with config = websocketpp::config::asio_client]’ at /var/tmp/pamac-build-laser/rstudio-desktop/src/rstudio-2023.09.0-463/src/cpp/ext/websocketpp/connection.hpp:1167:26,
    inlined from ‘websocketpp::endpoint<connection, config>::connection_ptr websocketpp::endpoint<connection, config>::create_connection() [with connection = websocketpp::connection<websocketpp::config::asio_client>; config = websocketpp::config::asio_client]’ at /var/tmp/pamac-build-laser/rstudio-desktop/src/rstudio-2023.09.0-463/src/cpp/ext/websocketpp/impl/endpoint_impl.hpp:56:20:
/usr/include/boost/smart_ptr/detail/shared_count.hpp:610:20: warning: potential null pointer dereference [-Wnull-dereference]
  610 |         if( tmp != pi_ )
      |                    ^~~
In file included from /usr/include/boost/smart_ptr/enable_shared_from_this.hpp:17,
                 from /usr/include/boost/enable_shared_from_this.hpp:16,
                 from /usr/include/boost/thread/pthread/thread_data.hpp:18,
                 from /usr/include/boost/thread/thread_only.hpp:17,
                 from /usr/include/boost/thread/thread.hpp:12,
                 from /usr/include/boost/thread.hpp:13,
                 from /var/tmp/pamac-build-laser/rstudio-desktop/src/rstudio-2023.09.0-463/src/cpp/core/include/core/BoostThread.hpp:26,
                 from /var/tmp/pamac-build-laser/rstudio-desktop/src/rstudio-2023.09.0-463/src/cpp/core/include/core/Thread.hpp:29,
                 from /var/tmp/pamac-build-laser/rstudio-desktop/src/rstudio-2023.09.0-463/src/cpp/session/include/session/SessionConsoleProcessSocket.hpp:30:
In member function ‘boost::weak_ptr<T>& boost::weak_ptr<T>::operator=(const boost::weak_ptr<T>&) [with T = void]’,
    inlined from ‘void websocketpp::connection<config>::set_handle(websocketpp::connection_hdl) [with config = websocketpp::config::asio_client]’ at /var/tmp/pamac-build-laser/rstudio-desktop/src/rstudio-2023.09.0-463/src/cpp/ext/websocketpp/connection.hpp:1167:26,
    inlined from ‘websocketpp::endpoint<connection, config>::connection_ptr websocketpp::endpoint<connection, config>::create_connection() [with connection = websocketpp::connection<websocketpp::config::asio_client>; config = websocketpp::config::asio_client]’ at /var/tmp/pamac-build-laser/rstudio-desktop/src/rstudio-2023.09.0-463/src/cpp/ext/websocketpp/impl/endpoint_impl.hpp:56:20:
/usr/include/boost/smart_ptr/weak_ptr.hpp:53:12: warning: potential null pointer dereference [-Wnull-dereference]
   53 |         px = r.px;
      |         ~~~^~~~~~
[ 99%] Building CXX object src/cpp/session/CMakeFiles/rsession.dir/SessionConsoleProcessTests.cpp.o
[ 99%] Building CXX object src/cpp/session/CMakeFiles/rsession.dir/SessionSuspendFilterTests.cpp.o
[ 99%] Building CXX object src/cpp/session/CMakeFiles/rsession.dir/modules/SessionDiagnosticsTests.cpp.o
[ 99%] Building CXX object src/cpp/session/CMakeFiles/rsession.dir/modules/SessionFindTests.cpp.o
[ 99%] Building CXX object src/cpp/session/CMakeFiles/rsession.dir/modules/SessionRCompletionsTests.cpp.o
[100%] Building CXX object src/cpp/session/CMakeFiles/rsession.dir/modules/SessionRTests.cpp.o
[100%] Building CXX object src/cpp/session/CMakeFiles/rsession.dir/modules/SessionTerminalShellTests.cpp.o
[100%] Building CXX object src/cpp/session/CMakeFiles/rsession.dir/prefs/PrefTests.cpp.o
[100%] Linking CXX executable rsession
/usr/bin/ld: CMakeFiles/rsession.dir/SessionClientEventQueue.cpp.o: in function `rstudio::session::ClientEventQueue::flushBufferedOutput(rstudio::session::ClientEventQueue::BufferedOutput*)':
SessionClientEventQueue.cpp:(.text+0x1025): undefined reference to `fmt::v9::vformat[abi:cxx11](fmt::v9::basic_string_view<char>, fmt::v9::basic_format_args<fmt::v9::basic_format_context<fmt::v9::appender, char> >)'
/usr/bin/ld: SessionClientEventQueue.cpp:(.text+0x11fc): undefined reference to `fmt::v9::detail::throw_format_error(char const*)'
/usr/bin/ld: SessionClientEventQueue.cpp:(.text+0x121c): undefined reference to `fmt::v9::detail::throw_format_error(char const*)'
/usr/bin/ld: CMakeFiles/rsession.dir/SessionClientEventQueue.cpp.o: in function `char const* fmt::v9::detail::parse_align<char, fmt::v9::detail::specs_checker<fmt::v9::detail::dynamic_specs_handler<fmt::v9::detail::compile_parse_context<char, fmt::v9::detail::error_handler> > >&>(char const*, char const*, fmt::v9::detail::specs_checker<fmt::v9::detail::dynamic_specs_handler<fmt::v9::detail::compile_parse_context<char, fmt::v9::detail::error_handler> > >&)':
SessionClientEventQueue.cpp:(.text._ZN3fmt2v96detail11parse_alignIcRNS1_13specs_checkerINS1_21dynamic_specs_handlerINS1_21compile_parse_contextIcNS1_13error_handlerEEEEEEEEEPKT_SD_SD_OT0_[_ZN3fmt2v96detail11parse_alignIcRNS1_13specs_checkerINS1_21dynamic_specs_handlerINS1_21compile_parse_contextIcNS1_13error_handlerEEEEEEEEEPKT_SD_SD_OT0_]+0x16a): undefined reference to `fmt::v9::detail::throw_format_error(char const*)'
/usr/bin/ld: SessionClientEventQueue.cpp:(.text._ZN3fmt2v96detail11parse_alignIcRNS1_13specs_checkerINS1_21dynamic_specs_handlerINS1_21compile_parse_contextIcNS1_13error_handlerEEEEEEEEEPKT_SD_SD_OT0_[_ZN3fmt2v96detail11parse_alignIcRNS1_13specs_checkerINS1_21dynamic_specs_handlerINS1_21compile_parse_contextIcNS1_13error_handlerEEEEEEEEEPKT_SD_SD_OT0_]+0x177): undefined reference to `fmt::v9::detail::throw_format_error(char const*)'
/usr/bin/ld: CMakeFiles/rsession.dir/SessionClientEventQueue.cpp.o: in function `char const* fmt::v9::detail::parse_replacement_field<char, fmt::v9::detail::format_string_checker<char, fmt::v9::detail::error_handler, int>&>(char const*, char const*, fmt::v9::detail::format_string_checker<char, fmt::v9::detail::error_handler, int>&)':
SessionClientEventQueue.cpp:(.text._ZN3fmt2v96detail23parse_replacement_fieldIcRNS1_21format_string_checkerIcNS1_13error_handlerEJiEEEEEPKT_S9_S9_OT0_[_ZN3fmt2v96detail23parse_replacement_fieldIcRNS1_21format_string_checkerIcNS1_13error_handlerEJiEEEEEPKT_S9_S9_OT0_]+0x13e): undefined reference to `fmt::v9::detail::throw_format_error(char const*)'
/usr/bin/ld: CMakeFiles/rsession.dir/SessionClientEventQueue.cpp.o:SessionClientEventQueue.cpp:(.text._ZN3fmt2v96detail23parse_replacement_fieldIcRNS1_21format_string_checkerIcNS1_13error_handlerEJiEEEEEPKT_S9_S9_OT0_[_ZN3fmt2v96detail23parse_replacement_fieldIcRNS1_21format_string_checkerIcNS1_13error_handlerEJiEEEEEPKT_S9_S9_OT0_]+0x199): more undefined references to `fmt::v9::detail::throw_format_error(char const*)' follow
/usr/bin/ld: CMakeFiles/rsession.dir/modules/SessionCopilot.cpp.o: in function `rstudio::session::modules::copilot::(anonymous namespace)::createRequest(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, rstudio::core::json::Value const&)':
SessionCopilot.cpp:(.text+0x281b): undefined reference to `fmt::v9::vformat[abi:cxx11](fmt::v9::basic_string_view<char>, fmt::v9::basic_format_args<fmt::v9::basic_format_context<fmt::v9::appender, char> >)'
/usr/bin/ld: CMakeFiles/rsession.dir/modules/SessionCopilot.cpp.o: in function `rstudio::session::modules::copilot::(anonymous namespace)::uriFromDocumentImpl(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, bool)':
SessionCopilot.cpp:(.text+0x2934): undefined reference to `fmt::v9::vformat[abi:cxx11](fmt::v9::basic_string_view<char>, fmt::v9::basic_format_args<fmt::v9::basic_format_context<fmt::v9::appender, char> >)'
/usr/bin/ld: SessionCopilot.cpp:(.text+0x29b0): undefined reference to `fmt::v9::vformat[abi:cxx11](fmt::v9::basic_string_view<char>, fmt::v9::basic_format_args<fmt::v9::basic_format_context<fmt::v9::appender, char> >)'
/usr/bin/ld: CMakeFiles/rsession.dir/modules/SessionCopilot.cpp.o: in function `rstudio::session::modules::copilot::(anonymous namespace)::agent::onStarted(rstudio::core::system::ProcessOperations&)':
SessionCopilot.cpp:(.text+0x3171): undefined reference to `fmt::v9::vformat[abi:cxx11](fmt::v9::basic_string_view<char>, fmt::v9::basic_format_args<fmt::v9::basic_format_context<fmt::v9::appender, char> >)'
/usr/bin/ld: SessionCopilot.cpp:(.text+0x31ad): undefined reference to `fmt::v9::vformat[abi:cxx11](fmt::v9::basic_string_view<char>, fmt::v9::basic_format_args<fmt::v9::basic_format_context<fmt::v9::appender, char> >)'
/usr/bin/ld: CMakeFiles/rsession.dir/modules/SessionCopilot.cpp.o:SessionCopilot.cpp:(.text+0x354e): more undefined references to `fmt::v9::vformat[abi:cxx11](fmt::v9::basic_string_view<char>, fmt::v9::basic_format_args<fmt::v9::basic_format_context<fmt::v9::appender, char> >)' follow
/usr/bin/ld: CMakeFiles/rsession.dir/modules/SessionRParser.cpp.o: in function `rstudio::core::r_util::FunctionInformation::infoForFormal(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)':
SessionRParser.cpp:(.text._ZN7rstudio4core6r_util19FunctionInformation13infoForFormalERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE[_ZN7rstudio4core6r_util19FunctionInformation13infoForFormalERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE]+0x244): undefined reference to `fmt::v9::detail::throw_format_error(char const*)'
/usr/bin/ld: SessionRParser.cpp:(.text._ZN7rstudio4core6r_util19FunctionInformation13infoForFormalERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE[_ZN7rstudio4core6r_util19FunctionInformation13infoForFormalERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE]+0x3c6): undefined reference to `fmt::v9::vformat[abi:cxx11](fmt::v9::basic_string_view<char>, fmt::v9::basic_format_args<fmt::v9::basic_format_context<fmt::v9::appender, char> >)'
/usr/bin/ld: SessionRParser.cpp:(.text._ZN7rstudio4core6r_util19FunctionInformation13infoForFormalERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE[_ZN7rstudio4core6r_util19FunctionInformation13infoForFormalERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE]+0x482): undefined reference to `fmt::v9::vformat[abi:cxx11](fmt::v9::basic_string_view<char>, fmt::v9::basic_format_args<fmt::v9::basic_format_context<fmt::v9::appender, char> >)'
/usr/bin/ld: SessionRParser.cpp:(.text._ZN7rstudio4core6r_util19FunctionInformation13infoForFormalERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE[_ZN7rstudio4core6r_util19FunctionInformation13infoForFormalERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE]+0x64a): undefined reference to `fmt::v9::detail::throw_format_error(char const*)'
/usr/bin/ld: SessionRParser.cpp:(.text._ZN7rstudio4core6r_util19FunctionInformation13infoForFormalERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE[_ZN7rstudio4core6r_util19FunctionInformation13infoForFormalERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE]+0x6b8): undefined reference to `fmt::v9::detail::throw_format_error(char const*)'
/usr/bin/ld: SessionRParser.cpp:(.text._ZN7rstudio4core6r_util19FunctionInformation13infoForFormalERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE[_ZN7rstudio4core6r_util19FunctionInformation13infoForFormalERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE]+0x718): undefined reference to `fmt::v9::detail::throw_format_error(char const*)'
/usr/bin/ld: SessionRParser.cpp:(.text._ZN7rstudio4core6r_util19FunctionInformation13infoForFormalERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE[_ZN7rstudio4core6r_util19FunctionInformation13infoForFormalERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE]+0x73c): undefined reference to `fmt::v9::detail::throw_format_error(char const*)'
/usr/bin/ld: SessionRParser.cpp:(.text._ZN7rstudio4core6r_util19FunctionInformation13infoForFormalERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE[_ZN7rstudio4core6r_util19FunctionInformation13infoForFormalERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE]+0x75c): undefined reference to `fmt::v9::detail::throw_format_error(char const*)'
/usr/bin/ld: CMakeFiles/rsession.dir/modules/SessionRParser.cpp.o:SessionRParser.cpp:(.text._ZN7rstudio4core6r_util19FunctionInformation13infoForFormalERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE[_ZN7rstudio4core6r_util19FunctionInformation13infoForFormalERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE]+0x77c): more undefined references to `fmt::v9::detail::throw_format_error(char const*)' follow
/usr/bin/ld: CMakeFiles/rsession.dir/modules/SessionThemes.cpp.o: in function `rstudio::session::modules::themes::(anonymous namespace)::getThemesInLocation(rstudio::core::FilePath const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::map<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::tuple<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, bool>, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::tuple<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, bool> > > >*)':
SessionThemes.cpp:(.text+0xa206): undefined reference to `fmt::v9::vformat[abi:cxx11](fmt::v9::basic_string_view<char>, fmt::v9::basic_format_args<fmt::v9::basic_format_context<fmt::v9::appender, char> >)'
/usr/bin/ld: SessionThemes.cpp:(.text+0xa53e): undefined reference to `fmt::v9::detail::throw_format_error(char const*)'
/usr/bin/ld: SessionThemes.cpp:(.text+0xa58e): undefined reference to `fmt::v9::detail::throw_format_error(char const*)'
/usr/bin/ld: SessionThemes.cpp:(.text+0xa893): undefined reference to `fmt::v9::detail::throw_format_error(char const*)'
/usr/bin/ld: SessionThemes.cpp:(.text+0xa9d9): undefined reference to `fmt::v9::detail::throw_format_error(char const*)'
/usr/bin/ld: SessionThemes.cpp:(.text+0xaade): undefined reference to `fmt::v9::detail::throw_format_error(char const*)'
/usr/bin/ld: SessionThemes.cpp:(.text+0xae6f): undefined reference to `fmt::v9::vformat[abi:cxx11](fmt::v9::basic_string_view<char>, fmt::v9::basic_format_args<fmt::v9::basic_format_context<fmt::v9::appender, char> >)'
/usr/bin/ld: SessionThemes.cpp:(.text+0xaf19): undefined reference to `fmt::v9::detail::throw_format_error(char const*)'
/usr/bin/ld: SessionThemes.cpp:(.text+0xaf3d): undefined reference to `fmt::v9::detail::throw_format_error(char const*)'
/usr/bin/ld: SessionThemes.cpp:(.text+0xaf61): undefined reference to `fmt::v9::detail::throw_format_error(char const*)'
/usr/bin/ld: SessionThemes.cpp:(.text+0xaf85): undefined reference to `fmt::v9::detail::throw_format_error(char const*)'
/usr/bin/ld: SessionThemes.cpp:(.text+0xafe3): undefined reference to `fmt::v9::detail::throw_format_error(char const*)'
/usr/bin/ld: CMakeFiles/rsession.dir/modules/SessionThemes.cpp.o:SessionThemes.cpp:(.text+0xb02e): more undefined references to `fmt::v9::detail::throw_format_error(char const*)' follow
/usr/bin/ld: CMakeFiles/rsession.dir/modules/jobs/ScriptJob.cpp.o: in function `rstudio::session::modules::jobs::ScriptJob::start()':
ScriptJob.cpp:(.text+0x1b87): undefined reference to `fmt::v9::vformat[abi:cxx11](fmt::v9::basic_string_view<char>, fmt::v9::basic_format_args<fmt::v9::basic_format_context<fmt::v9::appender, char> >)'
/usr/bin/ld: CMakeFiles/rsession.dir/modules/rmarkdown/NotebookPlotReplay.cpp.o: in function `rstudio::session::modules::rmarkdown::notebook::(anonymous namespace)::ReplayPlots::onCompleted(int)':
NotebookPlotReplay.cpp:(.text+0x6bed): undefined reference to `fmt::v9::vformat[abi:cxx11](fmt::v9::basic_string_view<char>, fmt::v9::basic_format_args<fmt::v9::basic_format_context<fmt::v9::appender, char> >)'
/usr/bin/ld: NotebookPlotReplay.cpp:(.text+0x6ce9): undefined reference to `fmt::v9::detail::throw_format_error(char const*)'
/usr/bin/ld: NotebookPlotReplay.cpp:(.text+0x6e5f): undefined reference to `fmt::v9::detail::throw_format_error(char const*)'
/usr/bin/ld: NotebookPlotReplay.cpp:(.text+0x6eaa): undefined reference to `fmt::v9::detail::throw_format_error(char const*)'
/usr/bin/ld: NotebookPlotReplay.cpp:(.text+0x6ecc): undefined reference to `fmt::v9::detail::throw_format_error(char const*)'
/usr/bin/ld: NotebookPlotReplay.cpp:(.text+0x6efc): undefined reference to `fmt::v9::detail::throw_format_error(char const*)'
/usr/bin/ld: CMakeFiles/rsession.dir/modules/rmarkdown/NotebookPlotReplay.cpp.o:NotebookPlotReplay.cpp:(.text+0x6f1c): more undefined references to `fmt::v9::detail::throw_format_error(char const*)' follow
/usr/bin/ld: CMakeFiles/rsession.dir/prefs/PrefLayer.cpp.o: in function `rstudio::session::prefs::PrefLayer::clearValue(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)':
PrefLayer.cpp:(.text+0x3d17): undefined reference to `fmt::v9::vformat[abi:cxx11](fmt::v9::basic_string_view<char>, fmt::v9::basic_format_args<fmt::v9::basic_format_context<fmt::v9::appender, char> >)'
/usr/bin/ld: PrefLayer.cpp:(.text+0x3e90): undefined reference to `fmt::v9::detail::throw_format_error(char const*)'
/usr/bin/ld: PrefLayer.cpp:(.text+0x3ee6): undefined reference to `fmt::v9::detail::throw_format_error(char const*)'
/usr/bin/ld: CMakeFiles/rsession.dir/prefs/PrefLayer.cpp.o: in function `rstudio::session::prefs::PrefLayer::readValue(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)':
PrefLayer.cpp:(.text+0x4292): undefined reference to `fmt::v9::vformat[abi:cxx11](fmt::v9::basic_string_view<char>, fmt::v9::basic_format_args<fmt::v9::basic_format_context<fmt::v9::appender, char> >)'
/usr/bin/ld: PrefLayer.cpp:(.text+0x437a): undefined reference to `fmt::v9::detail::throw_format_error(char const*)'
/usr/bin/ld: PrefLayer.cpp:(.text+0x43a0): undefined reference to `fmt::v9::detail::throw_format_error(char const*)'
/usr/bin/ld: CMakeFiles/rsession.dir/prefs/PrefLayer.cpp.o: in function `char const* fmt::v9::detail::parse_replacement_field<char, fmt::v9::detail::format_string_checker<char, fmt::v9::detail::error_handler, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&>(char const*, char const*, fmt::v9::detail::format_string_checker<char, fmt::v9::detail::error_handler, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&)':
PrefLayer.cpp:(.text._ZN3fmt2v96detail23parse_replacement_fieldIcRNS1_21format_string_checkerIcNS1_13error_handlerEJNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESA_EEEEEPKT_SF_SF_OT0_[_ZN3fmt2v96detail23parse_replacement_fieldIcRNS1_21format_string_checkerIcNS1_13error_handlerEJNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESA_EEEEEPKT_SF_SF_OT0_]+0x13f): undefined reference to `fmt::v9::detail::throw_format_error(char const*)'
/usr/bin/ld: PrefLayer.cpp:(.text._ZN3fmt2v96detail23parse_replacement_fieldIcRNS1_21format_string_checkerIcNS1_13error_handlerEJNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESA_EEEEEPKT_SF_SF_OT0_[_ZN3fmt2v96detail23parse_replacement_fieldIcRNS1_21format_string_checkerIcNS1_13error_handlerEJNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESA_EEEEEPKT_SF_SF_OT0_]+0x199): undefined reference to `fmt::v9::detail::throw_format_error(char const*)'
/usr/bin/ld: PrefLayer.cpp:(.text._ZN3fmt2v96detail23parse_replacement_fieldIcRNS1_21format_string_checkerIcNS1_13error_handlerEJNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESA_EEEEEPKT_SF_SF_OT0_[_ZN3fmt2v96detail23parse_replacement_fieldIcRNS1_21format_string_checkerIcNS1_13error_handlerEJNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESA_EEEEEPKT_SF_SF_OT0_]+0x1c9): undefined reference to `fmt::v9::detail::throw_format_error(char const*)'
/usr/bin/ld: CMakeFiles/rsession.dir/prefs/PrefLayer.cpp.o:PrefLayer.cpp:(.text._ZN3fmt2v96detail23parse_replacement_fieldIcRNS1_21format_string_checkerIcNS1_13error_handlerEJNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESA_EEEEEPKT_SF_SF_OT0_[_ZN3fmt2v96detail23parse_replacement_fieldIcRNS1_21format_string_checkerIcNS1_13error_handlerEJNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESA_EEEEEPKT_SF_SF_OT0_]+0x1e6): more undefined references to `fmt::v9::detail::throw_format_error(char const*)' follow
/usr/bin/ld: ../core/librstudio-core.a(LibClang.cpp.o): in function `rstudio::core::libclang::LibClang::tryLoad(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)':
LibClang.cpp:(.text+0x6d9e): undefined reference to `fmt::v9::vformat[abi:cxx11](fmt::v9::basic_string_view<char>, fmt::v9::basic_format_args<fmt::v9::basic_format_context<fmt::v9::appender, char> >)'
/usr/bin/ld: ../r/librstudio-r.a(RSexp.cpp.o): in function `rstudio::r::sexp::findVar(SEXPREC*, SEXPREC*)':
RSexp.cpp:(.text+0xbcd9): undefined reference to `fmt::v9::vformat[abi:cxx11](fmt::v9::basic_string_view<char>, fmt::v9::basic_format_args<fmt::v9::basic_format_context<fmt::v9::appender, char> >)'
/usr/bin/ld: RSexp.cpp:(.text+0xbd5e): undefined reference to `fmt::v9::detail::throw_format_error(char const*)'
/usr/bin/ld: ../r/librstudio-r.a(RSexp.cpp.o): in function `char const* fmt::v9::detail::parse_replacement_field<char, fmt::v9::detail::format_string_checker<char, fmt::v9::detail::error_handler, char const*>&>(char const*, char const*, fmt::v9::detail::format_string_checker<char, fmt::v9::detail::error_handler, char const*>&)':
RSexp.cpp:(.text._ZN3fmt2v96detail23parse_replacement_fieldIcRNS1_21format_string_checkerIcNS1_13error_handlerEJPKcEEEEEPKT_SB_SB_OT0_[_ZN3fmt2v96detail23parse_replacement_fieldIcRNS1_21format_string_checkerIcNS1_13error_handlerEJPKcEEEEEPKT_SB_SB_OT0_]+0x13e): undefined reference to `fmt::v9::detail::throw_format_error(char const*)'
/usr/bin/ld: RSexp.cpp:(.text._ZN3fmt2v96detail23parse_replacement_fieldIcRNS1_21format_string_checkerIcNS1_13error_handlerEJPKcEEEEEPKT_SB_SB_OT0_[_ZN3fmt2v96detail23parse_replacement_fieldIcRNS1_21format_string_checkerIcNS1_13error_handlerEJPKcEEEEEPKT_SB_SB_OT0_]+0x199): undefined reference to `fmt::v9::detail::throw_format_error(char const*)'
/usr/bin/ld: RSexp.cpp:(.text._ZN3fmt2v96detail23parse_replacement_fieldIcRNS1_21format_string_checkerIcNS1_13error_handlerEJPKcEEEEEPKT_SB_SB_OT0_[_ZN3fmt2v96detail23parse_replacement_fieldIcRNS1_21format_string_checkerIcNS1_13error_handlerEJPKcEEEEEPKT_SB_SB_OT0_]+0x1c9): undefined reference to `fmt::v9::detail::throw_format_error(char const*)'
/usr/bin/ld: RSexp.cpp:(.text._ZN3fmt2v96detail23parse_replacement_fieldIcRNS1_21format_string_checkerIcNS1_13error_handlerEJPKcEEEEEPKT_SB_SB_OT0_[_ZN3fmt2v96detail23parse_replacement_fieldIcRNS1_21format_string_checkerIcNS1_13error_handlerEJPKcEEEEEPKT_SB_SB_OT0_]+0x1e6): undefined reference to `fmt::v9::detail::throw_format_error(char const*)'
/usr/bin/ld: ../r/librstudio-r.a(RSexp.cpp.o):RSexp.cpp:(.text._ZN3fmt2v96detail23parse_replacement_fieldIcRNS1_21format_string_checkerIcNS1_13error_handlerEJPKcEEEEEPKT_SB_SB_OT0_[_ZN3fmt2v96detail23parse_replacement_fieldIcRNS1_21format_string_checkerIcNS1_13error_handlerEJPKcEEEEEPKT_SB_SB_OT0_]+0x209): more undefined references to `fmt::v9::detail::throw_format_error(char const*)' follow
/usr/bin/ld: ../r/librstudio-r.a(RUtil.cpp.o): in function `rstudio::r::util::(anonymous namespace)::modifySystemPath(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, bool)':
RUtil.cpp:(.text+0x77d6): undefined reference to `fmt::v9::vformat[abi:cxx11](fmt::v9::basic_string_view<char>, fmt::v9::basic_format_args<fmt::v9::basic_format_context<fmt::v9::appender, char> >)'
/usr/bin/ld: RUtil.cpp:(.text+0x799d): undefined reference to `fmt::v9::vformat[abi:cxx11](fmt::v9::basic_string_view<char>, fmt::v9::basic_format_args<fmt::v9::basic_format_context<fmt::v9::appender, char> >)'
collect2: error: ld returned 1 exit status
make[2]: *** [src/cpp/session/CMakeFiles/rsession.dir/build.make:4164: src/cpp/session/rsession] Error 1
make[1]: *** [CMakeFiles/Makefile2:752: src/cpp/session/CMakeFiles/rsession.dir/all] Error 2
make: *** [Makefile:156: all] Error 2
make: Leaving directory '/var/tmp/pamac-build-laser/rstudio-desktop/src/build'
==> ERROR: A failure occurred in package().
    Aborting...

trap000d commented on 2023-08-28 00:25 (UTC)

@xiota,

Basically, I don't mind to pass the maintenance of rstudio-desktop to somebody else (but only with all those quarto-cli*, which I have to keep too, and which actually take more efforts from me than rstudio).

As for proposed changes. Do you have a corresponding PKGBUILD on a hand so I could take a look an test it?

Basically, I've got the following concerns.

It's a bit unclear to me, how would conflicts with various rstudio-desktop* builds be resolved with provides= only.

According to official Arch documentation, "Packages providing the same item can be installed side-by-side, unless at least one of them uses a conflicts array."

As for quarto - there are several quarto-cli* builds available at AUR. How you're going to choose a particular one?

Also, AUR guidelines make it quite clear - one shouldn't use any third party binaries in source packages:

"Packages that use prebuilt deliverables, when the sources are available, must use the -bin suffix."

So if you add quarto-cli-bin as non-alternative dependency, that will switch the main package name to -bin. But rstudio-desktop-bin is exists and maintained: releases appear up-to-date.

trap000d commented on 2023-08-27 21:38 (UTC) (edited on 2023-08-27 21:47 (UTC) by trap000d)

Hi @kbipinkumar,

rstudio devs have started advising rstudio to be built with electron

Well. As far as I can see it's related to development branch at the moment. Stable releases still support 'Desktop' target (as well as all Docker configurations). If/When they announce such deprecation for the next release, I'll either switch to electron or give up and relax of this package maintaining.

Meanwhile you can experiment with electron version - there is an dev AUR package rstudio-desktop-git - either contact maintainer or adopt.

UPD: Electron is insane. I've just built a test package: archive size is 100M vs 20M (315M vs 90M on disk installed)

-rw-r--r-- 1 trap000d trap000d  20M Aug 24 15:44 rstudio-desktop-2023.06.2.561-1-x86_64.pkg.tar.zst
-rw-r--r-- 1 trap000d trap000d 105M Aug 28 09:37 rstudio-desktop-2023.06.2.561-2-x86_64.pkg.tar.zst

xiota commented on 2023-08-27 21:32 (UTC) (edited on 2023-08-27 21:32 (UTC) by xiota)

@kbipinkumar Shouldn't that be a separate package, rstudio-electron? Or even just rstudio?

kbipinkumar commented on 2023-08-27 18:40 (UTC)

rstudio devs have started advising rstudio to be built with electron

Note, the target "Electron" should be used when building the Desktop IDE.
The "Desktop" target builds the legacy Qt application, is no longer 
supported, and will eventually be removed.

any update on PKGBUILD being updated to reflect the same?

trap000d commented on 2023-06-22 22:32 (UTC)

I don't use this package. It builds on a server, and someone else noticed it doesn't work with quarto. So I'm trying to "fix" the package on the server. If it's too complicated, I'll just leave it alone.

Yes, if it was built without quarto, it couldn't recognize quarto projects.

If the package is built with quarto-cli-bin quarto still optional, or does it become a runtime dependency?

In short, if quarto is detected at configuration time, several extra menus, options and dialogs are added to RStudio binary. Runtime dependency is still optional: you can remove quarto package after, however RStudio will run OK. User may have got an error message in R console if try to open and render quarto project, though.

xiota commented on 2023-06-22 01:24 (UTC) (edited on 2023-06-22 01:26 (UTC) by xiota)

I don't use this package. It builds on a server, and someone else noticed it doesn't work with quarto. So I'm trying to "fix" the package on the server. If it's too complicated, I'll just leave it alone.

If the package is built with quarto-cli-bin is quarto still optional, or does it become a runtime dependency?

Is it possible to build the quarto modules separately, as an addon package??