
#7744: Can't install conduit via cabal-install ---------------------------------------+---------------------------------- Reporter: guest | Owner: Type: bug | Status: new Priority: normal | Milestone: 7.8.1 Component: Compiler | Version: 7.6.3 Resolution: | Keywords: Operating System: MacOS X | Architecture: x86_64 (amd64) Type of failure: Compile-time crash | Difficulty: Unknown Test Case: | Blocked By: Blocking: | Related Tickets: ---------------------------------------+---------------------------------- Changes (by yezariaely): * cc: rj@… (added) * resolution: worksforme => * status: closed => new * os: Linux => MacOS X * version: 7.6.2 => 7.6.3 Comment: It still crashes for me. Reason seems to be: {{{ Data/Conduit/Internal.hs:371:4: error: invalid preprocessing directive #-} ^ }}} Here the full log in details. Any ideas? {{{ $ ghc --version The Glorious Glasgow Haskell Compilation System, version 7.6.3 $ cabal --version cabal-install version 1.18.0.3 using version 1.18.1.3 of the Cabal library }}} {{{ $ cabal install conduit Resolving dependencies... Configuring conduit-1.1.0... Building conduit-1.1.0... Preprocessing library conduit-1.1.0... Data/Conduit/Internal.hs:101:47: warning: missing terminating ' character [-Winvalid-pp-token] -- * /i/ is the type of values for this @Pipe@'s input stream. ^ Data/Conduit/Internal.hs:103:47: warning: missing terminating ' character [-Winvalid-pp-token] -- * /o/ is the type of values for this @Pipe@'s output stream. ^ Data/Conduit/Internal.hs:171:64: warning: \u used with no following hex digits; treating as '\' followed by identifier [-Wunicode] local f (NeedInput p c) = NeedInput (\i -> local f (p i)) (\u -> local f (c u)) ^ Data/Conduit/Internal.hs:189:62: warning: \u used with no following hex digits; treating as '\' followed by identifier [-Wunicode] listen (NeedInput p c) = NeedInput (\i -> listen (p i)) (\u -> listen (c u)) ^ Data/Conduit/Internal.hs:194:26: warning: missing terminating ' character [-Winvalid-pp-token] return $ do (x,w') <- listen p ^ Data/Conduit/Internal.hs:195:46: warning: missing terminating ' character [-Winvalid-pp-token] return (x, w `mappend` w') ^ Data/Conduit/Internal.hs:199:58: warning: \u used with no following hex digits; treating as '\' followed by identifier [-Wunicode] pass (NeedInput p c) = NeedInput (\i -> pass (p i)) (\u -> pass (c u)) ^ Data/Conduit/Internal.hs:216:74: warning: \u used with no following hex digits; treating as '\' followed by identifier [-Wunicode] catchError (NeedInput p c) f = NeedInput (\i -> catchError (p i) f) (\u -> catchError (c u) f) ^ Data/Conduit/Internal.hs:334:50: warning: missing terminating ' character [-Winvalid-pp-token] awaitForever :: Monad m => (i -> Pipe l i o r m r') -> Pipe l i o r m r ^ Data/Conduit/Internal.hs:371:4: error: invalid preprocessing directive #-} ^ Data/Conduit/Internal.hs:576:13: warning: missing terminating ' character [-Winvalid-pp-token] pipe' <- mpipe ^ Data/Conduit/Internal.hs:577:18: warning: missing terminating ' character [-Winvalid-pp-token] case pipe' of ^ Data/Conduit/Internal.hs:579:29: warning: missing terminating ' character [-Winvalid-pp-token] _ -> return pipe' ^ Data/Conduit/Internal.hs:622:83: warning: missing terminating ' character [-Winvalid-pp-token] mapInput f f' (NeedInput p c) = NeedInput (mapInput f f' . p . f) (mapInput f f' . c) ^ Data/Conduit/Internal.hs:625:82: warning: missing terminating ' character [-Winvalid-pp-token] mapInput f f' (Leftover p i) = maybe id (flip Leftover) (f' i) $ mapInput f f' p ^ Data/Conduit/Internal.hs:702:35: warning: \u used with no following hex digits; treating as '\' followed by identifier [-Wunicode] loop = awaitE >>= either (\u -> return (u, r)) (\_ -> loop) ^ Data/Conduit/Internal.hs:723:14: warning: missing terminating ' character [-Winvalid-pp-token] let final' = do ^ Data/Conduit/Internal.hs:726:58: warning: missing terminating ' character [-Winvalid-pp-token] return (liftIO (I.writeIORef ref False) >> src, final') ^ Data/Conduit/Internal.hs:884:76: warning: \u used with no following hex digits; treating as '\' followed by identifier [-Wunicode] NeedInput px cx >< y@Done{} = NeedInput (\i -> px i >< y) (\u -> cx u >< y) ^ Data/Conduit/Internal.hs:885:76: warning: \u used with no following hex digits; treating as '\' followed by identifier [-Wunicode] x@Done{} >< NeedInput py cy = NeedInput (\i -> x >< py i) (\u -> x >< cy u) ^ Data/Conduit/Internal.hs:957:10: warning: \u used with no following hex digits; treating as '\' followed by identifier [-Wunicode] (\u -> go finalX finalY (cx u) (cy u)) ^ Data/Conduit/Internal.hs:960:10: warning: \u used with no following hex digits; treating as '\' followed by identifier [-Wunicode] (\u -> go finalX finalY (cx u) (Done y)) ^ Data/Conduit/Internal.hs:963:10: warning: \u used with no following hex digits; treating as '\' followed by identifier [-Wunicode] (\u -> go finalX finalY (Done x) (cy u)) ^ Data/Conduit/Internal.hs:1059:14: warning: missing terminating ' character [-Winvalid-pp-token] let final' = do ^ Data/Conduit/Internal.hs:1062:58: warning: missing terminating ' character [-Winvalid-pp-token] return (liftIO (I.writeIORef ref False) >> src, final') ^ 24 warnings and 1 error generated. Failed to install conduit-1.1.0 cabal: Error: some packages failed to install: conduit-1.1.0 failed during the building phase. The exception was: ExitFailure 1 }}} -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/7744#comment:3 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler