[Pkg-haskell-maintainers] Bug#633828: xmonad: can't recomile after ghc upgrade (7.0.4)

Jason Woofenden jason at jasonwoof.com
Thu Jul 14 06:38:26 UTC 2011


Package: xmonad
Version: 0.9.2-2+b1
Severity: normal

I can't recompile my xmonad settings because libghc-xmonad-dev is
incompatible with ghc-7.0.4.

xmonad --recompile gives this:

	xmonad.hs:1:1:
    	    Bad interface file: /usr/lib/haskell-packages/ghc/lib/xmonad-0.9.2/ghc-7.0.3/XMonad.hi
        	   mismatched interface file versions (wanted "7004", got "7003")

I tried to compile the xmonad source package, but it gave a similar
error:

	XMonad/Core.hs:38:1:
    	    Bad interface file: /usr/lib/haskell-packages/ghc/lib/mtl-2.0.1.0/ghc-7.0.3/Control/Monad/State.hi
        	   mismatched interface file versions (wanted "7004", got "7003")

I poked around a little:

 	$ ls /usr/lib/haskell-packages/ghc/lib/*/ 
	/usr/lib/haskell-packages/ghc/lib/mtl-2.0.1.0/:
	ghc-7.0.3

	/usr/lib/haskell-packages/ghc/lib/syb-0.3/:
	ghc-7.0.3

	/usr/lib/haskell-packages/ghc/lib/transformers-0.2.2.0/:
	ghc-7.0.3

	/usr/lib/haskell-packages/ghc/lib/utf8-string-0.3.6/:
	ghc-7.0.3

	/usr/lib/haskell-packages/ghc/lib/X11-1.5.0.0/:
	ghc-7.0.3

	/usr/lib/haskell-packages/ghc/lib/X11-xft-0.3/:
	ghc-7.0.3

	/usr/lib/haskell-packages/ghc/lib/xmonad-0.9.2/:
	ghc-7.0.3

	/usr/lib/haskell-packages/ghc/lib/xmonad-contrib-0.9.2/:
	ghc-7.0.3

Seems all haskel libs I have installed are hardcoded to ghc-7.0.3.
I tried dpkg --search and dpkg --listfiles on the mlt one, and it
shows that the ghc-7.0.3 directory shown above is installed by the
.deb (and not auto-generated after.)

But somehow this exact version requirement of these packages is not
understood by aptitude. libghc-mlt-dev says it requires
libghc-base-dev-4.3.1.0-71f60 which ghc-7.0.4-3 has in it's
"package names provided ghc".

I'm going to try to downgrade ghc to 7.0.3 for now. Hope that makes
things work again until this dependency stuff is worked out, or at
least new versions of the libghc-* packages are pushed to unstable.

As always, let me know if there's something I can do.

Take care,     - Jason

-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.39-2-686-pae (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages xmonad depends on:
ii  libc6                     2.13-10        Embedded GNU C Library: Shared lib
ii  libffi5                   3.0.9-7        Foreign Function Interface library
ii  libgmp10                  2:5.0.1+dfsg-7 Multiprecision arithmetic library
ii  libx11-6                  2:1.4.3-2      X11 client-side library
ii  libxext6                  2:1.3.0-3      X11 miscellaneous extension librar
ii  libxinerama1              2:1.1.1-3      X11 Xinerama extension library
ii  x11-utils                 7.6+3          X11 utilities

Versions of packages xmonad recommends:
ii  libghc-xmonad-dev             0.9.2-2+b1 A lightweight X11 window manager
pn  libghc-xmonad-doc             <none>     (no description available)
ii  xfonts-base                   1:1.0.3    standard fonts for X

Versions of packages xmonad suggests:
ii  suckless-tools [dmenu]        38-1       simple commands for minimalistic w

-- no debconf information





More information about the Pkg-haskell-maintainers mailing list