Build #7 for hlibgit2-0.17.0.2

[all reports]

Package hlibgit2-0.17.0.2
Install BuildFailed
Docs NotTried
Tests NotTried
Time submitted 2016-12-22 23:38:02.449056 UTC
Compiler ghc-8.0.1.20161018
OS linux
Arch x86_64
Dependencies base-4.9.0.0, bindings-DSL-1.0.23, zlib-0.6.1.2
Flags none

Code Coverage

No Code Coverage was submitted for this report.

Build log

[view raw]

Resolving dependencies...
Configuring bindings-DSL-1.0.23...
Configuring zlib-0.6.1.2...
Building bindings-DSL-1.0.23...
Building zlib-0.6.1.2...
Installed bindings-DSL-1.0.23
Installed zlib-0.6.1.2
Configuring hlibgit2-0.17.0.2...
Building hlibgit2-0.17.0.2...
Failed to install hlibgit2-0.17.0.2
Build log ( /home/builder/.cabal/logs/hlibgit2-0.17.0.2.log ):
cabal: Entering directory '/tmp/cabal-tmp-26442/hlibgit2-0.17.0.2'
Configuring hlibgit2-0.17.0.2...
Building hlibgit2-0.17.0.2...
Preprocessing library hlibgit2-0.17.0.2...
Common.hsc: In function ‘main’:
Common.hsc:12:5: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘int’ [-Wformat=]
Common.hsc:12:5: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘int’ [-Wformat=]
Common.hsc:12:5: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘int’ [-Wformat=]
Config.hsc: In function ‘main’:
Config.hsc:52:5: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘int’ [-Wformat=]
Config.hsc:52:5: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘int’ [-Wformat=]
Config.hsc:52:5: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘int’ [-Wformat=]
Config.hsc:71:5: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘int’ [-Wformat=]
Config.hsc:71:5: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘int’ [-Wformat=]
Config.hsc:71:5: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘int’ [-Wformat=]
Diff.hsc: In function ‘main’:
Diff.hsc:52:5: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘int’ [-Wformat=]
Diff.hsc:52:5: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘int’ [-Wformat=]
Diff.hsc:52:5: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘int’ [-Wformat=]
Diff.hsc:101:5: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘int’ [-Wformat=]
Diff.hsc:101:5: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘int’ [-Wformat=]
Diff.hsc:101:5: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘int’ [-Wformat=]
Diff.hsc:115:5: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘int’ [-Wformat=]
Diff.hsc:115:5: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘int’ [-Wformat=]
Diff.hsc:115:5: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘int’ [-Wformat=]
Diff.hsc:128:5: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘int’ [-Wformat=]
Diff.hsc:128:5: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘int’ [-Wformat=]
Diff.hsc:128:5: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘int’ [-Wformat=]
Errors.hsc: In function ‘main’:
Errors.hsc:31:5: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘int’ [-Wformat=]
Errors.hsc:31:5: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘int’ [-Wformat=]
Errors.hsc:31:5: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘int’ [-Wformat=]
Index.hsc: In function ‘main’:
Index.hsc:15:5: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘int’ [-Wformat=]
Index.hsc:15:5: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘int’ [-Wformat=]
Index.hsc:15:5: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘int’ [-Wformat=]
Index.hsc:43:5: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘int’ [-Wformat=]
Index.hsc:43:5: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘int’ [-Wformat=]
Index.hsc:43:5: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘int’ [-Wformat=]
Index.hsc:51:5: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘int’ [-Wformat=]
Index.hsc:51:5: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘int’ [-Wformat=]
Index.hsc:51:5: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘int’ [-Wformat=]
Indexer.hsc: In function ‘main’:
Indexer.hsc:14:5: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘int’ [-Wformat=]
Indexer.hsc:14:5: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘int’ [-Wformat=]
Indexer.hsc:14:5: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘int’ [-Wformat=]
Net.hsc: In function ‘main’:
Net.hsc:17:5: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘int’ [-Wformat=]
Net.hsc:17:5: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘int’ [-Wformat=]
Net.hsc:17:5: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘int’ [-Wformat=]
Notes.hsc: In function ‘main’:
Notes.hsc:21:5: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘int’ [-Wformat=]
Notes.hsc:21:5: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘int’ [-Wformat=]
Notes.hsc:21:5: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘int’ [-Wformat=]
OdbBackend.hsc: In function ‘main’:
OdbBackend.hsc:60:5: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘int’ [-Wformat=]
OdbBackend.hsc:60:5: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘int’ [-Wformat=]
OdbBackend.hsc:60:5: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘int’ [-Wformat=]
OdbBackend.hsc:93:5: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘int’ [-Wformat=]
OdbBackend.hsc:93:5: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘int’ [-Wformat=]
OdbBackend.hsc:93:5: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘int’ [-Wformat=]
Oid.hsc: In function ‘main’:
Oid.hsc:16:5: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘int’ [-Wformat=]
Oid.hsc:16:5: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘int’ [-Wformat=]
Oid.hsc:16:5: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘int’ [-Wformat=]
Status.hsc: In function ‘main’:
Status.hsc:58:5: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘int’ [-Wformat=]
Status.hsc:58:5: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘int’ [-Wformat=]
Status.hsc:58:5: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘int’ [-Wformat=]
Submodule.hsc: In function ‘main’:
Submodule.hsc:48:5: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘int’ [-Wformat=]
Submodule.hsc:48:5: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘int’ [-Wformat=]
Submodule.hsc:48:5: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘int’ [-Wformat=]
Types.hsc: In function ‘main’:
Types.hsc:78:5: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘int’ [-Wformat=]
Types.hsc:78:5: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘int’ [-Wformat=]
Types.hsc:78:5: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘int’ [-Wformat=]
Types.hsc:86:5: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘int’ [-Wformat=]
Types.hsc:86:5: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘int’ [-Wformat=]
Types.hsc:86:5: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘int’ [-Wformat=]
[ 1 of 33] Compiling Bindings.Libgit2.Version ( dist/build/Bindings/Libgit2/Version.hs, dist/build/Bindings/Libgit2/Version.o )
[ 2 of 33] Compiling Bindings.Libgit2.Common ( dist/build/Bindings/Libgit2/Common.hs, dist/build/Bindings/Libgit2/Common.o )
[ 3 of 33] Compiling Bindings.Libgit2.Errors ( dist/build/Bindings/Libgit2/Errors.hs, dist/build/Bindings/Libgit2/Errors.o )
[ 4 of 33] Compiling Bindings.Libgit2.Threads ( dist/build/Bindings/Libgit2/Threads.hs, dist/build/Bindings/Libgit2/Threads.o )
[ 5 of 33] Compiling Bindings.Libgit2.Types ( dist/build/Bindings/Libgit2/Types.hs, dist/build/Bindings/Libgit2/Types.o )
[ 6 of 33] Compiling Bindings.Libgit2.Config ( dist/build/Bindings/Libgit2/Config.hs, dist/build/Bindings/Libgit2/Config.o )
[ 7 of 33] Compiling Bindings.Libgit2.Oid ( dist/build/Bindings/Libgit2/Oid.hs, dist/build/Bindings/Libgit2/Oid.o )
[ 8 of 33] Compiling Bindings.Libgit2.Index ( dist/build/Bindings/Libgit2/Index.hs, dist/build/Bindings/Libgit2/Index.o )
[ 9 of 33] Compiling Bindings.Libgit2.Indexer ( dist/build/Bindings/Libgit2/Indexer.hs, dist/build/Bindings/Libgit2/Indexer.o )
[10 of 33] Compiling Bindings.Libgit2.Merge ( dist/build/Bindings/Libgit2/Merge.hs, dist/build/Bindings/Libgit2/Merge.o )
[11 of 33] Compiling Bindings.Libgit2.Net ( dist/build/Bindings/Libgit2/Net.hs, dist/build/Bindings/Libgit2/Net.o )
[12 of 33] Compiling Bindings.Libgit2.Notes ( dist/build/Bindings/Libgit2/Notes.hs, dist/build/Bindings/Libgit2/Notes.o )
[13 of 33] Compiling Bindings.Libgit2.Object ( dist/build/Bindings/Libgit2/Object.hs, dist/build/Bindings/Libgit2/Object.o )
[14 of 33] Compiling Bindings.Libgit2.OdbBackend ( dist/build/Bindings/Libgit2/OdbBackend.hs, dist/build/Bindings/Libgit2/OdbBackend.o )
[15 of 33] Compiling Bindings.Libgit2.Odb ( dist/build/Bindings/Libgit2/Odb.hs, dist/build/Bindings/Libgit2/Odb.o )
[16 of 33] Compiling Bindings.Libgit2.Reflog ( dist/build/Bindings/Libgit2/Reflog.hs, dist/build/Bindings/Libgit2/Reflog.o )
[17 of 33] Compiling Bindings.Libgit2.Refs ( dist/build/Bindings/Libgit2/Refs.hs, dist/build/Bindings/Libgit2/Refs.o )
[18 of 33] Compiling Bindings.Libgit2.Refspec ( dist/build/Bindings/Libgit2/Refspec.hs, dist/build/Bindings/Libgit2/Refspec.o )
[19 of 33] Compiling Bindings.Libgit2.Repository ( dist/build/Bindings/Libgit2/Repository.hs, dist/build/Bindings/Libgit2/Repository.o )
[20 of 33] Compiling Bindings.Libgit2.Remote ( dist/build/Bindings/Libgit2/Remote.hs, dist/build/Bindings/Libgit2/Remote.o )
[21 of 33] Compiling Bindings.Libgit2.Revwalk ( dist/build/Bindings/Libgit2/Revwalk.hs, dist/build/Bindings/Libgit2/Revwalk.o )
[22 of 33] Compiling Bindings.Libgit2.Signature ( dist/build/Bindings/Libgit2/Signature.hs, dist/build/Bindings/Libgit2/Signature.o )
[23 of 33] Compiling Bindings.Libgit2.Status ( dist/build/Bindings/Libgit2/Status.hs, dist/build/Bindings/Libgit2/Status.o )
[24 of 33] Compiling Bindings.Libgit2.Submodule ( dist/build/Bindings/Libgit2/Submodule.hs, dist/build/Bindings/Libgit2/Submodule.o )
[25 of 33] Compiling Bindings.Libgit2.Tag ( dist/build/Bindings/Libgit2/Tag.hs, dist/build/Bindings/Libgit2/Tag.o )
[26 of 33] Compiling Bindings.Libgit2.Tree ( dist/build/Bindings/Libgit2/Tree.hs, dist/build/Bindings/Libgit2/Tree.o )
[27 of 33] Compiling Bindings.Libgit2.Diff ( dist/build/Bindings/Libgit2/Diff.hs, dist/build/Bindings/Libgit2/Diff.o )
[28 of 33] Compiling Bindings.Libgit2.Windows ( dist/build/Bindings/Libgit2/Windows.hs, dist/build/Bindings/Libgit2/Windows.o )
[29 of 33] Compiling Bindings.Libgit2.Commit ( dist/build/Bindings/Libgit2/Commit.hs, dist/build/Bindings/Libgit2/Commit.o )
[30 of 33] Compiling Bindings.Libgit2.Branch ( dist/build/Bindings/Libgit2/Branch.hs, dist/build/Bindings/Libgit2/Branch.o )
[31 of 33] Compiling Bindings.Libgit2.Blob ( dist/build/Bindings/Libgit2/Blob.hs, dist/build/Bindings/Libgit2/Blob.o )
[32 of 33] Compiling Bindings.Libgit2.Attr ( dist/build/Bindings/Libgit2/Attr.hs, dist/build/Bindings/Libgit2/Attr.o )
[33 of 33] Compiling Bindings.Libgit2 ( Bindings/Libgit2.hs, dist/build/Bindings/Libgit2.o )

In file included from libgit2/src/posix.h:74:0: error:
    0,
                     from libgit2/src/fileops.h:12,
                     from libgit2/src/index.h:10,
                     from libgit2/src/repository.h:16,
                     from libgit2/src/attr_file.c:2:
libgit2/src/attr_file.c: In function ‘git_attr_fnmatch__match’:

libgit2/src/attr_file.c:216:51: error:
     error: ‘FNM_LEADING_DIR’ undeclared (first use in this function)
       fnm = p_fnmatch(match->pattern, path->basename, FNM_LEADING_DIR);
                                                       ^

libgit2/src/unix/posix.h:12:43: error:
     note: in definition of macro ‘p_fnmatch’
     # define p_fnmatch(p, s, f) fnmatch(p, s, f)
                                               ^

libgit2/src/attr_file.c:216:51: error:
     note: each undeclared identifier is reported only once for each function it appears in
       fnm = p_fnmatch(match->pattern, path->basename, FNM_LEADING_DIR);
                                                       ^

libgit2/src/unix/posix.h:12:43: error:
     note: in definition of macro ‘p_fnmatch’
     # define p_fnmatch(p, s, f) fnmatch(p, s, f)
                                               ^
`gcc' failed in phase `C Compiler'. (Exit code: 1)
cabal: Leaving directory '/tmp/cabal-tmp-26442/hlibgit2-0.17.0.2'
cabal: Error: some packages failed to install:
hlibgit2-0.17.0.2 failed during the building phase. The exception was:
ExitFailure 1

Test log

No test log was submitted for this report.