Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build of v0.9 fails on Debian 11 / Devuan 4 - files missing #218

Open
eyalroz opened this issue Aug 2, 2021 · 0 comments
Open

Build of v0.9 fails on Debian 11 / Devuan 4 - files missing #218

eyalroz opened this issue Aug 2, 2021 · 0 comments
Labels

Comments

@eyalroz
Copy link

eyalroz commented Aug 2, 2021

Describe the bug

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

  1. Install Devuan Chimaera / Debian Bullseye.
  2. Download v0.9 sources
  3. Run CMake
  4. (Install any missing dependencies; on my system they are likely present already)
  5. Run cmake --build /path/to/build/dir

Setup

  1. Cling version: 0.9
  2. Operating system: Devuan Chimaera GNU/Linux
  3. 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.

@eyalroz eyalroz added the bug label Aug 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant