Bug#843888: haskell-cabal-install: FTBFS: Couldn't match type `Distribution.Package.PackageIdentifier' with `Cabal-1.24.0.0:Distribution.Package.PackageIdentifier'
Chris Lamb
lamby at debian.org
Thu Nov 10 13:25:08 UTC 2016
Source: haskell-cabal-install
Version: 1.24.0.1-1
Severity: serious
Justification: fails to build from source
User: reproducible-builds at lists.alioth.debian.org
Usertags: ftbfs
X-Debbugs-Cc: reproducible-builds at lists.alioth.debian.org
Dear Maintainer,
haskell-cabal-install fails to build from source in unstable/amd64:
[…]
touch configure-ghc-stamp
. /usr/share/haskell-devscripts/Dh_Haskell.sh && \
build_recipe
Running debian/hlibrary.setup build --builddir=dist-ghc
Building cabal-install-1.24.0.1...
Preprocessing executable 'cabal' for cabal-install-1.24.0.1...
[ 1 of 106] Compiling Distribution.Client.Glob ( Distribution/Client/Glob.hs, dist-ghc/build/cabal/cabal-tmp/Distribution/Client/Glob.o )
[ 2 of 106] Compiling Distribution.Client.Utils.Json ( Distribution/Client/Utils/Json.hs, dist-ghc/build/cabal/cabal-tmp/Distribution/Client/Utils/Json.o )
[ 3 of 106] Compiling Distribution.Client.Utils.LabeledGraph ( Distribution/Client/Utils/LabeledGraph.hs, dist-ghc/build/cabal/cabal-tmp/Distribution/Client/Utils/LabeledGraph.o )
[ 4 of 106] Compiling Distribution.Client.Dependency.Modular.Version ( Distribution/Client/Dependency/Modular/Version.hs, dist-ghc/build/cabal/cabal-tmp/Distribution/Client/Dependency/Modular/Version.o )
[ 5 of 106] Compiling Distribution.Client.Dependency.Modular.PSQ ( Distribution/Client/Dependency/Modular/PSQ.hs, dist-ghc/build/cabal/cabal-tmp/Distribution/Client/Dependency/Modular/PSQ.o )
[ 6 of 106] Compiling Distribution.Client.Dependency.Modular.Package ( Distribution/Client/Dependency/Modular/Package.hs, dist-ghc/build/cabal/cabal-tmp/Distribution/Client/Dependency/Modular/Package.o )
[ 7 of 106] Compiling Distribution.Client.PackageUtils ( Distribution/Client/PackageUtils.hs, dist-ghc/build/cabal/cabal-tmp/Distribution/Client/PackageUtils.o )
[ 8 of 106] Compiling Distribution.Client.Haddock ( Distribution/Client/Haddock.hs, dist-ghc/build/cabal/cabal-tmp/Distribution/Client/Haddock.o )
[ 9 of 106] Compiling Distribution.Client.Compat.FilePerms ( Distribution/Client/Compat/FilePerms.hs, dist-ghc/build/cabal/cabal-tmp/Distribution/Client/Compat/FilePerms.o )
[ 10 of 106] Compiling Distribution.Client.ParseUtils ( Distribution/Client/ParseUtils.hs, dist-ghc/build/cabal/cabal-tmp/Distribution/Client/ParseUtils.o )
[ 11 of 106] Compiling Distribution.Client.Compat.Semaphore ( Distribution/Client/Compat/Semaphore.hs, dist-ghc/build/cabal/cabal-tmp/Distribution/Client/Compat/Semaphore.o )
[ 12 of 106] Compiling Distribution.Client.Compat.ExecutablePath ( Distribution/Client/Compat/ExecutablePath.hs, dist-ghc/build/cabal/cabal-tmp/Distribution/Client/Compat/ExecutablePath.o )
[ 13 of 106] Compiling Distribution.Client.JobControl ( Distribution/Client/JobControl.hs, dist-ghc/build/cabal/cabal-tmp/Distribution/Client/JobControl.o )
[ 14 of 106] Compiling Distribution.Client.Compat.Process ( Distribution/Client/Compat/Process.hs, dist-ghc/build/cabal/cabal-tmp/Distribution/Client/Compat/Process.o )
[ 15 of 106] Compiling Distribution.Client.Init.Licenses ( Distribution/Client/Init/Licenses.hs, dist-ghc/build/cabal/cabal-tmp/Distribution/Client/Init/Licenses.o )
[ 16 of 106] Compiling Distribution.Client.PkgConfigDb ( Distribution/Client/PkgConfigDb.hs, dist-ghc/build/cabal/cabal-tmp/Distribution/Client/PkgConfigDb.o )
[ 17 of 106] Compiling Distribution.Client.GZipUtils ( Distribution/Client/GZipUtils.hs, dist-ghc/build/cabal/cabal-tmp/Distribution/Client/GZipUtils.o )
[ 18 of 106] Compiling Distribution.Client.World ( Distribution/Client/World.hs, dist-ghc/build/cabal/cabal-tmp/Distribution/Client/World.o )
[ 19 of 106] Compiling Distribution.Client.ComponentDeps ( Distribution/Client/ComponentDeps.hs, dist-ghc/build/cabal/cabal-tmp/Distribution/Client/ComponentDeps.o )
[ 20 of 106] Compiling Distribution.Client.PackageIndex ( Distribution/Client/PackageIndex.hs, dist-ghc/build/cabal/cabal-tmp/Distribution/Client/PackageIndex.o )
[ 21 of 106] Compiling Distribution.Client.Init.Types ( Distribution/Client/Init/Types.hs, dist-ghc/build/cabal/cabal-tmp/Distribution/Client/Init/Types.o )
[ 22 of 106] Compiling Distribution.Client.BuildReports.Types ( Distribution/Client/BuildReports/Types.hs, dist-ghc/build/cabal/cabal-tmp/Distribution/Client/BuildReports/Types.o )
[ 23 of 106] Compiling Distribution.Client.Compat.Time ( Distribution/Client/Compat/Time.hs, dist-ghc/build/cabal/cabal-tmp/Distribution/Client/Compat/Time.o )
[ 24 of 106] Compiling Paths_cabal_install ( dist-ghc/build/autogen/Paths_cabal_install.hs, dist-ghc/build/cabal/cabal-tmp/Paths_cabal_install.o )
[ 25 of 106] Compiling Distribution.Client.Utils ( Distribution/Client/Utils.hs, dist-ghc/build/cabal/cabal-tmp/Distribution/Client/Utils.o )
[ 26 of 106] Compiling Distribution.Client.FileMonitor ( Distribution/Client/FileMonitor.hs, dist-ghc/build/cabal/cabal-tmp/Distribution/Client/FileMonitor.o )
[ 27 of 106] Compiling Distribution.Client.RebuildMonad ( Distribution/Client/RebuildMonad.hs, dist-ghc/build/cabal/cabal-tmp/Distribution/Client/RebuildMonad.o )
[ 28 of 106] Compiling Distribution.Client.Win32SelfUpgrade ( Distribution/Client/Win32SelfUpgrade.hs, dist-ghc/build/cabal/cabal-tmp/Distribution/Client/Win32SelfUpgrade.o )
[ 29 of 106] Compiling Distribution.Client.Types ( Distribution/Client/Types.hs, dist-ghc/build/cabal/cabal-tmp/Distribution/Client/Types.o )
[ 30 of 106] Compiling Distribution.Client.Dependency.Types ( Distribution/Client/Dependency/Types.hs, dist-ghc/build/cabal/cabal-tmp/Distribution/Client/Dependency/Types.o )
[ 31 of 106] Compiling Distribution.Client.HttpUtils ( Distribution/Client/HttpUtils.hs, dist-ghc/build/cabal/cabal-tmp/Distribution/Client/HttpUtils.o )
[ 32 of 106] Compiling Distribution.Client.Security.HTTP ( Distribution/Client/Security/HTTP.hs, dist-ghc/build/cabal/cabal-tmp/Distribution/Client/Security/HTTP.o )
[ 33 of 106] Compiling Distribution.Client.GlobalFlags ( Distribution/Client/GlobalFlags.hs, dist-ghc/build/cabal/cabal-tmp/Distribution/Client/GlobalFlags.o )
[ 34 of 106] Compiling Distribution.Client.FetchUtils ( Distribution/Client/FetchUtils.hs, dist-ghc/build/cabal/cabal-tmp/Distribution/Client/FetchUtils.o )
Distribution/Client/FetchUtils.hs:172:36: error:
* Couldn't match type `Distribution.Package.PackageIdentifier'
with `Cabal-1.24.0.0:Distribution.Package.PackageIdentifier'
NB: `Cabal-1.24.0.0:Distribution.Package.PackageIdentifier'
is defined in `Distribution.Package' in package `Cabal-1.24.0.0'
`Distribution.Package.PackageIdentifier'
is defined in `Distribution.Package' in package `Cabal-1.24.1.0'
Expected type: Cabal-1.24.0.0:Distribution.Package.PackageIdentifier
Actual type: PackageId
* In the second argument of Sec.downloadPackage', namely `pkgid'
In a stmt of a 'do' block: Sec.downloadPackage' rep pkgid path
In the second argument of `($)', namely
`do { info verbosity ("writing " ++ path);
Sec.downloadPackage' rep pkgid path }'
/usr/share/cdbs/1/class/hlibrary.mk:147: recipe for target 'build-ghc-stamp' failed
make: *** [build-ghc-stamp] Error 1
[…]
The full build log is attached.
Regards,
--
,''`.
: :' : Chris Lamb
`. `'` lamby at debian.org / chris-lamb.co.uk
`-
-------------- next part --------------
A non-text attachment was scrubbed...
Name: haskell-cabal-install.1.24.0.1-1.unstable.amd64.log.txt.gz
Type: application/octet-stream
Size: 6381 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/reproducible-builds/attachments/20161110/826bd786/attachment.obj>
More information about the Reproducible-builds
mailing list