You are not logged in.

#1 2016-10-31 19:02:56

Tétrapyle
Member
Registered: 2014-01-03
Posts: 53

[solved] xmonad '... error: ...', or dependency ... doesn't exist

[Title was: xmonad 'internal error: stg_ap_p_ret', or dependency ... doesn't exist]

Hi,

xmonad doesn't work on my system.

I don't know if it's xmonad or pacman or something else that got wrong.
So it may not be the right subforum.

The issue's been there for a few months.
I didn't have much time to investigate then, so I've been using openbox ever since and it works.
I also keep some backup systems that I update frequently and they do work fine with xmonad.

I uninstalled and reinstalled xmonad:

$ pacman -Syyu
$ pacman -Rsc xmonad xmonad-contrib
checking dependencies...

Packages (16) haskell-data-default-0.7.1.1-4
              haskell-data-default-instances-containers-0.0.1-13
              haskell-data-default-instances-dlist-0.0.1-17
              haskell-data-default-instances-old-locale-0.0.1-13
              haskell-dlist-0.8.0.2-1  haskell-extensible-exceptions-0.1.1.4-14
              haskell-mtl-2.2.1-6  haskell-old-locale-1.0.0.7-8
              haskell-old-time-1.1.0.3-8  haskell-random-1.1-6
              haskell-setlocale-1.0.0.3-3  haskell-utf8-string-1.0.1.1-2
              haskell-x11-1.6.1.2-13  haskell-x11-xft-0.3.1-23  xmonad-0.12-9
              xmonad-contrib-0.12-8

Total Removed Size:  121.99 MiB

:: Do you want to remove these packages? [Y/n] y
:: Running pre-transaction hooks...
(1/1) Unregistering Haskell modules...
unregistering would break the following packages: xmonad-0.12 xmonad-contrib-0.12 X11-1.6.1.2 X11-xft-0.3.1 data-default-0.7.1.1 (ignoring)
unregistering would break the following packages: old-time-1.1.0.3 (ignoring)
:: Processing package changes...
( 1/16) removing xmonad-contrib                    [######################] 100%
( 2/16) removing haskell-x11-xft                   [######################] 100%
( 3/16) removing haskell-random                    [######################] 100%
( 4/16) removing haskell-old-time                  [######################] 100%
( 5/16) removing xmonad                            [######################] 100%
( 6/16) removing haskell-x11                       [######################] 100%
( 7/16) removing haskell-data-default              [######################] 100%
( 8/16) removing haskell-data-default-instance...  [######################] 100%
( 9/16) removing haskell-old-locale                [######################] 100%
(10/16) removing haskell-data-default-instance...  [######################] 100%
(11/16) removing haskell-dlist                     [######################] 100%
(12/16) removing haskell-data-default-instance...  [######################] 100%
(13/16) removing haskell-utf8-string               [######################] 100%
(14/16) removing haskell-setlocale                 [######################] 100%
(15/16) removing haskell-mtl                       [######################] 100%
(16/16) removing haskell-extensible-exceptions     [######################] 100%
:: Running post-transaction hooks...
(1/1) Rebuilding Haskell doc index...
$ pacman -S xmonad xmonad-contrib
resolving dependencies...
looking for conflicting packages...

Packages (16) haskell-data-default-0.7.1.1-4
              haskell-data-default-instances-containers-0.0.1-13
              haskell-data-default-instances-dlist-0.0.1-17
              haskell-data-default-instances-old-locale-0.0.1-13
              haskell-dlist-0.8.0.2-1  haskell-extensible-exceptions-0.1.1.4-14
              haskell-mtl-2.2.1-6  haskell-old-locale-1.0.0.7-8
              haskell-old-time-1.1.0.3-8  haskell-random-1.1-6
              haskell-setlocale-1.0.0.3-3  haskell-utf8-string-1.0.1.1-2
              haskell-x11-1.6.1.2-13  haskell-x11-xft-0.3.1-23  xmonad-0.12-9
              xmonad-contrib-0.12-8

Total Installed Size:  121.99 MiB

:: Proceed with installation? [Y/n] y
(16/16) checking keys in keyring                   [######################] 100%
(16/16) checking package integrity                 [######################] 100%
(16/16) loading package files                      [######################] 100%
(16/16) checking for file conflicts                [######################] 100%
(16/16) checking available disk space              [######################] 100%
:: Processing package changes...
( 1/16) installing haskell-data-default-instan...  [######################] 100%
( 2/16) installing haskell-dlist                   [######################] 100%
( 3/16) installing haskell-data-default-instan...  [######################] 100%
( 4/16) installing haskell-old-locale              [######################] 100%
( 5/16) installing haskell-data-default-instan...  [######################] 100%
( 6/16) installing haskell-data-default            [######################] 100%
( 7/16) installing haskell-x11                     [######################] 100%
( 8/16) installing haskell-mtl                     [######################] 100%
( 9/16) installing haskell-utf8-string             [######################] 100%
(10/16) installing haskell-extensible-exceptions   [######################] 100%
(11/16) installing haskell-setlocale               [######################] 100%
(12/16) installing xmonad                          [######################] 100%
Optional dependencies for xmonad
    xorg-xmessage: for displaying visual error messages [installed]
(13/16) installing haskell-x11-xft                 [######################] 100%
(14/16) installing haskell-random                  [######################] 100%
(15/16) installing haskell-old-time                [######################] 100%
(16/16) installing xmonad-contrib                  [######################] 100%
:: Running post-transaction hooks...
(1/2) Rebuilding Haskell doc index...
(2/2) Registering Haskell modules...
Reading package info from stdin ... done.
Reading package info from stdin ... done.
data-default-instances-dlist-0.0.1: dependency "dlist-0.8.0.2-GWAMmbX9rLg3tqrbOizHGv" doesn't exist (ignoring)
Reading package info from stdin ... done.
data-default-instances-old-locale-0.0.1: dependency "old-locale-1.0.0.7-6glXNhHF891B41ZfuI8hU8" doesn't exist (ignoring)
Reading package info from stdin ... done.
Reading package info from stdin ... done.
Reading package info from stdin ... done.
Reading package info from stdin ... done.
Reading package info from stdin ... done.
Reading package info from stdin ... done.
Reading package info from stdin ... done.
Reading package info from stdin ... done.
Reading package info from stdin ... done.
Reading package info from stdin ... done.
X11-xft-0.3.1: dependency "X11-1.6.1.2-FaJ9HH6jFQJJi1uDWovFSr" doesn't exist (ignoring)
Reading package info from stdin ... done.
Reading package info from stdin ... done.
xmonad-contrib-0.12: dependency "xmonad-0.12-2GDBWwSJPDc58Xg9q7fgK4" doesn't exist (ignoring)
Reading package info from stdin ... done.

Then I thought it might not be enough...

$ pacman -Rsc ghc
checking dependencies...

Packages (19) haskell-data-default-0.7.1.1-4
              haskell-data-default-class-0.1.2.0-1
              haskell-data-default-instances-base-0.1.0.1-1
              haskell-data-default-instances-containers-0.0.1-13
              haskell-data-default-instances-dlist-0.0.1-17
              haskell-data-default-instances-old-locale-0.0.1-13
              haskell-dlist-0.8.0.2-1  haskell-extensible-exceptions-0.1.1.4-14
              haskell-mtl-2.2.1-6  haskell-old-locale-1.0.0.7-8
              haskell-old-time-1.1.0.3-8  haskell-random-1.1-6
              haskell-setlocale-1.0.0.3-3  haskell-utf8-string-1.0.1.1-2
              haskell-x11-1.6.1.2-13  haskell-x11-xft-0.3.1-23  xmonad-0.12-9
              xmonad-contrib-0.12-8  ghc-8.0.1-1

Total Removed Size:  1269.48 MiB

:: Do you want to remove these packages? [Y/n]
:: Running pre-transaction hooks...
(1/1) Unregistering Haskell modules...
unregistering would break the following packages: xmonad-0.12 xmonad-contrib-0.12 X11-1.6.1.2 X11-xft-0.3.1 data-default-0.7.1.1 data-default-instances-old-locale-0.0.1 data-default-instances-dlist-0.0.1 data-default-instances-containers-0.0.1 data-default-instances-base-0.1.0.1 (ignoring)
unregistering would break the following packages: old-time-1.1.0.3 (ignoring)
:: Processing package changes...
( 1/19) removing xmonad-contrib                    [######################] 100%
( 2/19) removing xmonad                            [######################] 100%
( 3/19) removing haskell-x11-xft                   [######################] 100%
( 4/19) removing haskell-x11                       [######################] 100%
( 5/19) removing haskell-utf8-string               [######################] 100%
( 6/19) removing haskell-setlocale                 [######################] 100%
( 7/19) removing haskell-random                    [######################] 100%
( 8/19) removing haskell-old-time                  [######################] 100%
( 9/19) removing haskell-mtl                       [######################] 100%
(10/19) removing haskell-extensible-exceptions     [######################] 100%
(11/19) removing haskell-data-default-instance...  [######################] 100%
(12/19) removing haskell-data-default              [######################] 100%
(13/19) removing haskell-data-default-instance...  [######################] 100%
(14/19) removing haskell-old-locale                [######################] 100%
(15/19) removing haskell-data-default-instance...  [######################] 100%
(16/19) removing haskell-dlist                     [######################] 100%
(17/19) removing haskell-data-default-instance...  [######################] 100%
(18/19) removing haskell-data-default-class        [######################] 100%
(19/19) removing ghc                               [######################] 100%
$ pacman -Sy ghc xmonad xmonad-contrib
 core is up to date
 extra                   1757.0 KiB   551K/s 00:03 [######################] 100%
 community                  3.7 MiB  1391K/s 00:03 [######################] 100%
 multilib is up to date
resolving dependencies...
looking for conflicting packages...

Packages (18) haskell-data-default-0.7.1.1-4
              haskell-data-default-class-0.1.2.0-1
              haskell-data-default-instances-containers-0.0.1-13
              haskell-data-default-instances-dlist-0.0.1-17
              haskell-data-default-instances-old-locale-0.0.1-13
              haskell-dlist-0.8.0.2-1  haskell-extensible-exceptions-0.1.1.4-14
              haskell-mtl-2.2.1-6  haskell-old-locale-1.0.0.7-8
              haskell-old-time-1.1.0.3-8  haskell-random-1.1-6
              haskell-setlocale-1.0.0.3-3  haskell-utf8-string-1.0.1.1-2
              haskell-x11-1.6.1.2-13  haskell-x11-xft-0.3.1-23  ghc-8.0.1-1
              xmonad-0.12-9  xmonad-contrib-0.12-8

Total Installed Size:  1269.35 MiB

:: Proceed with installation? [Y/n]
(18/18) checking keys in keyring                   [######################] 100%
(18/18) checking package integrity                 [######################] 100%
(18/18) loading package files                      [######################] 100%
(18/18) checking for file conflicts                [######################] 100%
(18/18) checking available disk space              [######################] 100%
:: Processing package changes...
( 1/18) installing ghc                             [######################] 100%
( 2/18) installing haskell-data-default-class      [######################] 100%
( 3/18) installing haskell-data-default-instan...  [######################] 100%
( 4/18) installing haskell-dlist                   [######################] 100%
( 5/18) installing haskell-data-default-instan...  [######################] 100%
( 6/18) installing haskell-old-locale              [######################] 100%
( 7/18) installing haskell-data-default-instan...  [######################] 100%
( 8/18) installing haskell-data-default            [######################] 100%
( 9/18) installing haskell-x11                     [######################] 100%
(10/18) installing haskell-mtl                     [######################] 100%
(11/18) installing haskell-utf8-string             [######################] 100%
(12/18) installing haskell-extensible-exceptions   [######################] 100%
(13/18) installing haskell-setlocale               [######################] 100%
(14/18) installing xmonad                          [######################] 100%
Optional dependencies for xmonad
    xorg-xmessage: for displaying visual error messages [installed]
(15/18) installing haskell-x11-xft                 [######################] 100%
(16/18) installing haskell-random                  [######################] 100%
(17/18) installing haskell-old-time                [######################] 100%
(18/18) installing xmonad-contrib                  [######################] 100%
:: Running post-transaction hooks...
(1/2) Rebuilding Haskell doc index...
(2/2) Registering Haskell modules...
Reading package info from stdin ... done.
Reading package info from stdin ... done.
Reading package info from stdin ... done.
data-default-instances-dlist-0.0.1: dependency "dlist-0.8.0.2-GWAMmbX9rLg3tqrbOizHGv" doesn't exist (ignoring)
Reading package info from stdin ... done.
data-default-instances-old-locale-0.0.1: dependency "old-locale-1.0.0.7-6glXNhHF891B41ZfuI8hU8" doesn't exist (ignoring)
Reading package info from stdin ... done.
Reading package info from stdin ... done.
Reading package info from stdin ... done.
Reading package info from stdin ... done.
Reading package info from stdin ... done.
Reading package info from stdin ... done.
Reading package info from stdin ... done.
Reading package info from stdin ... done.
Reading package info from stdin ... done.
Reading package info from stdin ... done.
X11-xft-0.3.1: dependency "X11-1.6.1.2-FaJ9HH6jFQJJi1uDWovFSr" doesn't exist (ignoring)
Reading package info from stdin ... done.
Reading package info from stdin ... done.
xmonad-contrib-0.12: dependency "xmonad-0.12-2GDBWwSJPDc58Xg9q7fgK4" doesn't exist (ignoring)
Reading package info from stdin ... done.

My ~/.xinitrc has some xterm, some urxvt and ends with: exec xmonad

$ startx 2>&1 | tee mylog

It quits immediately.

$ cat mylog

X.Org X Server 1.18.4
Release Date: 2016-07-19
X Protocol Version 11, Revision 0
Build Operating System: Linux 4.5.4-1-ARCH x86_64
Current Operating System: Linux papillon 4.8.4-1-ARCH #1 SMP PREEMPT Sat Oct 22 18:26:57 CEST 2016 x86_64
Kernel command line: BOOT_IMAGE=/boot/vmlinuz-linux root=UUID=6e5aacc8-f06b-40c5-94f3-de68ec1c68ac rw quiet
Build Date: 19 July 2016  05:54:24PM

Current version of pixman: 0.34.0
    Before reporting problems, check http://wiki.x.org
    to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
    (++) from command line, (!!) notice, (II) informational,
    (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/home/jean/.local/share/xorg/Xorg.0.log", Time: Mon Oct 31 18:35:41 2016
(==) Using config directory: "/etc/X11/xorg.conf.d"
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
(II) [KMS] Kernel modesetting enabled.
xmonad-x86_64-linux: internal error: stg_ap_p_ret
    (GHC version 8.0.1 for x86_64_unknown_linux)
    Please report this as a GHC bug:  http://www.haskell.org/ghc/reportabug
xinit: connection to X server lost
^M
waiting for X server to shut down urxvt: X connection to ':0' broken, unable to recover, exiting.
(II) Server terminated successfully (0). Closing log file.

When the problem appeared, I was having some read errors on my drive,
I thought it might be related but it does not make sense to me now.

Edit: I also deleted xmonad.hs xmonad.hi and xmonad.o in ~/.xmonad/

What about :

xmonad-x86_64-linux: internal error: stg_ap_p_ret

data-default-instances-dlist-0.0.1: dependency "dlist-0.8.0.2-GWAMmbX9rLg3tqrbOizHGv" doesn't exist (ignoring)
data-default-instances-old-locale-0.0.1: dependency "old-locale-1.0.0.7-6glXNhHF891B41ZfuI8hU8" doesn't exist (ignoring)
X11-xft-0.3.1: dependency "X11-1.6.1.2-FaJ9HH6jFQJJi1uDWovFSr" doesn't exist (ignoring)
xmonad-contrib-0.12: dependency "xmonad-0.12-2GDBWwSJPDc58Xg9q7fgK4" doesn't exist (ignoring)

Do you have any idea about what should I do now? I miss xmonad.
Thanks.

Last edited by Tétrapyle (2017-02-18 11:02:01)

Offline

#2 2017-02-18 10:59:24

Tétrapyle
Member
Registered: 2014-01-03
Posts: 53

Re: [solved] xmonad '... error: ...', or dependency ... doesn't exist

Solved by by deleting ~/.xmonad/xmonad-x86_64-linux ...
That was not much to do sad

Offline

Board footer

Powered by FluxBB