Skip to content

Unable to build -- apparent circular dependency #60

@byu9

Description

@byu9

Hi,
There is an apparent circular dependency during build

  • gnatcoll-core depends on gpr
  • gpr depends on gnatcoll_iconv, gnatcoll_gmp, langkit_support, and libadalang
  • libadalang depends on gnatcoll-core.

The details are as follows

When attempting to build gnatcoll-core on Debian Linux with gnat 10.2.1 and gprbuild Pro 18.0w, dependency is not met on gpr

# ~/Downloads/gnatcoll-core-20.2
make

...
gnatcoll.gpr:24:06: imported project file "gpr" not found
gprbuild: "gnatcoll.gpr" processing failed
make: *** [Makefile:128: build-static] Error 4

However, when building gpr, a dependency is not met on gnatcoll_iconv, gnatcoll_gmp, langkit_support, and libadalang.

# ~/Downloads/gpr-20.2
make
...
gpr2.gpr:19:06: imported project file "gnatcoll_iconv" not found
gpr2.gpr:20:06: imported project file "gnatcoll_gmp" not found
gpr2.gpr:21:06: imported project file "langkit_support" not found
gpr2.gpr:22:06: imported project file "libadalang" not found
gprbuild: "gpr2.gpr" processing failed
make: *** [Makefile:104: build-static] Error 4

However, when building libadalang, a dependency is not met on gnatcoll-core

In ~/Downloads/libadalang-20.2/user_manual/building.rst:

  • Build and install the GNATcoll library (core, plus Iconv and GMP bindings).
    You can find its source release on AdaCore's website <https://www.adacore.com/download>_ or directly on GitHub's repositories for
    gnatcoll-core <https://github.com/AdaCore/gnatcoll-core>_ and
    gnatcoll-bindings <https://github.com/AdaCore/gnatcoll-bindings>_. Just
    make sure you checkout the gpl-20** branch corresponding to your GNAT
    Community release.

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