Package Details: xeus-cling 0.15.3-4

Git Clone URL: https://aur.archlinux.org/xeus-cling.git (read-only, click to copy)
Package Base: xeus-cling
Description: A C++ jupyter kernel based on xeus and cling
Upstream URL: https://github.com/jupyter-xeus/xeus-cling
Licenses: BSD-3-Clause
Submitter: sgsaenger
Maintainer: carlosal1015 (kaelingre)
Last Packager: kaelingre
Votes: 4
Popularity: 0.000116
First Submitted: 2020-09-23 16:30 (UTC)
Last Updated: 2024-05-06 12:28 (UTC)

Latest Comments

1 2 3 Next › Last »

carlosal1015 commented on 2024-08-24 17:51 (UTC)

I hope that upstream update and resolve this conflict.

ThePirate42 commented on 2024-08-24 11:55 (UTC)

This package requires explicitly xeus3, but also depends from xeus-zmq, which requires explicitly xeus5.

ThePirate42 commented on 2024-05-15 08:07 (UTC) (edited on 2024-05-15 08:09 (UTC) by ThePirate42)

I get the same error of @carlosal1015, I think it could be caused by cling updating to 1.0

carlosal1015 commented on 2024-05-14 18:41 (UTC)

==> Making package: xeus-cling 0.15.3-4 (Sun May 12 12:10:01 2024)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> WARNING: Using existing $srcdir/ tree
==> Starting build()...
CMake Deprecation Warning at CMakeLists.txt:10 (cmake_minimum_required):
Compatibility with CMake < 3.5 will be removed from a future version of
CMake.
9 
Update the VERSION argument <min> value or use a ...<max> suffix to tell
CMake that the project does not need compatibility with older versions.
9 
9 
-- The C compiler identification is GNU 14.1.1
-- The CXX compiler identification is GNU 14.1.1
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/sbin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/sbin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Building xeus-cling v0.15.3
-- Found nlohmann_json: /usr/share/cmake/nlohmann_json/nlohmann_jsonConfig.cmake (found suitable version "3.11.2", minimum required is "3.2.0")
-- Found LibUUID: /usr/lib/libuuid.so
-- Found OpenSSL: /usr/lib/libcrypto.so (found version "3.3.0")
-- Found ZLIB: /usr/lib/libz.so (found version "1.3.1")
-- Found LibXml2: /usr/lib/libxml2.so (found version "2.12.6")
-- Performing Test HAS_CPP17_FLAG
-- Performing Test HAS_CPP17_FLAG - Success
-- Configuring done (0.6s)
-- Generating done (0.0s)
-- Build files have been written to: /tmp/makepkg/xeus-cling/src/build
[ 18%] Building CXX object CMakeFiles/xeus-cling.dir/src/xinput.cpp.o
[ 18%] Building CXX object CMakeFiles/xeus-cling.dir/src/xinterpreter.cpp.o
[ 36%] Building CXX object CMakeFiles/xeus-cling.dir/src/xparser.cpp.o
[ 36%] Building CXX object CMakeFiles/xeus-cling.dir/src/xoptions.cpp.o
[ 45%] Building CXX object CMakeFiles/xeus-cling.dir/src/xholder_cling.cpp.o
[ 54%] Building CXX object CMakeFiles/xeus-cling.dir/src/xmagics/executable.cpp.o
[ 63%] Building CXX object CMakeFiles/xeus-cling.dir/src/xmagics/execution.cpp.o
[ 72%] Building CXX object CMakeFiles/xeus-cling.dir/src/xmagics/os.cpp.o
In file included from /tmp/makepkg/xeus-cling/src/xeus-cling-0.15.3/src/xinterpreter.cpp:32:
/tmp/makepkg/xeus-cling/src/xeus-cling-0.15.3/src/xmime_internal.hpp: In function ‘nlohmann::json_abi_v3_11_2::json xcpp::mime_repr(const cling::Value&)’:
/tmp/makepkg/xeus-cling/src/xeus-cling-0.15.3/src/xmime_internal.hpp:207:42: error: cannot convert ‘llvm::StringRef’ to ‘const std::string&’ {aka ‘const std::__cxx11::basic_string<char>&’}
   207 |             interpreter->process(code.str(), &mimeReprV);
       |                                  ~~~~~~~~^~
       |                                          |
       |                                          llvm::StringRef
 In file included from /tmp/makepkg/xeus-cling/src/xeus-cling-0.15.3/include/xeus-cling/xinterpreter.hpp:17,
                  from /tmp/makepkg/xeus-cling/src/xeus-cling-0.15.3/src/xinterpreter.cpp:24:
 /opt/cling/include/cling/Interpreter/Interpreter.h:528:50: note:   initializing argument 1 of ‘cling::Interpreter::CompilationResult cling::Interpreter::process(const std::string&, cling::Value*, cling::Transaction**, bool)’
   528 |     CompilationResult process(const std::string& input, Value* V = nullptr,
       |                               ~~~~~~~~~~~~~~~~~~~^~~~~
 /tmp/makepkg/xeus-cling/src/xeus-cling-0.15.3/src/xmagics/execution.cpp: In member function ‘void xcpp::timeit::execute(std::string&, std::string&)’:
 /tmp/makepkg/xeus-cling/src/xeus-cling-0.15.3/src/xmagics/execution.cpp:151:32: error: ‘class cling::Value’ has no member named ‘simplisticCastAs’
   151 |                     if (output.simplisticCastAs<double>() >= 0.2)
       |                                ^~~~~~~~~~~~~~~~
 /tmp/makepkg/xeus-cling/src/xeus-cling-0.15.3/src/xmagics/execution.cpp:151:49: error: expected primary-expression before ‘double’
   151 |                     if (output.simplisticCastAs<double>() >= 0.2)
       |                                                 ^~~~~~
 /tmp/makepkg/xeus-cling/src/xeus-cling-0.15.3/src/xmagics/execution.cpp:151:49: error: expected ‘)’ before ‘double’
   151 |                     if (output.simplisticCastAs<double>() >= 0.2)
       |                        ~                        ^~~~~~
       |                                                 )
 /tmp/makepkg/xeus-cling/src/xeus-cling-0.15.3/src/xmagics/execution.cpp:165:43: error: ‘class cling::Value’ has no member named ‘simplisticCastAs’
   165 |                 all_runs.push_back(output.simplisticCastAs<double>() / number);
       |                                           ^~~~~~~~~~~~~~~~
 /tmp/makepkg/xeus-cling/src/xeus-cling-0.15.3/src/xmagics/execution.cpp:165:60: error: expected primary-expression before ‘double’
   165 |                 all_runs.push_back(output.simplisticCastAs<double>() / number);
       |                                                            ^~~~~~
 make[2]: *** [CMakeFiles/xeus-cling.dir/build.make:160: CMakeFiles/xeus-cling.dir/src/xmagics/execution.cpp.o] Error 1
 make[2]: *** Waiting for unfinished jobs....
 make[2]: *** [CMakeFiles/xeus-cling.dir/build.make:90: CMakeFiles/xeus-cling.dir/src/xinterpreter.cpp.o] Error 1
 /tmp/makepkg/xeus-cling/src/xeus-cling-0.15.3/src/xmagics/executable.cpp: In member function ‘bool xcpp::executable::generate_obj(std::string&, bool)’:
 /tmp/makepkg/xeus-cling/src/xeus-cling-0.15.3/src/xmagics/executable.cpp:183:47: error: ‘const class clang::TargetInfo’ has no member named ‘getDataLayout’; did you mean ‘resetDataLayout’?
   183 |         auto DataLayout = AST.getTargetInfo().getDataLayout();
       |                                               ^~~~~~~~~~~~~
       |                                               resetDataLayout
 make[2]: *** [CMakeFiles/xeus-cling.dir/build.make:146: CMakeFiles/xeus-cling.dir/src/xmagics/executable.cpp.o] Error 1
 make[1]: *** [CMakeFiles/Makefile2:220: CMakeFiles/xeus-cling.dir/all] Error 2
 make: *** [Makefile:136: all] Error 2
 ==> ERROR: A failure occurred in build().
     Aborting...
  -> error making: xeus-cling-exit status 4
  -> Failed to install the following packages. Manual intervention is required:
 xeus-cling - exit status 4
      |                                               ^~~~~~~~~~~~~
      |                                               resetDataLayout
make[2]: *** [CMakeFiles/xeus-cling.dir/build.make:146: CMakeFiles/xeus-cling.dir/src/xmagics/executable.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:220: CMakeFiles/xeus-cling.dir/all] Error 2
make: *** [Makefile:136: all] Error 2
==> ERROR: A failure occurred in build().
    Aborting...
 -> error making: xeus-cling-exit status 4
 -> Failed to install the following packages. Manual intervention is required:
xeus-cling - exit status 4

kaelingre commented on 2024-05-06 10:35 (UTC) (edited on 2024-05-06 12:22 (UTC) by kaelingre)

xeus-cling 0.15.3 is not compatible with the new xeus version 4.0.x, see https://github.com/jupyter-xeus/xeus-cling/issues/523 . One has to either wait for the authors to also upgrade xeus-cling or build against an older version of xeus.

Edit: I made a legacy package for xeus-3.2.0 called xeus3. It replaces xeus and allows xeus-cling to be built.

lahwaacz commented on 2024-04-18 06:59 (UTC)

Building xeus-cling 0.15.3-3 fails:

/build/xeus-cling/src/xeus-cling-0.15.3/src/xinput.cpp: In lambda function:
/build/xeus-cling/src/xeus-cling-0.15.3/src/xinput.cpp:36:60: error: could not convert ‘(const char*)""’ from ‘const char*’ to ‘xeus::xrequest_context’
   36 |                       value = xeus::blocking_input_request("", false);
      |                                                            ^~
      |                                                            |
      |                                                            const char*
make[2]: *** [CMakeFiles/xeus-cling.dir/build.make:76: CMakeFiles/xeus-cling.dir/src/xinput.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
In file included from /build/xeus-cling/src/xeus-cling-0.15.3/src/xinterpreter.cpp:24:
/build/xeus-cling/src/xeus-cling-0.15.3/include/xeus-cling/xinterpreter.hpp:46:18: error: ‘nlohmann::json_abi_v3_11_2::json xcpp::interpreter::execute_request_impl(int, const std::string&, bool, bool, nlohmann::json_abi_v3_11_2::json, bool)’ marked ‘override’, but does not override
   46 |         nl::json execute_request_impl(
      |                  ^~~~~~~~~~~~~~~~~~~~
/build/xeus-cling/src/xeus-cling-0.15.3/src/xinterpreter.cpp: In member function ‘nlohmann::json_abi_v3_11_2::json xcpp::interpreter::execute_request_impl(int, const std::string&, bool, bool, nlohmann::json_abi_v3_11_2::json, bool)’:
/build/xeus-cling/src/xeus-cling-0.15.3/src/xinterpreter.cpp:186:40: error: no matching function for call to ‘xcpp::interpreter::publish_execution_error(std::string&, std::string&, std::vector<std::__cxx11::basic_string<char> >&)’
  186 |                 publish_execution_error(ename, evalue, traceback);
      |                 ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /build/xeus-cling/src/xeus-cling-0.15.3/include/xeus-cling/xinterpreter.hpp:22:
/usr/include/xeus/xinterpreter.hpp:79:14: note: candidate: ‘void xeus::xinterpreter::publish_execution_error(xeus::xrequest_context, const std::string&, const std::string&, const std::vector<std::__cxx11::basic_string<char> >&)’
   79 |         void publish_execution_error(xrequest_context,
      |              ^~~~~~~~~~~~~~~~~~~~~~~
/usr/include/xeus/xinterpreter.hpp:79:14: note:   candidate expects 4 arguments, 3 provided
/build/xeus-cling/src/xeus-cling-0.15.3/src/xinterpreter.cpp:202:41: error: no matching function for call to ‘xcpp::interpreter::publish_execution_result(int&, std::remove_reference<nlohmann::json_abi_v3_11_2::basic_json<>&>::type, nlohmann::json_abi_v3_11_2::basic_json<>)’
  202 |                 publish_execution_result(execution_counter, std::move(pub_data), nl::json::object());
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/xeus/xinterpreter.hpp:78:14: note: candidate: ‘void xeus::xinterpreter::publish_execution_result(xeus::xrequest_context, int, nlohmann::json_abi_v3_11_2::json, nlohmann::json_abi_v3_11_2::json)’
   78 |         void publish_execution_result(xrequest_context, int execution_count, nl::json data, nl::json metadata);
      |              ^~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/xeus/xinterpreter.hpp:78:14: note:   candidate expects 4 arguments, 3 provided
/build/xeus-cling/src/xeus-cling-0.15.3/src/xinterpreter.cpp: In member function ‘void xcpp::interpreter::publish_stdout(const std::string&)’:
/build/xeus-cling/src/xeus-cling-0.15.3/src/xinterpreter.cpp:424:23: error: no matching function for call to ‘xcpp::interpreter::publish_stream(const char [7], const std::string&)’
  424 |         publish_stream("stdout", s);
      |         ~~~~~~~~~~~~~~^~~~~~~~~~~~~
/usr/include/xeus/xinterpreter.hpp:74:14: note: candidate: ‘void xeus::xinterpreter::publish_stream(xeus::xrequest_context, const std::string&, const std::string&)’
   74 |         void publish_stream(xrequest_context, const std::string& name, const std::string& text);
      |              ^~~~~~~~~~~~~~
/usr/include/xeus/xinterpreter.hpp:74:14: note:   candidate expects 3 arguments, 2 provided
/build/xeus-cling/src/xeus-cling-0.15.3/src/xinterpreter.cpp: In member function ‘void xcpp::interpreter::publish_stderr(const std::string&)’:
/build/xeus-cling/src/xeus-cling-0.15.3/src/xinterpreter.cpp:429:23: error: no matching function for call to ‘xcpp::interpreter::publish_stream(const char [7], const std::string&)’
  429 |         publish_stream("stderr", s);
      |         ~~~~~~~~~~~~~~^~~~~~~~~~~~~
/usr/include/xeus/xinterpreter.hpp:74:14: note: candidate: ‘void xeus::xinterpreter::publish_stream(xeus::xrequest_context, const std::string&, const std::string&)’
   74 |         void publish_stream(xrequest_context, const std::string& name, const std::string& text);
      |              ^~~~~~~~~~~~~~
/usr/include/xeus/xinterpreter.hpp:74:14: note:   candidate expects 3 arguments, 2 provided
make[2]: *** [CMakeFiles/xeus-cling.dir/build.make:90: CMakeFiles/xeus-cling.dir/src/xinterpreter.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:166: CMakeFiles/xeus-cling.dir/all] Error 2
make: *** [Makefile:136: all] Error 2

JoelSjogren commented on 2023-12-12 15:14 (UTC)

Is this because the package is outdated?

error: use of deleted function

carlosal1015 commented on 2023-08-06 23:32 (UTC) (edited on 2023-08-08 17:05 (UTC) by carlosal1015)

Hi there, anybody knows if this issue is closed in conda packages but open in AUR?

Thanks in advance.

Edited: I can confirm, this behaviour is not present in https://mybinder.org/v2/gh/jupyter-xeus/xeus-cling/stable?filepath=notebooks/xcpp.ipynb, but yes in xeus-cling from AUR.

adamant.pwn commented on 2023-07-21 22:07 (UTC)

jupyter-widgetsnbextension is not available anymore. Shouldn't the dependency be satisfied with ipywidgets though?