Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in / Register
  • GHC GHC
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 5,347
    • Issues 5,347
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
  • Merge requests 567
    • Merge requests 567
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Deployments
    • Deployments
    • Releases
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Glasgow Haskell CompilerGlasgow Haskell Compiler
  • GHCGHC
  • Issues
  • #19968
Closed
Open
Issue created Jun 09, 2021 by Hiromi Ishii@konnReporter

GHC 8.10.5 on Intel Mac cannot build the `network` package

Summary

With macOS Big Sur on Intel Mac, GHC 8.10.5 fails to build the network package. This bug turned out when I tried to build HLS and my personal projects with GHC 8.10.5, and also seems preventing HLS from building on macOS with CI. I'm not sure if this must be reported here or to the network package, but the package successfully buids with older versions of GHC 8.10.x, so I assume this is GHC's bug.

Steps to reproduce

Try to build the network package with GHC 8.10.5 on macOS Big Sur on Intel Mac. For example:

$ stack build --resolver ghc-8.10.5 network

Then GHC gets stuck during the configuration phase; in particular it stops to make any progress after showing "preprocessing...":

network> Preprocessing library for network-3.1.2.1..

Expected behavior

The package must be built successfully, or, at least, some error must be reported.

Environment

  • GHC version used: 8.10.5

Optional:

  • Operating System: macOS BigSur 11.4
  • System Architecture: Intel Core i7
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking