-
Notifications
You must be signed in to change notification settings - Fork 40
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
Building fails on Ubuntu 20.04 #69
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
Building fails on ubuntu 20.04 with compiler errors.
A clear and concise description of what the bug is.
To Reproduce
Can easily be reproduced in a docker container:
BuildFROM ubuntu:20.04
ENV DEBIAN_FRONTEND=noninteractive
RUN apt-get update
RUN apt-get install -y
build-essential libboost-system-dev libboost-filesystem-dev libyaml-cpp-dev
libllvm9 llvm-9 llvm-9-dev clang-tools-9 libclang-common-9-dev clang-9 libclang-9-dev
Install latest CMAKE. The one shipped by ubuntu 20.04 is too old.
RUN apt-get install -y software-properties-common lsb-release wget
RUN wget -O - https://apt.kitware.com/keys/kitware-archive-latest.asc 2>/dev/null | gpg --dearmor - | tee /etc/apt/trusted.gpg.d/kitware.gpg >/dev/null
COPY kitware.gpg /etc/apt/trusted.gpg.d/kitware.gpg
RUN apt-add-repository "deb https://apt.kitware.com/ubuntu/ $(lsb_release -cs) main"
RUN apt-get update
RUN apt-get install -y kitware-archive-keyring
RUN rm /etc/apt/trusted.gpg.d/kitware.gpg
RUN apt-get update
RUN apt-get install -y cmake
build hyde
COPY hyde /root/hyde
RUN mkdir /root/hyde/build
RUN ( cd /root/hyde/build && cmake .. && make -j )
RUN cp /root/hyde/build/hyde /usr/local/bin```
Building the above docker image with
docker build . -t foo
will fail with the errors as seen in the build transcript at the bottom:
Expected behavior
I expect the build to pass.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Smartphone (please complete the following information):
Build Transcript
The text was updated successfully, but these errors were encountered: