Skip to content

Failed bulding Dockerfile infer 1.2.0 #1894

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

Open
4 tasks done
ArjanSeijs opened this issue Apr 2, 2025 · 0 comments
Open
4 tasks done

Failed bulding Dockerfile infer 1.2.0 #1894

ArjanSeijs opened this issue Apr 2, 2025 · 0 comments

Comments

@ArjanSeijs
Copy link

I have been trying to get the build the dockerfile for the latest version of infer located here https://github.com/facebook/infer/blob/main/docker/

I have installed the 1.1.0 dockerfile successfully but building the master dockerfile gives me an error that rsync is missing:
https://gist.github.com/ArjanSeijs/58b50d037903c5a645c907c6787bf48a

I have tried to fix this by adding rsync to the installation in the dockerfile but this gives me an error that CLANG src is missing and that prepare_clang_src.sh needs to be executed:
https://gist.github.com/ArjanSeijs/5dc2c494157414e7b64229c20cd352cc
Trying to add prepare_clang_src.sh again gives me an error that a newer cmake version (3.20.0) is required, however trying to install version 3.20.0 gives that it is not found.
https://gist.github.com/ArjanSeijs/35fa807c474cc172af87a9c56e6d1133

Is there a updated dockerfile somehwere or are there some changes I can do to make this work.
I assume that maybe using some older version of the packages could fix the problem as the dockerfile is quite outdated but I have no idea where I would need to start.

Please include the following information:

  • The version of infer from infer --version: Infer 1.2.0 / master
  • Your operating system and version, for example "Debian 9", "MacOS High Sierra", whether you are using Docker, etc: Linux Mint 22.1 Cinnamon using Docker version 28.0.4, build b8034c0
  • Which command you ran, for example infer -- make: docker build -t infer .
  • The full output in a paste, for instance a gist.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant