Build #6 for lbfgs-0.0.1

[all reports]

Package lbfgs-0.0.1
Install BuildFailed
Docs NotTried
Tests NotTried
Time submitted 2016-12-28 23:31:35.781022 UTC
Compiler ghc-8.0.1.20161018
OS linux
Arch x86_64
Dependencies array-0.5.1.1, base-4.9.0.0
Flags none

Code Coverage

No Code Coverage was submitted for this report.

Build log

[view raw]

Resolving dependencies...
Downloading lbfgs-0.0.1...
Configuring lbfgs-0.0.1...
Building lbfgs-0.0.1...
Failed to install lbfgs-0.0.1
Build log ( /home/builder/.cabal/logs/lbfgs-0.0.1.log ):
cabal: Entering directory '/tmp/cabal-tmp-29337/lbfgs-0.0.1'
Configuring lbfgs-0.0.1...
Building lbfgs-0.0.1...
Preprocessing library lbfgs-0.0.1...
Raw.hsc:4:0: warning: "hsc_alignment" redefined [enabled by default]
In file included from dist/build/Numeric/LBFGS/Raw_hsc_make.c:1:0:
/opt/ghc/8.0.2/lib/ghc-8.0.1.20161018/template-hsc.h:88:0: note: this is the location of the previous definition
 #define hsc_alignment(t...) \
 ^
[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: error:
    • Unacceptable argument type in foreign declaration:
        ‘CInt’ cannot be marshalled in a foreign call
          because its data constructor 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: error:
    • Unacceptable argument type in foreign declaration:
        ‘CDouble’ cannot be marshalled in a foreign call
          because its data constructor 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: error:
    • Unacceptable result type in foreign declaration:
        ‘CDouble’ cannot be marshalled in a foreign call
          because its data constructor 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: error:
    • Unacceptable argument type in foreign declaration:
        ‘CDouble’ cannot be marshalled in a foreign call
          because its data constructor 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: error:
    • Unacceptable argument type in foreign declaration:
        ‘CDouble’ cannot be marshalled in a foreign call
          because its data constructor 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: error:
    • Unacceptable argument type in foreign declaration:
        ‘CDouble’ cannot be marshalled in a foreign call
          because its data constructor 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: error:
    • Unacceptable argument type in foreign declaration:
        ‘CDouble’ cannot be marshalled in a foreign call
          because its data constructor 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: error:
    • Unacceptable argument type in foreign declaration:
        ‘CInt’ cannot be marshalled in a foreign call
          because its data constructor 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: error:
    • Unacceptable argument type in foreign declaration:
        ‘CInt’ cannot be marshalled in a foreign call
          because its data constructor 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: error:
    • Unacceptable argument type in foreign declaration:
        ‘CInt’ cannot be marshalled in a foreign call
          because its data constructor 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: error:
    • Unacceptable result type in foreign declaration:
        ‘CInt’ cannot be marshalled in a foreign call
          because its data constructor 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: error:
    • Unacceptable argument type in foreign declaration:
        ‘CInt’ cannot be marshalled in a foreign call
          because its data constructor 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: error:
    • Unacceptable result type in foreign declaration:
        ‘CInt’ cannot be marshalled in a foreign call
          because its data constructor 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: error:
    • Unacceptable argument type in foreign declaration:
        ‘CInt’ cannot be marshalled in a foreign call
          because its data constructor 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)
cabal: Leaving directory '/tmp/cabal-tmp-29337/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.