Build #1 for mkcabal-0.4.1

[all reports]

Package mkcabal-0.4.1
Install BuildFailed
Docs NotTried
Tests NotTried
Time submitted unknown
Compiler ghc-7.6.3
OS linux
Arch x86_64
Dependencies readline-1.0.3.0, pretty-1.1.1.0, pcre-light-0.3, old-time-1.1.0.1, old-locale-1.0.0.5, mtl-2.1.2, directory-1.2.0.1, base-4.6.0.1
Flags small_base

Code Coverage

No Code Coverage was submitted for this report.

Build log

[view raw]

Resolving dependencies...
Downloading pcre-light-0.3...
Configuring pcre-light-0.3...
Building pcre-light-0.3...
Preprocessing library pcre-light-0.3...

on the commandline: Warning:
    The -fvia-C flag does nothing; it will be removed in a future GHC release
[1 of 3] Compiling Text.Regex.PCRE.Light.Base ( dist/build/Text/Regex/PCRE/Light/Base.hs, dist/build/Text/Regex/PCRE/Light/Base.o )

Text/Regex/PCRE/Light/Base.hsc:97:1: Warning:
    The import of `Foreign.Ptr' is redundant
      except perhaps to import instances from `Foreign.Ptr'
    To import instances alone, use: import Foreign.Ptr()
[2 of 3] Compiling Text.Regex.PCRE.Light ( Text/Regex/PCRE/Light.hs, dist/build/Text/Regex/PCRE/Light.o )

Text/Regex/PCRE/Light.hs:85:1: Warning:
    The import of `Foreign.Ptr' is redundant
      except perhaps to import instances from `Foreign.Ptr'
    To import instances alone, use: import Foreign.Ptr()

Text/Regex/PCRE/Light.hs:88:1: Warning:
    The import of `Foreign.Storable' is redundant
      except perhaps to import instances from `Foreign.Storable'
    To import instances alone, use: import Foreign.Storable()

Text/Regex/PCRE/Light.hs:89:1: Warning:
    The import of `Foreign.Marshal.Alloc' is redundant
      except perhaps to import instances from `Foreign.Marshal.Alloc'
    To import instances alone, use: import Foreign.Marshal.Alloc()

Text/Regex/PCRE/Light.hs:179:11: Warning:
    This binding for `s' shadows the existing binding
      bound at Text/Regex/PCRE/Light.hs:177:9

Text/Regex/PCRE/Light.hs:195:19: Warning:
    In the use of `unsafePerformIO' (imported from Foreign):
    Deprecated: "Use System.IO.Unsafe.unsafePerformIO instead; This function will be removed in the next release"

Text/Regex/PCRE/Light.hs:265:38: Warning:
    In the use of `unsafePerformIO' (imported from Foreign):
    Deprecated: "Use System.IO.Unsafe.unsafePerformIO instead; This function will be removed in the next release"

Text/Regex/PCRE/Light.hs:328:14: Warning:
    A do-notation statement discarded a result of type CInt.
    Suppress this warning by saying "_ <- c_pcre_fullinfo
                                            regex_ptr (nullPtr) info_capturecount n_ptr",
    or by using the flag -fno-warn-unused-do-bind
[3 of 3] Compiling Text.Regex.PCRE.Light.Char8 ( Text/Regex/PCRE/Light/Char8.hs, dist/build/Text/Regex/PCRE/Light/Char8.o )
In-place registering pcre-light-0.3...
Running Haddock for pcre-light-0.3...
Running hscolour for pcre-light-0.3...
Preprocessing library pcre-light-0.3...
Preprocessing library pcre-light-0.3...

Text/Regex/PCRE/Light/Base.hsc:97:1: Warning:
    The import of `Foreign.Ptr' is redundant
      except perhaps to import instances from `Foreign.Ptr'
    To import instances alone, use: import Foreign.Ptr()

Text/Regex/PCRE/Light.hs:85:1: Warning:
    The import of `Foreign.Ptr' is redundant
      except perhaps to import instances from `Foreign.Ptr'
    To import instances alone, use: import Foreign.Ptr()

Text/Regex/PCRE/Light.hs:88:1: Warning:
    The import of `Foreign.Storable' is redundant
      except perhaps to import instances from `Foreign.Storable'
    To import instances alone, use: import Foreign.Storable()

Text/Regex/PCRE/Light.hs:89:1: Warning:
    The import of `Foreign.Marshal.Alloc' is redundant
      except perhaps to import instances from `Foreign.Marshal.Alloc'
    To import instances alone, use: import Foreign.Marshal.Alloc()

Text/Regex/PCRE/Light.hs:179:11: Warning:
    This binding for `s' shadows the existing binding
      bound at Text/Regex/PCRE/Light.hs:177:9

Text/Regex/PCRE/Light.hs:195:19: Warning:
    In the use of `unsafePerformIO' (imported from Foreign):
    Deprecated: "Use System.IO.Unsafe.unsafePerformIO instead; This function will be removed in the next release"

Text/Regex/PCRE/Light.hs:265:38: Warning:
    In the use of `unsafePerformIO' (imported from Foreign):
    Deprecated: "Use System.IO.Unsafe.unsafePerformIO instead; This function will be removed in the next release"
Haddock coverage:
  49% ( 47 / 96) in 'Text.Regex.PCRE.Light.Base'
  97% ( 37 / 38) in 'Text.Regex.PCRE.Light'
  97% ( 37 / 38) in 'Text.Regex.PCRE.Light.Char8'
Warning: Text.Regex.PCRE.Light.Base: could not find link destinations for:
    Text.Regex.PCRE.Light.Base.PCREExtra
Documentation created: dist/doc/html/pcre-light/index.html
Installing library in
/srv/hackage/var/build/tmp-install/lib/x86_64-linux-ghc-7.6.3/pcre-light-0.3
Registering pcre-light-0.3...
Installed pcre-light-0.3
Configuring readline-1.0.3.0...
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for GNUreadline.framework... checking for readline... no
checking for tputs in -lncurses... yes
checking for readline in -lreadline... yes
checking for rl_readline_version... yes
checking for rl_begin_undo_group... yes
checking for rl_erase_empty_line... yes
checking for rl_free_undo_list... yes
checking for rl_completion_word_break_hook in -lreadline... yes
configure: creating ./config.status
config.status: creating config.mk
config.status: creating readline.buildinfo
config.status: creating include/HsReadlineConfig.h
config.status: include/HsReadlineConfig.h is unchanged
Building readline-1.0.3.0...
Preprocessing library readline-1.0.3.0...
[1 of 2] Compiling System.Console.SimpleLineEditor ( System/Console/SimpleLineEditor.hs, dist/build/System/Console/SimpleLineEditor.o )
[2 of 2] Compiling System.Console.Readline ( dist/build/System/Console/Readline.hs, dist/build/System/Console/Readline.o )
In-place registering readline-1.0.3.0...
Running Haddock for readline-1.0.3.0...
Running hscolour for readline-1.0.3.0...
Preprocessing library readline-1.0.3.0...
Preprocessing library readline-1.0.3.0...
Haddock coverage:
  80% (  4 /  5) in 'System.Console.SimpleLineEditor'
   2% (  3 /133) in 'System.Console.Readline'
Documentation created: dist/doc/html/readline/index.html
Installing library in
/srv/hackage/var/build/tmp-install/lib/x86_64-linux-ghc-7.6.3/readline-1.0.3.0
Registering readline-1.0.3.0...
Installed readline-1.0.3.0
Downloading mkcabal-0.4.1...
[1 of 1] Compiling Main             ( /tmp/mkcabal-0.4.1-9261/mkcabal-0.4.1/Setup.hs, /tmp/mkcabal-0.4.1-9261/mkcabal-0.4.1/dist/setup/Main.o )
Linking /tmp/mkcabal-0.4.1-9261/mkcabal-0.4.1/dist/setup/setup ...
Configuring mkcabal-0.4.1...
Warning: No 'build-type' specified. If you do not need a custom Setup.hs or
./configure script then use 'build-type: Simple'.
Building mkcabal-0.4.1...
Preprocessing executable 'mkcabal' for mkcabal-0.4.1...

mkcabal.hs:1:16: Warning:
    -fglasgow-exts is deprecated: Use individual extensions instead
[1 of 2] Compiling Licenses         ( Licenses.hs, dist/build/mkcabal/mkcabal-tmp/Licenses.o )
[2 of 2] Compiling Main             ( mkcabal.hs, dist/build/mkcabal/mkcabal-tmp/Main.o )

mkcabal.hs:384:14:
    No instance for (Exception e0) arising from a use of `handle'
    The type variable `e0' is ambiguous
    Possible fix: add a type signature that fixes these type variable(s)
    Note: there are several potential instances:
      instance Exception NestedAtomically
        -- Defined in `Control.Exception.Base'
      instance Exception NoMethodError
        -- Defined in `Control.Exception.Base'
      instance Exception NonTermination
        -- Defined in `Control.Exception.Base'
      ...plus 7 others
    In the expression: handle (\ _ -> return $ pair defNameAndMail)
    In the expression:
      handle (\ _ -> return $ pair defNameAndMail)
      $ do { env <- getEnvironment;
             let p | Just e <- lookup "DARCS_EMAIL" env = break (== '<') e
                   | Just e <- lookup "EMAIL" env = ...
                   | otherwise = pair defNameAndMail;
             return p }
    In a stmt of a 'do' block:
      if he then
          readFile authorHome >>= return . nameAndMail
      else
          handle (\ _ -> return $ pair defNameAndMail)
          $ do { env <- getEnvironment;
                 let p | Just e <- lookup "DARCS_EMAIL" env = ...
                       | Just e <- lookup "EMAIL" env = ...
                       | otherwise = ...;
                 return p }
Failed to install mkcabal-0.4.1
cabal: Error: some packages failed to install:
mkcabal-0.4.1 failed during the building phase. The exception was:
ExitFailure 1

Test log

No test log was submitted for this report.