Build #9 for cabal-rpm-0.8.0

[all reports]

Package cabal-rpm-0.8.0
Install BuildFailed
Docs NotTried
Tests NotTried
Time submitted 2016-12-21 05:21:43.930348 UTC
Compiler ghc-8.0.1.20161018
OS linux
Arch x86_64
Dependencies Cabal-1.24.0.0, base-4.9.0.0, directory-1.2.6.2, filepath-1.4.1.0, old-locale-1.0.0.7, process-1.4.2.0, time-1.6.0.1, unix-2.7.2.0
Flags none

Build log

[view raw]

Resolving dependencies...
Configuring old-locale-1.0.0.7...
Building old-locale-1.0.0.7...
Installed old-locale-1.0.0.7
Configuring cabal-rpm-0.8.0...
Building cabal-rpm-0.8.0...
Failed to install cabal-rpm-0.8.0
Build log ( /home/builder/.cabal/logs/cabal-rpm-0.8.0.log ):
cabal: Entering directory '/tmp/cabal-tmp-9855/cabal-rpm-0.8.0'
Configuring cabal-rpm-0.8.0...
Building cabal-rpm-0.8.0...
Preprocessing executable 'cblrpm' for cabal-rpm-0.8.0...
[1 of 6] Compiling Paths_cabal_rpm  ( dist/build/autogen/Paths_cabal_rpm.hs, dist/build/cblrpm/cblrpm-tmp/Paths_cabal_rpm.o )
[2 of 6] Compiling Distribution.Package.Rpm.Utils ( src/Distribution/Package/Rpm/Utils.hs, dist/build/cblrpm/cblrpm-tmp/Distribution/Package/Rpm/Utils.o )

src/Distribution/Package/Rpm/Utils.hs:33:15: warning: [-Wdeprecations]
    In the use of ‘findProgramLocation’
    (imported from Distribution.Simple.Utils):
    Deprecated: "No longer used within Cabal, try findProgramOnSearchPath"

src/Distribution/Package/Rpm/Utils.hs:38:15: warning: [-Wdeprecations]
    In the use of ‘findProgramLocation’
    (imported from Distribution.Simple.Utils):
    Deprecated: "No longer used within Cabal, try findProgramOnSearchPath"

src/Distribution/Package/Rpm/Utils.hs:48:17: warning: [-Wdeprecations]
    In the use of ‘findProgramLocation’
    (imported from Distribution.Simple.Utils):
    Deprecated: "No longer used within Cabal, try findProgramOnSearchPath"
[3 of 6] Compiling Distribution.Package.Rpm.Setup ( src/Distribution/Package/Rpm/Setup.hs, dist/build/cblrpm/cblrpm-tmp/Distribution/Package/Rpm/Setup.o )
[4 of 6] Compiling Distribution.Package.Rpm ( src/Distribution/Package/Rpm.hs, dist/build/cblrpm/cblrpm-tmp/Distribution/Package/Rpm.o )

src/Distribution/Package/Rpm.hs:117:32: error:
    • Couldn't match expected type ‘time-1.6.0.1:Data.Time.Format.Locale.TimeLocale’
                  with actual type ‘System.Locale.TimeLocale’
      NB: ‘System.Locale.TimeLocale’
            is defined in ‘System.Locale’ in package ‘old-locale-1.0.0.7’
          ‘time-1.6.0.1:Data.Time.Format.Locale.TimeLocale’
            is defined in ‘Data.Time.Format.Locale’ in package ‘time-1.6.0.1’
    • In the first argument of ‘formatTime’, namely ‘defaultTimeLocale’
      In the expression: formatTime defaultTimeLocale "0.%Y%m%d" now
      In the second argument of ‘($)’, namely
        ‘if darcsRepo then
             formatTime defaultTimeLocale "0.%Y%m%d" now
         else
             "1"’

src/Distribution/Package/Rpm.hs:177:27: error:
    • Couldn't match expected type ‘time-1.6.0.1:Data.Time.Format.Locale.TimeLocale’
                  with actual type ‘System.Locale.TimeLocale’
      NB: ‘System.Locale.TimeLocale’
            is defined in ‘System.Locale’ in package ‘old-locale-1.0.0.7’
          ‘time-1.6.0.1:Data.Time.Format.Locale.TimeLocale’
            is defined in ‘Data.Time.Format.Locale’ in package ‘time-1.6.0.1’
    • In the first argument of ‘formatTime’, namely ‘defaultTimeLocale’
      In the expression: formatTime defaultTimeLocale "%a %b %e %Y" now
      In an equation for ‘date’:
          date = formatTime defaultTimeLocale "%a %b %e %Y" now

src/Distribution/Package/Rpm.hs:310:22: error:
    • Variable not in scope: licenseFile :: PackageDescription -> t1 a0
    • Perhaps you meant ‘licenseFiles’ (imported from Distribution.PackageDescription)

src/Distribution/Package/Rpm.hs:311:26: error:
    • Variable not in scope:
        licenseFile :: PackageDescription -> String
    • Perhaps you meant ‘licenseFiles’ (imported from Distribution.PackageDescription)

src/Distribution/Package/Rpm.hs:328:24: error:
    • Variable not in scope:
        licenseFile :: PackageDescription -> String
    • Perhaps you meant ‘licenseFiles’ (imported from Distribution.PackageDescription)

src/Distribution/Package/Rpm.hs:353:14: error:
    • Variable not in scope: licenseFile :: PackageDescription -> t
    • Perhaps you meant ‘licenseFiles’ (imported from Distribution.PackageDescription)
cabal: Leaving directory '/tmp/cabal-tmp-9855/cabal-rpm-0.8.0'
cabal: Error: some packages failed to install:
cabal-rpm-0.8.0 failed during the building phase. The exception was:
ExitFailure 1