more binary dists Re: ANNOUNCE: GHC version 6.10.4

Christian Maeder Christian.Maeder at dfki.de
Fri Jul 24 08:19:15 EDT 2009


Simon Marlow wrote:
> SDM: I'd guess your gmp.h is dropping definitions for some inline
> functions into the code.

gmp for ghc was taking from the ghc-sources, but maybe my gcc uses
/usr/local/include/gmp.h nevertheless (because that's a system path).

> +tcfail126.hs:11:0:
> +    Failed to load interface for `Control.Monad.Trans':
> +      it was found in multiple packages: mtl-1.1.0.2 ghc-mtl-1.1.0.2
> 
> SDM: I don't have a ghc-mtl library.  Where does that come from?

I see "ghc-mtl" for the first time, too.

> Stderr:
> tar: C: unbekannter Funktionsmodifizierer
> Syntax: tar {c|r|t|u|x}[BDeEFhilmnopPqTvw@[0-7]][bfk][X...] [Blockgröße]
> [tar-Datei] [Größe] [Ausschlussdatei...] {Datei | -I Einschlussdatei |
> -C Verzeichnis Datei}...
> gmake[1]: *** [cabal01] Fehler 1
> 
> *** unexpected failure for cabal01(normal)
> 
> SDM: looks like the test needs to be fixed to work with non-GNU tar?
> Or is it a Cabal issue?

Cabal usually works fine for me. It's a typical error when tar was used
instead of gtar.

> =====> ghcpkg05(normal)
> cd ./cabal && $MAKE -s --no-print-directory ghcpkg05    </dev/null
>>ghcpkg05.run.stdout 2>ghcpkg05.run.stderr
> Actual stderr output differs from expected:
> --- ./cabal/ghcpkg05.stderr.normalised    Fr Jul 17 21:49:05 2009
> +++ ./cabal/ghcpkg05.run.stderr.normalised    Fr Jul 17 21:49:05 2009
> @@ -8,9 +8,15 @@
>    file C/D.hi is missing
>    file C/E.hi is missing
>    cannot find libtestpkg-2.0.a on library path
> +There are problems in package HAIFA-0.12:
> +  dependency HTTP-3001.1.5 doesn't exist
> +  dependency dataenc-0.13.0.0 doesn't exist
> +  dependency hxt-8.2.0 doesn't exist
> +  dependency hxt-filter-8.2.0 doesn't exist
> 
>  The following packages are broken, either because they have a problem
>  listed above, or because they depend on a broken package.
>  testpkg-2.0
> +HAIFA-0.12
>  testpkg-3.0
>  ghc-pkg: unregistering testpkg-2.0 would break the following packages:
> testpkg-3.0 (use --force to override)
> *** unexpected failure for ghcpkg05(normal)
> 
> SDM: What is HAIFA?

I can explain this one. I ran the testsuite after having installed ghc
and HAIFA (not on hackage) in the user base and the other packages
globally. The inplace compiler being tested does not know my additional
global packages but still looks in the user base.

> 
> =====> driver063(normal)
> cd ./driver && $MAKE -s --no-print-directory test063    </dev/null
>>driver063.run.stdout 2>driver063.run.stderr
> Actual stderr output differs from expected:
> --- ./driver/driver063.stderr.normalised    Fr Jul 17 21:50:02 2009
> +++ ./driver/driver063.run.stderr.normalised    Fr Jul 17 21:50:02 2009
> @@ -1,4 +1,0 @@
> -
> -D.hs:2:7:
> -    Could not find module `A':
> -      it is not a module in the current program, or in any known package.
> *** unexpected failure for driver063(normal)
> 
> SDM: looks wrong, but might be benign if you have a module A floating
> about somewhere.

"ghc-pkg find-module A" does not show a module A (Maybe an early test
left a module A in the user base.)

Thanks for looking through it. I don't know when I'll have time for tickets.

Cheers Christian


More information about the Glasgow-haskell-users mailing list