Hello! In course of my building packages for `git-vogue`, I need to build ghc-mod library. I download sources, but, strangely, `debuild -us -uc` fails with compains about two different cabal versions. Moreover, just `cabal configure && cabal build` success. I live on experimental (ghc-7.8.4). Any tips how debug it, please? Typescript attached. -- Best regards, Dmitry Bogatov <KAction@gnu.org>, Free Software supporter, esperantisto and netiquette guardian. GPG: 54B7F00D
Script started on dim 18 Jan 2015 06:48:11 +0300 Unable to connect to X server Unable to connect to X server bash-4.3$ pkg-ch[K[Khaskell-checkout ghc-mod Copying patches, to get lazy repository hit ctrl-C... Finished getting. ghc-mod: Version (5.2.1.1) available on remote site: http://hackage.haskell.org/package/ghc-mod-5.2.1.1/ghc-mod-5.2.1.1.tar.gz (local version is 5.2.1.1) Successfully downloaded updated package ghc-mod-5.2.1.1.tar.gz Successfully renamed ghc-mod-5.2.1.1.tar.gz to ghc-mod_5.2.1.1.orig.tar.gz. ghc-mod-5.2.1.1/LICENSE ghc-mod-5.2.1.1/Setup.hs ghc-mod-5.2.1.1/ghc-mod.cabal ghc-mod-5.2.1.1/ChangeLog ghc-mod-5.2.1.1/Language/ ghc-mod-5.2.1.1/Language/Haskell/ ghc-mod-5.2.1.1/Language/Haskell/GhcMod.hs ghc-mod-5.2.1.1/Language/Haskell/GhcMod/ ghc-mod-5.2.1.1/Language/Haskell/GhcMod/Internal.hs ghc-mod-5.2.1.1/Language/Haskell/GhcMod/Boot.hs ghc-mod-5.2.1.1/Language/Haskell/GhcMod/Browse.hs ghc-mod-5.2.1.1/Language/Haskell/GhcMod/Cabal16.hs ghc-mod-5.2.1.1/Language/Haskell/GhcMod/Cabal18.hs ghc-mod-5.2.1.1/Language/Haskell/GhcMod/Cabal21.hs ghc-mod-5.2.1.1/Language/Haskell/GhcMod/CabalApi.hs ghc-mod-5.2.1.1/Language/Haskell/GhcMod/CabalConfig.hs ghc-mod-5.2.1.1/Language/Haskell/GhcMod/CaseSplit.hs ghc-mod-5.2.1.1/Language/Haskell/GhcMod/Check.hs ghc-mod-5.2.1.1/Language/Haskell/GhcMod/Convert.hs ghc-mod-5.2.1.1/Language/Haskell/GhcMod/Cradle.hs ghc-mod-5.2.1.1/Language/Haskell/GhcMod/Debug.hs ghc-mod-5.2.1.1/Language/Haskell/GhcMod/Doc.hs ghc-mod-5.2.1.1/Language/Haskell/GhcMod/DynFlags.hs ghc-mod-5.2.1.1/Language/Haskell/GhcMod/Error.hs ghc-mod-5.2.1.1/Language/Haskell/GhcMod/FillSig.hs ghc-mod-5.2.1.1/Language/Haskell/GhcMod/Find.hs ghc-mod-5.2.1.1/Language/Haskell/GhcMod/Flag.hs ghc-mod-5.2.1.1/Language/Haskell/GhcMod/GHCApi.hs ghc-mod-5.2.1.1/Language/Haskell/GhcMod/GHCChoice.hs ghc-mod-5.2.1.1/Language/Haskell/GhcMod/Gap.hs ghc-mod-5.2.1.1/Language/Haskell/GhcMod/GhcPkg.hs ghc-mod-5.2.1.1/Language/Haskell/GhcMod/Info.hs ghc-mod-5.2.1.1/Language/Haskell/GhcMod/Lang.hs ghc-mod-5.2.1.1/Language/Haskell/GhcMod/Lint.hs ghc-mod-5.2.1.1/Language/Haskell/GhcMod/Logger.hs ghc-mod-5.2.1.1/Language/Haskell/GhcMod/Modules.hs ghc-mod-5.2.1.1/Language/Haskell/GhcMod/Monad.hs ghc-mod-5.2.1.1/Language/Haskell/GhcMod/PathsAndFiles.hs ghc-mod-5.2.1.1/Language/Haskell/GhcMod/PkgDoc.hs ghc-mod-5.2.1.1/Language/Haskell/GhcMod/Read.hs ghc-mod-5.2.1.1/Language/Haskell/GhcMod/SrcUtils.hs ghc-mod-5.2.1.1/Language/Haskell/GhcMod/Target.hs ghc-mod-5.2.1.1/Language/Haskell/GhcMod/Types.hs ghc-mod-5.2.1.1/Language/Haskell/GhcMod/Utils.hs ghc-mod-5.2.1.1/Language/Haskell/GhcMod/World.hs ghc-mod-5.2.1.1/Language/Haskell/GhcMod/Monad.hs-boot ghc-mod-5.2.1.1/src/ ghc-mod-5.2.1.1/src/GHCModi.hs ghc-mod-5.2.1.1/src/Misc.hs ghc-mod-5.2.1.1/src/Utils.hs ghc-mod-5.2.1.1/src/GHCMod.hs ghc-mod-5.2.1.1/test/ ghc-mod-5.2.1.1/test/Main.hs ghc-mod-5.2.1.1/test/BrowseSpec.hs ghc-mod-5.2.1.1/test/CabalApiSpec.hs ghc-mod-5.2.1.1/test/CheckSpec.hs ghc-mod-5.2.1.1/test/Dir.hs ghc-mod-5.2.1.1/test/FlagSpec.hs ghc-mod-5.2.1.1/test/InfoSpec.hs ghc-mod-5.2.1.1/test/LangSpec.hs ghc-mod-5.2.1.1/test/LintSpec.hs ghc-mod-5.2.1.1/test/ListSpec.hs ghc-mod-5.2.1.1/test/MonadSpec.hs ghc-mod-5.2.1.1/test/PathsAndFilesSpec.hs ghc-mod-5.2.1.1/test/Spec.hs ghc-mod-5.2.1.1/test/TestUtils.hs ghc-mod-5.2.1.1/test/doctests.hs ghc-mod-5.2.1.1/test/data/ ghc-mod-5.2.1.1/test/data/cabalapi.cabal ghc-mod-5.2.1.1/test/data/Bar.hs ghc-mod-5.2.1.1/test/data/Baz.hs ghc-mod-5.2.1.1/test/data/Foo.hs ghc-mod-5.2.1.1/test/data/Main.hs ghc-mod-5.2.1.1/test/data/Mutual2.hs ghc-mod-5.2.1.1/test/data/Unicode.hs ghc-mod-5.2.1.1/test/data/hlint.hs ghc-mod-5.2.1.1/test/data/ForeignExport.hs ghc-mod-5.2.1.1/test/data/Info.hs ghc-mod-5.2.1.1/test/data/Mutual1.hs ghc-mod-5.2.1.1/test/data/cabal.sandbox.config.in ghc-mod-5.2.1.1/test/data/.cabal-sandbox/ ghc-mod-5.2.1.1/test/data/.cabal-sandbox/i386-osx-ghc-7.6.3-packages.conf.d/ ghc-mod-5.2.1.1/test/data/.cabal-sandbox/i386-osx-ghc-7.6.3-packages.conf.d/Cabal-1.18.1.3-2b161c6bf77657aa17e1681d83cb051b.conf ghc-mod-5.2.1.1/test/data/.cabal-sandbox/packages/ ghc-mod-5.2.1.1/test/data/.cabal-sandbox/packages/00-index.tar ghc-mod-5.2.1.1/test/data/broken-cabal/ ghc-mod-5.2.1.1/test/data/broken-cabal/broken.cabal ghc-mod-5.2.1.1/test/data/broken-cabal/cabal.sandbox.config.in ghc-mod-5.2.1.1/test/data/broken-sandbox/ ghc-mod-5.2.1.1/test/data/broken-sandbox/dummy.cabal ghc-mod-5.2.1.1/test/data/broken-sandbox/cabal.sandbox.config ghc-mod-5.2.1.1/test/data/case-split/ ghc-mod-5.2.1.1/test/data/case-split/Vect.hs ghc-mod-5.2.1.1/test/data/cabal-flags/ ghc-mod-5.2.1.1/test/data/cabal-flags/cabal-flags.cabal ghc-mod-5.2.1.1/test/data/check-test-subdir/ ghc-mod-5.2.1.1/test/data/check-test-subdir/check-test-subdir.cabal ghc-mod-5.2.1.1/test/data/check-test-subdir/src/ ghc-mod-5.2.1.1/test/data/check-test-subdir/src/Check/ ghc-mod-5.2.1.1/test/data/check-test-subdir/src/Check/Test/ ghc-mod-5.2.1.1/test/data/check-test-subdir/src/Check/Test/Subdir.hs ghc-mod-5.2.1.1/test/data/check-test-subdir/test/ ghc-mod-5.2.1.1/test/data/check-test-subdir/test/Foo.hs ghc-mod-5.2.1.1/test/data/check-test-subdir/test/Main.hs ghc-mod-5.2.1.1/test/data/check-test-subdir/test/Bar/ ghc-mod-5.2.1.1/test/data/check-test-subdir/test/Bar/Baz.hs ghc-mod-5.2.1.1/test/data/check-packageid/ ghc-mod-5.2.1.1/test/data/check-packageid/cabal.sandbox.config.in ghc-mod-5.2.1.1/test/data/check-packageid/.cabal-sandbox/ ghc-mod-5.2.1.1/test/data/check-packageid/.cabal-sandbox/i386-osx-ghc-7.6.3-packages.conf.d/ ghc-mod-5.2.1.1/test/data/check-packageid/.cabal-sandbox/i386-osx-ghc-7.6.3-packages.conf.d/template-haskell-2.8.0.0-32d4f24abdbb6bf41272b183b2e23e9c.conf ghc-mod-5.2.1.1/test/data/duplicate-pkgver/ ghc-mod-5.2.1.1/test/data/duplicate-pkgver/cabal.sandbox.config.in ghc-mod-5.2.1.1/test/data/duplicate-pkgver/duplicate-pkgver.cabal ghc-mod-5.2.1.1/test/data/duplicate-pkgver/.cabal-sandbox/ ghc-mod-5.2.1.1/test/data/duplicate-pkgver/.cabal-sandbox/i386-osx-ghc-7.6.3-packages.conf.d/ ghc-mod-5.2.1.1/test/data/duplicate-pkgver/.cabal-sandbox/i386-osx-ghc-7.6.3-packages.conf.d/template-haskell-1.0-7c59d13f32294d1ef6dc6233c24df961.conf ghc-mod-5.2.1.1/test/data/duplicate-pkgver/.cabal-sandbox/i386-osx-ghc-7.6.3-packages.conf.d/template-haskell-2.8.0.0-14e543bdae2da4d2aeff5386892c9112.conf ghc-mod-5.2.1.1/test/data/duplicate-pkgver/.cabal-sandbox/i386-osx-ghc-7.6.3-packages.conf.d/template-haskell-2.8.0.0-32d4f24abdbb6bf41272b183b2e23e9c.conf ghc-mod-5.2.1.1/test/data/pattern-synonyms/ ghc-mod-5.2.1.1/test/data/pattern-synonyms/pattern-synonyms.cabal ghc-mod-5.2.1.1/test/data/pattern-synonyms/A.hs ghc-mod-5.2.1.1/test/data/pattern-synonyms/B.hs ghc-mod-5.2.1.1/test/data/pattern-synonyms/Setup.hs ghc-mod-5.2.1.1/test/data/ghc-mod-check/ ghc-mod-5.2.1.1/test/data/ghc-mod-check/ghc-mod-check.cabal ghc-mod-5.2.1.1/test/data/ghc-mod-check/main.hs ghc-mod-5.2.1.1/test/data/ghc-mod-check/Data/ ghc-mod-5.2.1.1/test/data/ghc-mod-check/Data/Foo.hs ghc-mod-5.2.1.1/test/data/subdir1/ ghc-mod-5.2.1.1/test/data/subdir1/subdir2/ ghc-mod-5.2.1.1/test/data/subdir1/subdir2/dummy ghc-mod-5.2.1.1/elisp/ ghc-mod-5.2.1.1/elisp/Makefile ghc-mod-5.2.1.1/elisp/ghc.el ghc-mod-5.2.1.1/elisp/ghc-func.el ghc-mod-5.2.1.1/elisp/ghc-doc.el ghc-mod-5.2.1.1/elisp/ghc-comp.el ghc-mod-5.2.1.1/elisp/ghc-check.el ghc-mod-5.2.1.1/elisp/ghc-process.el ghc-mod-5.2.1.1/elisp/ghc-command.el ghc-mod-5.2.1.1/elisp/ghc-info.el ghc-mod-5.2.1.1/elisp/ghc-ins-mod.el ghc-mod-5.2.1.1/elisp/ghc-indent.el ghc-mod-5.2.1.1/elisp/ghc-pkg.el ghc-mod-5.2.1.1/elisp/ghc-rewrite.el Successfully checked out ghc-mod in ghc-mod-5.2.1.1 bash-4.3$ cd ghc-mod-[K ...-5.2.1.1/ ..._5.2.1.1.orig.tar.gz bash-4.3$ cd ghc-mod* bash-4.3$ ls ChangeLog debian elisp ghc-mod.cabal Language LICENSE Setup.hs src test bash-4.3$ debuild -us -c[Kuc dpkg-buildpackage -rfakeroot -D -us -uc dpkg-buildpackage: source package ghc-mod dpkg-buildpackage: source version 5.2.1.1-4 dpkg-buildpackage: source distribution experimental dpkg-buildpackage: source changed by Joachim Breitner <nomeata@debian.org> dpkg-source --before-build ghc-mod-5.2.1.1 dpkg-buildpackage: host architecture amd64 fakeroot debian/rules clean test -x debian/rules dh_testroot dh_clean [ ! -x "debian/hlibrary.setup" ] || debian/hlibrary.setup clean rm -rf dist dist-ghc dist-hugs debian/hlibrary.setup Setup.hi Setup.ho Setup.o .*config* rm -f configure-ghc-stamp build-ghc-stamp build-hugs-stamp build-haddock-stamp rm -rf debian/tmp-inst-ghc rm -f debian/extra-depends rm -f debian/libghc-ghc-mod-doc.links rm -f debian/libghc-ghc-mod-dev.lintian-overrides rm -f debian/hlibrary.Makefile rm -rf debian/dh_haskell_shlibdeps dpkg-source -b ghc-mod-5.2.1.1 dpkg-source: info: using source format `3.0 (quilt)' dpkg-source: info: building ghc-mod using existing ./ghc-mod_5.2.1.1.orig.tar.gz dpkg-source: info: building ghc-mod in ghc-mod_5.2.1.1-4.debian.tar.xz dpkg-source: info: building ghc-mod in ghc-mod_5.2.1.1-4.dsc debian/rules build test -x debian/rules mkdir -p "." /usr/share/cdbs/1/rules/buildcore.mk:109: WARNING: DEB_COMPRESS_EXCLUDE is a deprecated variable if test ! -e Setup.lhs -a ! -e Setup.hs; then echo "No setup script found!"; exit 1; fi for setup in Setup.lhs Setup.hs; do if test -e $setup; then ghc --make $setup -o debian/hlibrary.setup; exit 0; fi; done [1 of 1] Compiling Main ( Setup.hs, Setup.o ) Linking debian/hlibrary.setup ... debian/hlibrary.setup configure --ghc -v2 \ --prefix=/usr --libdir=/usr/lib/haskell-packages/ghc/lib \ --builddir=dist-ghc \ --haddockdir=/usr/lib/ghc-doc/haddock/ghc-mod-5.2.1.1/ --datasubdir=ghc-mod\ --htmldir=/usr/share/doc/libghc-ghc-mod-doc/html/ \ Configuring ghc-mod-5.2.1.1... Dependency Cabal >=1.18: using Cabal-1.20.0.2 Dependency async -any: using async-2.0.1.5 Dependency base >=4.0 && <5: using base-4.7.0.2 Dependency containers -any: using containers-0.5.5.1 Dependency data-default -any: using data-default-0.5.3 Dependency deepseq -any: using deepseq-1.3.0.2 Dependency directory -any: using directory-1.2.1.0 Dependency djinn-ghc >=0.0.2.2: using djinn-ghc-0.0.2.2 Dependency filepath -any: using filepath-1.3.0.2 Dependency ghc -any: using ghc-7.8.4 Dependency ghc-mod -any: using ghc-mod-5.2.1.1 Dependency ghc-paths -any: using ghc-paths-0.1.0.9 Dependency ghc-syb-utils -any: using ghc-syb-utils-0.2.1.2 Dependency haskell-src-exts -any: using haskell-src-exts-1.16.0.1 Dependency hlint >=1.8.61: using hlint-1.9.16 Dependency io-choice -any: using io-choice-0.0.5 Dependency monad-control -any: using monad-control-0.3.2.2 Dependency monad-journal >=0.4: using monad-journal-0.5 Dependency mtl >=2.0: using mtl-2.1.3.1 Dependency old-time -any: using old-time-1.1.0.2 Dependency pretty -any: using pretty-1.1.1.1 Dependency process -any: using process-1.2.0.0 Dependency split -any: using split-0.2.2 Dependency syb -any: using syb-0.4.0 Dependency temporary -any: using temporary-1.2.0.3 Dependency text -any: using text-1.1.1.3 Dependency time -any: using time-1.4.2 Dependency transformers -any: using transformers-0.3.0.0 Dependency transformers-base -any: using transformers-base-0.4.1 Warning: This package indirectly depends on multiple versions of the same package. This is highly likely to cause a compile failure. package ghc-7.8.4 requires Cabal-1.18.1.5 package bin-package-db-0.0.0.0 requires Cabal-1.18.1.5 package ghc-mod-5.2.1.1 requires Cabal-1.20.0.2 Using Cabal-1.20.0.2 compiled by ghc-7.8 Using compiler: ghc-7.8.4 Using install prefix: /usr Binaries installed in: /usr/bin Libraries installed in: /usr/lib/haskell-packages/ghc/lib/x86_64-linux-ghc-7.8.4/ghc-mod-5.2.1.1 Private binaries installed in: /usr/libexec Data files installed in: /usr/share/ghc-mod Documentation installed in: /usr/share/doc/x86_64-linux-ghc-7.8.4/ghc-mod-5.2.1.1 Configuration files installed in: /usr/etc Using alex version 3.1.3 found on system at: /usr/bin/alex Using ar found on system at: /usr/bin/ar No c2hs found No cpphs found No ffihugs found Using gcc version 4.7 found on system at: /usr/bin/gcc Using ghc version 7.8.4 found on system at: /usr/bin/ghc Using ghc-pkg version 7.8.4 found on system at: /usr/bin/ghc-pkg No greencard found Using haddock version 2.14.3 found on system at: /usr/bin/haddock Using happy version 1.19.4 found on system at: /usr/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: /usr/bin/hpc Using hsc2hs version 0.67 found on system at: /usr/bin/hsc2hs Using hscolour version 1.19 found on system at: /usr/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 touch configure-ghc-stamp debian/hlibrary.setup build --builddir=dist-ghc Building ghc-mod-5.2.1.1... Preprocessing library ghc-mod-5.2.1.1... [ 1 of 38] Compiling Language.Haskell.GhcMod.Read ( Language/Haskell/GhcMod/Read.hs, dist-ghc/build/Language/Haskell/GhcMod/Read.o ) [ 2 of 38] Compiling Language.Haskell.GhcMod.Cabal21 ( Language/Haskell/GhcMod/Cabal21.hs, dist-ghc/build/Language/Haskell/GhcMod/Cabal21.o ) [ 3 of 38] Compiling Language.Haskell.GhcMod.Cabal18 ( Language/Haskell/GhcMod/Cabal18.hs, dist-ghc/build/Language/Haskell/GhcMod/Cabal18.o ) [ 4 of 38] Compiling Language.Haskell.GhcMod.Cabal16 ( Language/Haskell/GhcMod/Cabal16.hs, dist-ghc/build/Language/Haskell/GhcMod/Cabal16.o ) [ 5 of 38] Compiling Language.Haskell.GhcMod.GHCChoice ( Language/Haskell/GhcMod/GHCChoice.hs, dist-ghc/build/Language/Haskell/GhcMod/GHCChoice.o ) [ 6 of 38] Compiling Language.Haskell.GhcMod.Error ( Language/Haskell/GhcMod/Error.hs, dist-ghc/build/Language/Haskell/GhcMod/Error.o ) [ 7 of 38] Compiling Language.Haskell.GhcMod.Utils ( Language/Haskell/GhcMod/Utils.hs, dist-ghc/build/Language/Haskell/GhcMod/Utils.o ) [ 8 of 38] Compiling Language.Haskell.GhcMod.Types ( Language/Haskell/GhcMod/Types.hs, dist-ghc/build/Language/Haskell/GhcMod/Types.o ) [ 9 of 38] Compiling Language.Haskell.GhcMod.Gap ( Language/Haskell/GhcMod/Gap.hs, dist-ghc/build/Language/Haskell/GhcMod/Gap.o ) [10 of 38] Compiling Language.Haskell.GhcMod.DynFlags ( Language/Haskell/GhcMod/DynFlags.hs, dist-ghc/build/Language/Haskell/GhcMod/DynFlags.o ) [11 of 38] Compiling Language.Haskell.GhcMod.Doc ( Language/Haskell/GhcMod/Doc.hs, dist-ghc/build/Language/Haskell/GhcMod/Doc.o ) [12 of 38] Compiling Language.Haskell.GhcMod.PathsAndFiles ( Language/Haskell/GhcMod/PathsAndFiles.hs, dist-ghc/build/Language/Haskell/GhcMod/PathsAndFiles.o ) [13 of 38] Compiling Language.Haskell.GhcMod.GhcPkg ( Language/Haskell/GhcMod/GhcPkg.hs, dist-ghc/build/Language/Haskell/GhcMod/GhcPkg.o ) [14 of 38] Compiling Language.Haskell.GhcMod.World ( Language/Haskell/GhcMod/World.hs, dist-ghc/build/Language/Haskell/GhcMod/World.o ) [15 of 38] Compiling Language.Haskell.GhcMod.CabalConfig ( Language/Haskell/GhcMod/CabalConfig.hs, dist-ghc/build/Language/Haskell/GhcMod/CabalConfig.o ) [16 of 38] Compiling Language.Haskell.GhcMod.CabalApi ( Language/Haskell/GhcMod/CabalApi.hs, dist-ghc/build/Language/Haskell/GhcMod/CabalApi.o ) [17 of 38] Compiling Language.Haskell.GhcMod.Cradle ( Language/Haskell/GhcMod/Cradle.hs, dist-ghc/build/Language/Haskell/GhcMod/Cradle.o ) [18 of 38] Compiling Language.Haskell.GhcMod.Monad ( Language/Haskell/GhcMod/Monad.hs, dist-ghc/build/Language/Haskell/GhcMod/Monad.o ) [19 of 38] Compiling Language.Haskell.GhcMod.PkgDoc ( Language/Haskell/GhcMod/PkgDoc.hs, dist-ghc/build/Language/Haskell/GhcMod/PkgDoc.o ) [20 of 38] Compiling Language.Haskell.GhcMod.Target ( Language/Haskell/GhcMod/Target.hs, dist-ghc/build/Language/Haskell/GhcMod/Target.o ) [21 of 38] Compiling Language.Haskell.GhcMod.Convert ( Language/Haskell/GhcMod/Convert.hs, dist-ghc/build/Language/Haskell/GhcMod/Convert.o ) [22 of 38] Compiling Language.Haskell.GhcMod.Find ( Language/Haskell/GhcMod/Find.hs, dist-ghc/build/Language/Haskell/GhcMod/Find.o ) [23 of 38] Compiling Language.Haskell.GhcMod.Flag ( Language/Haskell/GhcMod/Flag.hs, dist-ghc/build/Language/Haskell/GhcMod/Flag.o ) [24 of 38] Compiling Language.Haskell.GhcMod.Lang ( Language/Haskell/GhcMod/Lang.hs, dist-ghc/build/Language/Haskell/GhcMod/Lang.o ) [25 of 38] Compiling Language.Haskell.GhcMod.Modules ( Language/Haskell/GhcMod/Modules.hs, dist-ghc/build/Language/Haskell/GhcMod/Modules.o ) [26 of 38] Compiling Language.Haskell.GhcMod.Logger ( Language/Haskell/GhcMod/Logger.hs, dist-ghc/build/Language/Haskell/GhcMod/Logger.o ) [27 of 38] Compiling Language.Haskell.GhcMod.Lint ( Language/Haskell/GhcMod/Lint.hs, dist-ghc/build/Language/Haskell/GhcMod/Lint.o ) [28 of 38] Compiling Language.Haskell.GhcMod.Internal ( Language/Haskell/GhcMod/Internal.hs, dist-ghc/build/Language/Haskell/GhcMod/Internal.o ) [29 of 38] Compiling Language.Haskell.GhcMod.Debug ( Language/Haskell/GhcMod/Debug.hs, dist-ghc/build/Language/Haskell/GhcMod/Debug.o ) [30 of 38] Compiling Language.Haskell.GhcMod.SrcUtils ( Language/Haskell/GhcMod/SrcUtils.hs, dist-ghc/build/Language/Haskell/GhcMod/SrcUtils.o ) [31 of 38] Compiling Language.Haskell.GhcMod.FillSig ( Language/Haskell/GhcMod/FillSig.hs, dist-ghc/build/Language/Haskell/GhcMod/FillSig.o ) [32 of 38] Compiling Language.Haskell.GhcMod.Info ( Language/Haskell/GhcMod/Info.hs, dist-ghc/build/Language/Haskell/GhcMod/Info.o ) [33 of 38] Compiling Language.Haskell.GhcMod.GHCApi ( Language/Haskell/GhcMod/GHCApi.hs, dist-ghc/build/Language/Haskell/GhcMod/GHCApi.o ) Language/Haskell/GhcMod/GHCApi.hs:35:42: Couldn't match expected type ‘InstalledPackageId’ with actual type ‘Cabal-1.18.1.5:Distribution.Package.InstalledPackageId’ NB: ‘InstalledPackageId’ is defined in ‘Distribution.Package’ in package ‘Cabal-1.20.0.2’ ‘Cabal-1.18.1.5:Distribution.Package.InstalledPackageId’ is defined in ‘Distribution.Package’ in package ‘Cabal-1.18.1.5’ In the second argument of ‘($)’, namely ‘G.installedPackageId pkg’ In the expression: fromInstalledPackageId $ G.installedPackageId pkg Language/Haskell/GhcMod/GHCApi.hs:37:57: Couldn't match type ‘Cabal-1.18.1.5:Distribution.Package.InstalledPackageId’ with ‘InstalledPackageId’ NB: ‘Cabal-1.18.1.5:Distribution.Package.InstalledPackageId’ is defined in ‘Distribution.Package’ in package ‘Cabal-1.18.1.5’ ‘InstalledPackageId’ is defined in ‘Distribution.Package’ in package ‘Cabal-1.20.0.2’ Expected type: G.InstalledPackageInfo_ m1 -> InstalledPackageId Actual type: G.InstalledPackageInfo_ m1 -> Cabal-1.18.1.5:Distribution.Package.InstalledPackageId In the second argument of ‘(.)’, namely ‘G.installedPackageId’ In the first argument of ‘filter’, namely ‘((/= InstalledPackageId "builtin_rts") . G.installedPackageId)’ Language/Haskell/GhcMod/GHCApi.hs:40:36: Couldn't match type ‘Cabal-1.18.1.5:Distribution.Package.InstalledPackageId’ with ‘InstalledPackageId’ NB: ‘Cabal-1.18.1.5:Distribution.Package.InstalledPackageId’ is defined in ‘Distribution.Package’ in package ‘Cabal-1.18.1.5’ ‘InstalledPackageId’ is defined in ‘Distribution.Package’ in package ‘Cabal-1.20.0.2’ Expected type: G.PackageConfig -> InstalledPackageId Actual type: G.InstalledPackageInfo_ G.ModuleName -> Cabal-1.18.1.5:Distribution.Package.InstalledPackageId In the second argument of ‘(.)’, namely ‘G.installedPackageId’ In the expression: fromInstalledPackageId . G.installedPackageId /usr/share/cdbs/1/class/hlibrary.mk:122: recipe for target 'build-ghc-stamp' failed make: *** [build-ghc-stamp] Error 1 dpkg-buildpackage: error: debian/rules build gave error exit status 2 debuild: fatal error at line 1376: dpkg-buildpackage -rfakeroot -D -us -uc failed bash-4.3$ exit Script done on dim 18 Jan 2015 06:49:23 +0300
Attachment:
pgptdLdx6ganu.pgp
Description: PGP signature