FS#34315 - [xmonad] 0.11-2 Errors during fresh installation

Attached to Project: Community Packages
Opened by Orim Kurowe (orim) - Thursday, 14 March 2013, 22:20 GMT
Last edited by Jelle van der Waa (jelly) - Friday, 24 May 2013, 18:00 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Jelle van der Waa (jelly)
Architecture i686
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 3
Private No

Details

Description:

When I try to install xmonad, like this: "sudo pacman -S xmonad xmonad-contrib"
I get the following errors:

xmonad-0.11: Warning: haddock-interfaces: /usr/share/doc/xmonad-0.11/html/xmonad.haddock doesn't exist or isn't a file
xmonad-0.11: Warning: haddock-html: /usr/share/doc/xmonad-0.11/html doesn't exist or isn't a directory

xmonad-contrib-0.11: Warning: haddock-interfaces: /usr/share/doc/xmonad-contrib-0.11/html/xmonad-contrib.haddock doesn't exist or isn't a file
xmonad-contrib-0.11: Warning: haddock-html: /usr/share/doc/xmonad-contrib-0.11/html doesn't exist or isn't a directory

When I try to compile xmonad's configuration afterwards: xmonad --recompile
I get: xmonad: $HOME/.xmonad/xmonad.errors: openFile: does not exist (No such file or directory)
It is my understanding that this should work even when I have no configuration file yet.

This is on a system that never had ghc or xmonad installed before. The only WMs installed are xfce and awesome.


Additional info:
* version: 0.11-2

List of all packages that were installed during xmonad and xmonad-contrib installation:

Targets (11): ghc-7.6.2-1 haskell-extensible-exceptions-0.1.1.4-4 haskell-mtl-2.1.2-2 haskell-random-1.0.1.1-4 haskell-syb-0.3.7-2 haskell-transformers-0.3.0.0-3 haskell-utf8-string-0.3.7-4 haskell-x11-1.6.0.2-2 haskell-x11-xft-0.3.1-6 xmonad-0.11-2
xmonad-contrib-0.11-2

Just in case it matters.
This task depends upon

Closed by  Jelle van der Waa (jelly)
Friday, 24 May 2013, 18:00 GMT
Reason for closing:  Not a bug
Comment by Jelle van der Waa (jelly) - Sunday, 17 March 2013, 13:41 GMT
Is it correct that you don't have a configuration file for XMonad yet? If that's the case then the error is totally valid. https://wiki.archlinux.org/index.php/Xmonad
Comment by Orim Kurowe (orim) - Sunday, 17 March 2013, 14:43 GMT
Are you sure?
https://wiki.archlinux.org/index.php/Xmonad#Configuration says:
"If you find you do not have a directory at ~/.xmonad, run xmonad --recompile to create it."

My bug report is primarily aimed at the problems during installation. My guess was that compiling the config does not work due to the errors during installation. And obviously I don't have a configuration file before installing xmonad.
Comment by Jonathan Steel (jsteel) - Tuesday, 19 March 2013, 17:32 GMT
I see the warnings during installation/upgrade yet still run xmonad OK. If you create ~/.xmonad you'll probably find it works. Still, it would be nice to get confirmation about the warnings; are they OK to ignore?
Comment by Jelle van der Waa (jelly) - Wednesday, 20 March 2013, 08:26 GMT
The warnings are about documentation, let me investigate them.
Comment by Orim Kurowe (orim) - Wednesday, 20 March 2013, 18:08 GMT
I've tried to run xmonad several times now without success.
When I create an empty dir ~/.xmonad, xmonad --recompile does not work. So that info in the wiki is wrong.
When I copy /usr/share/xmonad-0.11/man/xmonad.hs to ~/.xmonad, recompile complains like this:
xmonad.hs:132:64: Not in scope: `help`
So even the official example configuration does not work.

So I've tried using the first minimal config example from the wiki. This will compile but xmonad still doesn't run
complaining that it can't execute the login command. Whatever that means.

The information in the wiki is outdated it seems. As the steps described will not work.
And/Or the package itself has some problems on systems that don't have a working configuration from a previous version.
I have no clue how xmonad should work. But all the other tiling managers I tried worked right out of the box.

Loading...