Package Details: cling 0.9-1

Git Clone URL: https://aur.archlinux.org/cling.git (read-only, click to copy)
Package Base: cling
Description: Interactive C++ interpreter, built on the top of LLVM and Clang libraries
Upstream URL: https://root.cern.ch/cling
Licenses: custom:Cling Release License
Conflicts: cling
Provides: cling
Submitter: archibald869
Maintainer: archibald869
Last Packager: archibald869
Votes: 9
Popularity: 0.31
First Submitted: 2019-08-28 11:45
Last Updated: 2021-05-14 19:57

Dependencies (6)

Required by (1)

Sources (3)

Latest Comments

1 2 Next › Last »

chn commented on 2021-05-15 02:23

Patch needed or the package() will fail.

in prepare():

cd $srcdir/llvm
git apply ../../001-add-limit-header.patch

And 001-add-limit-header.patch:

diff --git a/utils/benchmark/src/benchmark_register.h b/utils/benchmark/src/benchmark_register.h
index 0705e219f2f..4caa5ad4da0 100644
--- a/utils/benchmark/src/benchmark_register.h
+++ b/utils/benchmark/src/benchmark_register.h
@@ -1,6 +1,7 @@
 #ifndef BENCHMARK_REGISTER_H
 #define BENCHMARK_REGISTER_H

+#include <limits>
 #include <vector>

 #include "check.h"

archibald869 commented on 2020-10-21 21:05

Thanks for the hint! I added python2 as make dependency.

PedroHLC commented on 2020-10-20 19:20

When building in a clean chroot:

CMake Error at CMakeLists.txt:606 (message):
  Unable to find Python interpreter, required for builds and testing.



  Please install Python or specify the PYTHON_EXECUTABLE CMake variable.


-- Configuring incomplete, errors occurred!

archibald869 commented on 2020-09-14 20:14

I modified the package to get rid of the warnings concerning the empty directory and the non-FHS man page. Now I get the following output of namcap cling-0.6-5-x86_64.pkg.tar.xz:

cling E: ELF files outside of a valid path ('opt/').
cling W: Referenced library 'python' is an uninstalled dependency
cling W: Referenced library 'perl' is an uninstalled dependency
cling W: Referenced library 'python2.7' is an uninstalled dependency
cling W: Referenced library 'libclang.so.5' is an uninstalled dependency
cling W: Unused shared library '/tmp/../lib/libm.so.6' by file ('opt/cling/bin/clang-format')
cling W: Unused shared library '/tmp/../lib/libm.so.6' by file ('opt/cling/bin/clang-import-test')
cling W: Unused shared library '/tmp/../lib/libm.so.6' by file ('opt/cling/bin/clang-offload-bundler')
cling W: Unused shared library '/tmp/../lib/libm.so.6' by file ('opt/cling/bin/clang-rename')
cling W: Unused shared library '/tmp/../lib/libm.so.6' by file ('opt/cling/bin/llvm-tblgen')

I think this is okay.

Coelacanthus commented on 2020-08-29 12:50

I found some warning with namcap, maybe some can be fixed... for example, dependency python and position of man pages

cling W: Directory (opt/cling/include/cling/cint) is empty
cling W: Potential non-FHS man page (opt/cling/share/man/man1/scan-build.1) found.
cling W: Referenced library 'python2.7' is an uninstalled dependency
cling W: Referenced library 'libclang.so.5' is an uninstalled dependency
cling W: Unused shared library '/tmp/../lib/libm.so.6' by file ('opt/cling/bin/clang-format')
cling W: Unused shared library '/tmp/../lib/libm.so.6' by file ('opt/cling/bin/clang-import-test')
cling W: Unused shared library '/tmp/../lib/libm.so.6' by file ('opt/cling/bin/clang-offload-bundler')
cling W: Unused shared library '/tmp/../lib/libm.so.6' by file ('opt/cling/bin/clang-rename')
cling W: Unused shared library '/tmp/../lib/libgcc_s.so.1' by file ('opt/cling/bin/clang-rename')
cling W: Unused shared library '/tmp/../lib/libm.so.6' by file ('opt/cling/bin/llvm-tblgen')
cling W: Unused shared library '/tmp/../lib/libgcc_s.so.1' by file ('opt/cling/lib/libLTO.so.5.0.0')
cling E: Dependency python detected and not included (programs ['python'] needed in scripts ['opt/cling/bin/git-clang-format', 'opt/cling/share/cling/Jupyter/kernel/clingkernel.py', 'opt/cling/share/clang/clang-format-diff.py', 'opt/cling/share/cling/Jupyter/kernel/setup.py', 'opt/cling/bin/scan-view', 'opt/cling/share/scan-view/Reporter.py', 'opt/cling/share/scan-view/startfile.py', 'opt/cling/share/cling/Jupyter/kernel/scripts/jupyter-cling-kernel'])

Coelacanthus commented on 2020-08-29 12:45

Oh, I did not express it clearly, python should be a make dependency

archibald869 commented on 2020-08-27 20:14

Python2 is already specified as optional dependency.

Coelacanthus commented on 2020-08-27 18:27

The package has a missing dependency: 'python'. Please add it :)

archibald869 commented on 2020-06-12 20:35

I updated the package. Thanks for the hint!

mukundan314 commented on 2020-06-12 08:17

The package is missing 'cmake' as a make dependency. Please add it :)