| Summary: | x11-misc/xmobar-0.9.2-r1 merge error | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | LeNsTR <lenstron> |
| Component: | Current packages | Assignee: | Gentoo Linux bug wranglers <bug-wranglers> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | damian.only, ddvlad, luca.postregna, ryan.funduk, tokenmathematician |
| Priority: | High | ||
| Version: | unspecified | ||
| Hardware: | x86 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
|
Description
LeNsTR
2009-11-30 11:29:06 UTC
the same problem here same issue (In reply to comment #2) > same issue Same problem as well. For those from google, you might have luck with this temporary fix: `emerge "<xmobar-0.9.2-r1"` Someone please correct me if I'm wrong, but it seems to work for me. Actually, I may have a better solution: You can edit the ebuild file (x11-misc/xmobar/xmobar-0.9.2-r1.ebuild) and remove the line (around line 30 or so) that contains a cabal setting: --constraint=base<4 Followed by `ebuild xmobar*.ebuild digest` and rerun the emerge. (In reply to comment #5) > You can edit the ebuild file (x11-misc/xmobar/xmobar-0.9.2-r1.ebuild) and > remove the line (around line 30 or so) that contains a cabal setting: > --constraint=base<4 It compiled successfully, but only after I commented line 29: PATCHES=("${FILESDIR}/${P}-*") Commenting out the line avoids the real problem - that the "files" directory containing the patch files is missing/wasn't distributed from portage repo. Thanks for the report guys! It was a missing patch, solving a high CPU usage. Please reopen if the problem doesn't go away. I think the dependency on dev-haskell/x11-xft is missing. I'm getting the following error: [1 of 1] Compiling Main ( /var/tmp/paludis/x11-misc-xmobar-0.9.2-r1/work/xmobar-0.9.2/Setup.lhs, /var/tmp/paludis/x11-misc-xmobar-0.9.2-r1/work/xmobar-0.9.2/Setup.o ) Linking setup ... Configuring xmobar-0.9.2... setup: At least the following dependencies are missing: X11-xft >=0.2, hinotify -any !!! ERROR in x11-misc/xmobar-0.9.2-r1::gentoo: !!! In cabal-configure at line 956 !!! setup configure failed (In reply to comment #7) > Thanks for the report guys! > > It was a missing patch, solving a high CPU usage. > > Please reopen if the problem doesn't go away. > The patch file issue has been resolved. However, the line with the unrecognized flag still exists. Commenting out this line (as referenced in comment #5) does the trick. >>> Unpacking xmobar-0.9.2.tar.gz to /var/tmp/portage/x11-misc/xmobar-0.9.2-r1/work * Applying xmobar-0.9.2-cpu-high-load.patch ... [ ok ] >>> Source unpacked in /var/tmp/portage/x11-misc/xmobar-0.9.2-r1/work >>> Compiling source in /var/tmp/portage/x11-misc/xmobar-0.9.2-r1/work/xmobar-0.9.2 ... * Using cabal-1.2.3.0. [1 of 1] Compiling Main ( /var/tmp/portage/x11-misc/xmobar-0.9.2-r1/work/xmobar-0.9.2/Setup.lhs, /var/tmp/portage/x11-misc/xmobar-0.9.2-r1/work/xmobar-0.9.2/Setup.o ) Linking setup ... setup: Unrecognised flags: --constraint=base<4 * * ERROR: x11-misc/xmobar-0.9.2-r1 failed. * Call stack: * ebuild.sh, line 49: Called src_compile * environment, line 3126: Called cabal_src_compile * environment, line 666: Called cabal-configure * environment, line 592: 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" * The die message: * setup configure failed |