Build #8 for HOpenCV-0.1.2.3

[all reports]

Package HOpenCV-0.1.2.3
Install BuildFailed
Docs NotTried
Tests NotTried
Time submitted 2016-12-24 18:05:57.55313 UTC
Compiler ghc-8.0.1.20161018
OS linux
Arch x86_64
Dependencies allocated-processor-0.0.2, base-4.9.0.0, vector-space-0.10.4, base-4.9.0.0
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-0.1.2.3...
Building HOpenCV-0.1.2.3...
Failed to install HOpenCV-0.1.2.3
Build log ( /home/builder/.cabal/logs/HOpenCV-0.1.2.3.log ):
cabal: Entering directory '/tmp/cabal-tmp-9321/HOpenCV-0.1.2.3'
Configuring HOpenCV-0.1.2.3...
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
--enable-profiling.
Building HOpenCV-0.1.2.3...
Preprocessing library HOpenCV-0.1.2.3...
[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:
    0,
                     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-0.1.2.3'
cabal: Error: some packages failed to install:
HOpenCV-0.1.2.3 failed during the building phase. The exception was:
ExitFailure 1