Opened 5 years ago

Closed 5 years ago

#9635 closed bug (fixed)

"Module imports form a cycle" on OS X

Reported by: dalaing Owned by: dalaing
Priority: normal Milestone:
Component: Compiler Version: 7.9
Keywords: Cc:
Operating System: MacOS X Architecture: Unknown/Multiple
Type of failure: Building GHC failed Test Case:
Blocked By: Blocking:
Related Tickets: Differential Rev(s): Phab:D244
Wiki Page:

Description

I ran into this while building GHC HEAD on OS X:

Module imports form a cycle:
module ‘Control.Applicative’ (libraries/base/Control/Applicative.hs)
imports ‘Control.Arrow’ (libraries/base/Control/Arrow.hs)
which imports ‘Control.Monad.Fix’ (libraries/base/Control/Monad/Fix.hs)
which imports ‘System.IO’ (libraries/base/System/IO.hs)
which imports ‘GHC.IO.FD’ (libraries/base/GHC/IO/FD.hs)
which imports ‘GHC.Conc.IO’ (libraries/base/GHC/Conc/IO.hs)
which imports ‘GHC.Event.Thread’ (libraries/base/GHC/Event/Thread.hs)
which imports ‘GHC.Event.Manager’ (libraries/base/GHC/Event/Manager.hs)
which imports ‘GHC.Event.KQueue’ (libraries/base/dist-install/build/GHC/Event/KQueue.hs)
which imports ‘Control.Monad’ (libraries/base/Control/Monad.hs)
which imports ‘Data.Traversable’ (libraries/base/Data/Traversable.hs)
which imports ‘Control.Applicative’ (libraries/base/Control/Applicative.hs)
make[1]: *** [libraries/base/dist-install/build/.depend-v-dyn.haskell] Error 1

Change History (5)

comment:1 Changed 5 years ago by dalaing

Owner: set to dalaing

comment:2 Changed 5 years ago by dalaing

Differential Rev(s): https://phabricator.haskell.org/D244
Status: newpatch

comment:3 Changed 5 years ago by dalaing

Differential Rev(s): https://phabricator.haskell.org/D244Phab:D244

comment:4 Changed 5 years ago by Austin Seipp <austin@…>

In c23beffd65fd0eb50e7fe3a53a89220252aadd74/ghc:

Fixes cyclic import on OS X(#9635)

Summary: Signed-off-by: Dave Laing <dave.laing.80@gmail.com>

Test Plan: Locally tested

Reviewers: thomie, austin

Reviewed By: thomie, austin

Subscribers: simonmar, ezyang, carter, thomie

Differential Revision: https://phabricator.haskell.org/D244

GHC Trac Issues: #9635

comment:5 Changed 5 years ago by hvr

Resolution: fixed
Status: patchclosed
Note: See TracTickets for help on using tickets.