Dear Maintainer, I was just trying to start "xmonad".
Hi, Am Sonntag, den 01.06.2014, 12:48 +0200 schrieb Joerg Plate: We need a bit more information. Do you have a ~/xmonad/xmonad.hs file? What does happen when you run "ghc --make ~/xmonad/xmonad.hs" in a terminal? Greetings, Joachim
There is no ~/.xmonad directory and therefore no xmonad.hs file in it. (Are packages supposed to install files in user directories?)
Hi, Am Sonntag, den 01.06.2014, 21:47 +0200 schrieb Jörg Plate: no, of course not. But I’m surprised that xmonad then tries to execute .xmonad/xmonad-x86_64-linux – that’s usually what it does when there is a ~/.xmonad/xmonad.hs file. Greetings, Joachim
Hi,
I've the same problem here:
➜ ~ cat ~/.xmonad/xmonad.hs
import XMonad
main = xmonad defaultConfig
{ modMask = mod4Mask -- Use Super instead of Alt
, terminal = "konsole"
}
➜ ~ ghc --make ~/.xmonad/xmonad.hs
/home/goneri/.xmonad/xmonad.hs:2:8:
Could not find module `XMonad'
Perhaps you meant
Monad (needs flag -package haskell98-2.0.0.2)
CgMonad (needs flag -package ghc-7.6.3)
DsMonad (needs flag -package ghc-7.6.3)
Use -v to see a list of the files searched for.
➜ ~ dpkg -l|grep xmonad
ii libghc-xmonad-contrib-dev 0.11.3-1+b1 amd64 Extensions to xmonad
ii libghc-xmonad-dev 0.11-8 amd64 Lightweight X11 window manager
ii xmonad 0.11-8 amd64 Lightweight X11 window manager written in Haskell
Best regards,
Dear Gonéri, can you provide the output of $ dpkg -l libghc-xmonad-dev and $ ghc -v --make ~/.xmonad/xmonad.hs and $ ghc-pkg describe xmonad Thanks, Joachim Am Sonntag, den 06.07.2014, 22:12 +0200 schrieb Gonéri Le Bouder:
Joachim Breitner <nomeata@debian.org> writes:
➜ ~ dpkg -l libghc-xmonad-dev
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture Description
+++-=====================================-=======================-=======================-================================================================================
ii libghc-xmonad-dev 0.11-8 amd64 Lightweight X11 window manager
➜ ~ ghc -v --make ~/.xmonad/xmonad.hs
Glasgow Haskell Compiler, Version 7.6.3, stage 2 booted by GHC version 7.6.3
Using binary package database: /usr/lib/ghc/package.conf.d/package.cache
Using binary package database: /home/goneri/.ghc/x86_64-linux-7.6.3/package.conf.d/package.cache
package aeson-0.6.2.1-6178a38faa9735fae26b5e563fe82895 is unusable due to missing or recursive dependencies:
dlist-0.5-6480552fbf191185cc86167748682e90
package authenticate-1.3.2.6-55b029ba74f9c51bff2e73bf8dcbd876 is unusable due to missing or recursive dependencies:
aeson-0.6.2.1-6178a38faa9735fae26b5e563fe82895 http-conduit-2.0.0.3-be9eb463011a8f715fdf1a95f9864ba6 xml-conduit-1.1.0.9-ae1b1583f5928644306e44379fb505e9
package connection-0.1.3.1-c08026b56b19f2939da72172c28ecab1 is unusable due to missing or recursive dependencies:
data-default-0.5.1-3dcf8b1e18d6ff182bcfe57129991c1d
package cookie-0.4.0.1-fd1b8f6cf5b2294aeab4f3028702a98e is unusable due to missing or recursive dependencies:
data-default-0.5.1-3dcf8b1e18d6ff182bcfe57129991c1d
package http-client-0.2.0.3-b71d1c7f4acdd15439bb428c7978c961 is unusable due to missing or recursive dependencies:
cookie-0.4.0.1-fd1b8f6cf5b2294aeab4f3028702a98e data-default-0.5.1-3dcf8b1e18d6ff182bcfe57129991c1d publicsuffixlist-0.1-b27f5dd856d7f4303d26fdc4a269c71c
package http-client-conduit-0.2.0.1-33ac095f9751110692da1d80423b0668 is unusable due to missing or recursive dependencies:
http-client-0.2.0.3-b71d1c7f4acdd15439bb428c7978c961
package http-client-tls-0.2.0.2-5364c695e59cebc66cfec7a23028de0e is unusable due to missing or recursive dependencies:
connection-0.1.3.1-c08026b56b19f2939da72172c28ecab1 data-default-0.5.1-3dcf8b1e18d6ff182bcfe57129991c1d http-client-0.2.0.3-b71d1c7f4acdd15439bb428c7978c961
package http-conduit-2.0.0.3-be9eb463011a8f715fdf1a95f9864ba6 is unusable due to missing or recursive dependencies:
http-client-0.2.0.3-b71d1c7f4acdd15439bb428c7978c961 http-client-conduit-0.2.0.1-33ac095f9751110692da1d80423b0668 http-client-tls-0.2.0.2-5364c695e59cebc66cfec7a23028de0e
package markdown-0.1.7-bdd61f88bd38ebed07129ace03caf690 is unusable due to missing or recursive dependencies:
data-default-0.5.1-3dcf8b1e18d6ff182bcfe57129991c1d
package persistent-1.2.3.2-217121f9ec5395119dca535f37a5eb90 is unusable due to missing or recursive dependencies:
aeson-0.6.2.1-6178a38faa9735fae26b5e563fe82895
package persistent-template-1.2.0.6-b4c5e3d33c25cf23dcfac27df2e39395 is unusable due to missing or recursive dependencies:
aeson-0.6.2.1-6178a38faa9735fae26b5e563fe82895 persistent-1.2.3.2-217121f9ec5395119dca535f37a5eb90
package publicsuffixlist-0.1-b27f5dd856d7f4303d26fdc4a269c71c is unusable due to missing or recursive dependencies:
data-default-0.5.1-3dcf8b1e18d6ff182bcfe57129991c1d
package shakespeare-js-1.2.0.2-f7d0da24e0d1a67d7f3592a5cbefa923 is unusable due to missing or recursive dependencies:
aeson-0.6.2.1-6178a38faa9735fae26b5e563fe82895
package wai-extra-2.0.1.1-585117381de6853749c59dde3b8d2076 is unusable due to missing or recursive dependencies:
data-default-0.5.1-3dcf8b1e18d6ff182bcfe57129991c1d
package xml-conduit-1.1.0.9-ae1b1583f5928644306e44379fb505e9 is unusable due to missing or recursive dependencies:
data-default-0.5.1-3dcf8b1e18d6ff182bcfe57129991c1d
package xmonad-0.11-a9ac62e182dbb0265cc10fb7343d9243 is unusable due to missing or recursive dependencies:
X11-1.6.1.1-5abef677169538672254ee7c61191482
package xmonad-0.11-bd2b015bf0a8552a6b6b68a4e4e1d54f is shadowed by package xmonad-0.11-a9ac62e182dbb0265cc10fb7343d9243
package xmonad-contrib-0.11.2-dc0f19c6cf8c0f5382a3231bc871f978 is unusable due to missing or recursive dependencies:
X11-1.6.1.1-5abef677169538672254ee7c61191482 X11-xft-0.3.1-3c10be71b4aefcf2267c0d2039f4a07d xmonad-0.11-a9ac62e182dbb0265cc10fb7343d9243
package xmonad-contrib-0.11.3-f30c687e67b4390cc1abca0dcf9a2be5 is unusable due to missing or recursive dependencies:
xmonad-0.11-bd2b015bf0a8552a6b6b68a4e4e1d54f
package yaml-0.8.5.2-f27ac4880de1184b357ad1a43343ae8e is unusable due to missing or recursive dependencies:
aeson-0.6.2.1-6178a38faa9735fae26b5e563fe82895
package yesod-1.2.4-68d7b3c9aec0ee7925ed8acbfe568448 is unusable due to missing or recursive dependencies:
aeson-0.6.2.1-6178a38faa9735fae26b5e563fe82895 data-default-0.5.1-3dcf8b1e18d6ff182bcfe57129991c1d shakespeare-js-1.2.0.2-f7d0da24e0d1a67d7f3592a5cbefa923 wai-extra-2.0.1.1-585117381de6853749c59dde3b8d2076 yaml-0.8.5.2-f27ac4880de1184b357ad1a43343ae8e yesod-auth-1.2.5.1-c4dce3417e0f2960d32ed375e402f905 yesod-core-1.2.6.2-0e2c7221b5a7a168d58066814922ce73 yesod-form-1.3.4.1-882c80e31d43765a0ddae24268c7498a yesod-persistent-1.2.2-806992ce36a1f1efaedcc9f96bce60eb
package yesod-auth-1.2.5.1-c4dce3417e0f2960d32ed375e402f905 is unusable due to missing or recursive dependencies:
aeson-0.6.2.1-6178a38faa9735fae26b5e563fe82895 authenticate-1.3.2.6-55b029ba74f9c51bff2e73bf8dcbd876 data-default-0.5.1-3dcf8b1e18d6ff182bcfe57129991c1d http-conduit-2.0.0.3-be9eb463011a8f715fdf1a95f9864ba6 persistent-1.2.3.2-217121f9ec5395119dca535f37a5eb90 persistent-template-1.2.0.6-b4c5e3d33c25cf23dcfac27df2e39395 shakespeare-js-1.2.0.2-f7d0da24e0d1a67d7f3592a5cbefa923 yesod-core-1.2.6.2-0e2c7221b5a7a168d58066814922ce73 yesod-form-1.3.4.1-882c80e31d43765a0ddae24268c7498a yesod-persistent-1.2.2-806992ce36a1f1efaedcc9f96bce60eb
package yesod-core-1.2.6.2-0e2c7221b5a7a168d58066814922ce73 is unusable due to missing or recursive dependencies:
aeson-0.6.2.1-6178a38faa9735fae26b5e563fe82895 cookie-0.4.0.1-fd1b8f6cf5b2294aeab4f3028702a98e data-default-0.5.1-3dcf8b1e18d6ff182bcfe57129991c1d shakespeare-js-1.2.0.2-f7d0da24e0d1a67d7f3592a5cbefa923 wai-extra-2.0.1.1-585117381de6853749c59dde3b8d2076
package yesod-form-1.3.4.1-882c80e31d43765a0ddae24268c7498a is unusable due to missing or recursive dependencies:
aeson-0.6.2.1-6178a38faa9735fae26b5e563fe82895 data-default-0.5.1-3dcf8b1e18d6ff182bcfe57129991c1d persistent-1.2.3.2-217121f9ec5395119dca535f37a5eb90 shakespeare-js-1.2.0.2-f7d0da24e0d1a67d7f3592a5cbefa923 yesod-core-1.2.6.2-0e2c7221b5a7a168d58066814922ce73 yesod-persistent-1.2.2-806992ce36a1f1efaedcc9f96bce60eb
package yesod-persistent-1.2.2-806992ce36a1f1efaedcc9f96bce60eb is unusable due to missing or recursive dependencies:
persistent-1.2.3.2-217121f9ec5395119dca535f37a5eb90 persistent-template-1.2.0.6-b4c5e3d33c25cf23dcfac27df2e39395 yesod-core-1.2.6.2-0e2c7221b5a7a168d58066814922ce73
hiding package Cabal-1.16.0 to avoid conflict with later version Cabal-1.20.0.0
wired-in package ghc-prim mapped to ghc-prim-0.3.0.0-d5221a8c8a269b66ab9a07bdc23317dd
wired-in package integer-gmp mapped to integer-gmp-0.5.0.0-2f15426f5b53fe4c6490832f9b20d8d7
wired-in package base mapped to base-4.6.0.1-8aa5d403c45ea59dcd2c39f123e27d57
wired-in package rts mapped to builtin_rts
wired-in package template-haskell mapped to template-haskell-2.8.0.0-a3012803fde1dc362e555b35a1a78e6d
wired-in package dph-seq not found.
wired-in package dph-par not found.
Hsc static flags: -static
*** Chasing dependencies:
Chasing modules from: */home/goneri/.xmonad/xmonad.hs
/home/goneri/.xmonad/xmonad.hs:2:8:
Could not find module `XMonad'
Perhaps you meant
Monad (needs flag -package haskell98-2.0.0.2)
CgMonad (needs flag -package ghc-7.6.3)
DsMonad (needs flag -package ghc-7.6.3)
Locations searched:
XMonad.hs
XMonad.lhs
*** Deleting temp files:
Deleting:
*** Deleting temp dirs:
Deleting:
I removed the ~/.ghc directory and I can now call
xmonad --recompile
I don't know if that's really a bug of a configuration issue.
Best regards,
Dear Gonéri, judging from Am Montag, den 07.07.2014, 12:17 +0200 schrieb Gonéri Le Bouder: you had a installation of xmonad in ~/.cabal that was broken. Hence The other way to fix it was was to run $ cabal install xmonad xmonad-contrib But there is no bug in the xmonad package here. Greetings, Joachim
.xmonad is empty .ghc doesn't exist .cabal doesn't exist either xmonad still tries to compile the non-existant xmonad.hs file
Am Montag, den 07.07.2014, 12:58 +0200 schrieb Jörg Plate: ah, right, Gonéri’s report was not the original one, and there still is an open issue here. Reopening the bug. Does it make a difference whether "~/.xmonad/" is present, but empty, or not present? Greetings, Joachim
There's no difference.Same error message: $HOME/.xmonad/xmonad-x86_64-linux: executeFile: does not exist (No such file or directory) (which makes sense).
Yes, thank you guys :) Cheers,
xmonad_0.11-8_amd64 still fails when there is no .xmonad/xmonad.hs.
To me this seems much like an upstream problem, since the problem just seems to be that xmonad isn't prepared to run without ~/.xmonad/xmonad.hs. I guess a proper fix would be to either let xmonad create (and compile) a default configuration if it's missing or to run with such a default configuration without writing it to a file, but that's up to upstream. We still need to keep in mind that, if upstream chooses to create a standard configuration, xmonad needs to depend on libghc-xmonad-dev. (Currently it just recommends it). Joachim: Do you still think there is more info needed, or is the tag just not removed? Could someone report this on the upstream bugtracker? I myself don't have a Google Code account and don't want to create one. Regards Sven
Hi, Am Samstag, den 20.09.2014, 22:35 +0200 schrieb Sven Bartscher: well, it used to be the case that xmonad would run happily without ~/.xmonad/xmonad.hs, and I’m surprised that it is not the case any more. Sven, did you reproduce the problem already? I didn’t find the time (which involves things like logging out :-)) yet. Upstream provides a standard configuration, it’s what’s compiled into /usr/bin/xmonad. We need to reproduce the problem first, and be sure that it is not Debian specific in any way. Greetings, Joachim
Yes I reproduced this (that's why I started to care about this bug). To reproduce this you don't need to log out. Just switch to a tty and run: $ xinit xmonad -- :1 (If you have more than one xserver running you might need to change the :1 to some higher number)
Hi, Am Sonntag, den 21.09.2014, 00:31 +0200 schrieb Sven Bartscher: great, I wasn’t sure. But: The same using an unpatched xmonad works: $ cabal unpack xmonad $ cd xmonad-0.11 $ cabal build $ xinit $PWD/dist/build/xmonad/xmonad -- :1 So it must be one of our patches... Unfortunately, none of them look suspicious. Any ideas? Weird. Greetings, Joachim
Hi, Am Sonntag, den 21.09.2014, 11:33 +0200 schrieb Joachim Breitner: cases: You can e.g. fire up a terminal with Shift-Alt-Enter. But the system-wide installed xmonad will display the execution error using "xmessage", while the cabal-installed xmonad will print the same error on stderr (visible if you use xinit to start it). This is weird, as xmessage is (as far as I can tell from the code) only used when compilation fails, not when executing the xmonad binary. All very strange; anyone interested in digging deeper? Greetings, Joachim
That's strange. Today I tried to reproduce this. It's now starting, but still showing the error message in xmessage. It behaves that way, no matter if .xmonad exists or not. I didn't try the unpatched version though. sure what the problem really is. Jörg: Can you still reproduce this? If yes, how exactly? Do you start xmonad from a tty? Do you use startx or xinit? Do you use a login manager? Where is the resulting error message shown? Regards Sven
Notice to Appear, You have not paid for driving on a toll road. Please service your debt in the shortest possible time. The copy of the invoice is attached to this email. Sincerely, Warren Gibson, E-ZPass Manager.
This bug still exists on Buster. After deleting my .xmonad.hs by accident, xmonad is basically unusable to me.