CMake build configuration succeeds, yet build fails, with errors about missing files:
/usr/local/src/cling-0.9/tools/plugins/example/DemoPlugin.cpp:10:10: fatal error: clang/Frontend/FrontendPluginRegistry.h: No such file or directory
10 | #include "clang/Frontend/FrontendPluginRegistry.h"
and
In file included from /usr/local/src/cling-0.9/lib/Interpreter/ASTTransformer.cpp:10:
/usr/local/src/cling-0.9/lib/Interpreter/ASTTransformer.h:15:10: fatal error: clang/AST/Decl.h: No such file or directory
15 | #include "clang/AST/Decl.h" // for Result(Decl)
etc.
Expected behavior
Build configuration can fail if there's something missing on the system, but if it succeeded - so should the build.
To Reproduce
Install Devuan Chimaera / Debian Bullseye.
Download v0.9 sources
Run CMake
(Install any missing dependencies; on my system they are likely present already)
Run cmake --build /path/to/build/dir
Setup
Cling version: 0.9
Operating system: Devuan Chimaera GNU/Linux
How you obtained Cling: From github.
Additional context
You guys should really offer a Debian APT repository with builds for at least the stable release, hopefully testing and unstable too.
Describe the bug
CMake build configuration succeeds, yet build fails, with errors about missing files:
and
etc.
Expected behavior
Build configuration can fail if there's something missing on the system, but if it succeeded - so should the build.
To Reproduce
cmake --build /path/to/build/dir
Setup
Additional context
You guys should really offer a Debian APT repository with builds for at least the stable release, hopefully testing and unstable too.