You are not logged in.

#1 2009-07-24 13:24:28

unregistered
Member
Registered: 2008-04-09
Posts: 134

do I have to reinstall xmonad/xmonad-contrib if I upgrade ghc?

if so, what other things do I have to reinstall? I remember seeing a msg when upgrading ghc that I had to reinstall some packages...
because when I try to recompile my previous config files, it gave me the error that it couldn't find some modules, I think those which are in xmonad-contrib

EDIT: ok saw these threads here:
http://bbs.archlinux.org/viewtopic.php?id=42539
http://bbs.archlinux.org/viewtopic.php?id=69681
http://bbs.archlinux.org/viewtopic.php? … 98#p440598

so all I have to do is wait for the package maintainer to update the packages in the repos right?

Last edited by unregistered (2009-07-24 13:47:42)

Offline

#2 2009-07-24 22:41:51

djszapi
Member
From: Cambridge, United Kingdom
Registered: 2009-06-14
Posts: 1,439
Website

Re: do I have to reinstall xmonad/xmonad-contrib if I upgrade ghc?

What's the exact error output ?

Offline

#3 2009-07-24 23:47:10

brisbin33
Member
From: boston, ma
Registered: 2008-07-24
Posts: 1,796
Website

Re: do I have to reinstall xmonad/xmonad-contrib if I upgrade ghc?

you could try xmonad{,-contrib}-darcs from AUR if impatient.

Offline

#4 2009-07-26 15:56:38

PierreR
Member
Registered: 2008-11-10
Posts: 58

Re: do I have to reinstall xmonad/xmonad-contrib if I upgrade ghc?

I am interested in the same issue. Thanks for any help.

Offline

#5 2009-07-26 18:52:01

PierreR
Member
Registered: 2008-11-10
Posts: 58

Re: do I have to reinstall xmonad/xmonad-contrib if I upgrade ghc?

To make it compile again, the only recipe that actually worked for me was to remove all three packages and to rebuild them from aur source with "yaourt -Sb haskell-x11 xmonad xmonad-contrib". I have tried the registration script before that with no luck. Just re-installing the three packages with "yaourt -Suy" was not better.

Not sure if this is the right way to handle each ghc upgrade. It 's pretty annoying. Can we expect better in the future ? Is this a problem somehow related to Haskell or just the way the package lies across repos ?

Last edited by PierreR (2009-07-26 18:58:19)

Offline

#6 2009-07-26 18:57:24

jelly
Administrator
From: /dev/null
Registered: 2008-06-10
Posts: 714

Re: do I have to reinstall xmonad/xmonad-contrib if I upgrade ghc?

Ths problem only Occurs if you use the darcs version of xmonad, then you will have to recompile them against the updated version of ghc ( aka the compiler )  If you use the repo one , the maintainer rebuilds the package for you and you just need to install the updated version

Offline

#7 2009-07-26 18:59:26

PierreR
Member
Registered: 2008-11-10
Posts: 58

Re: do I have to reinstall xmonad/xmonad-contrib if I upgrade ghc?

I am not using the darcs version and I do get this problem ... I guess I just need to wait for the maintainers to rebuild the packages or do that myself. Sound a bit wierd to me this lack of back compatibility across binaries. My knowlegde of Haskell is really short.

Last edited by PierreR (2009-07-26 21:21:25)

Offline

#8 2009-07-26 19:23:13

brisbin33
Member
From: boston, ma
Registered: 2008-07-24
Posts: 1,796
Website

Re: do I have to reinstall xmonad/xmonad-contrib if I upgrade ghc?

yeah, i was having these issues today.  xmonad wouldn't load my config after upgrading ghc, seemed no matter what i did i couldn't get anything to rebuild/reinstall properly.  it ended up working when i did the following (in order).

rebuild via ABS:
  haskell-utf8-string
  haskell-x11
  haskell-x11-xft

rebuild/reinstall from AUR:
  xmonad-darcs
  xmonad-contrib-darcs

all the scriplets failed but i think that's ignorable.  i could've (and would've had to) also rebuild xmonad and xmonad-contrib via ABS if i used those instead of the -darcs versions.

Offline

#9 2009-10-04 00:05:11

kasbah
Member
Registered: 2009-08-13
Posts: 30

Re: do I have to reinstall xmonad/xmonad-contrib if I upgrade ghc?

So the xmonad package (the official arch one) is still broken by ghc 6.10?  I cannot configure (--recompile) newly installed xmonad. I cannot build xmonad-darcs from AUR due to the makepkg failing.

Offline

#10 2009-10-04 00:07:07

skottish
Forum Fellow
From: Here
Registered: 2006-06-16
Posts: 7,942

Re: do I have to reinstall xmonad/xmonad-contrib if I upgrade ghc?

kasbah wrote:

So the xmonad package (the official arch one) is still broken by ghc 6.10?  I cannot configure (--recompile) newly installed xmonad. I cannot build xmonad-darcs from AUR due to the makepkg failing.

xmonad in the repos is working fine with the current GHC. And, what do you mean makepkg is failing? Any errors or warnings?

Offline

#11 2009-10-04 00:24:16

kasbah
Member
Registered: 2009-08-13
Posts: 30

Re: do I have to reinstall xmonad/xmonad-contrib if I upgrade ghc?

skottish wrote:

xmonad in the repos is working fine with the current GHC.

I cannot configure (--recompile) xmonad from the repos due to:

xmonad.hs:1:0:
    Bad interface file: /usr/lib/ghc-6.10.4/base-4.1.0.0/Prelude.hi
        magic number mismatch: old/corrupt interface file? (wanted 129742, got 0)
skottish wrote:

And, what do you mean makepkg is failing? Any errors or warnings?

I cannot build xmonad-darcs from AUR. I left a comment on the package page: http://aur.archlinux.org/packages.php?ID=12483

But I would be happy with xmonad (stable) if I could only configure it.

Offline

#12 2009-10-04 00:44:55

skottish
Forum Fellow
From: Here
Registered: 2006-06-16
Posts: 7,942

Re: do I have to reinstall xmonad/xmonad-contrib if I upgrade ghc?

from_your_output wrote:

(GHC version 6.10.4 for i386-unknown-linux)

i386? Is this the normal GHC output?

Offline

Board footer

Powered by FluxBB