Skip to content

Parallel builds don't work: Cabal (library) bug on configure? #84

Closed

Description

@snoyberg

When I have parallel builds on, the runhaskell Setup.hs build steps will sporadically fail about "need to configure", but if I set the number of Shake flags to 1, it works. We may want to conditionally set threads to 1 on Windows for an initial release, and then debug what's happening.

Activity

  1. self-assigned this
    on May 27, 2015
  2. added this to the Initial release milestone on May 27, 2015
  3. added a commit that references this issue on May 27, 2015
  4. snoyberg commented on May 27, 2015

    @snoyberg
    ContributorAuthor

    Initial hack done, deferring to later milestone.

  5. snoyberg commented on May 28, 2015

    @snoyberg
    ContributorAuthor

    This now appears to be occurring on Linux as well

  6. added a commit that references this issue on May 28, 2015
  7. snoyberg commented on May 28, 2015

    @snoyberg
    ContributorAuthor

    I suspect that this is a bug in the Cabal library. However, b511d70 introduces a resilient workaround. I'm going to move this to a later milestone for now, but may end up closing it completely.

  8. modified the milestones: , Initial release on May 28, 2015
  9. removed their assignment
    on May 28, 2015
  10. snoyberg commented on May 29, 2015

    @snoyberg
    ContributorAuthor

    The workaround is working reliably, and is documented as a hack in the codebase. Closing the issue, we can always research further in the future if desired.

  11. chrisdone commented on May 29, 2015

    @chrisdone
    Member

    So something to do with configuring indeed has a global dependency. Good to know...

  12. snoyberg commented on May 29, 2015

    @snoyberg
    ContributorAuthor

    I bet if we crawled through the cabal-install code base long enough we'd find that they'd implemented the same hack somewhere.

  13. mpilgrem commented on Dec 5, 2023

    @mpilgrem
    Member

    It seems that, after eight years, something may have happened somewhere to cure the original problem that the workaround fixed. See #6361.

  14. changed the title [-]Parallel builds don't seem to work on Windows[/-] [+]Parallel builds don't work: Cabal (library) bug on configure?[/+] on Dec 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions