Build #8 for HOpenCV-

[all reports]

Package HOpenCV-
Install BuildFailed
Docs NotTried
Tests NotTried
Time submitted 2016-12-24 18:05:57.55313 UTC
Compiler ghc-
OS linux
Arch x86_64
Dependencies allocated-processor-0.0.2, base-, vector-space-0.10.4, base-
Flags none

Build log

[view raw]

Resolving dependencies...
Configuring Boolean-0.2.3...
Configuring NumInstances-1.4...
Building Boolean-0.2.3...
Building NumInstances-1.4...
Configuring newtype-generics-0.5...
Installed Boolean-0.2.3
Building newtype-generics-0.5...
Installed NumInstances-1.4
Installed newtype-generics-0.5
Configuring MemoTrie-0.6.7...
Building MemoTrie-0.6.7...
Installed MemoTrie-0.6.7
Configuring vector-space-0.10.4...
Building vector-space-0.10.4...
Installed vector-space-0.10.4
Configuring allocated-processor-0.0.2...
Building allocated-processor-0.0.2...
Installed allocated-processor-0.0.2
Configuring HOpenCV-
Building HOpenCV-
Failed to install HOpenCV-
Build log ( /home/builder/.cabal/logs/HOpenCV- ):
cabal: Entering directory '/tmp/cabal-tmp-9321/HOpenCV-'
Configuring HOpenCV-
Warning: 'ghc-options: -prof' is not necessary and will lead to problems when
used on a library. Use the configure flag --enable-library-profiling and/or
Building HOpenCV-
Preprocessing library HOpenCV-
[1 of 4] Compiling AI.CV.OpenCV.CxCore ( dist/build/AI/CV/OpenCV/CxCore.hs, dist/build/AI/CV/OpenCV/CxCore.o )

src/AI/CV/OpenCV/CxCore.hsc:8:1: warning: [-Wdodgy-imports]
    Module ‘Foreign’ does not export ‘unsafePerformIO’
[2 of 4] Compiling AI.CV.OpenCV.HighGui ( dist/build/AI/CV/OpenCV/HighGui.hs, dist/build/AI/CV/OpenCV/HighGui.o )
[3 of 4] Compiling AI.CV.OpenCV.Types ( src/AI/CV/OpenCV/Types.hs, dist/build/AI/CV/OpenCV/Types.o )
[4 of 4] Compiling AI.CV.OpenCV.CV  ( dist/build/AI/CV/OpenCV/CV.hs, dist/build/AI/CV/OpenCV/CV.o )
src/AI/CV/OpenCV/HOpenCV_wrap.c: In function ‘c_cvHaarDetectObjects’:

src/AI/CV/OpenCV/HOpenCV_wrap.c:144:5: error:
     error: too few arguments to function ‘cvHaarDetectObjects’
         return cvHaarDetectObjects(image, cascade, storage, scale_factor, min_neighbors, flags, cvSize(width, height));

In file included from /usr/include/opencv/cv.h:71:0: error:
                     from src/AI/CV/OpenCV/HOpenCV_wrap.c:2:

/usr/include/opencv2/objdetect/objdetect.hpp:139:15: error:
     note: declared here
     CVAPI(CvSeq*) cvHaarDetectObjects( const CvArr* image,
`gcc' failed in phase `C Compiler'. (Exit code: 1)
cabal: Leaving directory '/tmp/cabal-tmp-9321/HOpenCV-'
cabal: Error: some packages failed to install:
HOpenCV- failed during the building phase. The exception was:
ExitFailure 1