Summary: | x11-misc/xmobar fails on compiling (needs cabal-1.6) | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Bronsa <brobronsa> |
Component: | New packages | Assignee: | Gentoo's Haskell Language team <haskell> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | richard.adam |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | Build log for attempt to build xmobar-0.9.2-r1 |
Description
Bronsa
2009-12-03 17:27:25 UTC
*** Bug 295570 has been marked as a duplicate of this bug. *** Please try xmobar-0.9.2-r1, it might fix the issue. The 0.9 version might not work with the new exception system in ghc. I successfully compiled xmobar-0.8 with xmonad-0.8.1. Version 0.9.2-r1 failed for me with a different error, but I think it's just because it was an incompatible version (since I had xmonad-0.8.1). (In reply to comment #3) > I successfully compiled xmobar-0.8 with xmonad-0.8.1. Version 0.9.2-r1 failed > for me with a different error, but I think it's just because it was an > incompatible version (since I had xmonad-0.8.1). > xmobar is independent of xmonad, so that can't be it. Oh, OK. Well this is the error I got, in case it's helpful: Linking setup ... setup: Unrecognised flags: --constraint=base<4 * ERROR: x11-misc/xmobar-0.9.2-r1 failed: * setup configure failed * * Call stack: * ebuild.sh, line 54: Called src_compile * environment, line 3099: Called cabal_src_compile * environment, line 624: Called cabal-configure * environment, line 550: Called die * The specific snippet of code: * ./setup configure --ghc --prefix=/usr --with-compiler="$(ghc-getghc)" --with-hc-pkg="$(ghc-getghcpkg)" --prefix=/usr --libdir=/usr/$(get_libdir) --libsubdir=${P}/ghc-$(ghc-version) --datadir=/usr/share/ --datasubdir=${P}/ghc-$(ghc-version) ${cabalconf} ${CABAL_CONFIGURE_FLAGS} "$@" || die "setup configure failed" (In reply to comment #5) > Oh, OK. Well this is the error I got, in case it's helpful: > > Linking setup ... > setup: Unrecognised flags: > --constraint=base<4 > * ERROR: x11-misc/xmobar-0.9.2-r1 failed: > * setup configure failed > * Can we have the full build log please? And versions of GHC and Cabal? My guess is that the version of Cabal you have is too old to understand the --constraint option we pass to it (it needs Cabal >= 1.6 I think). Created attachment 224875 [details]
Build log for attempt to build xmobar-0.9.2-r1
Attaching. Yes, from the build log it looks like it's using cabal-1.2.3.0.
I just set ~x86 and USE=-unicode for xmobar, so my version of cabal would be the non-masked version.
Was commited to portage: 28 Mar 2010; Lennart Kolmodin <kolmodin@gentoo.org> xmobar-0.9.2-r1.ebuild: Bump requirement of cabal to 1.6, as we use the --constraint flag. See bug #295568. Closing as FIXED. |