secure-software-engineering / phasar

A LLVM-based static analysis framework.
Other
942 stars 142 forks source link

Phasar conflicts with the pre-installed nlohmann-json during the run-time #715

Open yurivict opened 7 months ago

yurivict commented 7 months ago

Bug description

Describe here the issue that you are experiencing.

Steps to reproduce

Install the built package.

Actual result:

$ sudo pkg add -A /usr/local/poudriere/data/packages/14amd64-local-workstation/.real_1713110260/All/phasar-2403.pkg
Installing phasar-2403...
pkg: phasar-2403 conflicts with nlohmann-json-3.11.3 (installs files into the same place).  Problematic file: /usr/local/share/cmake/nlohmann_json/nlohmann_jsonConfig.cmake

Failed to install the following 1 package(s): /usr/local/poudriere/data/packages/14amd64-local-workstation/.real_1713110260/All/phasar-2403.pkg

Expected result: Describe here what should happen after you run the steps above (i.e. what would be the correct behavior)

Context (Environment)

Operating System:

Build Type:

Possible solution

Use the pre-installed nlohmann-json.

fabianbs96 commented 7 months ago

Hi @yurivict, we are aware that there are problems with installing dependencies, especially with nlohmann::json. We also have fixed some of these issues recently and merged the fixes into the development branch. Which prebuilt package are you using?

yurivict commented 7 months ago

I am using the package built by the FreeBSD port devel/phasar, version 2403.

fabianbs96 commented 7 months ago

We created the fix after releasing v2403. Maybe the maintainers of devel/phasar can incorporate it as hotfix