vincenthz / hit

library to manipulate git repositories in haskell (no bindings)
Other
49 stars 9 forks source link

Build failure: LocalTime not in scope #16

Closed snoyberg closed 10 years ago

snoyberg commented 10 years ago
Configuring hit-0.6.0...
Flags chosen: debug=False, executable=False
Dependency attoparsec ==0.11.3.4: using attoparsec-0.11.3.4
Dependency base ==4.7.0.0: using base-4.7.0.0
Dependency bytestring ==0.10.4.0: using bytestring-0.10.4.0
Dependency containers ==0.5.5.1: using containers-0.5.5.1
Dependency cryptohash ==0.11.5: using cryptohash-0.11.5
Dependency hourglass ==0.2.0: using hourglass-0.2.0
Dependency mtl ==2.1.3.1: using mtl-2.1.3.1
Dependency parsec ==3.1.5: using parsec-3.1.5
Dependency patience ==0.1.1: using patience-0.1.1
Dependency random ==1.0.1.1: using random-1.0.1.1
Dependency system-fileio ==0.3.14: using system-fileio-0.3.14
Dependency system-filepath ==0.4.12: using system-filepath-0.4.12
Dependency unix ==2.7.0.1: using unix-2.7.0.1
Dependency vector ==0.10.10.0: using vector-0.10.10.0
Dependency zlib ==0.5.4.1: using zlib-0.5.4.1
Dependency zlib-bindings ==0.1.1.5: using zlib-bindings-0.1.1.5
Using Cabal-1.20.0.0 compiled by ghc-7.8
Using compiler: ghc-7.8.2
Using install prefix: /var/lib/jenkins/.cabal
Binaries installed in:
/var/lib/jenkins/workspace/Stackage/ghcversion/7.8.2/stackage/sandbox/bin
Libraries installed in:
/var/lib/jenkins/workspace/Stackage/ghcversion/7.8.2/stackage/sandbox/lib/x86_64-linux-ghc-7.8.2/hit-0.6.0
Private binaries installed in: /var/lib/jenkins/.cabal/libexec
Data files installed in:
/var/lib/jenkins/workspace/Stackage/ghcversion/7.8.2/stackage/sandbox/share/x86_64-linux-ghc-7.8.2/hit-0.6.0
Documentation installed in:
/var/lib/jenkins/workspace/Stackage/ghcversion/7.8.2/stackage/sandbox/share/doc/hit-0.6.0
Configuration files installed in: /var/lib/jenkins/.cabal/etc
Using alex version 3.1.3 found on system at:
/var/lib/jenkins/workspace/Stackage/ghcversion/7.8.2/stackage/sandbox/bin/alex
Using ar found on system at: /usr/bin/ar
No c2hs found
Using cpphs version 1.18.4 found on system at:
/var/lib/jenkins/workspace/Stackage/ghcversion/7.8.2/stackage/sandbox/bin/cpphs
No ffihugs found
Using gcc version 4.8 found on system at: /usr/bin/gcc
Using ghc version 7.8.2 found on system at: /opt/ghc/7.8.2/bin/ghc
Using ghc-pkg version 7.8.2 found on system at: /opt/ghc/7.8.2/bin/ghc-pkg
No greencard found
Using haddock version 2.14.2 found on system at: /opt/ghc/7.8.2/bin/haddock
Using happy version 1.19.3 found on system at:
/var/lib/jenkins/workspace/Stackage/ghcversion/7.8.2/stackage/sandbox/bin/happy
Using haskell-suite found on system at: haskell-suite-dummy-location
Using haskell-suite-pkg found on system at: haskell-suite-pkg-dummy-location
No hmake found
Using hpc version 0.67 found on system at: /opt/ghc/7.8.2/bin/hpc
Using hsc2hs version 0.67 found on system at: /opt/ghc/7.8.2/bin/hsc2hs
Using hscolour version 1.20 found on system at:
/var/lib/jenkins/workspace/Stackage/ghcversion/7.8.2/stackage/sandbox/bin/HsColour
No hugs found
No jhc found
Using ld found on system at: /usr/bin/ld
No lhc found
No lhc-pkg found
No nhc98 found
Using pkg-config version 0.26 found on system at: /usr/bin/pkg-config
Using strip found on system at: /usr/bin/strip
Using tar found on system at: /bin/tar
No uhc found
Component build order: library
creating dist/build
creating dist/build/autogen
Building hit-0.6.0...
Preprocessing library hit-0.6.0...
Building library...
creating dist/build
/opt/ghc/7.8.2/bin/ghc --make -fbuilding-cabal-package -O -static -dynamic-too -dynosuf dyn_o -dynhisuf dyn_hi -outputdir dist/build -odir dist/build -hidir dist/build -stubdir dist/build -i -idist/build -i. -idist/build/autogen -Idist/build/autogen -Idist/build -optP-include -optPdist/build/autogen/cabal_macros.h -package-name hit-0.6.0 -hide-all-packages -no-user-package-db -package-db /var/lib/jenkins/workspace/Stackage/ghcversion/7.8.2/stackage/sandbox/package-db -package-db dist/package.conf.inplace -package-id attoparsec-0.11.3.4-fff97c604c2797a595f60a55fd804ae8 -package-id base-4.7.0.0-018311399e3b6350d5be3a16b144df9b -package-id bytestring-0.10.4.0-7de5230c6d895786641a4de344336838 -package-id containers-0.5.5.1-19036437a266c66c860794334111ee93 -package-id cryptohash-0.11.5-9ac9f22de3d8155ca5cabc50d6d0f15b -package-id hourglass-0.2.0-434f363174a8f50db6e884f8d5edcb6d -package-id mtl-2.1.3.1-89ed04036fb57647047a12ac69cffae6 -package-id parsec-3.1.5-63f9ebe822dcccf7dfa67bacbd4289df -package-id patience-0.1.1-3541f03281699edc49b2ebbb23559f86 -package-id random-1.0.1.1-6ee738046e61b4cfbe8ae4a5ddcd83ac -package-id system-fileio-0.3.14-0a75f9404c7d78b467547bca9f0804a7 -package-id system-filepath-0.4.12-bfb948e5dfa1464e05c4fe1877d58ad5 -package-id unix-2.7.0.1-23f79f72106a0fbca2437feb33a4e846 -package-id vector-0.10.10.0-22ca6b1b15aa387862648602a0b7d89c -package-id zlib-0.5.4.1-28f4afec94c21c1745f93b2774aac5ad -package-id zlib-bindings-0.1.1.5-6fdfa5199bb38c5c56765b2e6ee5a095 -XHaskell98 Data.Git Data.Git.Types Data.Git.Storage Data.Git.Storage.PackIndex Data.Git.Storage.Pack Data.Git.Storage.Object Data.Git.Storage.Loose Data.Git.Named Data.Git.Delta Data.Git.Ref Data.Git.Revision Data.Git.Repository Data.Git.Diff Data.Git.Internal Data.Git.Config Data.Git.Storage.FileReader Data.Git.Storage.FileWriter Data.Git.Storage.CacheFile Data.Git.Path -Wall -fno-warn-missing-signatures
[ 1 of 19] Compiling Data.Git.Internal ( Data/Git/Internal.hs, dist/build/Data/Git/Internal.o )
[ 2 of 19] Compiling Data.Git.Storage.CacheFile ( Data/Git/Storage/CacheFile.hs, dist/build/Data/Git/Storage/CacheFile.o )
[ 3 of 19] Compiling Data.Git.Storage.FileReader ( Data/Git/Storage/FileReader.hs, dist/build/Data/Git/Storage/FileReader.o )
[ 4 of 19] Compiling Data.Git.Delta   ( Data/Git/Delta.hs, dist/build/Data/Git/Delta.o )
[ 5 of 19] Compiling Data.Git.Revision ( Data/Git/Revision.hs, dist/build/Data/Git/Revision.o )
[ 6 of 19] Compiling Data.Git.Ref     ( Data/Git/Ref.hs, dist/build/Data/Git/Ref.o )
[ 7 of 19] Compiling Data.Git.Types   ( Data/Git/Types.hs, dist/build/Data/Git/Types.o )

Data/Git/Types.hs:63:5: Not in scope: data constructor ‘LocalTime’
dmalikov commented 10 years ago

hourglass-0.2.0 seems to be uploaded by error, so it will be better to ignore it for a some time. @vincenthz could you please explain what happen there?

vincenthz commented 10 years ago

My bad, I was fixing an issue with hit, which ended up depending on some API changes in hourglass (following the initial feedback I received), and then I realized later that one of my type (GitTime) didn't make sense as is, and I aborted pushing the repo until I had time to fix it.

This should be now fixed.