Build #5 for lbfgs-0.0.1

[all reports]

Package lbfgs-0.0.1
Install BuildFailed
Docs NotTried
Tests NotTried
Time submitted 2015-11-22 17:01:54.341844 UTC
Compiler ghc-7.10.2
OS linux
Arch x86_64
Dependencies base-4.8.1.0, array-0.5.1.0
Flags none

Code Coverage

No Code Coverage was submitted for this report.

Build log

[view raw]

Resolving dependencies...
Configuring lbfgs-0.0.1...
Building lbfgs-0.0.1...
Preprocessing library lbfgs-0.0.1...
[1 of 2] Compiling Numeric.LBFGS.Raw ( dist/build/Numeric/LBFGS/Raw.hs, dist/build/Numeric/LBFGS/Raw.o )

Numeric/LBFGS/Raw.hsc:171:1:
    Unacceptable argument type in foreign declaration:
      ‘CInt’ cannot be marshalled in a foreign call
        because its data construtor is not in scope
        Possible fix: import the data constructor to bring it into scope
    When checking declaration:
      foreign import ccall safe "wrapper" c_lbfgs_evaluate_t_wrap
        :: CEvaluateFun a -> IO (FunPtr (CEvaluateFun a))

Numeric/LBFGS/Raw.hsc:171:1:
    Unacceptable argument type in foreign declaration:
      ‘CDouble’ cannot be marshalled in a foreign call
        because its data construtor is not in scope
        Possible fix: import the data constructor to bring it into scope
    When checking declaration:
      foreign import ccall safe "wrapper" c_lbfgs_evaluate_t_wrap
        :: CEvaluateFun a -> IO (FunPtr (CEvaluateFun a))

Numeric/LBFGS/Raw.hsc:171:1:
    Unacceptable result type in foreign declaration:
      ‘CDouble’ cannot be marshalled in a foreign call
        because its data construtor is not in scope
        Possible fix: import the data constructor to bring it into scope
    When checking declaration:
      foreign import ccall safe "wrapper" c_lbfgs_evaluate_t_wrap
        :: CEvaluateFun a -> IO (FunPtr (CEvaluateFun a))

Numeric/LBFGS/Raw.hsc:174:1:
    Unacceptable argument type in foreign declaration:
      ‘CDouble’ cannot be marshalled in a foreign call
        because its data construtor is not in scope
        Possible fix: import the data constructor to bring it into scope
    When checking declaration:
      foreign import ccall safe "wrapper" c_lbfgs_progress_t_wrap
        :: CProgressFun a -> IO (FunPtr (CProgressFun a))

Numeric/LBFGS/Raw.hsc:174:1:
    Unacceptable argument type in foreign declaration:
      ‘CDouble’ cannot be marshalled in a foreign call
        because its data construtor is not in scope
        Possible fix: import the data constructor to bring it into scope
    When checking declaration:
      foreign import ccall safe "wrapper" c_lbfgs_progress_t_wrap
        :: CProgressFun a -> IO (FunPtr (CProgressFun a))

Numeric/LBFGS/Raw.hsc:174:1:
    Unacceptable argument type in foreign declaration:
      ‘CDouble’ cannot be marshalled in a foreign call
        because its data construtor is not in scope
        Possible fix: import the data constructor to bring it into scope
    When checking declaration:
      foreign import ccall safe "wrapper" c_lbfgs_progress_t_wrap
        :: CProgressFun a -> IO (FunPtr (CProgressFun a))

Numeric/LBFGS/Raw.hsc:174:1:
    Unacceptable argument type in foreign declaration:
      ‘CDouble’ cannot be marshalled in a foreign call
        because its data construtor is not in scope
        Possible fix: import the data constructor to bring it into scope
    When checking declaration:
      foreign import ccall safe "wrapper" c_lbfgs_progress_t_wrap
        :: CProgressFun a -> IO (FunPtr (CProgressFun a))

Numeric/LBFGS/Raw.hsc:174:1:
    Unacceptable argument type in foreign declaration:
      ‘CInt’ cannot be marshalled in a foreign call
        because its data construtor is not in scope
        Possible fix: import the data constructor to bring it into scope
    When checking declaration:
      foreign import ccall safe "wrapper" c_lbfgs_progress_t_wrap
        :: CProgressFun a -> IO (FunPtr (CProgressFun a))

Numeric/LBFGS/Raw.hsc:174:1:
    Unacceptable argument type in foreign declaration:
      ‘CInt’ cannot be marshalled in a foreign call
        because its data construtor is not in scope
        Possible fix: import the data constructor to bring it into scope
    When checking declaration:
      foreign import ccall safe "wrapper" c_lbfgs_progress_t_wrap
        :: CProgressFun a -> IO (FunPtr (CProgressFun a))

Numeric/LBFGS/Raw.hsc:174:1:
    Unacceptable argument type in foreign declaration:
      ‘CInt’ cannot be marshalled in a foreign call
        because its data construtor is not in scope
        Possible fix: import the data constructor to bring it into scope
    When checking declaration:
      foreign import ccall safe "wrapper" c_lbfgs_progress_t_wrap
        :: CProgressFun a -> IO (FunPtr (CProgressFun a))

Numeric/LBFGS/Raw.hsc:174:1:
    Unacceptable result type in foreign declaration:
      ‘CInt’ cannot be marshalled in a foreign call
        because its data construtor is not in scope
        Possible fix: import the data constructor to bring it into scope
    When checking declaration:
      foreign import ccall safe "wrapper" c_lbfgs_progress_t_wrap
        :: CProgressFun a -> IO (FunPtr (CProgressFun a))

Numeric/LBFGS/Raw.hsc:177:1:
    Unacceptable argument type in foreign declaration:
      ‘CInt’ cannot be marshalled in a foreign call
        because its data construtor is not in scope
        Possible fix: import the data constructor to bring it into scope
    When checking declaration:
      foreign import ccall safe "static lbfgs.h lbfgs" c_lbfgs
        :: CInt
           -> Ptr CDouble
              -> Ptr CDouble
                 -> FunPtr (CEvaluateFun a)
                    -> FunPtr (CProgressFun a)
                       -> Ptr a -> Ptr (CLBFGSParameter) -> IO (CInt)

Numeric/LBFGS/Raw.hsc:177:1:
    Unacceptable result type in foreign declaration:
      ‘CInt’ cannot be marshalled in a foreign call
        because its data construtor is not in scope
        Possible fix: import the data constructor to bring it into scope
    When checking declaration:
      foreign import ccall safe "static lbfgs.h lbfgs" c_lbfgs
        :: CInt
           -> Ptr CDouble
              -> Ptr CDouble
                 -> FunPtr (CEvaluateFun a)
                    -> FunPtr (CProgressFun a)
                       -> Ptr a -> Ptr (CLBFGSParameter) -> IO (CInt)

Numeric/LBFGS/Raw.hsc:181:1:
    Unacceptable argument type in foreign declaration:
      ‘CInt’ cannot be marshalled in a foreign call
        because its data construtor is not in scope
        Possible fix: import the data constructor to bring it into scope
    When checking declaration:
      foreign import ccall unsafe "static lbfgs.h lbfgs_malloc" c_lbfgs_malloc
        :: CInt -> IO (Ptr CDouble)
Failed to install lbfgs-0.0.1
cabal: Error: some packages failed to install:
lbfgs-0.0.1 failed during the building phase. The exception was:
ExitFailure 1

Test log

No test log was submitted for this report.