Skip to content

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

@yurivict

Description

@yurivict
  • I have searched open and closed issues for duplicates
  • I made sure that I am not using an old project version (DO: pull PhASAR, update git submodules, rebuild the project and check if the bug is still there)

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)

  • phasar: v2403
  • googletest: e2239ee
  • json: bc889af
  • json-schema-validator 491ac44

Operating System:

  • Linux
  • FreeBSD 14.0
  • Windows
  • macOS

Build Type:

  • cmake
  • bootstrap.sh
  • custom build

Possible solution

Use the pre-installed nlohmann-json.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions