Build #8 for mpdmate-0.1

[all reports]

Package mpdmate-0.1
Install DependencyFailed powermate-0.1
Docs NotTried
Tests NotTried
Time submitted 2017-01-03 20:55:39.536951 UTC
Compiler ghc-
OS linux
Arch x86_64
Dependencies base-, directory-, network-, powermate-0.1, unix-
Flags none

Code Coverage

No Code Coverage was submitted for this report.

Build log

[view raw]

Resolving dependencies...
Configuring network-
Building network-
Installed network-
Configuring powermate-0.1...
Building powermate-0.1...
Failed to install powermate-0.1
Build log ( /home/builder/.cabal/logs/powermate-0.1.log ):
cabal: Entering directory '/tmp/cabal-tmp-21826/powermate-0.1'
Configuring powermate-0.1...
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 powermate-0.1...
Preprocessing library powermate-0.1...
[1 of 2] Compiling PowerMate        ( dist/build/PowerMate.hs, dist/build/PowerMate.o )

src/PowerMate.hsc:34:1: error:
    • Unacceptable argument type in foreign declaration:
        ‘Fd’ 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 sys/ioctl.h ioctl" ioctlChar
          :: Fd -> CInt -> Ptr CChar -> IO CInt
cabal: Leaving directory '/tmp/cabal-tmp-21826/powermate-0.1'
cabal: Error: some packages failed to install:
mpdmate-0.1 depends on powermate-0.1 which failed to install.
powermate-0.1 failed during the building phase. The exception was:
ExitFailure 1