Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] haskell dependency problem, xmonad-contrib fails
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
SirRobin2318
Apprentice
Apprentice


Joined: 24 Apr 2004
Posts: 241
Location: Strasbourg, france.

PostPosted: Fri Feb 06, 2015 3:24 pm    Post subject: [SOLVED] haskell dependency problem, xmonad-contrib fails Reply with quote

Hi all,

I'm trying to update xmonad, and xmonad-contrib is failing with:
Code:

>>> Verifying ebuild manifests
>>> Jobs: 0 of 1 complete, 1 running                Load avg: 0.52, 0.52, 0.72
>>> Emerging (1 of 1) x11-wm/xmonad-contrib-0.11.2::gentoo
>>> Jobs: 0 of 1 complete, 1 running                Load avg: 0.52, 0.52, 0.72
>>> Failed to emerge x11-wm/xmonad-contrib-0.11.2, Log file:
>>> Jobs: 0 of 1 complete, 1 running                Load avg: 0.52, 0.52, 0.72
>>>  '/var/tmp/portage/x11-wm/xmonad-contrib-0.11.2/temp/build.log'
>>> Jobs: 0 of 1 complete, 1 running                Load avg: 0.52, 0.52, 0.72
>>> Jobs: 0 of 1 complete, 1 running, 1 failed      Load avg: 0.52, 0.52, 0.72
>>> Jobs: 0 of 1 complete, 1 failed                 Load avg: 0.52, 0.52, 0.72

 * Package:    x11-wm/xmonad-contrib-0.11.2
 * Repository: gentoo
 * Maintainer: haskell@gentoo.org
 * USE:        abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU xft
 * FEATURES:   ccache preserve-libs sandbox splitdebug userpriv usersandbox
>>> Unpacking source...
>>> Unpacking xmonad-contrib-0.11.2.tar.gz to /var/tmp/portage/x11-wm/xmonad-contrib-0.11.2/work
>>> Source unpacked in /var/tmp/portage/x11-wm/xmonad-contrib-0.11.2/work
>>> Preparing source in /var/tmp/portage/x11-wm/xmonad-contrib-0.11.2/work/xmonad-contrib-0.11.2 ...
 * Applying xmonad-contrib-0.11.2-ghc-7.8.patch ...
 [ ok ]
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/x11-wm/xmonad-contrib-0.11.2/work/xmonad-contrib-0.11.2 ...
 * Using cabal-1.18.1.2.
 * Prepending /usr/lib64/ghc-7.6.3 to LD_LIBRARY_PATH
/usr/bin/ghc -package Cabal-1.18.1.2 --make /var/tmp/portage/x11-wm/xmonad-contrib-0.11.2/work/xmonad-contrib-0.11.2/Setup.lhs -dynamic -o setup
[1 of 1] Compiling Main             ( /var/tmp/portage/x11-wm/xmonad-contrib-0.11.2/work/xmonad-contrib-0.11.2/Setup.lhs, /var/tmp/portage/x11-wm/xmonad-contrib-0.11.2/work/xmonad-contrib-0.11.2/Setup.o )
Linking setup ...
./setup configure --ghc --prefix=/usr --with-compiler=/usr/bin/ghc --with-hc-pkg=/usr/bin/ghc-pkg --prefix=/usr --libdir=/usr/lib64 --libsubdir=xmonad-contrib-0.11.2/ghc-7.6.3 --datadir=/usr/share/ --datasubdir=xmonad-contrib-0.11.2/ghc-7.6.3 --ghc-option=-optl-Wl,-O1 --ghc-option=-optl-Wl,--as-needed --disable-executable-stripping --docdir=/usr/share/doc/xmonad-contrib-0.11.2 --verbose --sysconfdir=/etc --flags=-testing --flags=use_xft
Configuring xmonad-contrib-0.11.2...
Flags chosen: testing=False, use_xft=True, small_base=True
Dependency X11 >=1.6.1 && <1.7: using X11-1.6.1.1
Dependency X11-xft >=0.2: using X11-xft-0.3.1
Dependency base >=3 && <5: using base-4.6.0.1
Dependency containers -any: using containers-0.5.0.0
Dependency directory -any: using directory-1.2.0.1
Dependency extensible-exceptions -any: using extensible-exceptions-0.1.1.4
Dependency mtl >=1 && <3: using mtl-2.1.2
Dependency old-locale -any: using old-locale-1.0.0.5
Dependency old-time -any: using old-time-1.1.0.1
Dependency process -any: using process-1.1.0.2
Dependency random -any: using random-1.0.1.1
Dependency unix -any: using unix-2.6.0.1
Dependency utf8-string -any: using utf8-string-0.3.8
Dependency xmonad ==0.11.*: using xmonad-0.11
setup: The following installed packages are broken because other packages they
depend on are missing. These broken packages must be rebuilt before they can
be used.
package X11-xft-0.3.1 is broken due to missing package
utf8-string-0.3.7-1d0990243cdcebf03df4fdedfb179fd3
package xmonad-0.11 is broken due to missing package
utf8-string-0.3.7-1d0990243cdcebf03df4fdedfb179fd3
 * ghc-pkg check: 'checking for other broken packages:'
There are problems in package X11-xft-0.3.1:
  Warning: haddock-interfaces: /usr/share/doc/x11-xft-0.3.1/html/X11-xft.haddock doesn't exist or isn't a file
  Warning: haddock-html: /usr/share/doc/x11-xft-0.3.1/html doesn't exist or isn't a directory
  dependency "utf8-string-0.3.7-1d0990243cdcebf03df4fdedfb179fd3" doesn't exist
There are problems in package xmonad-0.11:
  Warning: haddock-interfaces: /usr/share/doc/xmonad-0.11-r1/html/xmonad.haddock doesn't exist or isn't a file
  dependency "utf8-string-0.3.7-1d0990243cdcebf03df4fdedfb179fd3" doesn't exist
There are problems in package xmonad-contrib-0.11.2:
  Warning: haddock-interfaces: /usr/share/doc/xmonad-contrib-0.11.2/html/xmonad-contrib.haddock doesn't exist or isn't a file
  Warning: haddock-html: /usr/share/doc/xmonad-contrib-0.11.2/html doesn't exist or isn't a directory
  dependency "utf8-string-0.3.7-1d0990243cdcebf03df4fdedfb179fd3" doesn't exist

The following packages are broken, either because they have a problem
listed above, or because they depend on a broken package.
X11-xft-0.3.1
xmonad-0.11
xmonad-contrib-0.11.2
 * Detected broken packages: X11-xft-0.3.1 xmonad-0.11 xmonad-contrib-0.11.2
 * ERROR: x11-wm/xmonad-contrib-0.11.2::gentoo failed (configure phase):
 *   //==-- Please, run 'haskell-updater' to fix broken packages --==//
 *
 * Call stack:
 *     ebuild.sh, line   93:  Called src_configure
 *   environment, line 2866:  Called haskell-cabal_src_configure '--flags=-testing' '--flags=use_xft'
 *   environment, line 1992:  Called cabal-configure '--flags=-testing' '--flags=use_xft'
 *   environment, line  649:  Called cabal-show-brokens-and-die 'setup configure failed'
 *   environment, line  742:  Called cabal-show-brokens
 *   environment, line  738:  Called cabal-die-if-nonempty 'broken' 'X11-xft-0.3.1' 'xmonad-0.11' 'xmonad-contrib-0.11.2'
 *   environment, line  671:  Called die
 * The specific snippet of code:
 *       die "//==-- Please, run 'haskell-updater' to fix ${breakage_type} packages --==//"
 *
 * If you need support, post the output of `emerge --info '=x11-wm/xmonad-contrib-0.11.2::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=x11-wm/xmonad-contrib-0.11.2::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/x11-wm/xmonad-contrib-0.11.2/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/x11-wm/xmonad-contrib-0.11.2/temp/environment'.
 * Working directory: '/var/tmp/portage/x11-wm/xmonad-contrib-0.11.2/work/xmonad-contrib-0.11.2'
 * S: '/var/tmp/portage/x11-wm/xmonad-contrib-0.11.2/work/xmonad-contrib-0.11.2'

 * Messages for package x11-wm/xmonad-contrib-0.11.2:

 * ghc-pkg check: 'checking for other broken packages:'
 * Detected broken packages: X11-xft-0.3.1 xmonad-0.11 xmonad-contrib-0.11.2
 * ERROR: x11-wm/xmonad-contrib-0.11.2::gentoo failed (configure phase):
 *   //==-- Please, run 'haskell-updater' to fix broken packages --==//
 *
 * Call stack:
 *     ebuild.sh, line   93:  Called src_configure
 *   environment, line 2866:  Called haskell-cabal_src_configure '--flags=-testing' '--flags=use_xft'
 *   environment, line 1992:  Called cabal-configure '--flags=-testing' '--flags=use_xft'
 *   environment, line  649:  Called cabal-show-brokens-and-die 'setup configure failed'
 *   environment, line  742:  Called cabal-show-brokens
 *   environment, line  738:  Called cabal-die-if-nonempty 'broken' 'X11-xft-0.3.1' 'xmonad-0.11' 'xmonad-contrib-0.11.2'
 *   environment, line  671:  Called die
 * The specific snippet of code:
 *       die "//==-- Please, run 'haskell-updater' to fix ${breakage_type} packages --==//"
 *
 * If you need support, post the output of `emerge --info '=x11-wm/xmonad-contrib-0.11.2::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=x11-wm/xmonad-contrib-0.11.2::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/x11-wm/xmonad-contrib-0.11.2/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/x11-wm/xmonad-contrib-0.11.2/temp/environment'.
 * Working directory: '/var/tmp/portage/x11-wm/xmonad-contrib-0.11.2/work/xmonad-contrib-0.11.2'
 * S: '/var/tmp/portage/x11-wm/xmonad-contrib-0.11.2/work/xmonad-contrib-0.11.2'

I tried haskell-updater -a, ghc-pkg recache, they didn't help.
I tried rebuilding utf8-string which tells me: WARNING: cache is out of date: /usr/lib64/ghc-7.6.3/package.conf.d.initial/package.cache, use 'ghc-pkg recache' to fix.
But recache didn't help.

ghc-pkg check tells me the same thing:
Code:

Warning: haddock-interfaces: /usr/share/doc/data-default-instances-containers-0.0.1/html/data-default-instances-containers.haddock doesn't exist or isn't a file
Warning: haddock-html: /usr/share/doc/data-default-instances-containers-0.0.1/html doesn't exist or isn't a directory
Warning: haddock-interfaces: /usr/share/doc/ghc-7.6.3/html/libraries/base-4.6.0.1/base.haddock doesn't exist or isn't a file
Warning: haddock-interfaces: /usr/share/doc/mtl-2.1.2-r1/html/mtl.haddock doesn't exist or isn't a file
Warning: haddock-html: /usr/share/doc/mtl-2.1.2-r1/html doesn't exist or isn't a directory
Warning: haddock-interfaces: /usr/share/doc/extensible-exceptions-0.1.1.4/html/extensible-exceptions.haddock doesn't exist or isn't a file
Warning: haddock-html: /usr/share/doc/extensible-exceptions-0.1.1.4/html doesn't exist or isn't a directory
Warning: haddock-interfaces: /usr/share/doc/x11-1.6.1.1/html/X11.haddock doesn't exist or isn't a file
Warning: haddock-html: /usr/share/doc/x11-1.6.1.1/html doesn't exist or isn't a directory
Warning: haddock-interfaces: /usr/share/doc/utf8-string-0.3.8/html/utf8-string.haddock doesn't exist or isn't a file
Warning: haddock-html: /usr/share/doc/utf8-string-0.3.8/html doesn't exist or isn't a directory
Warning: haddock-interfaces: /usr/share/doc/ghc-7.6.3/html/libraries/ghc-7.6.3/ghc.haddock doesn't exist or isn't a file
Warning: haddock-interfaces: /usr/share/doc/cabal-1.18.1.2/html/Cabal.haddock doesn't exist or isn't a file
Warning: haddock-html: /usr/share/doc/cabal-1.18.1.2/html doesn't exist or isn't a directory
Warning: haddock-interfaces: /usr/share/doc/xmonad-0.11-r1/html/xmonad.haddock doesn't exist or isn't a file
Warning: haddock-interfaces: /usr/share/doc/ghc-7.6.3/html/libraries/array-0.4.0.1/array.haddock doesn't exist or isn't a file
Warning: haddock-interfaces: /usr/share/doc/ghc-7.6.3/html/libraries/binary-0.5.1.1/binary.haddock doesn't exist or isn't a file
Warning: haddock-interfaces: /usr/share/doc/dlist-0.6.0.1/html/dlist.haddock doesn't exist or isn't a file
Warning: haddock-html: /usr/share/doc/dlist-0.6.0.1/html doesn't exist or isn't a directory
Warning: haddock-interfaces: /usr/share/doc/ghc-7.6.3/html/libraries/old-locale-1.0.0.5/old-locale.haddock doesn't exist or isn't a file
Warning: haddock-interfaces: /usr/share/doc/x11-xft-0.3.1/html/X11-xft.haddock doesn't exist or isn't a file
Warning: haddock-html: /usr/share/doc/x11-xft-0.3.1/html doesn't exist or isn't a directory
Warning: haddock-interfaces: /usr/share/doc/ghc-7.6.3/html/libraries/time-1.4.0.1/time.haddock doesn't exist or isn't a file
Warning: haddock-interfaces: /usr/share/doc/data-default-instances-dlist-0.0.1/html/data-default-instances-dlist.haddock doesn't exist or isn't a file
Warning: haddock-html: /usr/share/doc/data-default-instances-dlist-0.0.1/html doesn't exist or isn't a directory
Warning: haddock-interfaces: /usr/share/doc/ghc-7.6.3/html/libraries/hoopl-3.9.0.0/hoopl.haddock doesn't exist or isn't a file
Warning: haddock-interfaces: /usr/share/doc/ghc-7.6.3/html/libraries/haskell98-2.0.0.2/haskell98.haddock doesn't exist or isn't a file
Warning: haddock-interfaces: /usr/share/doc/ghc-7.6.3/html/libraries/old-time-1.1.0.1/old-time.haddock doesn't exist or isn't a file
Warning: haddock-interfaces: /usr/share/doc/ghc-7.6.3/html/libraries/Cabal-1.16.0/Cabal.haddock doesn't exist or isn't a file
Warning: haddock-interfaces: /usr/share/doc/ghc-7.6.3/html/libraries/integer-gmp-0.5.0.0/integer-gmp.haddock doesn't exist or isn't a file
Warning: haddock-interfaces: /usr/share/doc/ghc-7.6.3/html/libraries/deepseq-1.3.0.1/deepseq.haddock doesn't exist or isn't a file
Warning: haddock-interfaces: /usr/share/doc/ghc-7.6.3/html/libraries/filepath-1.3.0.1/filepath.haddock doesn't exist or isn't a file
Warning: haddock-interfaces: /usr/share/doc/ghc-7.6.3/html/libraries/pretty-1.1.1.0/pretty.haddock doesn't exist or isn't a file
Warning: haddock-interfaces: /usr/share/doc/ghc-7.6.3/html/libraries/process-1.1.0.2/process.haddock doesn't exist or isn't a file
Warning: haddock-interfaces: /usr/share/doc/ghc-7.6.3/html/libraries/hpc-0.6.0.0/hpc.haddock doesn't exist or isn't a file                                        [0/4043]
Warning: haddock-interfaces: /usr/share/doc/transformers-0.3.0.0-r1/html/transformers.haddock doesn't exist or isn't a file
Warning: haddock-html: /usr/share/doc/transformers-0.3.0.0-r1/html doesn't exist or isn't a directory
Warning: haddock-interfaces: /usr/share/doc/ghc-7.6.3/html/libraries/containers-0.5.0.0/containers.haddock doesn't exist or isn't a file
There are problems in package X11-xft-0.3.1:
  Warning: haddock-interfaces: /usr/share/doc/x11-xft-0.3.1/html/X11-xft.haddock doesn't exist or isn't a file
  Warning: haddock-html: /usr/share/doc/x11-xft-0.3.1/html doesn't exist or isn't a directory
  dependency "utf8-string-0.3.7-1d0990243cdcebf03df4fdedfb179fd3" doesn't exist
Warning: haddock-interfaces: /usr/share/doc/ghc-7.6.3/html/libraries/haskell2010-1.1.1.0/haskell2010.haddock doesn't exist or isn't a file
Warning: haddock-interfaces: /usr/share/doc/ghc-7.6.3/html/libraries/template-haskell-2.8.0.0/template-haskell.haddock doesn't exist or isn't a file
Warning: haddock-interfaces: /usr/share/doc/ghc-7.6.3/html/libraries/ghc-prim-0.3.0.0/ghc-prim.haddock doesn't exist or isn't a file
Warning: haddock-interfaces: /usr/share/doc/ghc-7.6.3/html/libraries/unix-2.6.0.1/unix.haddock doesn't exist or isn't a file
Warning: haddock-interfaces: /usr/share/doc/data-default-0.5.3/html/data-default.haddock doesn't exist or isn't a file
Warning: haddock-html: /usr/share/doc/data-default-0.5.3/html doesn't exist or isn't a directory
There are problems in package xmonad-0.11:
  Warning: haddock-interfaces: /usr/share/doc/xmonad-0.11-r1/html/xmonad.haddock doesn't exist or isn't a file
  dependency "utf8-string-0.3.7-1d0990243cdcebf03df4fdedfb179fd3" doesn't exist
Warning: haddock-interfaces: /usr/share/doc/ghc-7.6.3/html/libraries/bin-package-db-0.0.0.0/bin-package-db.haddock doesn't exist or isn't a file
Warning: haddock-html: /usr/share/doc/ghc-7.6.3/html/libraries/bin-package-db-0.0.0.0 doesn't exist or isn't a directory
Warning: haddock-interfaces: /usr/share/doc/data-default-class-0.0.1/html/data-default-class.haddock doesn't exist or isn't a file
Warning: haddock-html: /usr/share/doc/data-default-class-0.0.1/html doesn't exist or isn't a directory
Warning: haddock-interfaces: /usr/share/doc/data-default-instances-old-locale-0.0.1/html/data-default-instances-old-locale.haddock doesn't exist or isn't a file
Warning: haddock-html: /usr/share/doc/data-default-instances-old-locale-0.0.1/html doesn't exist or isn't a directory
There are problems in package xmonad-contrib-0.11.2:
  Warning: haddock-interfaces: /usr/share/doc/xmonad-contrib-0.11.2/html/xmonad-contrib.haddock doesn't exist or isn't a file
  Warning: haddock-html: /usr/share/doc/xmonad-contrib-0.11.2/html doesn't exist or isn't a directory
  dependency "utf8-string-0.3.7-1d0990243cdcebf03df4fdedfb179fd3" doesn't exist
Warning: haddock-interfaces: /usr/share/doc/data-default-instances-base-0.0.1/html/data-default-instances-base.haddock doesn't exist or isn't a file
Warning: haddock-html: /usr/share/doc/data-default-instances-base-0.0.1/html doesn't exist or isn't a directory
Warning: haddock-interfaces: /usr/share/doc/ghc-7.6.3/html/libraries/directory-1.2.0.1/directory.haddock doesn't exist or isn't a file
Warning: haddock-interfaces: /usr/share/doc/random-1.0.1.1-r1/html/random.haddock doesn't exist or isn't a file
Warning: haddock-html: /usr/share/doc/random-1.0.1.1-r1/html doesn't exist or isn't a directory
Warning: haddock-interfaces: /usr/share/doc/ghc-7.6.3/html/libraries/bytestring-0.10.0.2/bytestring.haddock doesn't exist or isn't a file

The following packages are broken, either because they have a problem
listed above, or because they depend on a broken package.
X11-xft-0.3.1
xmonad-0.11
xmonad-contrib-0.11.2


Also, why is utf8-string marked by a ? and not an "I" for installed?
Code:

eix utf8-string                                                                                                                       Err 1 | 16:19
[?] dev-haskell/utf8-string
     Available versions:  0.3.7-r1(0/0.3.7) ~0.3.8(0/0.3.8) {doc hscolour profile}
     Installed versions:  0.3.8(02:45:08 PM 02/06/2015)(-doc -hscolour -profile)
     Homepage:            http://github.com/glguy/utf8-string/
     Description:         Support for reading and writing UTF8 Strings


If I understand correctly, xmonad & friends are fine with utf8-string version 3.8, but X11-xft wants utf8-string-0.3.7-1d0990243cdcebf03df4fdedfb179fd3.
What can I do about this?


Last edited by SirRobin2318 on Fri Feb 06, 2015 5:32 pm; edited 1 time in total
Back to top
View user's profile Send private message
SirRobin2318
Apprentice
Apprentice


Joined: 24 Apr 2004
Posts: 241
Location: Strasbourg, france.

PostPosted: Fri Feb 06, 2015 5:31 pm    Post subject: Reply with quote

Code:
    # rm -v -- `qfile -o $(ghc --print-libdir)/package.conf.d/*.conf`
    # ghc-pkg recache

Thanks to trofi on #gentoo-haskell.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum