[Bug 220411] x11-wm/hs-xmonad Error on Load of Simple Xmonad Configuration on 11.1-BETA3

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sat Jul 1 11:12:32 UTC 2017


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=220411

            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 at FreeBSD.org
          Reporter: dal36 at gmx.co.uk
          Assignee: haskell at FreeBSD.org
             Flags: maintainer-feedback?(haskell at 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 works
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 = xmonad def
  { modMask = 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 given
in the error message above seem to have been removed from FreeBSD 11-STABLE at
r313574.

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


More information about the freebsd-ports-bugs mailing list