FS#17836 - [ghc] 6.12.1-2 changes

Attached to Project: Community Packages
Opened by orbisvicis (orbisvicis) - Thursday, 14 January 2010, 17:38 GMT
Last edited by Vesa Kaihlavirta (vegai) - Monday, 01 February 2010, 10:10 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Vesa Kaihlavirta (vegai)
Sergej Pupykin (sergej)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 5
Private No

Details

Description: (several things)
. xmonad and xmonad-contrib need to be rebuilt
. gtk2hs needs to be rebuilt
. utf8-string is now part of ghc-g.12.1, so:
- xmonad-contrib
- haskell-x11-xft
probably should not need to depend on haskell-utf8-string


Additional info:
extra/ghc 6.12.1-2
extra/haskell-utf8-string 0.3.6-2.1
community/haskell-x11 1.5.0.0-1
community/haskell-x11-xft 0.3-11
community/xmonad 0.9-2.1
community/xmonad-contrib 0.9-1.2
community/gtk2hs 0.10.1-3

Other:
(marked as higher severity b/c it should be easy enough to accomplish)
This task depends upon

Closed by  Vesa Kaihlavirta (vegai)
Monday, 01 February 2010, 10:10 GMT
Reason for closing:  Fixed
Comment by Vesa Kaihlavirta (vegai) - Friday, 15 January 2010, 07:28 GMT
Agreed on xmonad, xmonad-contrib. They're not buildable currently, however. Need to be patched or wait for their next release.

ghc has utf8-string-0.3.4, which is not recent enough for a lot of packages, that's why there's a newer haskell-utf8-string.
Comment by Vesa Kaihlavirta (vegai) - Friday, 15 January 2010, 07:31 GMT
Also, gtk2hs seems unbuildable. haskell-x11 and x11-xft should be there already.
Comment by Vesa Kaihlavirta (vegai) - Friday, 15 January 2010, 22:07 GMT
xmonad-darcs works with ghc-6.12. Recommended that people use that until they get a new release out.
Comment by Vesa Kaihlavirta (vegai) - Saturday, 16 January 2010, 10:59 GMT
Ah, somehow I had missed that the xmonad team had released 0.9.1, which is a ghc-6.12 bugfix release.

Built and uploaded xmonad and xmonad-contrib 0.9.1 to community (i686 only, my x86_64 is not available during the weekends). If somebody wants to build x86_64, that'd be great.
Comment by tinmrn (tinmrn) - Saturday, 16 January 2010, 12:49 GMT
thank you for the update

user chpln on the forum mentioned this comment:

haskell-mtl has just been moved to [extra], though the xmonad PKGBUILD does not seem to have it in 'depends='. Could you try installing haskell-mtl manually and, if this solves it, mention this in the bug-report?

this did in fact solve a problem i had while upgrading the xmonad package, so it seems a useful addition to the package.
Comment by Armando M. Baratti (ambaratti) - Saturday, 16 January 2010, 14:24 GMT
I'm using xmonad 0.9.1-1 and xmonad-contrib 0.9.1-1, installed haskell-ml dependency manually, but still having problem with haskell-x11-xft ("command failed to execute correctly"). This breaks xmonad-contrib ("dependency "X11-xft-0.3-65a3d4bba0622425cc778517c9ac67cb" doesn't exist").
Comment by Jonathan Rascher (bcat) - Tuesday, 19 January 2010, 01:29 GMT
Also, the dependencies for xmonad-contrib are still wrong. It depends on haskell-utf8-string without specifying a version number. I think it should depend on haskell-utf8-string=0.3.6. Otherwise it picks up haskell-utf8-string=0.3.4 provided by ghc, which is too old for xmonad-contrib to function properly.
Comment by Vesa Kaihlavirta (vegai) - Tuesday, 19 January 2010, 08:37 GMT
Rebuilt xmonad-0.9.1-2 and xmonad-contrib-0.9.1-2 for both arches. Perhaps that'll clear away the trouble.

Added several libs that were with ghc before: xhtml, parallel, quickcheck, hunit, haskell-src, stm, deepseq.
Comment by Jonathan Rascher (bcat) - Tuesday, 19 January 2010, 14:25 GMT
Yeah, I can confirm that xmonad and xmonad-contrib install and work fine on x86_64 now. Thanks!
Comment by orbisvicis (orbisvicis) - Tuesday, 19 January 2010, 22:02 GMT
hmm didnt know about 0.9.1

A few things:
XMonad
. updated the pkgdesc
. since "sh" is already in [core] it probably should not be listed in depends()
. since utf8-string is not listed in xmonad.cabal, haskell-utf8-string probably should not be listed in depends()
. xmonad-contrib should be added to optdepends()
. does the line "install -d -m755 $pkgdir/usr/share/xmonad" serve any purpose?
. is the weird "&> /dev/null" still needed in xmonad.install?

XMonad-Contrib
. updated the pkgdesc
. since "sh" is already in [core] it probably should not be listed in depends()
. According to xmonad-contrib.cabal the flag "use_utf8" no longer exists and utf8-string is now a global dependency
. According to xmonad-contrib.cabal the flag "with_xft" is now "use_xft"
. Since a depends() is also a makedepends(), the makedepends() line is probably not necessary as everything is inherited from the xmonad package.
Comment by orbisvicis (orbisvicis) - Tuesday, 19 January 2010, 22:20 GMT
And the future is looking brighter for gtk2hs:
http://haskell.org/gtk2hs/archives/2010/01/18/compiling-with-ghc-612/
Comment by Gerardo Exequiel Pozzi (djgera) - Thursday, 21 January 2010, 03:15 GMT
At this point: only remains gtk2hs right?
Comment by Vesa Kaihlavirta (vegai) - Monday, 01 February 2010, 10:09 GMT
Yes, and since there's http://bugs.archlinux.org/task/18032 I'll close this one.

Loading...