Skip to content

Stack fails to build "mutually recursive" packages #2583

@mitchellwrosen

Description

@mitchellwrosen

General summary/comments (optional)

I have a two-package project, where the library in package two depends on the library in package one.

However, there's also an executable component in package one that depends on library two. For some reason, plan construction fails, even when I try to build single components.

Steps to reproduce

  1. git clone git@github.com:mitchellwrosen/stack-issue-1.git
  2. stack build

Expected

Build succeeds

Actual

Build fails with:

While constructing the build plan, the following exceptions were encountered:



Plan construction failed.

Stack version

Version 1.2.1, Git revision 8ebadf3 (dirty) (4086 commits) x86_64 hpack-0.14.1

Method of installation

Built from source

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions