Package Details: cling-jupyter-dev v0.7-2

Git Clone URL: (read-only, click to copy)
Package Base: cling-dev
Description: Interactive C++ interpreter (includes custom clang and llvm for dev).
Upstream URL:
Licenses: custom:Cling Release License
Submitter: sgsaenger
Maintainer: ralphptorres
Last Packager: sgsaenger
Votes: 0
Popularity: 0.000000
First Submitted: 2020-09-23 16:28 (UTC)
Last Updated: 2020-11-20 15:06 (UTC)

Dependencies (8)

Required by (0)

Sources (3)

Latest Comments

c60cb859 commented on 2020-11-20 15:42 (UTC)

I am getting the same error

    g unsigned int>’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
      309 |     memcpy(this->end(), &Elt, sizeof(T));
          |     ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    In file included from /usr/include/c++/10.2.0/utility:70,
                     from /home/theis/.cache/yay/cling-dev/src/llvm/include/llvm/Support/type_traits.h:19,
                     from /home/theis/.cache/yay/cling-dev/src/llvm/include/llvm/Support/Casting.h:19,
                     from /home/theis/.cache/yay/cling-dev/src/llvm/tools/clang/include/clang/Basic/LLVM.h:22,
                     from /home/theis/.cache/yay/cling-dev/src/llvm/tools/clang/include/clang/AST/APValue.h:17,
                     from /home/theis/.cache/yay/cling-dev/src/llvm/tools/clang/include/clang/AST/Decl.h:17,
                     from /home/theis/.cache/yay/cling-dev/src/llvm/tools/clang/include/clang/AST/ASTTypeTraits.h:20,
                     from /home/theis/.cache/yay/cling-dev/src/llvm/tools/clang/include/clang/AST/ASTContext.h:18,
                     from /home/theis/.cache/yay/cling-dev/src/llvm/tools/clang/lib/Analysis/UninitializedValues.cpp:14:
    /usr/include/c++/10.2.0/bits/stl_pair.h:211:12: note: ‘struct std::pair<void*, long unsigned int>’ declared here
      211 |     struct pair
          |            ^~~~
    [ 38%] Linking CXX static library ../../../../lib/libclangAnalysis.a
    [ 38%] Built target clangAnalysis
    make[1]: *** [CMakeFiles/Makefile2:14299: tools/clang/lib/Sema/CMakeFiles/clangSema.dir/all] Error 2
    make: *** [Makefile:171: all] Error 2
    ==> ERROR: A failure occurred in build().
    error making: cling-dev

sgsaenger commented on 2020-11-20 15:07 (UTC)

@c60cb859 I pinned clang to the version-specific commit and it builds again for me, would you mind trying again?

@ftschindler Could you elaborate on your errors and which of your changes relate to them?

ftschindler commented on 2020-11-20 10:40 (UTC)

@sgsaenger When using clang from /opt/cling, I get compile and linker errors related to non-matching stdc and/or stdc++ libs and includes. I could resolve those and make the llvm/clang from /opt/cling usable for me by incorporating ideas/changes from the llvm and llvm-libs arch packages. If you are interested, the resulting PKGBUILD can be found here.

c60cb859 commented on 2020-11-09 15:52 (UTC) (edited on 2020-11-09 15:52 (UTC) by c60cb859)

changing the source, as you suggest does not work for me

ftschindler commented on 2020-11-09 15:18 (UTC)

I am also getting an error, most likely due to an update to the cling-patches branch in clang (since this PKGBUILD tracks branches, rather then revisions). It might make sense to fix known working versions of llvm and clang in the PKGBUILD, as this is not a VCS package. I.e., setting the following in the PKGBUILD works for me:


c60cb859 commented on 2020-11-09 10:42 (UTC) (edited on 2020-11-09 10:42 (UTC) by c60cb859)

I am getting an error when building this. It just says: A failure occurred in build().