Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 01 Jul 2017 11:12:32 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 220411] x11-wm/hs-xmonad Error on Load of Simple Xmonad Configuration on 11.1-BETA3
Message-ID:  <bug-220411-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D220411

            Bug ID: 220411
           Summary: x11-wm/hs-xmonad Error on Load of Simple Xmonad
                    Configuration on 11.1-BETA3
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: haskell@FreeBSD.org
          Reporter: dal36@gmx.co.uk
          Assignee: haskell@FreeBSD.org
             Flags: maintainer-feedback?(haskell@FreeBSD.org)

I'm getting the error message given below on 11.1-BETA3 when opening xmonad
installed via pkg. My understanding from
https://www.freebsd.org/portmgr/policies_eol.html is that the 11.0 packages
should still work on 11.1-BETA3, it being part of stable/11 (apologies if I=
'm
mistaken on this).
-----------
Error detected while loading xmonad configuration file:
/home/user/.xmonad/xmonad.hs

In file included from /usr/local/lib/ghc-7.10.2/include/rts/Threads.h:19:0:
    0,
                     from /usr/local/lib/ghc-7.10.2/include/Rts.h:206,
                     from /tmp/ghc36548_0/ghc_4.c:1:

/usr/local/lib/gcc5/gcc/x86_64-portbld-freebsd11.0/5.4.0/include-fixed/sys/=
types.h:266:9:
     error: unknown type name '__vm_ooffset_t'
     typedef __vm_ooffset_t vm_ooffset_t;
             ^

/usr/local/lib/gcc5/gcc/x86_64-portbld-freebsd11.0/5.4.0/include-fixed/sys/=
types.h:268:9:
     error: unknown type name '__vm_pindex_t'
     typedef __vm_pindex_t vm_pindex_t;
             ^

Please check the file for errors.
-------

This error is appearing both when I use my existing xmonad.hs file (which w=
orks
fine on 10.3-RELEASE-p19) and when using the following simple xmonad.hs from
the xmonad config archive on the Haskell wiki:
import XMonad

main =3D xmonad def
  { modMask =3D mod4Mask
  }

This error is still produced (along with an additional warning) if def is
replaced by (the apparently deprecated) defaultConfig in the above.

One (possibly related) observation was that some typedefs for the types giv=
en
in the error message above seem to have been removed from FreeBSD 11-STABLE=
 at
r313574.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-220411-13>