Here is reproducer on github actions:
https://github.com/junghans/ubuntu_clang/actions/runs/23263698174/job/67638734292
with a slightly more clear Dockerfile:
ARG TAG=devel
FROM ubuntu:${TAG}
ENV DEBIAN_FRONTEND=noninteractive
RUN apt-get update && \
apt-get upgrade -y && \
apt-get install -y cmake clang libstdc++-13-dev
RUN printf "#include <iostream>\n int main() { std::cout << "Hello, CMake!" <<
std::endl; return 0; }" > main.cpp
RUN printf "cmake_minimum_required(VERSION 3.12)\nproject(HelloWorld VERSION
1.0 LANGUAGES CXX)\nadd_executable(HelloWorld main.cpp)" > CMakeLists.txt
RUN cmake -B build -DCMAKE_CXX_COMPILER=clang++
RUN apt-get install -y libboost-all-dev
RUN cmake -B build2 -DCMAKE_CXX_COMPILER=clang++
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2144697
Title:
clang++ is not able to compile a simple test program
To manage notifications about this bug go to:
https://bugs.launchpad.net/votca/+bug/2144697/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs