xmonad / x11 Goto Github PK
View Code? Open in Web Editor NEWA Haskell binding to the X11 graphics library.
Home Page: http://hackage.haskell.org/package/X11
License: Other
A Haskell binding to the X11 graphics library.
Home Page: http://hackage.haskell.org/package/X11
License: Other
XF86XK_AudioForward
is not exported from Graphics.X11.ExtraTypes.XF86
even though a similar XF86XK_AudioRewind
is.
Hi Daniel,
I'm trying to install XMonad, but it fails due to some inappropriate character inside XScreenSaver.hsc. Could you please take a look?
$ cabal install X11-1.6.1.1 -v
...
Graphics/X11/XScreenSaver.hs Graphics/X11/XScreenSaver.hsc
hsc2hs: Char.intToDigit: not a digit 128
I've removed all comment's and it's worked... the next issue:
Graphics/X11/Xlib/Atom.hsc:92:23:
Module `Control.Monad' does not export `void'
Regards,
Alexandr
XOpenDisplay
is documented to accept a NULL
argument to indicate it should use the DISPLAY
environment variable value[1]. It seems like that'd be the most common way to use it, so I'm a little surprised that it's not supported in this binding.
[1] https://www.x.org/releases/X11R7.7/doc/libX11/libX11/libX11.html#XOpenDisplay
Please mention in the README that one needs to install the following packages before building X11 -
libx11-dev
libxrandr-dev
libxinerama-dev
It took me a while to figure this out. Finally arch linux came to the rescue - https://www.archlinux.org/packages/community/i686/haskell-x11/
Looking at /usr/include/X11/keysymdef.h
, there are many keys that are not mirrored in Graphics.X11.Types
, e.g. the Thai keys, Hebrew Keys. It would be nice to have them.
Hi, sorry to bother you. I see in the source that XIM related APIs are omitted. Will they be added? X11-XIM does not seem to be continued.
Nothing ever sets compiledWithXrandr = False
. That can't be right.
We have X11-1.9 on Hackage, but no tag in this repo identifies the revision from which that release was made.
Ping @dmwit
for very large properties such as "_NET_WM_ICON" lists can be slow enough that it makes certain things unfeasible.
Hello,
Could anyone make an example of using the XRandR bindings?
I have started making a small clone of the "xrandr -q" command:
import Graphics.X11.Xlib
import Graphics.X11.Xrandr
main = do
dpy <- openDisplay ""
let dflt = defaultScreen dpy
root <- rootWindow dpy dflt
sc <- xrrGetScreenInfo dpy root
sizes <- xrrConfigSizes sc
Is the code moving to the right direction?
Thanks in advance
New-build is the default as of cabal 3.x and the v1-commands will be going away, so we should fix this. The build itself succeeds, but the subsequent install fails with
cabal: Failed to build X11-1.9.2 (which is required by exe:xmonad from
xmonad-bsa-0.3). The failure occurred during the final install step. The
exception was:
dieVerbatim: user error (cabal: '/home/allbery/.ghcup/bin/ghc-pkg' exited with
an error:
X11-1.9.2: Warning: haddock-interfaces:
/home/allbery/.xmonad/cabal/dist-newstyle/build/x86_64-linux/ghc-8.10.4/X11-1.9.2/doc/html/X11/X11.haddock
doesn't exist or isn't a file
X11-1.9.2: Warning: haddock-html:
/home/allbery/.xmonad/cabal/dist-newstyle/build/x86_64-linux/ghc-8.10.4/X11-1.9.2/doc/html/X11
doesn't exist or isn't a directory
X11-1.9.2: library-dirs: @X_LIBRARIES@ is a relative path which makes no sense
(as there is nothing for it to be relative to). You can make paths relative to
the package database itself by using ${pkgroot}. (use --force to override)
X11-1.9.2: dynamic-library-dirs: @X_LIBRARIES@ is a relative path which makes
no sense (as there is nothing for it to be relative to). You can make paths
relative to the package database itself by using ${pkgroot}. (use --force to
override)
)
I have not found a combination of aclocal
/autoreconf
/etc. commands which help with this, and the error doesn't appear to be raised by anything that is actually part of the install, so it is likely some interaction with newer Cabal that causes it.
In configure.ac, EXTRA_LIBRARIES given by Xinerama is overridden by Xss.
On most machines, a CLong
would be 64 bits rather than 32 bits. This causes issues where for any 32 bit property, getWindowProperty32
will be reading more bytes than are actually present. Sensible C types were chosen for getWindowProperty8
and getWindowProperty16
, so I'm wondeirng if there's a reason to use CLong
for 32 bit properties rather than CInt
(or even something like Word32
).
EDIT: Autoconf successfully determines the necessary -L
search paths, but Cabal does not actually use them. See #53 (comment) for details.
error:
/usr/bin/ld: cannot find -lXss
full log below
[...]
Using Stackage LTS 6.35 which points at X11 v1.6.1.2 everything works just fine and X11 successfully compiles. Using the newer Stackage LTS 9.0 which points at X11 v1.8, I get the above error and cannot complete the compile.
X11 has a dependency on data-default so that it can supply an instance for the Default class. But the data-default package has a bunch of other dependencies to provide various instances, that X11 doesn’t seem to need. The data-default-class package supplies just the type class, which seems sufficient for X11.
The README
claims that "having the development version of the XScreenSaver library will enable some optional bindings.", but in fact it's been a required library since 1.8 or thenabouts.
error:
ld: library not found for -lXss
full log below
[codygman@work-mbp xmonad]$ cabal install -v X11==1.6.1.1
Using a sandbox located at
/Users/codygman/osxmonad-install/xmonad/.cabal-sandbox
Reading available packages...
Reading available packages...
Reading installed packages...
'/usr/local/bin/ghc-pkg' 'dump' '--package-db=/Users/codygman/osxmonad-install/xmonad/.cabal-sandbox/x86_64-osx-ghc-7.8.1-packages.conf.d' '-v0'
'/usr/local/bin/ghc' '--print-libdir'
Reading available packages...
Choosing modular solver.
Resolving dependencies...
Ready to install X11-1.6.1.1
Waiting for install task to finish...
Extracting
/Users/codygman/.cabal/packages/hackage.haskell.org/X11/1.6.1.1/X11-1.6.1.1.tar.gz
to /var/folders/s2/t36y3y9x1ks1lq5vn3q35tgm0000gn/T/X11-1.6.1.1-12190...
Updating X11.cabal with the latest revision from the index.
Configuring X11-1.6.1.1...
Dependency base ==4.7.0.0: using base-4.7.0.0
Dependency data-default ==0.5.3: using data-default-0.5.3
'/usr/local/bin/ghc' '--info'
Using Cabal-1.18.1.3 compiled by ghc-7.6
Using compiler: ghc-7.8.1
Using install prefix: /Users/codygman/osxmonad-install/xmonad/.cabal-sandbox
Binaries installed in:
/Users/codygman/osxmonad-install/xmonad/.cabal-sandbox/bin
Libraries installed in:
/Users/codygman/osxmonad-install/xmonad/.cabal-sandbox/lib/x86_64-osx-ghc-7.8.1/X11-1.6.1.1
Private binaries installed in:
/Users/codygman/osxmonad-install/xmonad/.cabal-sandbox/libexec
Data files installed in:
/Users/codygman/osxmonad-install/xmonad/.cabal-sandbox/share/x86_64-osx-ghc-7.8.1/X11-1.6.1.1
Documentation installed in:
/Users/codygman/osxmonad-install/xmonad/.cabal-sandbox/share/doc/x86_64-osx-ghc-7.8.1/X11-1.6.1.1
Configuration files installed in:
/Users/codygman/osxmonad-install/xmonad/.cabal-sandbox/etc
Using alex version 3.0.5 found on system at: /usr/local/bin/alex
Using ar found on system at: /usr/bin/ar
No c2hs found
Using cpphs version 1.18.4 found on system at:
/Users/codygman/.cabal/bin/cpphs
No ffihugs found
Using gcc version 4.2.1 found on system at: /usr/bin/gcc
Using ghc version 7.8.1 found on system at: /usr/local/bin/ghc
Using ghc-pkg version 7.8.1 found on system at: /usr/local/bin/ghc-pkg
No greencard found
Using haddock version 2.14.2 found on system at: /usr/local/bin/haddock
Using happy version 1.18.10 found on system at: /usr/local/bin/happy
No hmake found
Using hpc version 0.67 found on system at: /usr/local/bin/hpc
Using hsc2hs version 0.67 found on system at: /usr/local/bin/hsc2hs
Using hscolour version 1.20 found on system at:
/Users/codygman/.cabal/bin/HsColour
No hugs found
No jhc found
Using ld found on system at: /usr/bin/ld
No lhc found
No lhc-pkg found
No nhc98 found
Using pkg-config version 0.28 found on system at: /usr/local/bin/pkg-config
Using ranlib found on system at: /usr/bin/ranlib
Using strip found on system at: /usr/bin/strip
Using tar found on system at: /usr/bin/tar
No uhc found
sh ./configure --with-compiler=ghc --prefix=/Users/codygman/osxmonad-install/xmonad/.cabal-sandbox --bindir=/Users/codygman/osxmonad-install/xmonad/.cabal-sandbox/bin --libdir=/Users/codygman/osxmonad-install/xmonad/.cabal-sandbox/lib --libexecdir=/Users/codygman/osxmonad-install/xmonad/.cabal-sandbox/libexec --datadir=/Users/codygman/osxmonad-install/xmonad/.cabal-sandbox/share --sysconfdir=/Users/codygman/osxmonad-install/xmonad/.cabal-sandbox/etc --with-gcc=/usr/bin/gcc
configure: WARNING: unrecognized options: --with-compiler, --with-gcc
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking how to run the C preprocessor... gcc -E
checking for X... libraries /usr/X11/lib, headers /usr/X11/include
checking whether -R must be followed by a space... neither works
checking for gethostbyname... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... yes
checking whether to build Xinerama... yes
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking X11/extensions/Xinerama.h usability... yes
checking X11/extensions/Xinerama.h presence... yes
checking for X11/extensions/Xinerama.h... yes
checking X11/extensions/Xrandr.h usability... yes
checking X11/extensions/Xrandr.h presence... yes
checking for X11/extensions/Xrandr.h... yes
checking whether to build XScreenSaver... yes
checking X11/extensions/scrnsaver.h usability... yes
checking X11/extensions/scrnsaver.h presence... yes
checking for X11/extensions/scrnsaver.h... yes
checking whether to include X.org keysyms... yes
checking X11/keysym.h usability... yes
checking X11/keysym.h presence... yes
checking for X11/keysym.h... yes
checking X11/DECkeysym.h usability... yes
checking X11/DECkeysym.h presence... yes
checking for X11/DECkeysym.h... yes
checking X11/Sunkeysym.h usability... yes
checking X11/Sunkeysym.h presence... yes
checking for X11/Sunkeysym.h... yes
checking X11/ap_keysym.h usability... yes
checking X11/ap_keysym.h presence... yes
checking for X11/ap_keysym.h... yes
checking X11/HPkeysym.h usability... yes
checking X11/HPkeysym.h presence... yes
checking for X11/HPkeysym.h... yes
checking X11/XF86keysym.h usability... yes
checking X11/XF86keysym.h presence... yes
checking for X11/XF86keysym.h... yes
checking X11/keysymdef.h usability... yes
checking X11/keysymdef.h presence... yes
checking for X11/keysymdef.h... yes
checking X11/cursorfont.h usability... yes
checking X11/cursorfont.h presence... yes
checking for X11/cursorfont.h... yes
configure: creating ./config.status
config.status: creating config.mk
config.status: creating X11.buildinfo
config.status: creating include/HsX11Config.h
config.status: creating include/X11_extras_config.h
configure: WARNING: unrecognized options: --with-compiler, --with-gcc
Reading parameters from ./X11.buildinfo
Reading parameters from ./X11.buildinfo
Component build order: library
creating dist/dist-sandbox-801471b6/build
creating dist/dist-sandbox-801471b6/build/autogen
Building X11-1.6.1.1...
Preprocessing library X11-1.6.1.1...
creating dist/dist-sandbox-801471b6/build/Graphics/X11
creating dist/dist-sandbox-801471b6/build/Graphics
creating dist/dist-sandbox-801471b6/build/Graphics/X11
/usr/local/bin/hsc2hs --cc=/usr/bin/gcc --ld=/usr/bin/gcc --cflag=-D__GLASGOW_HASKELL__=708 --cflag=-Ddarwin_BUILD_OS=1 --cflag=-Dx86_64_BUILD_ARCH=1 --cflag=-Ddarwin_HOST_OS=1 --cflag=-Dx86_64_HOST_ARCH=1 --cflag=-Iinclude --cflag=-I/usr/X11/include --cflag=-I/usr/X11/include --cflag=-I/usr/X11/include --lflag=-lXss --lflag=-lXinerama --lflag=-lXext --lflag=-lX11 --lflag=-lXrandr --lflag=-lXext --lflag=-L/usr/X11/lib --cflag=-Idist/dist-sandbox-801471b6/build/autogen --cflag=-include --cflag=dist/dist-sandbox-801471b6/build/autogen/cabal_macros.h --cflag=-Idist/dist-sandbox-801471b6/build/autogen --cflag=-include --cflag=dist/dist-sandbox-801471b6/build/autogen/cabal_macros.h --cflag=-Idist/dist-sandbox-801471b6/build/autogen --cflag=-include --cflag=dist/dist-sandbox-801471b6/build/autogen/cabal_macros.h --cflag=-Idist/dist-sandbox-801471b6/build/autogen --cflag=-include --cflag=dist/dist-sandbox-801471b6/build/autogen/cabal_macros.h --cflag=-Idist/dist-sandbox-801471b6/build/autogen --cflag=-include --cflag=dist/dist-sandbox-801471b6/build/autogen/cabal_macros.h --cflag=-Idist/dist-sandbox-801471b6/build/autogen --cflag=-include --cflag=dist/dist-sandbox-801471b6/build/autogen/cabal_macros.h --cflag=-Idist/dist-sandbox-801471b6/build/autogen --cflag=-include --cflag=dist/dist-sandbox-801471b6/build/autogen/cabal_macros.h --cflag=-Idist/dist-sandbox-801471b6/build/autogen --cflag=-include --cflag=dist/dist-sandbox-801471b6/build/autogen/cabal_macros.h --cflag=-Idist/dist-sandbox-801471b6/build/autogen --cflag=-include --cflag=dist/dist-sandbox-801471b6/build/autogen/cabal_macros.h --cflag=-Idist/dist-sandbox-801471b6/build/autogen --cflag=-include --cflag=dist/dist-sandbox-801471b6/build/autogen/cabal_macros.h --cflag=-Idist/dist-sandbox-801471b6/build/autogen --cflag=-include --cflag=dist/dist-sandbox-801471b6/build/autogen/cabal_macros.h --cflag=-I/usr/local/lib/ghc-7.8.1/base-4.7.0.0/include --cflag=-Idist/dist-sandbox-801471b6/build/autogen --cflag=-include --cflag=dist/dist-sandbox-801471b6/build/autogen/cabal_macros.h --cflag=-I/usr/local/lib/ghc-7.8.1/integer-gmp-0.5.1.0/include --cflag=-Idist/dist-sandbox-801471b6/build/autogen --cflag=-include --cflag=dist/dist-sandbox-801471b6/build/autogen/cabal_macros.h --cflag=-Idist/dist-sandbox-801471b6/build/autogen --cflag=-include --cflag=dist/dist-sandbox-801471b6/build/autogen/cabal_macros.h --cflag=-I/usr/local/lib/ghc-7.8.1/include --cflag=-Idist/dist-sandbox-801471b6/build/autogen --cflag=-include --cflag=dist/dist-sandbox-801471b6/build/autogen/cabal_macros.h --lflag=-L/Users/codygman/osxmonad-install/xmonad/.cabal-sandbox/lib/x86_64-osx-ghc-7.8.1/data-default-0.5.3 --lflag=-L/Users/codygman/osxmonad-install/xmonad/.cabal-sandbox/lib/x86_64-osx-ghc-7.8.1/data-default-instances-old-locale-0.0.1 --lflag=-L/usr/local/lib/ghc-7.8.1/old-locale-1.0.0.6 --lflag=-L/Users/codygman/osxmonad-install/xmonad/.cabal-sandbox/lib/x86_64-osx-ghc-7.8.1/data-default-instances-dlist-0.0.1 --lflag=-L/Users/codygman/osxmonad-install/xmonad/.cabal-sandbox/lib/x86_64-osx-ghc-7.8.1/dlist-0.7.0.1 --lflag=-L/Users/codygman/osxmonad-install/xmonad/.cabal-sandbox/lib/x86_64-osx-ghc-7.8.1/data-default-instances-containers-0.0.1 --lflag=-L/Users/codygman/osxmonad-install/xmonad/.cabal-sandbox/lib/x86_64-osx-ghc-7.8.1/data-default-instances-base-0.0.1 --lflag=-L/Users/codygman/osxmonad-install/xmonad/.cabal-sandbox/lib/x86_64-osx-ghc-7.8.1/data-default-class-0.0.1 --lflag=-L/usr/local/lib/ghc-7.8.1/containers-0.5.5.1 --lflag=-L/usr/local/lib/ghc-7.8.1/deepseq-1.3.0.2 --lflag=-L/usr/local/lib/ghc-7.8.1/array-0.5.0.0 --lflag=-L/usr/local/lib/ghc-7.8.1/base-4.7.0.0 --lflag=-liconv --lflag=-L/usr/local/lib/ghc-7.8.1/integer-gmp-0.5.1.0 --lflag=-L/usr/local/lib/ghc-7.8.1/ghc-prim-0.3.1.0 --lflag=-L/usr/local/lib/ghc-7.8.1/rts-1.0 --lflag=-lm --lflag=-ldl -o dist/dist-sandbox-801471b6/build/Graphics/X11/Types.hs Graphics/X11/Types.hsc
creating dist/dist-sandbox-801471b6/build/Graphics/X11/Xlib
/usr/local/bin/hsc2hs --cc=/usr/bin/gcc --ld=/usr/bin/gcc --cflag=-D__GLASGOW_HASKELL__=708 --cflag=-Ddarwin_BUILD_OS=1 --cflag=-Dx86_64_BUILD_ARCH=1 --cflag=-Ddarwin_HOST_OS=1 --cflag=-Dx86_64_HOST_ARCH=1 --cflag=-Iinclude --cflag=-I/usr/X11/include --cflag=-I/usr/X11/include --cflag=-I/usr/X11/include --lflag=-lXss --lflag=-lXinerama --lflag=-lXext --lflag=-lX11 --lflag=-lXrandr --lflag=-lXext --lflag=-L/usr/X11/lib --cflag=-Idist/dist-sandbox-801471b6/build/autogen --cflag=-include --cflag=dist/dist-sandbox-801471b6/build/autogen/cabal_macros.h --cflag=-Idist/dist-sandbox-801471b6/build/autogen --cflag=-include --cflag=dist/dist-sandbox-801471b6/build/autogen/cabal_macros.h --cflag=-Idist/dist-sandbox-801471b6/build/autogen --cflag=-include --cflag=dist/dist-sandbox-801471b6/build/autogen/cabal_macros.h --cflag=-Idist/dist-sandbox-801471b6/build/autogen --cflag=-include --cflag=dist/dist-sandbox-801471b6/build/autogen/cabal_macros.h --cflag=-Idist/dist-sandbox-801471b6/build/autogen --cflag=-include --cflag=dist/dist-sandbox-801471b6/build/autogen/cabal_macros.h --cflag=-Idist/dist-sandbox-801471b6/build/autogen --cflag=-include --cflag=dist/dist-sandbox-801471b6/build/autogen/cabal_macros.h --cflag=-Idist/dist-sandbox-801471b6/build/autogen --cflag=-include --cflag=dist/dist-sandbox-801471b6/build/autogen/cabal_macros.h --cflag=-Idist/dist-sandbox-801471b6/build/autogen --cflag=-include --cflag=dist/dist-sandbox-801471b6/build/autogen/cabal_macros.h --cflag=-Idist/dist-sandbox-801471b6/build/autogen --cflag=-include --cflag=dist/dist-sandbox-801471b6/build/autogen/cabal_macros.h --cflag=-Idist/dist-sandbox-801471b6/build/autogen --cflag=-include --cflag=dist/dist-sandbox-801471b6/build/autogen/cabal_macros.h --cflag=-Idist/dist-sandbox-801471b6/build/autogen --cflag=-include --cflag=dist/dist-sandbox-801471b6/build/autogen/cabal_macros.h --cflag=-I/usr/local/lib/ghc-7.8.1/base-4.7.0.0/include --cflag=-Idist/dist-sandbox-801471b6/build/autogen --cflag=-include --cflag=dist/dist-sandbox-801471b6/build/autogen/cabal_macros.h --cflag=-I/usr/local/lib/ghc-7.8.1/integer-gmp-0.5.1.0/include --cflag=-Idist/dist-sandbox-801471b6/build/autogen --cflag=-include --cflag=dist/dist-sandbox-801471b6/build/autogen/cabal_macros.h --cflag=-Idist/dist-sandbox-801471b6/build/autogen --cflag=-include --cflag=dist/dist-sandbox-801471b6/build/autogen/cabal_macros.h --cflag=-I/usr/local/lib/ghc-7.8.1/include --cflag=-Idist/dist-sandbox-801471b6/build/autogen --cflag=-include --cflag=dist/dist-sandbox-801471b6/build/autogen/cabal_macros.h --lflag=-L/Users/codygman/osxmonad-install/xmonad/.cabal-sandbox/lib/x86_64-osx-ghc-7.8.1/data-default-0.5.3 --lflag=-L/Users/codygman/osxmonad-install/xmonad/.cabal-sandbox/lib/x86_64-osx-ghc-7.8.1/data-default-instances-old-locale-0.0.1 --lflag=-L/usr/local/lib/ghc-7.8.1/old-locale-1.0.0.6 --lflag=-L/Users/codygman/osxmonad-install/xmonad/.cabal-sandbox/lib/x86_64-osx-ghc-7.8.1/data-default-instances-dlist-0.0.1 --lflag=-L/Users/codygman/osxmonad-install/xmonad/.cabal-sandbox/lib/x86_64-osx-ghc-7.8.1/dlist-0.7.0.1 --lflag=-L/Users/codygman/osxmonad-install/xmonad/.cabal-sandbox/lib/x86_64-osx-ghc-7.8.1/data-default-instances-containers-0.0.1 --lflag=-L/Users/codygman/osxmonad-install/xmonad/.cabal-sandbox/lib/x86_64-osx-ghc-7.8.1/data-default-instances-base-0.0.1 --lflag=-L/Users/codygman/osxmonad-install/xmonad/.cabal-sandbox/lib/x86_64-osx-ghc-7.8.1/data-default-class-0.0.1 --lflag=-L/usr/local/lib/ghc-7.8.1/containers-0.5.5.1 --lflag=-L/usr/local/lib/ghc-7.8.1/deepseq-1.3.0.2 --lflag=-L/usr/local/lib/ghc-7.8.1/array-0.5.0.0 --lflag=-L/usr/local/lib/ghc-7.8.1/base-4.7.0.0 --lflag=-liconv --lflag=-L/usr/local/lib/ghc-7.8.1/integer-gmp-0.5.1.0 --lflag=-L/usr/local/lib/ghc-7.8.1/ghc-prim-0.3.1.0 --lflag=-L/usr/local/lib/ghc-7.8.1/rts-1.0 --lflag=-lm --lflag=-ldl -o dist/dist-sandbox-801471b6/build/Graphics/X11/Xlib/Atom.hs Graphics/X11/Xlib/Atom.hsc
creating dist/dist-sandbox-801471b6/build/Graphics/X11/Xlib
/usr/local/bin/hsc2hs --cc=/usr/bin/gcc --ld=/usr/bin/gcc --cflag=-D__GLASGOW_HASKELL__=708 --cflag=-Ddarwin_BUILD_OS=1 --cflag=-Dx86_64_BUILD_ARCH=1 --cflag=-Ddarwin_HOST_OS=1 --cflag=-Dx86_64_HOST_ARCH=1 --cflag=-Iinclude --cflag=-I/usr/X11/include --cflag=-I/usr/X11/include --cflag=-I/usr/X11/include --lflag=-lXss --lflag=-lXinerama --lflag=-lXext --lflag=-lX11 --lflag=-lXrandr --lflag=-lXext --lflag=-L/usr/X11/lib --cflag=-Idist/dist-sandbox-801471b6/build/autogen --cflag=-include --cflag=dist/dist-sandbox-801471b6/build/autogen/cabal_macros.h --cflag=-Idist/dist-sandbox-801471b6/build/autogen --cflag=-include --cflag=dist/dist-sandbox-801471b6/build/autogen/cabal_macros.h --cflag=-Idist/dist-sandbox-801471b6/build/autogen --cflag=-include --cflag=dist/dist-sandbox-801471b6/build/autogen/cabal_macros.h --cflag=-Idist/dist-sandbox-801471b6/build/autogen --cflag=-include --cflag=dist/dist-sandbox-801471b6/build/autogen/cabal_macros.h --cflag=-Idist/dist-sandbox-801471b6/build/autogen --cflag=-include --cflag=dist/dist-sandbox-801471b6/build/autogen/cabal_macros.h --cflag=-Idist/dist-sandbox-801471b6/build/autogen --cflag=-include --cflag=dist/dist-sandbox-801471b6/build/autogen/cabal_macros.h --cflag=-Idist/dist-sandbox-801471b6/build/autogen --cflag=-include --cflag=dist/dist-sandbox-801471b6/build/autogen/cabal_macros.h --cflag=-Idist/dist-sandbox-801471b6/build/autogen --cflag=-include --cflag=dist/dist-sandbox-801471b6/build/autogen/cabal_macros.h --cflag=-Idist/dist-sandbox-801471b6/build/autogen --cflag=-include --cflag=dist/dist-sandbox-801471b6/build/autogen/cabal_macros.h --cflag=-Idist/dist-sandbox-801471b6/build/autogen --cflag=-include --cflag=dist/dist-sandbox-801471b6/build/autogen/cabal_macros.h --cflag=-Idist/dist-sandbox-801471b6/build/autogen --cflag=-include --cflag=dist/dist-sandbox-801471b6/build/autogen/cabal_macros.h --cflag=-I/usr/local/lib/ghc-7.8.1/base-4.7.0.0/include --cflag=-Idist/dist-sandbox-801471b6/build/autogen --cflag=-include --cflag=dist/dist-sandbox-801471b6/build/autogen/cabal_macros.h --cflag=-I/usr/local/lib/ghc-7.8.1/integer-gmp-0.5.1.0/include --cflag=-Idist/dist-sandbox-801471b6/build/autogen --cflag=-include --cflag=dist/dist-sandbox-801471b6/build/autogen/cabal_macros.h --cflag=-Idist/dist-sandbox-801471b6/build/autogen --cflag=-include --cflag=dist/dist-sandbox-801471b6/build/autogen/cabal_macros.h --cflag=-I/usr/local/lib/ghc-7.8.1/include --cflag=-Idist/dist-sandbox-801471b6/build/autogen --cflag=-include --cflag=dist/dist-sandbox-801471b6/build/autogen/cabal_macros.h --lflag=-L/Users/codygman/osxmonad-install/xmonad/.cabal-sandbox/lib/x86_64-osx-ghc-7.8.1/data-default-0.5.3 --lflag=-L/Users/codygman/osxmonad-install/xmonad/.cabal-sandbox/lib/x86_64-osx-ghc-7.8.1/data-default-instances-old-locale-0.0.1 --lflag=-L/usr/local/lib/ghc-7.8.1/old-locale-1.0.0.6 --lflag=-L/Users/codygman/osxmonad-install/xmonad/.cabal-sandbox/lib/x86_64-osx-ghc-7.8.1/data-default-instances-dlist-0.0.1 --lflag=-L/Users/codygman/osxmonad-install/xmonad/.cabal-sandbox/lib/x86_64-osx-ghc-7.8.1/dlist-0.7.0.1 --lflag=-L/Users/codygman/osxmonad-install/xmonad/.cabal-sandbox/lib/x86_64-osx-ghc-7.8.1/data-default-instances-containers-0.0.1 --lflag=-L/Users/codygman/osxmonad-install/xmonad/.cabal-sandbox/lib/x86_64-osx-ghc-7.8.1/data-default-instances-base-0.0.1 --lflag=-L/Users/codygman/osxmonad-install/xmonad/.cabal-sandbox/lib/x86_64-osx-ghc-7.8.1/data-default-class-0.0.1 --lflag=-L/usr/local/lib/ghc-7.8.1/containers-0.5.5.1 --lflag=-L/usr/local/lib/ghc-7.8.1/deepseq-1.3.0.2 --lflag=-L/usr/local/lib/ghc-7.8.1/array-0.5.0.0 --lflag=-L/usr/local/lib/ghc-7.8.1/base-4.7.0.0 --lflag=-liconv --lflag=-L/usr/local/lib/ghc-7.8.1/integer-gmp-0.5.1.0 --lflag=-L/usr/local/lib/ghc-7.8.1/ghc-prim-0.3.1.0 --lflag=-L/usr/local/lib/ghc-7.8.1/rts-1.0 --lflag=-lm --lflag=-ldl -o dist/dist-sandbox-801471b6/build/Graphics/X11/Xlib/Cursor.hs Graphics/X11/Xlib/Cursor.hsc
creating dist/dist-sandbox-801471b6/build/Graphics/X11/Xlib
/usr/local/bin/hsc2hs --cc=/usr/bin/gcc --ld=/usr/bin/gcc --cflag=-D__GLASGOW_HASKELL__=708 --cflag=-Ddarwin_BUILD_OS=1 --cflag=-Dx86_64_BUILD_ARCH=1 --cflag=-Ddarwin_HOST_OS=1 --cflag=-Dx86_64_HOST_ARCH=1 --cflag=-Iinclude --cflag=-I/usr/X11/include --cflag=-I/usr/X11/include --cflag=-I/usr/X11/include --lflag=-lXss --lflag=-lXinerama --lflag=-lXext --lflag=-lX11 --lflag=-lXrandr --lflag=-lXext --lflag=-L/usr/X11/lib --cflag=-Idist/dist-sandbox-801471b6/build/autogen --cflag=-include --cflag=dist/dist-sandbox-801471b6/build/autogen/cabal_macros.h --cflag=-Idist/dist-sandbox-801471b6/build/autogen --cflag=-include --cflag=dist/dist-sandbox-801471b6/build/autogen/cabal_macros.h --cflag=-Idist/dist-sandbox-801471b6/build/autogen --cflag=-include --cflag=dist/dist-sandbox-801471b6/build/autogen/cabal_macros.h --cflag=-Idist/dist-sandbox-801471b6/build/autogen --cflag=-include --cflag=dist/dist-sandbox-801471b6/build/autogen/cabal_macros.h --cflag=-Idist/dist-sandbox-801471b6/build/autogen --cflag=-include --cflag=dist/dist-sandbox-801471b6/build/autogen/cabal_macros.h --cflag=-Idist/dist-sandbox-801471b6/build/autogen --cflag=-include --cflag=dist/dist-sandbox-801471b6/build/autogen/cabal_macros.h --cflag=-Idist/dist-sandbox-801471b6/build/autogen --cflag=-include --cflag=dist/dist-sandbox-801471b6/build/autogen/cabal_macros.h --cflag=-Idist/dist-sandbox-801471b6/build/autogen --cflag=-include --cflag=dist/dist-sandbox-801471b6/build/autogen/cabal_macros.h --cflag=-Idist/dist-sandbox-801471b6/build/autogen --cflag=-include --cflag=dist/dist-sandbox-801471b6/build/autogen/cabal_macros.h --cflag=-Idist/dist-sandbox-801471b6/build/autogen --cflag=-include --cflag=dist/dist-sandbox-801471b6/build/autogen/cabal_macros.h --cflag=-Idist/dist-sandbox-801471b6/build/autogen --cflag=-include --cflag=dist/dist-sandbox-801471b6/build/autogen/cabal_macros.h --cflag=-I/usr/local/lib/ghc-7.8.1/base-4.7.0.0/include --cflag=-Idist/dist-sandbox-801471b6/build/autogen --cflag=-include --cflag=dist/dist-sandbox-801471b6/build/autogen/cabal_macros.h --cflag=-I/usr/local/lib/ghc-7.8.1/integer-gmp-0.5.1.0/include --cflag=-Idist/dist-sandbox-801471b6/build/autogen --cflag=-include --cflag=dist/dist-sandbox-801471b6/build/autogen/cabal_macros.h --cflag=-Idist/dist-sandbox-801471b6/build/autogen --cflag=-include --cflag=dist/dist-sandbox-801471b6/build/autogen/cabal_macros.h --cflag=-I/usr/local/lib/ghc-7.8.1/include --cflag=-Idist/dist-sandbox-801471b6/build/autogen --cflag=-include --cflag=dist/dist-sandbox-801471b6/build/autogen/cabal_macros.h --lflag=-L/Users/codygman/osxmonad-install/xmonad/.cabal-sandbox/lib/x86_64-osx-ghc-7.8.1/data-default-0.5.3 --lflag=-L/Users/codygman/osxmonad-install/xmonad/.cabal-sandbox/lib/x86_64-osx-ghc-7.8.1/data-default-instances-old-locale-0.0.1 --lflag=-L/usr/local/lib/ghc-7.8.1/old-locale-1.0.0.6 --lflag=-L/Users/codygman/osxmonad-install/xmonad/.cabal-sandbox/lib/x86_64-osx-ghc-7.8.1/data-default-instances-dlist-0.0.1 --lflag=-L/Users/codygman/osxmonad-install/xmonad/.cabal-sandbox/lib/x86_64-osx-ghc-7.8.1/dlist-0.7.0.1 --lflag=-L/Users/codygman/osxmonad-install/xmonad/.cabal-sandbox/lib/x86_64-osx-ghc-7.8.1/data-default-instances-containers-0.0.1 --lflag=-L/Users/codygman/osxmonad-install/xmonad/.cabal-sandbox/lib/x86_64-osx-ghc-7.8.1/data-default-instances-base-0.0.1 --lflag=-L/Users/codygman/osxmonad-install/xmonad/.cabal-sandbox/lib/x86_64-osx-ghc-7.8.1/data-default-class-0.0.1 --lflag=-L/usr/local/lib/ghc-7.8.1/containers-0.5.5.1 --lflag=-L/usr/local/lib/ghc-7.8.1/deepseq-1.3.0.2 --lflag=-L/usr/local/lib/ghc-7.8.1/array-0.5.0.0 --lflag=-L/usr/local/lib/ghc-7.8.1/base-4.7.0.0 --lflag=-liconv --lflag=-L/usr/local/lib/ghc-7.8.1/integer-gmp-0.5.1.0 --lflag=-L/usr/local/lib/ghc-7.8.1/ghc-prim-0.3.1.0 --lflag=-L/usr/local/lib/ghc-7.8.1/rts-1.0 --lflag=-lm --lflag=-ldl -o dist/dist-sandbox-801471b6/build/Graphics/X11/Xlib/Event.hs Graphics/X11/Xlib/Event.hsc
creating dist/dist-sandbox-801471b6/build/Graphics/X11/Xlib
/usr/local/bin/hsc2hs --cc=/usr/bin/gcc --ld=/usr/bin/gcc --cflag=-D__GLASGOW_HASKELL__=708 --cflag=-Ddarwin_BUILD_OS=1 --cflag=-Dx86_64_BUILD_ARCH=1 --cflag=-Ddarwin_HOST_OS=1 --cflag=-Dx86_64_HOST_ARCH=1 --cflag=-Iinclude --cflag=-I/usr/X11/include --cflag=-I/usr/X11/include --cflag=-I/usr/X11/include --lflag=-lXss --lflag=-lXinerama --lflag=-lXext --lflag=-lX11 --lflag=-lXrandr --lflag=-lXext --lflag=-L/usr/X11/lib --cflag=-Idist/dist-sandbox-801471b6/build/autogen --cflag=-include --cflag=dist/dist-sandbox-801471b6/build/autogen/cabal_macros.h --cflag=-Idist/dist-sandbox-801471b6/build/autogen --cflag=-include --cflag=dist/dist-sandbox-801471b6/build/autogen/cabal_macros.h --cflag=-Idist/dist-sandbox-801471b6/build/autogen --cflag=-include --cflag=dist/dist-sandbox-801471b6/build/autogen/cabal_macros.h --cflag=-Idist/dist-sandbox-801471b6/build/autogen --cflag=-include --cflag=dist/dist-sandbox-801471b6/build/autogen/cabal_macros.h --cflag=-Idist/dist-sandbox-801471b6/build/autogen --cflag=-include --cflag=dist/dist-sandbox-801471b6/build/autogen/cabal_macros.h --cflag=-Idist/dist-sandbox-801471b6/build/autogen --cflag=-include --cflag=dist/dist-sandbox-801471b6/build/autogen/cabal_macros.h --cflag=-Idist/dist-sandbox-801471b6/build/autogen --cflag=-include --cflag=dist/dist-sandbox-801471b6/build/autogen/cabal_macros.h --cflag=-Idist/dist-sandbox-801471b6/build/autogen --cflag=-include --cflag=dist/dist-sandbox-801471b6/build/autogen/cabal_macros.h --cflag=-Idist/dist-sandbox-801471b6/build/autogen --cflag=-include --cflag=dist/dist-sandbox-801471b6/build/autogen/cabal_macros.h --cflag=-Idist/dist-sandbox-801471b6/build/autogen --cflag=-include --cflag=dist/dist-sandbox-801471b6/build/autogen/cabal_macros.h --cflag=-Idist/dist-sandbox-801471b6/build/autogen --cflag=-include --cflag=dist/dist-sandbox-801471b6/build/autogen/cabal_macros.h --cflag=-I/usr/local/lib/ghc-7.8.1/base-4.7.0.0/include --cflag=-Idist/dist-sandbox-801471b6/build/autogen --cflag=-include --cflag=dist/dist-sandbox-801471b6/build/autogen/cabal_macros.h --cflag=-I/usr/local/lib/ghc-7.8.1/integer-gmp-0.5.1.0/include --cflag=-Idist/dist-sandbox-801471b6/build/autogen --cflag=-include --cflag=dist/dist-sandbox-801471b6/build/autogen/cabal_macros.h --cflag=-Idist/dist-sandbox-801471b6/build/autogen --cflag=-include --cflag=dist/dist-sandbox-801471b6/build/autogen/cabal_macros.h --cflag=-I/usr/local/lib/ghc-7.8.1/include --cflag=-Idist/dist-sandbox-801471b6/build/autogen --cflag=-include --cflag=dist/dist-sandbox-801471b6/build/autogen/cabal_macros.h --lflag=-L/Users/codygman/osxmonad-install/xmonad/.cabal-sandbox/lib/x86_64-osx-ghc-7.8.1/data-default-0.5.3 --lflag=-L/Users/codygman/osxmonad-install/xmonad/.cabal-sandbox/lib/x86_64-osx-ghc-7.8.1/data-default-instances-old-locale-0.0.1 --lflag=-L/usr/local/lib/ghc-7.8.1/old-locale-1.0.0.6 --lflag=-L/Users/codygman/osxmonad-install/xmonad/.cabal-sandbox/lib/x86_64-osx-ghc-7.8.1/data-default-instances-dlist-0.0.1 --lflag=-L/Users/codygman/osxmonad-install/xmonad/.cabal-sandbox/lib/x86_64-osx-ghc-7.8.1/dlist-0.7.0.1 --lflag=-L/Users/codygman/osxmonad-install/xmonad/.cabal-sandbox/lib/x86_64-osx-ghc-7.8.1/data-default-instances-containers-0.0.1 --lflag=-L/Users/codygman/osxmonad-install/xmonad/.cabal-sandbox/lib/x86_64-osx-ghc-7.8.1/data-default-instances-base-0.0.1 --lflag=-L/Users/codygman/osxmonad-install/xmonad/.cabal-sandbox/lib/x86_64-osx-ghc-7.8.1/data-default-class-0.0.1 --lflag=-L/usr/local/lib/ghc-7.8.1/containers-0.5.5.1 --lflag=-L/usr/local/lib/ghc-7.8.1/deepseq-1.3.0.2 --lflag=-L/usr/local/lib/ghc-7.8.1/array-0.5.0.0 --lflag=-L/usr/local/lib/ghc-7.8.1/base-4.7.0.0 --lflag=-liconv --lflag=-L/usr/local/lib/ghc-7.8.1/integer-gmp-0.5.1.0 --lflag=-L/usr/local/lib/ghc-7.8.1/ghc-prim-0.3.1.0 --lflag=-L/usr/local/lib/ghc-7.8.1/rts-1.0 --lflag=-lm --lflag=-ldl -o dist/dist-sandbox-801471b6/build/Graphics/X11/Xlib/Font.hs Graphics/X11/Xlib/Font.hsc
creating dist/dist-sandbox-801471b6/build/Graphics/X11/Xlib
/usr/local/bin/hsc2hs --cc=/usr/bin/gcc --ld=/usr/bin/gcc --cflag=-D__GLASGOW_HASKELL__=708 --cflag=-Ddarwin_BUILD_OS=1 --cflag=-Dx86_64_BUILD_ARCH=1 --cflag=-Ddarwin_HOST_OS=1 --cflag=-Dx86_64_HOST_ARCH=1 --cflag=-Iinclude --cflag=-I/usr/X11/include --cflag=-I/usr/X11/include --cflag=-I/usr/X11/include --lflag=-lXss --lflag=-lXinerama --lflag=-lXext --lflag=-lX11 --lflag=-lXrandr --lflag=-lXext --lflag=-L/usr/X11/lib --cflag=-Idist/dist-sandbox-801471b6/build/autogen --cflag=-include --cflag=dist/dist-sandbox-801471b6/build/autogen/cabal_macros.h --cflag=-Idist/dist-sandbox-801471b6/build/autogen --cflag=-include --cflag=dist/dist-sandbox-801471b6/build/autogen/cabal_macros.h --cflag=-Idist/dist-sandbox-801471b6/build/autogen --cflag=-include --cflag=dist/dist-sandbox-801471b6/build/autogen/cabal_macros.h --cflag=-Idist/dist-sandbox-801471b6/build/autogen --cflag=-include --cflag=dist/dist-sandbox-801471b6/build/autogen/cabal_macros.h --cflag=-Idist/dist-sandbox-801471b6/build/autogen --cflag=-include --cflag=dist/dist-sandbox-801471b6/build/autogen/cabal_macros.h --cflag=-Idist/dist-sandbox-801471b6/build/autogen --cflag=-include --cflag=dist/dist-sandbox-801471b6/build/autogen/cabal_macros.h --cflag=-Idist/dist-sandbox-801471b6/build/autogen --cflag=-include --cflag=dist/dist-sandbox-801471b6/build/autogen/cabal_macros.h --cflag=-Idist/dist-sandbox-801471b6/build/autogen --cflag=-include --cflag=dist/dist-sandbox-801471b6/build/autogen/cabal_macros.h --cflag=-Idist/dist-sandbox-801471b6/build/autogen --cflag=-include --cflag=dist/dist-sandbox-801471b6/build/autogen/cabal_macros.h --cflag=-Idist/dist-sandbox-801471b6/build/autogen --cflag=-include --cflag=dist/dist-sandbox-801471b6/build/autogen/cabal_macros.h --cflag=-Idist/dist-sandbox-801471b6/build/autogen --cflag=-include --cflag=dist/dist-sandbox-801471b6/build/autogen/cabal_macros.h --cflag=-I/usr/local/lib/ghc-7.8.1/base-4.7.0.0/include --cflag=-Idist/dist-sandbox-801471b6/build/autogen --cflag=-include --cflag=dist/dist-sandbox-801471b6/build/autogen/cabal_macros.h --cflag=-I/usr/local/lib/ghc-7.8.1/integer-gmp-0.5.1.0/include --cflag=-Idist/dist-sandbox-801471b6/build/autogen --cflag=-include --cflag=dist/dist-sandbox-801471b6/build/autogen/cabal_macros.h --cflag=-Idist/dist-sandbox-801471b6/build/autogen --cflag=-include --cflag=dist/dist-sandbox-801471b6/build/autogen/cabal_macros.h --cflag=-I/usr/local/lib/ghc-7.8.1/include --cflag=-Idist/dist-sandbox-801471b6/build/autogen --cflag=-include --cflag=dist/dist-sandbox-801471b6/build/autogen/cabal_macros.h --lflag=-L/Users/codygman/osxmonad-install/xmonad/.cabal-sandbox/lib/x86_64-osx-ghc-7.8.1/data-default-0.5.3 --lflag=-L/Users/codygman/osxmonad-install/xmonad/.cabal-sandbox/lib/x86_64-osx-ghc-7.8.1/data-default-instances-old-locale-0.0.1 --lflag=-L/usr/local/lib/ghc-7.8.1/old-locale-1.0.0.6 --lflag=-L/Users/codygman/osxmonad-install/xmonad/.cabal-sandbox/lib/x86_64-osx-ghc-7.8.1/data-default-instances-dlist-0.0.1 --lflag=-L/Users/codygman/osxmonad-install/xmonad/.cabal-sandbox/lib/x86_64-osx-ghc-7.8.1/dlist-0.7.0.1 --lflag=-L/Users/codygman/osxmonad-install/xmonad/.cabal-sandbox/lib/x86_64-osx-ghc-7.8.1/data-default-instances-containers-0.0.1 --lflag=-L/Users/codygman/osxmonad-install/xmonad/.cabal-sandbox/lib/x86_64-osx-ghc-7.8.1/data-default-instances-base-0.0.1 --lflag=-L/Users/codygman/osxmonad-install/xmonad/.cabal-sandbox/lib/x86_64-osx-ghc-7.8.1/data-default-class-0.0.1 --lflag=-L/usr/local/lib/ghc-7.8.1/containers-0.5.5.1 --lflag=-L/usr/local/lib/ghc-7.8.1/deepseq-1.3.0.2 --lflag=-L/usr/local/lib/ghc-7.8.1/array-0.5.0.0 --lflag=-L/usr/local/lib/ghc-7.8.1/base-4.7.0.0 --lflag=-liconv --lflag=-L/usr/local/lib/ghc-7.8.1/integer-gmp-0.5.1.0 --lflag=-L/usr/local/lib/ghc-7.8.1/ghc-prim-0.3.1.0 --lflag=-L/usr/local/lib/ghc-7.8.1/rts-1.0 --lflag=-lm --lflag=-ldl -o dist/dist-sandbox-801471b6/build/Graphics/X11/Xlib/Misc.hs Graphics/X11/Xlib/Misc.hsc
creating dist/dist-sandbox-801471b6/build/Graphics/X11/Xlib
/usr/local/bin/hsc2hs --cc=/usr/bin/gcc --ld=/usr/bin/gcc --cflag=-D__GLASGOW_HASKELL__=708 --cflag=-Ddarwin_BUILD_OS=1 --cflag=-Dx86_64_BUILD_ARCH=1 --cflag=-Ddarwin_HOST_OS=1 --cflag=-Dx86_64_HOST_ARCH=1 --cflag=-Iinclude --cflag=-I/usr/X11/include --cflag=-I/usr/X11/include --cflag=-I/usr/X11/include --lflag=-lXss --lflag=-lXinerama --lflag=-lXext --lflag=-lX11 --lflag=-lXrandr --lflag=-lXext --lflag=-L/usr/X11/lib --cflag=-Idist/dist-sandbox-801471b6/build/autogen --cflag=-include --cflag=dist/dist-sandbox-801471b6/build/autogen/cabal_macros.h --cflag=-Idist/dist-sandbox-801471b6/build/autogen --cflag=-include --cflag=dist/dist-sandbox-801471b6/build/autogen/cabal_macros.h --cflag=-Idist/dist-sandbox-801471b6/build/autogen --cflag=-include --cflag=dist/dist-sandbox-801471b6/build/autogen/cabal_macros.h --cflag=-Idist/dist-sandbox-801471b6/build/autogen --cflag=-include --cflag=dist/dist-sandbox-801471b6/build/autogen/cabal_macros.h --cflag=-Idist/dist-sandbox-801471b6/build/autogen --cflag=-include --cflag=dist/dist-sandbox-801471b6/build/autogen/cabal_macros.h --cflag=-Idist/dist-sandbox-801471b6/build/autogen --cflag=-include --cflag=dist/dist-sandbox-801471b6/build/autogen/cabal_macros.h --cflag=-Idist/dist-sandbox-801471b6/build/autogen --cflag=-include --cflag=dist/dist-sandbox-801471b6/build/autogen/cabal_macros.h --cflag=-Idist/dist-sandbox-801471b6/build/autogen --cflag=-include --cflag=dist/dist-sandbox-801471b6/build/autogen/cabal_macros.h --cflag=-Idist/dist-sandbox-801471b6/build/autogen --cflag=-include --cflag=dist/dist-sandbox-801471b6/build/autogen/cabal_macros.h --cflag=-Idist/dist-sandbox-801471b6/build/autogen --cflag=-include --cflag=dist/dist-sandbox-801471b6/build/autogen/cabal_macros.h --cflag=-Idist/dist-sandbox-801471b6/build/autogen --cflag=-include --cflag=dist/dist-sandbox-801471b6/build/autogen/cabal_macros.h --cflag=-I/usr/local/lib/ghc-7.8.1/base-4.7.0.0/include --cflag=-Idist/dist-sandbox-801471b6/build/autogen --cflag=-include --cflag=dist/dist-sandbox-801471b6/build/autogen/cabal_macros.h --cflag=-I/usr/local/lib/ghc-7.8.1/integer-gmp-0.5.1.0/include --cflag=-Idist/dist-sandbox-801471b6/build/autogen --cflag=-include --cflag=dist/dist-sandbox-801471b6/build/autogen/cabal_macros.h --cflag=-Idist/dist-sandbox-801471b6/build/autogen --cflag=-include --cflag=dist/dist-sandbox-801471b6/build/autogen/cabal_macros.h --cflag=-I/usr/local/lib/ghc-7.8.1/include --cflag=-Idist/dist-sandbox-801471b6/build/autogen --cflag=-include --cflag=dist/dist-sandbox-801471b6/build/autogen/cabal_macros.h --lflag=-L/Users/codygman/osxmonad-install/xmonad/.cabal-sandbox/lib/x86_64-osx-ghc-7.8.1/data-default-0.5.3 --lflag=-L/Users/codygman/osxmonad-install/xmonad/.cabal-sandbox/lib/x86_64-osx-ghc-7.8.1/data-default-instances-old-locale-0.0.1 --lflag=-L/usr/local/lib/ghc-7.8.1/old-locale-1.0.0.6 --lflag=-L/Users/codygman/osxmonad-install/xmonad/.cabal-sandbox/lib/x86_64-osx-ghc-7.8.1/data-default-instances-dlist-0.0.1 --lflag=-L/Users/codygman/osxmonad-install/xmonad/.cabal-sandbox/lib/x86_64-osx-ghc-7.8.1/dlist-0.7.0.1 --lflag=-L/Users/codygman/osxmonad-install/xmonad/.cabal-sandbox/lib/x86_64-osx-ghc-7.8.1/data-default-instances-containers-0.0.1 --lflag=-L/Users/codygman/osxmonad-install/xmonad/.cabal-sandbox/lib/x86_64-osx-ghc-7.8.1/data-default-instances-base-0.0.1 --lflag=-L/Users/codygman/osxmonad-install/xmonad/.cabal-sandbox/lib/x86_64-osx-ghc-7.8.1/data-default-class-0.0.1 --lflag=-L/usr/local/lib/ghc-7.8.1/containers-0.5.5.1 --lflag=-L/usr/local/lib/ghc-7.8.1/deepseq-1.3.0.2 --lflag=-L/usr/local/lib/ghc-7.8.1/array-0.5.0.0 --lflag=-L/usr/local/lib/ghc-7.8.1/base-4.7.0.0 --lflag=-liconv --lflag=-L/usr/local/lib/ghc-7.8.1/integer-gmp-0.5.1.0 --lflag=-L/usr/local/lib/ghc-7.8.1/ghc-prim-0.3.1.0 --lflag=-L/usr/local/lib/ghc-7.8.1/rts-1.0 --lflag=-lm --lflag=-ldl -o dist/dist-sandbox-801471b6/build/Graphics/X11/Xlib/Types.hs Graphics/X11/Xlib/Types.hsc
creating dist/dist-sandbox-801471b6/build/Graphics/X11/Xlib
/usr/local/bin/hsc2hs --cc=/usr/bin/gcc --ld=/usr/bin/gcc --cflag=-D__GLASGOW_HASKELL__=708 --cflag=-Ddarwin_BUILD_OS=1 --cflag=-Dx86_64_BUILD_ARCH=1 --cflag=-Ddarwin_HOST_OS=1 --cflag=-Dx86_64_HOST_ARCH=1 --cflag=-Iinclude --cflag=-I/usr/X11/include --cflag=-I/usr/X11/include --cflag=-I/usr/X11/include --lflag=-lXss --lflag=-lXinerama --lflag=-lXext --lflag=-lX11 --lflag=-lXrandr --lflag=-lXext --lflag=-L/usr/X11/lib --cflag=-Idist/dist-sandbox-801471b6/build/autogen --cflag=-include --cflag=dist/dist-sandbox-801471b6/build/autogen/cabal_macros.h --cflag=-Idist/dist-sandbox-801471b6/build/autogen --cflag=-include --cflag=dist/dist-sandbox-801471b6/build/autogen/cabal_macros.h --cflag=-Idist/dist-sandbox-801471b6/build/autogen --cflag=-include --cflag=dist/dist-sandbox-801471b6/build/autogen/cabal_macros.h --cflag=-Idist/dist-sandbox-801471b6/build/autogen --cflag=-include --cflag=dist/dist-sandbox-801471b6/build/autogen/cabal_macros.h --cflag=-Idist/dist-sandbox-801471b6/build/autogen --cflag=-include --cflag=dist/dist-sandbox-801471b6/build/autogen/cabal_macros.h --cflag=-Idist/dist-sandbox-801471b6/build/autogen --cflag=-include --cflag=dist/dist-sandbox-801471b6/build/autogen/cabal_macros.h --cflag=-Idist/dist-sandbox-801471b6/build/autogen --cflag=-include --cflag=dist/dist-sandbox-801471b6/build/autogen/cabal_macros.h --cflag=-Idist/dist-sandbox-801471b6/build/autogen --cflag=-include --cflag=dist/dist-sandbox-801471b6/build/autogen/cabal_macros.h --cflag=-Idist/dist-sandbox-801471b6/build/autogen --cflag=-include --cflag=dist/dist-sandbox-801471b6/build/autogen/cabal_macros.h --cflag=-Idist/dist-sandbox-801471b6/build/autogen --cflag=-include --cflag=dist/dist-sandbox-801471b6/build/autogen/cabal_macros.h --cflag=-Idist/dist-sandbox-801471b6/build/autogen --cflag=-include --cflag=dist/dist-sandbox-801471b6/build/autogen/cabal_macros.h --cflag=-I/usr/local/lib/ghc-7.8.1/base-4.7.0.0/include --cflag=-Idist/dist-sandbox-801471b6/build/autogen --cflag=-include --cflag=dist/dist-sandbox-801471b6/build/autogen/cabal_macros.h --cflag=-I/usr/local/lib/ghc-7.8.1/integer-gmp-0.5.1.0/include --cflag=-Idist/dist-sandbox-801471b6/build/autogen --cflag=-include --cflag=dist/dist-sandbox-801471b6/build/autogen/cabal_macros.h --cflag=-Idist/dist-sandbox-801471b6/build/autogen --cflag=-include --cflag=dist/dist-sandbox-801471b6/build/autogen/cabal_macros.h --cflag=-I/usr/local/lib/ghc-7.8.1/include --cflag=-Idist/dist-sandbox-801471b6/build/autogen --cflag=-include --cflag=dist/dist-sandbox-801471b6/build/autogen/cabal_macros.h --lflag=-L/Users/codygman/osxmonad-install/xmonad/.cabal-sandbox/lib/x86_64-osx-ghc-7.8.1/data-default-0.5.3 --lflag=-L/Users/codygman/osxmonad-install/xmonad/.cabal-sandbox/lib/x86_64-osx-ghc-7.8.1/data-default-instances-old-locale-0.0.1 --lflag=-L/usr/local/lib/ghc-7.8.1/old-locale-1.0.0.6 --lflag=-L/Users/codygman/osxmonad-install/xmonad/.cabal-sandbox/lib/x86_64-osx-ghc-7.8.1/data-default-instances-dlist-0.0.1 --lflag=-L/Users/codygman/osxmonad-install/xmonad/.cabal-sandbox/lib/x86_64-osx-ghc-7.8.1/dlist-0.7.0.1 --lflag=-L/Users/codygman/osxmonad-install/xmonad/.cabal-sandbox/lib/x86_64-osx-ghc-7.8.1/data-default-instances-containers-0.0.1 --lflag=-L/Users/codygman/osxmonad-install/xmonad/.cabal-sandbox/lib/x86_64-osx-ghc-7.8.1/data-default-instances-base-0.0.1 --lflag=-L/Users/codygman/osxmonad-install/xmonad/.cabal-sandbox/lib/x86_64-osx-ghc-7.8.1/data-default-class-0.0.1 --lflag=-L/usr/local/lib/ghc-7.8.1/containers-0.5.5.1 --lflag=-L/usr/local/lib/ghc-7.8.1/deepseq-1.3.0.2 --lflag=-L/usr/local/lib/ghc-7.8.1/array-0.5.0.0 --lflag=-L/usr/local/lib/ghc-7.8.1/base-4.7.0.0 --lflag=-liconv --lflag=-L/usr/local/lib/ghc-7.8.1/integer-gmp-0.5.1.0 --lflag=-L/usr/local/lib/ghc-7.8.1/ghc-prim-0.3.1.0 --lflag=-L/usr/local/lib/ghc-7.8.1/rts-1.0 --lflag=-lm --lflag=-ldl -o dist/dist-sandbox-801471b6/build/Graphics/X11/Xlib/Extras.hs Graphics/X11/Xlib/Extras.hsc
creating dist/dist-sandbox-801471b6/build/Graphics/X11
/usr/local/bin/hsc2hs --cc=/usr/bin/gcc --ld=/usr/bin/gcc --cflag=-D__GLASGOW_HASKELL__=708 --cflag=-Ddarwin_BUILD_OS=1 --cflag=-Dx86_64_BUILD_ARCH=1 --cflag=-Ddarwin_HOST_OS=1 --cflag=-Dx86_64_HOST_ARCH=1 --cflag=-Iinclude --cflag=-I/usr/X11/include --cflag=-I/usr/X11/include --cflag=-I/usr/X11/include --lflag=-lXss --lflag=-lXinerama --lflag=-lXext --lflag=-lX11 --lflag=-lXrandr --lflag=-lXext --lflag=-L/usr/X11/lib --cflag=-Idist/dist-sandbox-801471b6/build/autogen --cflag=-include --cflag=dist/dist-sandbox-801471b6/build/autogen/cabal_macros.h --cflag=-Idist/dist-sandbox-801471b6/build/autogen --cflag=-include --cflag=dist/dist-sandbox-801471b6/build/autogen/cabal_macros.h --cflag=-Idist/dist-sandbox-801471b6/build/autogen --cflag=-include --cflag=dist/dist-sandbox-801471b6/build/autogen/cabal_macros.h --cflag=-Idist/dist-sandbox-801471b6/build/autogen --cflag=-include --cflag=dist/dist-sandbox-801471b6/build/autogen/cabal_macros.h --cflag=-Idist/dist-sandbox-801471b6/build/autogen --cflag=-include --cflag=dist/dist-sandbox-801471b6/build/autogen/cabal_macros.h --cflag=-Idist/dist-sandbox-801471b6/build/autogen --cflag=-include --cflag=dist/dist-sandbox-801471b6/build/autogen/cabal_macros.h --cflag=-Idist/dist-sandbox-801471b6/build/autogen --cflag=-include --cflag=dist/dist-sandbox-801471b6/build/autogen/cabal_macros.h --cflag=-Idist/dist-sandbox-801471b6/build/autogen --cflag=-include --cflag=dist/dist-sandbox-801471b6/build/autogen/cabal_macros.h --cflag=-Idist/dist-sandbox-801471b6/build/autogen --cflag=-include --cflag=dist/dist-sandbox-801471b6/build/autogen/cabal_macros.h --cflag=-Idist/dist-sandbox-801471b6/build/autogen --cflag=-include --cflag=dist/dist-sandbox-801471b6/build/autogen/cabal_macros.h --cflag=-Idist/dist-sandbox-801471b6/build/autogen --cflag=-include --cflag=dist/dist-sandbox-801471b6/build/autogen/cabal_macros.h --cflag=-I/usr/local/lib/ghc-7.8.1/base-4.7.0.0/include --cflag=-Idist/dist-sandbox-801471b6/build/autogen --cflag=-include --cflag=dist/dist-sandbox-801471b6/build/autogen/cabal_macros.h --cflag=-I/usr/local/lib/ghc-7.8.1/integer-gmp-0.5.1.0/include --cflag=-Idist/dist-sandbox-801471b6/build/autogen --cflag=-include --cflag=dist/dist-sandbox-801471b6/build/autogen/cabal_macros.h --cflag=-Idist/dist-sandbox-801471b6/build/autogen --cflag=-include --cflag=dist/dist-sandbox-801471b6/build/autogen/cabal_macros.h --cflag=-I/usr/local/lib/ghc-7.8.1/include --cflag=-Idist/dist-sandbox-801471b6/build/autogen --cflag=-include --cflag=dist/dist-sandbox-801471b6/build/autogen/cabal_macros.h --lflag=-L/Users/codygman/osxmonad-install/xmonad/.cabal-sandbox/lib/x86_64-osx-ghc-7.8.1/data-default-0.5.3 --lflag=-L/Users/codygman/osxmonad-install/xmonad/.cabal-sandbox/lib/x86_64-osx-ghc-7.8.1/data-default-instances-old-locale-0.0.1 --lflag=-L/usr/local/lib/ghc-7.8.1/old-locale-1.0.0.6 --lflag=-L/Users/codygman/osxmonad-install/xmonad/.cabal-sandbox/lib/x86_64-osx-ghc-7.8.1/data-default-instances-dlist-0.0.1 --lflag=-L/Users/codygman/osxmonad-install/xmonad/.cabal-sandbox/lib/x86_64-osx-ghc-7.8.1/dlist-0.7.0.1 --lflag=-L/Users/codygman/osxmonad-install/xmonad/.cabal-sandbox/lib/x86_64-osx-ghc-7.8.1/data-default-instances-containers-0.0.1 --lflag=-L/Users/codygman/osxmonad-install/xmonad/.cabal-sandbox/lib/x86_64-osx-ghc-7.8.1/data-default-instances-base-0.0.1 --lflag=-L/Users/codygman/osxmonad-install/xmonad/.cabal-sandbox/lib/x86_64-osx-ghc-7.8.1/data-default-class-0.0.1 --lflag=-L/usr/local/lib/ghc-7.8.1/containers-0.5.5.1 --lflag=-L/usr/local/lib/ghc-7.8.1/deepseq-1.3.0.2 --lflag=-L/usr/local/lib/ghc-7.8.1/array-0.5.0.0 --lflag=-L/usr/local/lib/ghc-7.8.1/base-4.7.0.0 --lflag=-liconv --lflag=-L/usr/local/lib/ghc-7.8.1/integer-gmp-0.5.1.0 --lflag=-L/usr/local/lib/ghc-7.8.1/ghc-prim-0.3.1.0 --lflag=-L/usr/local/lib/ghc-7.8.1/rts-1.0 --lflag=-lm --lflag=-ldl -o dist/dist-sandbox-801471b6/build/Graphics/X11/Xinerama.hs Graphics/X11/Xinerama.hsc
creating dist/dist-sandbox-801471b6/build/Graphics/X11
/usr/local/bin/hsc2hs --cc=/usr/bin/gcc --ld=/usr/bin/gcc --cflag=-D__GLASGOW_HASKELL__=708 --cflag=-Ddarwin_BUILD_OS=1 --cflag=-Dx86_64_BUILD_ARCH=1 --cflag=-Ddarwin_HOST_OS=1 --cflag=-Dx86_64_HOST_ARCH=1 --cflag=-Iinclude --cflag=-I/usr/X11/include --cflag=-I/usr/X11/include --cflag=-I/usr/X11/include --lflag=-lXss --lflag=-lXinerama --lflag=-lXext --lflag=-lX11 --lflag=-lXrandr --lflag=-lXext --lflag=-L/usr/X11/lib --cflag=-Idist/dist-sandbox-801471b6/build/autogen --cflag=-include --cflag=dist/dist-sandbox-801471b6/build/autogen/cabal_macros.h --cflag=-Idist/dist-sandbox-801471b6/build/autogen --cflag=-include --cflag=dist/dist-sandbox-801471b6/build/autogen/cabal_macros.h --cflag=-Idist/dist-sandbox-801471b6/build/autogen --cflag=-include --cflag=dist/dist-sandbox-801471b6/build/autogen/cabal_macros.h --cflag=-Idist/dist-sandbox-801471b6/build/autogen --cflag=-include --cflag=dist/dist-sandbox-801471b6/build/autogen/cabal_macros.h --cflag=-Idist/dist-sandbox-801471b6/build/autogen --cflag=-include --cflag=dist/dist-sandbox-801471b6/build/autogen/cabal_macros.h --cflag=-Idist/dist-sandbox-801471b6/build/autogen --cflag=-include --cflag=dist/dist-sandbox-801471b6/build/autogen/cabal_macros.h --cflag=-Idist/dist-sandbox-801471b6/build/autogen --cflag=-include --cflag=dist/dist-sandbox-801471b6/build/autogen/cabal_macros.h --cflag=-Idist/dist-sandbox-801471b6/build/autogen --cflag=-include --cflag=dist/dist-sandbox-801471b6/build/autogen/cabal_macros.h --cflag=-Idist/dist-sandbox-801471b6/build/autogen --cflag=-include --cflag=dist/dist-sandbox-801471b6/build/autogen/cabal_macros.h --cflag=-Idist/dist-sandbox-801471b6/build/autogen --cflag=-include --cflag=dist/dist-sandbox-801471b6/build/autogen/cabal_macros.h --cflag=-Idist/dist-sandbox-801471b6/build/autogen --cflag=-include --cflag=dist/dist-sandbox-801471b6/build/autogen/cabal_macros.h --cflag=-I/usr/local/lib/ghc-7.8.1/base-4.7.0.0/include --cflag=-Idist/dist-sandbox-801471b6/build/autogen --cflag=-include --cflag=dist/dist-sandbox-801471b6/build/autogen/cabal_macros.h --cflag=-I/usr/local/lib/ghc-7.8.1/integer-gmp-0.5.1.0/include --cflag=-Idist/dist-sandbox-801471b6/build/autogen --cflag=-include --cflag=dist/dist-sandbox-801471b6/build/autogen/cabal_macros.h --cflag=-Idist/dist-sandbox-801471b6/build/autogen --cflag=-include --cflag=dist/dist-sandbox-801471b6/build/autogen/cabal_macros.h --cflag=-I/usr/local/lib/ghc-7.8.1/include --cflag=-Idist/dist-sandbox-801471b6/build/autogen --cflag=-include --cflag=dist/dist-sandbox-801471b6/build/autogen/cabal_macros.h --lflag=-L/Users/codygman/osxmonad-install/xmonad/.cabal-sandbox/lib/x86_64-osx-ghc-7.8.1/data-default-0.5.3 --lflag=-L/Users/codygman/osxmonad-install/xmonad/.cabal-sandbox/lib/x86_64-osx-ghc-7.8.1/data-default-instances-old-locale-0.0.1 --lflag=-L/usr/local/lib/ghc-7.8.1/old-locale-1.0.0.6 --lflag=-L/Users/codygman/osxmonad-install/xmonad/.cabal-sandbox/lib/x86_64-osx-ghc-7.8.1/data-default-instances-dlist-0.0.1 --lflag=-L/Users/codygman/osxmonad-install/xmonad/.cabal-sandbox/lib/x86_64-osx-ghc-7.8.1/dlist-0.7.0.1 --lflag=-L/Users/codygman/osxmonad-install/xmonad/.cabal-sandbox/lib/x86_64-osx-ghc-7.8.1/data-default-instances-containers-0.0.1 --lflag=-L/Users/codygman/osxmonad-install/xmonad/.cabal-sandbox/lib/x86_64-osx-ghc-7.8.1/data-default-instances-base-0.0.1 --lflag=-L/Users/codygman/osxmonad-install/xmonad/.cabal-sandbox/lib/x86_64-osx-ghc-7.8.1/data-default-class-0.0.1 --lflag=-L/usr/local/lib/ghc-7.8.1/containers-0.5.5.1 --lflag=-L/usr/local/lib/ghc-7.8.1/deepseq-1.3.0.2 --lflag=-L/usr/local/lib/ghc-7.8.1/array-0.5.0.0 --lflag=-L/usr/local/lib/ghc-7.8.1/base-4.7.0.0 --lflag=-liconv --lflag=-L/usr/local/lib/ghc-7.8.1/integer-gmp-0.5.1.0 --lflag=-L/usr/local/lib/ghc-7.8.1/ghc-prim-0.3.1.0 --lflag=-L/usr/local/lib/ghc-7.8.1/rts-1.0 --lflag=-lm --lflag=-ldl -o dist/dist-sandbox-801471b6/build/Graphics/X11/Xrandr.hs Graphics/X11/Xrandr.hsc
creating dist/dist-sandbox-801471b6/build/Graphics/X11
/usr/local/bin/hsc2hs --cc=/usr/bin/gcc --ld=/usr/bin/gcc --cflag=-D__GLASGOW_HASKELL__=708 --cflag=-Ddarwin_BUILD_OS=1 --cflag=-Dx86_64_BUILD_ARCH=1 --cflag=-Ddarwin_HOST_OS=1 --cflag=-Dx86_64_HOST_ARCH=1 --cflag=-Iinclude --cflag=-I/usr/X11/include --cflag=-I/usr/X11/include --cflag=-I/usr/X11/include --lflag=-lXss --lflag=-lXinerama --lflag=-lXext --lflag=-lX11 --lflag=-lXrandr --lflag=-lXext --lflag=-L/usr/X11/lib --cflag=-Idist/dist-sandbox-801471b6/build/autogen --cflag=-include --cflag=dist/dist-sandbox-801471b6/build/autogen/cabal_macros.h --cflag=-Idist/dist-sandbox-801471b6/build/autogen --cflag=-include --cflag=dist/dist-sandbox-801471b6/build/autogen/cabal_macros.h --cflag=-Idist/dist-sandbox-801471b6/build/autogen --cflag=-include --cflag=dist/dist-sandbox-801471b6/build/autogen/cabal_macros.h --cflag=-Idist/dist-sandbox-801471b6/build/autogen --cflag=-include --cflag=dist/dist-sandbox-801471b6/build/autogen/cabal_macros.h --cflag=-Idist/dist-sandbox-801471b6/build/autogen --cflag=-include --cflag=dist/dist-sandbox-801471b6/build/autogen/cabal_macros.h --cflag=-Idist/dist-sandbox-801471b6/build/autogen --cflag=-include --cflag=dist/dist-sandbox-801471b6/build/autogen/cabal_macros.h --cflag=-Idist/dist-sandbox-801471b6/build/autogen --cflag=-include --cflag=dist/dist-sandbox-801471b6/build/autogen/cabal_macros.h --cflag=-Idist/dist-sandbox-801471b6/build/autogen --cflag=-include --cflag=dist/dist-sandbox-801471b6/build/autogen/cabal_macros.h --cflag=-Idist/dist-sandbox-801471b6/build/autogen --cflag=-include --cflag=dist/dist-sandbox-801471b6/build/autogen/cabal_macros.h --cflag=-Idist/dist-sandbox-801471b6/build/autogen --cflag=-include --cflag=dist/dist-sandbox-801471b6/build/autogen/cabal_macros.h --cflag=-Idist/dist-sandbox-801471b6/build/autogen --cflag=-include --cflag=dist/dist-sandbox-801471b6/build/autogen/cabal_macros.h --cflag=-I/usr/local/lib/ghc-7.8.1/base-4.7.0.0/include --cflag=-Idist/dist-sandbox-801471b6/build/autogen --cflag=-include --cflag=dist/dist-sandbox-801471b6/build/autogen/cabal_macros.h --cflag=-I/usr/local/lib/ghc-7.8.1/integer-gmp-0.5.1.0/include --cflag=-Idist/dist-sandbox-801471b6/build/autogen --cflag=-include --cflag=dist/dist-sandbox-801471b6/build/autogen/cabal_macros.h --cflag=-Idist/dist-sandbox-801471b6/build/autogen --cflag=-include --cflag=dist/dist-sandbox-801471b6/build/autogen/cabal_macros.h --cflag=-I/usr/local/lib/ghc-7.8.1/include --cflag=-Idist/dist-sandbox-801471b6/build/autogen --cflag=-include --cflag=dist/dist-sandbox-801471b6/build/autogen/cabal_macros.h --lflag=-L/Users/codygman/osxmonad-install/xmonad/.cabal-sandbox/lib/x86_64-osx-ghc-7.8.1/data-default-0.5.3 --lflag=-L/Users/codygman/osxmonad-install/xmonad/.cabal-sandbox/lib/x86_64-osx-ghc-7.8.1/data-default-instances-old-locale-0.0.1 --lflag=-L/usr/local/lib/ghc-7.8.1/old-locale-1.0.0.6 --lflag=-L/Users/codygman/osxmonad-install/xmonad/.cabal-sandbox/lib/x86_64-osx-ghc-7.8.1/data-default-instances-dlist-0.0.1 --lflag=-L/Users/codygman/osxmonad-install/xmonad/.cabal-sandbox/lib/x86_64-osx-ghc-7.8.1/dlist-0.7.0.1 --lflag=-L/Users/codygman/osxmonad-install/xmonad/.cabal-sandbox/lib/x86_64-osx-ghc-7.8.1/data-default-instances-containers-0.0.1 --lflag=-L/Users/codygman/osxmonad-install/xmonad/.cabal-sandbox/lib/x86_64-osx-ghc-7.8.1/data-default-instances-base-0.0.1 --lflag=-L/Users/codygman/osxmonad-install/xmonad/.cabal-sandbox/lib/x86_64-osx-ghc-7.8.1/data-default-class-0.0.1 --lflag=-L/usr/local/lib/ghc-7.8.1/containers-0.5.5.1 --lflag=-L/usr/local/lib/ghc-7.8.1/deepseq-1.3.0.2 --lflag=-L/usr/local/lib/ghc-7.8.1/array-0.5.0.0 --lflag=-L/usr/local/lib/ghc-7.8.1/base-4.7.0.0 --lflag=-liconv --lflag=-L/usr/local/lib/ghc-7.8.1/integer-gmp-0.5.1.0 --lflag=-L/usr/local/lib/ghc-7.8.1/ghc-prim-0.3.1.0 --lflag=-L/usr/local/lib/ghc-7.8.1/rts-1.0 --lflag=-lm --lflag=-ldl -o dist/dist-sandbox-801471b6/build/Graphics/X11/XScreenSaver.hs Graphics/X11/XScreenSaver.hsc
creating dist/dist-sandbox-801471b6/build/Graphics/X11/ExtraTypes
/usr/local/bin/hsc2hs --cc=/usr/bin/gcc --ld=/usr/bin/gcc --cflag=-D__GLASGOW_HASKELL__=708 --cflag=-Ddarwin_BUILD_OS=1 --cflag=-Dx86_64_BUILD_ARCH=1 --cflag=-Ddarwin_HOST_OS=1 --cflag=-Dx86_64_HOST_ARCH=1 --cflag=-Iinclude --cflag=-I/usr/X11/include --cflag=-I/usr/X11/include --cflag=-I/usr/X11/include --lflag=-lXss --lflag=-lXinerama --lflag=-lXext --lflag=-lX11 --lflag=-lXrandr --lflag=-lXext --lflag=-L/usr/X11/lib --cflag=-Idist/dist-sandbox-801471b6/build/autogen --cflag=-include --cflag=dist/dist-sandbox-801471b6/build/autogen/cabal_macros.h --cflag=-Idist/dist-sandbox-801471b6/build/autogen --cflag=-include --cflag=dist/dist-sandbox-801471b6/build/autogen/cabal_macros.h --cflag=-Idist/dist-sandbox-801471b6/build/autogen --cflag=-include --cflag=dist/dist-sandbox-801471b6/build/autogen/cabal_macros.h --cflag=-Idist/dist-sandbox-801471b6/build/autogen --cflag=-include --cflag=dist/dist-sandbox-801471b6/build/autogen/cabal_macros.h --cflag=-Idist/dist-sandbox-801471b6/build/autogen --cflag=-include --cflag=dist/dist-sandbox-801471b6/build/autogen/cabal_macros.h --cflag=-Idist/dist-sandbox-801471b6/build/autogen --cflag=-include --cflag=dist/dist-sandbox-801471b6/build/autogen/cabal_macros.h --cflag=-Idist/dist-sandbox-801471b6/build/autogen --cflag=-include --cflag=dist/dist-sandbox-801471b6/build/autogen/cabal_macros.h --cflag=-Idist/dist-sandbox-801471b6/build/autogen --cflag=-include --cflag=dist/dist-sandbox-801471b6/build/autogen/cabal_macros.h --cflag=-Idist/dist-sandbox-801471b6/build/autogen --cflag=-include --cflag=dist/dist-sandbox-801471b6/build/autogen/cabal_macros.h --cflag=-Idist/dist-sandbox-801471b6/build/autogen --cflag=-include --cflag=dist/dist-sandbox-801471b6/build/autogen/cabal_macros.h --cflag=-Idist/dist-sandbox-801471b6/build/autogen --cflag=-include --cflag=dist/dist-sandbox-801471b6/build/autogen/cabal_macros.h --cflag=-I/usr/local/lib/ghc-7.8.1/base-4.7.0.0/include --cflag=-Idist/dist-sandbox-801471b6/build/autogen --cflag=-include --cflag=dist/dist-sandbox-801471b6/build/autogen/cabal_macros.h --cflag=-I/usr/local/lib/ghc-7.8.1/integer-gmp-0.5.1.0/include --cflag=-Idist/dist-sandbox-801471b6/build/autogen --cflag=-include --cflag=dist/dist-sandbox-801471b6/build/autogen/cabal_macros.h --cflag=-Idist/dist-sandbox-801471b6/build/autogen --cflag=-include --cflag=dist/dist-sandbox-801471b6/build/autogen/cabal_macros.h --cflag=-I/usr/local/lib/ghc-7.8.1/include --cflag=-Idist/dist-sandbox-801471b6/build/autogen --cflag=-include --cflag=dist/dist-sandbox-801471b6/build/autogen/cabal_macros.h --lflag=-L/Users/codygman/osxmonad-install/xmonad/.cabal-sandbox/lib/x86_64-osx-ghc-7.8.1/data-default-0.5.3 --lflag=-L/Users/codygman/osxmonad-install/xmonad/.cabal-sandbox/lib/x86_64-osx-ghc-7.8.1/data-default-instances-old-locale-0.0.1 --lflag=-L/usr/local/lib/ghc-7.8.1/old-locale-1.0.0.6 --lflag=-L/Users/codygman/osxmonad-install/xmonad/.cabal-sandbox/lib/x86_64-osx-ghc-7.8.1/data-default-instances-dlist-0.0.1 --lflag=-L/Users/codygman/osxmonad-install/xmonad/.cabal-sandbox/lib/x86_64-osx-ghc-7.8.1/dlist-0.7.0.1 --lflag=-L/Users/codygman/osxmonad-install/xmonad/.cabal-sandbox/lib/x86_64-osx-ghc-7.8.1/data-default-instances-containers-0.0.1 --lflag=-L/Users/codygman/osxmonad-install/xmonad/.cabal-sandbox/lib/x86_64-osx-ghc-7.8.1/data-default-instances-base-0.0.1 --lflag=-L/Users/codygman/osxmonad-install/xmonad/.cabal-sandbox/lib/x86_64-osx-ghc-7.8.1/data-default-class-0.0.1 --lflag=-L/usr/local/lib/ghc-7.8.1/containers-0.5.5.1 --lflag=-L/usr/local/lib/ghc-7.8.1/deepseq-1.3.0.2 --lflag=-L/usr/local/lib/ghc-7.8.1/array-0.5.0.0 --lflag=-L/usr/local/lib/ghc-7.8.1/base-4.7.0.0 --lflag=-liconv --lflag=-L/usr/local/lib/ghc-7.8.1/integer-gmp-0.5.1.0 --lflag=-L/usr/local/lib/ghc-7.8.1/ghc-prim-0.3.1.0 --lflag=-L/usr/local/lib/ghc-7.8.1/rts-1.0 --lflag=-lm --lflag=-ldl -o dist/dist-sandbox-801471b6/build/Graphics/X11/ExtraTypes/AP.hs Graphics/X11/ExtraTypes/AP.hsc
In file included from AP.hsc:166:
In file included from include/HsAllKeysyms.h:48:
/usr/X11/include/X11/HPkeysym.h:58:9: warning: '_HPKEYSYM_H' is used as a header guard here, followed by #define of a different
macro [-Wheader-guard]
#ifndef _HPKEYSYM_H
^~~~~~~~~~~
/usr/X11/include/X11/HPkeysym.h:60:9: note: '_HPKEYSYM' is defined here; did you mean '_HPKEYSYM_H'?
#define _HPKEYSYM
^~~~~~~~~
_HPKEYSYM_H
1 warning generated.
creating dist/dist-sandbox-801471b6/build/Graphics/X11/ExtraTypes
/usr/local/bin/hsc2hs --cc=/usr/bin/gcc --ld=/usr/bin/gcc --cflag=-D__GLASGOW_HASKELL__=708 --cflag=-Ddarwin_BUILD_OS=1 --cflag=-Dx86_64_BUILD_ARCH=1 --cflag=-Ddarwin_HOST_OS=1 --cflag=-Dx86_64_HOST_ARCH=1 --cflag=-Iinclude --cflag=-I/usr/X11/include --cflag=-I/usr/X11/include --cflag=-I/usr/X11/include --lflag=-lXss --lflag=-lXinerama --lflag=-lXext --lflag=-lX11 --lflag=-lXrandr --lflag=-lXext --lflag=-L/usr/X11/lib --cflag=-Idist/dist-sandbox-801471b6/build/autogen --cflag=-include --cflag=dist/dist-sandbox-801471b6/build/autogen/cabal_macros.h --cflag=-Idist/dist-sandbox-801471b6/build/autogen --cflag=-include --cflag=dist/dist-sandbox-801471b6/build/autogen/cabal_macros.h --cflag=-Idist/dist-sandbox-801471b6/build/autogen --cflag=-include --cflag=dist/dist-sandbox-801471b6/build/autogen/cabal_macros.h --cflag=-Idist/dist-sandbox-801471b6/build/autogen --cflag=-include --cflag=dist/dist-sandbox-801471b6/build/autogen/cabal_macros.h --cflag=-Idist/dist-sandbox-801471b6/build/autogen --cflag=-include --cflag=dist/dist-sandbox-801471b6/build/autogen/cabal_macros.h --cflag=-Idist/dist-sandbox-801471b6/build/autogen --cflag=-include --cflag=dist/dist-sandbox-801471b6/build/autogen/cabal_macros.h --cflag=-Idist/dist-sandbox-801471b6/build/autogen --cflag=-include --cflag=dist/dist-sandbox-801471b6/build/autogen/cabal_macros.h --cflag=-Idist/dist-sandbox-801471b6/build/autogen --cflag=-include --cflag=dist/dist-sandbox-801471b6/build/autogen/cabal_macros.h --cflag=-Idist/dist-sandbox-801471b6/build/autogen --cflag=-include --cflag=dist/dist-sandbox-801471b6/build/autogen/cabal_macros.h --cflag=-Idist/dist-sandbox-801471b6/build/autogen --cflag=-include --cflag=dist/dist-sandbox-801471b6/build/autogen/cabal_macros.h --cflag=-Idist/dist-sandbox-801471b6/build/autogen --cflag=-include --cflag=dist/dist-sandbox-801471b6/build/autogen/cabal_macros.h --cflag=-I/usr/local/lib/ghc-7.8.1/base-4.7.0.0/include --cflag=-Idist/dist-sandbox-801471b6/build/autogen --cflag=-include --cflag=dist/dist-sandbox-801471b6/build/autogen/cabal_macros.h --cflag=-I/usr/local/lib/ghc-7.8.1/integer-gmp-0.5.1.0/include --cflag=-Idist/dist-sandbox-801471b6/build/autogen --cflag=-include --cflag=dist/dist-sandbox-801471b6/build/autogen/cabal_macros.h --cflag=-Idist/dist-sandbox-801471b6/build/autogen --cflag=-include --cflag=dist/dist-sandbox-801471b6/build/autogen/cabal_macros.h --cflag=-I/usr/local/lib/ghc-7.8.1/include --cflag=-Idist/dist-sandbox-801471b6/build/autogen --cflag=-include --cflag=dist/dist-sandbox-801471b6/build/autogen/cabal_macros.h --lflag=-L/Users/codygman/osxmonad-install/xmonad/.cabal-sandbox/lib/x86_64-osx-ghc-7.8.1/data-default-0.5.3 --lflag=-L/Users/codygman/osxmonad-install/xmonad/.cabal-sandbox/lib/x86_64-osx-ghc-7.8.1/data-default-instances-old-locale-0.0.1 --lflag=-L/usr/local/lib/ghc-7.8.1/old-locale-1.0.0.6 --lflag=-L/Users/codygman/osxmonad-install/xmonad/.cabal-sandbox/lib/x86_64-osx-ghc-7.8.1/data-default-instances-dlist-0.0.1 --lflag=-L/Users/codygman/osxmonad-install/xmonad/.cabal-sandbox/lib/x86_64-osx-ghc-7.8.1/dlist-0.7.0.1 --lflag=-L/Users/codygman/osxmonad-install/xmonad/.cabal-sandbox/lib/x86_64-osx-ghc-7.8.1/data-default-instances-containers-0.0.1 --lflag=-L/Users/codygman/osxmonad-install/xmonad/.cabal-sandbox/lib/x86_64-osx-ghc-7.8.1/data-default-instances-base-0.0.1 --lflag=-L/Users/codygman/osxmonad-install/xmonad/.cabal-sandbox/lib/x86_64-osx-ghc-7.8.1/data-default-class-0.0.1 --lflag=-L/usr/local/lib/ghc-7.8.1/containers-0.5.5.1 --lflag=-L/usr/local/lib/ghc-7.8.1/deepseq-1.3.0.2 --lflag=-L/usr/local/lib/ghc-7.8.1/array-0.5.0.0 --lflag=-L/usr/local/lib/ghc-7.8.1/base-4.7.0.0 --lflag=-liconv --lflag=-L/usr/local/lib/ghc-7.8.1/integer-gmp-0.5.1.0 --lflag=-L/usr/local/lib/ghc-7.8.1/ghc-prim-0.3.1.0 --lflag=-L/usr/local/lib/ghc-7.8.1/rts-1.0 --lflag=-lm --lflag=-ldl -o dist/dist-sandbox-801471b6/build/Graphics/X11/ExtraTypes/DEC.hs Graphics/X11/ExtraTypes/DEC.hsc
In file included from DEC.hsc:111:
In file included from include/HsAllKeysyms.h:48:
/usr/X11/include/X11/HPkeysym.h:58:9: warning: '_HPKEYSYM_H' is used as a header guard here, followed by #define of a different
macro [-Wheader-guard]
#ifndef _HPKEYSYM_H
^~~~~~~~~~~
/usr/X11/include/X11/HPkeysym.h:60:9: note: '_HPKEYSYM' is defined here; did you mean '_HPKEYSYM_H'?
#define _HPKEYSYM
^~~~~~~~~
_HPKEYSYM_H
1 warning generated.
creating dist/dist-sandbox-801471b6/build/Graphics/X11/ExtraTypes
/usr/local/bin/hsc2hs --cc=/usr/bin/gcc --ld=/usr/bin/gcc --cflag=-D__GLASGOW_HASKELL__=708 --cflag=-Ddarwin_BUILD_OS=1 --cflag=-Dx86_64_BUILD_ARCH=1 --cflag=-Ddarwin_HOST_OS=1 --cflag=-Dx86_64_HOST_ARCH=1 --cflag=-Iinclude --cflag=-I/usr/X11/include --cflag=-I/usr/X11/include --cflag=-I/usr/X11/include --lflag=-lXss --lflag=-lXinerama --lflag=-lXext --lflag=-lX11 --lflag=-lXrandr --lflag=-lXext --lflag=-L/usr/X11/lib --cflag=-Idist/dist-sandbox-801471b6/build/autogen --cflag=-include --cflag=dist/dist-sandbox-801471b6/build/autogen/cabal_macros.h --cflag=-Idist/dist-sandbox-801471b6/build/autogen --cflag=-include --cflag=dist/dist-sandbox-801471b6/build/autogen/cabal_macros.h --cflag=-Idist/dist-sandbox-801471b6/build/autogen --cflag=-include --cflag=dist/dist-sandbox-801471b6/build/autogen/cabal_macros.h --cflag=-Idist/dist-sandbox-801471b6/build/autogen --cflag=-include --cflag=dist/dist-sandbox-801471b6/build/autogen/cabal_macros.h --cflag=-Idist/dist-sandbox-801471b6/build/autogen --cflag=-include --cflag=dist/dist-sandbox-801471b6/build/autogen/cabal_macros.h --cflag=-Idist/dist-sandbox-801471b6/build/autogen --cflag=-include --cflag=dist/dist-sandbox-801471b6/build/autogen/cabal_macros.h --cflag=-Idist/dist-sandbox-801471b6/build/autogen --cflag=-include --cflag=dist/dist-sandbox-801471b6/build/autogen/cabal_macros.h --cflag=-Idist/dist-sandbox-801471b6/build/autogen --cflag=-include --cflag=dist/dist-sandbox-801471b6/build/autogen/cabal_macros.h --cflag=-Idist/dist-sandbox-801471b6/build/autogen --cflag=-include --cflag=dist/dist-sandbox-801471b6/build/autogen/cabal_macros.h --cflag=-Idist/dist-sandbox-801471b6/build/autogen --cflag=-include --cflag=dist/dist-sandbox-801471b6/build/autogen/cabal_macros.h --cflag=-Idist/dist-sandbox-801471b6/build/autogen --cflag=-include --cflag=dist/dist-sandbox-801471b6/build/autogen/cabal_macros.h --cflag=-I/usr/local/lib/ghc-7.8.1/base-4.7.0.0/include --cflag=-Idist/dist-sandbox-801471b6/build/autogen --cflag=-include --cflag=dist/dist-sandbox-801471b6/build/autogen/cabal_macros.h --cflag=-I/usr/local/lib/ghc-7.8.1/integer-gmp-0.5.1.0/include --cflag=-Idist/dist-sandbox-801471b6/build/autogen --cflag=-include --cflag=dist/dist-sandbox-801471b6/build/autogen/cabal_macros.h --cflag=-Idist/dist-sandbox-801471b6/build/autogen --cflag=-include --cflag=dist/dist-sandbox-801471b6/build/autogen/cabal_macros.h --cflag=-I/usr/local/lib/ghc-7.8.1/include --cflag=-Idist/dist-sandbox-801471b6/build/autogen --cflag=-include --cflag=dist/dist-sandbox-801471b6/build/autogen/cabal_macros.h --lflag=-L/Users/codygman/osxmonad-install/xmonad/.cabal-sandbox/lib/x86_64-osx-ghc-7.8.1/data-default-0.5.3 --lflag=-L/Users/codygman/osxmonad-install/xmonad/.cabal-sandbox/lib/x86_64-osx-ghc-7.8.1/data-default-instances-old-locale-0.0.1 --lflag=-L/usr/local/lib/ghc-7.8.1/old-locale-1.0.0.6 --lflag=-L/Users/codygman/osxmonad-install/xmonad/.cabal-sandbox/lib/x86_64-osx-ghc-7.8.1/data-default-instances-dlist-0.0.1 --lflag=-L/Users/codygman/osxmonad-install/xmonad/.cabal-sandbox/lib/x86_64-osx-ghc-7.8.1/dlist-0.7.0.1 --lflag=-L/Users/codygman/osxmonad-install/xmonad/.cabal-sandbox/lib/x86_64-osx-ghc-7.8.1/data-default-instances-containers-0.0.1 --lflag=-L/Users/codygman/osxmonad-install/xmonad/.cabal-sandbox/lib/x86_64-osx-ghc-7.8.1/data-default-instances-base-0.0.1 --lflag=-L/Users/codygman/osxmonad-install/xmonad/.cabal-sandbox/lib/x86_64-osx-ghc-7.8.1/data-default-class-0.0.1 --lflag=-L/usr/local/lib/ghc-7.8.1/containers-0.5.5.1 --lflag=-L/usr/local/lib/ghc-7.8.1/deepseq-1.3.0.2 --lflag=-L/usr/local/lib/ghc-7.8.1/array-0.5.0.0 --lflag=-L/usr/local/lib/ghc-7.8.1/base-4.7.0.0 --lflag=-liconv --lflag=-L/usr/local/lib/ghc-7.8.1/integer-gmp-0.5.1.0 --lflag=-L/usr/local/lib/ghc-7.8.1/ghc-prim-0.3.1.0 --lflag=-L/usr/local/lib/ghc-7.8.1/rts-1.0 --lflag=-lm --lflag=-ldl -o dist/dist-sandbox-801471b6/build/Graphics/X11/ExtraTypes/HP.hs Graphics/X11/ExtraTypes/HP.hsc
In file included from HP.hsc:504:
In file included from include/HsAllKeysyms.h:48:
/usr/X11/include/X11/HPkeysym.h:58:9: warning: '_HPKEYSYM_H' is used as a header guard here, followed by #define of a different
macro [-Wheader-guard]
#ifndef _HPKEYSYM_H
^~~~~~~~~~~
/usr/X11/include/X11/HPkeysym.h:60:9: note: '_HPKEYSYM' is defined here; did you mean '_HPKEYSYM_H'?
#define _HPKEYSYM
^~~~~~~~~
_HPKEYSYM_H
1 warning generated.
creating dist/dist-sandbox-801471b6/build/Graphics/X11/ExtraTypes
/usr/local/bin/hsc2hs --cc=/usr/bin/gcc --ld=/usr/bin/gcc --cflag=-D__GLASGOW_HASKELL__=708 --cflag=-Ddarwin_BUILD_OS=1 --cflag=-Dx86_64_BUILD_ARCH=1 --cflag=-Ddarwin_HOST_OS=1 --cflag=-Dx86_64_HOST_ARCH=1 --cflag=-Iinclude --cflag=-I/usr/X11/include --cflag=-I/usr/X11/include --cflag=-I/usr/X11/include --lflag=-lXss --lflag=-lXinerama --lflag=-lXext --lflag=-lX11 --lflag=-lXrandr --lflag=-lXext --lflag=-L/usr/X11/lib --cflag=-Idist/dist-sandbox-801471b6/build/autogen --cflag=-include --cflag=dist/dist-sandbox-801471b6/build/autogen/cabal_macros.h --cflag=-Idist/dist-sandbox-801471b6/build/autogen --cflag=-include --cflag=dist/dist-sandbox-801471b6/build/autogen/cabal_macros.h --cflag=-Idist/dist-sandbox-801471b6/build/autogen --cflag=-include --cflag=dist/dist-sandbox-801471b6/build/autogen/cabal_macros.h --cflag=-Idist/dist-sandbox-801471b6/build/autogen --cflag=-include --cflag=dist/dist-sandbox-801471b6/build/autogen/cabal_macros.h --cflag=-Idist/dist-sandbox-801471b6/build/autogen --cflag=-include --cflag=dist/dist-sandbox-801471b6/build/autogen/cabal_macros.h --cflag=-Idist/dist-sandbox-801471b6/build/autogen --cflag=-include --cflag=dist/dist-sandbox-801471b6/build/autogen/cabal_macros.h --cflag=-Idist/dist-sandbox-801471b6/build/autogen --cflag=-include --cflag=dist/dist-sandbox-801471b6/build/autogen/cabal_macros.h --cflag=-Idist/dist-sandbox-801471b6/build/autogen --cflag=-include --cflag=dist/dist-sandbox-801471b6/build/autogen/cabal_macros.h --cflag=-Idist/dist-sandbox-801471b6/build/autogen --cflag=-include --cflag=dist/dist-sandbox-801471b6/build/autogen/cabal_macros.h --cflag=-Idist/dist-sandbox-801471b6/build/autogen --cflag=-include --cflag=dist/dist-sandbox-801471b6/build/autogen/cabal_macros.h --cflag=-Idist/dist-sandbox-801471b6/build/autogen --cflag=-include --cflag=dist/dist-sandbox-801471b6/build/autogen/cabal_macros.h --cflag=-I/usr/local/lib/ghc-7.8.1/base-4.7.0.0/include --cflag=-Idist/dist-sandbox-801471b6/build/autogen --cflag=-include --cflag=dist/dist-sandbox-801471b6/build/autogen/cabal_macros.h --cflag=-I/usr/local/lib/ghc-7.8.1/integer-gmp-0.5.1.0/include --cflag=-Idist/dist-sandbox-801471b6/build/autogen --cflag=-include --cflag=dist/dist-sandbox-801471b6/build/autogen/cabal_macros.h --cflag=-Idist/dist-sandbox-801471b6/build/autogen --cflag=-include --cflag=dist/dist-sandbox-801471b6/build/autogen/cabal_macros.h --cflag=-I/usr/local/lib/ghc-7.8.1/include --cflag=-Idist/dist-sandbox-801471b6/build/autogen --cflag=-include --cflag=dist/dist-sandbox-801471b6/build/autogen/cabal_macros.h --lflag=-L/Users/codygman/osxmonad-install/xmonad/.cabal-sandbox/lib/x86_64-osx-ghc-7.8.1/data-default-0.5.3 --lflag=-L/Users/codygman/osxmonad-install/xmonad/.cabal-sandbox/lib/x86_64-osx-ghc-7.8.1/data-default-instances-old-locale-0.0.1 --lflag=-L/usr/local/lib/ghc-7.8.1/old-locale-1.0.0.6 --lflag=-L/Users/codygman/osxmonad-install/xmonad/.cabal-sandbox/lib/x86_64-osx-ghc-7.8.1/data-default-instances-dlist-0.0.1 --lflag=-L/Users/codygman/osxmonad-install/xmonad/.cabal-sandbox/lib/x86_64-osx-ghc-7.8.1/dlist-0.7.0.1 --lflag=-L/Users/codygman/osxmonad-install/xmonad/.cabal-sandbox/lib/x86_64-osx-ghc-7.8.1/data-default-instances-containers-0.0.1 --lflag=-L/Users/codygman/osxmonad-install/xmonad/.cabal-sandbox/lib/x86_64-osx-ghc-7.8.1/data-default-instances-base-0.0.1 --lflag=-L/Users/codygman/osxmonad-install/xmonad/.cabal-sandbox/lib/x86_64-osx-ghc-7.8.1/data-default-class-0.0.1 --lflag=-L/usr/local/lib/ghc-7.8.1/containers-0.5.5.1 --lflag=-L/usr/local/lib/ghc-7.8.1/deepseq-1.3.0.2 --lflag=-L/usr/local/lib/ghc-7.8.1/array-0.5.0.0 --lflag=-L/usr/local/lib/ghc-7.8.1/base-4.7.0.0 --lflag=-liconv --lflag=-L/usr/local/lib/ghc-7.8.1/integer-gmp-0.5.1.0 --lflag=-L/usr/local/lib/ghc-7.8.1/ghc-prim-0.3.1.0 --lflag=-L/usr/local/lib/ghc-7.8.1/rts-1.0 --lflag=-lm --lflag=-ldl -o dist/dist-sandbox-801471b6/build/Graphics/X11/ExtraTypes/Sun.hs Graphics/X11/ExtraTypes/Sun.hsc
In file included from Sun.hsc:236:
In file included from include/HsAllKeysyms.h:48:
/usr/X11/include/X11/HPkeysym.h:58:9: warning: '_HPKEYSYM_H' is used as a header guard here, followed by #define of a different
macro [-Wheader-guard]
#ifndef _HPKEYSYM_H
^~~~~~~~~~~
/usr/X11/include/X11/HPkeysym.h:60:9: note: '_HPKEYSYM' is defined here; did you mean '_HPKEYSYM_H'?
#define _HPKEYSYM
^~~~~~~~~
_HPKEYSYM_H
1 warning generated.
creating dist/dist-sandbox-801471b6/build/Graphics/X11/ExtraTypes
/usr/local/bin/hsc2hs --cc=/usr/bin/gcc --ld=/usr/bin/gcc --cflag=-D__GLASGOW_HASKELL__=708 --cflag=-Ddarwin_BUILD_OS=1 --cflag=-Dx86_64_BUILD_ARCH=1 --cflag=-Ddarwin_HOST_OS=1 --cflag=-Dx86_64_HOST_ARCH=1 --cflag=-Iinclude --cflag=-I/usr/X11/include --cflag=-I/usr/X11/include --cflag=-I/usr/X11/include --lflag=-lXss --lflag=-lXinerama --lflag=-lXext --lflag=-lX11 --lflag=-lXrandr --lflag=-lXext --lflag=-L/usr/X11/lib --cflag=-Idist/dist-sandbox-801471b6/build/autogen --cflag=-include --cflag=dist/dist-sandbox-801471b6/build/autogen/cabal_macros.h --cflag=-Idist/dist-sandbox-801471b6/build/autogen --cflag=-include --cflag=dist/dist-sandbox-801471b6/build/autogen/cabal_macros.h --cflag=-Idist/dist-sandbox-801471b6/build/autogen --cflag=-include --cflag=dist/dist-sandbox-801471b6/build/autogen/cabal_macros.h --cflag=-Idist/dist-sandbox-801471b6/build/autogen --cflag=-include --cflag=dist/dist-sandbox-801471b6/build/autogen/cabal_macros.h --cflag=-Idist/dist-sandbox-801471b6/build/autogen --cflag=-include --cflag=dist/dist-sandbox-801471b6/build/autogen/cabal_macros.h --cflag=-Idist/dist-sandbox-801471b6/build/autogen --cflag=-include --cflag=dist/dist-sandbox-801471b6/build/autogen/cabal_macros.h --cflag=-Idist/dist-sandbox-801471b6/build/autogen --cflag=-include --cflag=dist/dist-sandbox-801471b6/build/autogen/cabal_macros.h --cflag=-Idist/dist-sandbox-801471b6/build/autogen --cflag=-include --cflag=dist/dist-sandbox-801471b6/build/autogen/cabal_macros.h --cflag=-Idist/dist-sandbox-801471b6/build/autogen --cflag=-include --cflag=dist/dist-sandbox-801471b6/build/autogen/cabal_macros.h --cflag=-Idist/dist-sandbox-801471b6/build/autogen --cflag=-include --cflag=dist/dist-sandbox-801471b6/build/autogen/cabal_macros.h --cflag=-Idist/dist-sandbox-801471b6/build/autogen --cflag=-include --cflag=dist/dist-sandbox-801471b6/build/autogen/cabal_macros.h --cflag=-I/usr/local/lib/ghc-7.8.1/base-4.7.0.0/include --cflag=-Idist/dist-sandbox-801471b6/build/autogen --cflag=-include --cflag=dist/dist-sandbox-801471b6/build/autogen/cabal_macros.h --cflag=-I/usr/local/lib/ghc-7.8.1/integer-gmp-0.5.1.0/include --cflag=-Idist/dist-sandbox-801471b6/build/autogen --cflag=-include --cflag=dist/dist-sandbox-801471b6/build/autogen/cabal_macros.h --cflag=-Idist/dist-sandbox-801471b6/build/autogen --cflag=-include --cflag=dist/dist-sandbox-801471b6/build/autogen/cabal_macros.h --cflag=-I/usr/local/lib/ghc-7.8.1/include --cflag=-Idist/dist-sandbox-801471b6/build/autogen --cflag=-include --cflag=dist/dist-sandbox-801471b6/build/autogen/cabal_macros.h --lflag=-L/Users/codygman/osxmonad-install/xmonad/.cabal-sandbox/lib/x86_64-osx-ghc-7.8.1/data-default-0.5.3 --lflag=-L/Users/codygman/osxmonad-install/xmonad/.cabal-sandbox/lib/x86_64-osx-ghc-7.8.1/data-default-instances-old-locale-0.0.1 --lflag=-L/usr/local/lib/ghc-7.8.1/old-locale-1.0.0.6 --lflag=-L/Users/codygman/osxmonad-install/xmonad/.cabal-sandbox/lib/x86_64-osx-ghc-7.8.1/data-default-instances-dlist-0.0.1 --lflag=-L/Users/codygman/osxmonad-install/xmonad/.cabal-sandbox/lib/x86_64-osx-ghc-7.8.1/dlist-0.7.0.1 --lflag=-L/Users/codygman/osxmonad-install/xmonad/.cabal-sandbox/lib/x86_64-osx-ghc-7.8.1/data-default-instances-containers-0.0.1 --lflag=-L/Users/codygman/osxmonad-install/xmonad/.cabal-sandbox/lib/x86_64-osx-ghc-7.8.1/data-default-instances-base-0.0.1 --lflag=-L/Users/codygman/osxmonad-install/xmonad/.cabal-sandbox/lib/x86_64-osx-ghc-7.8.1/data-default-class-0.0.1 --lflag=-L/usr/local/lib/ghc-7.8.1/containers-0.5.5.1 --lflag=-L/usr/local/lib/ghc-7.8.1/deepseq-1.3.0.2 --lflag=-L/usr/local/lib/ghc-7.8.1/array-0.5.0.0 --lflag=-L/usr/local/lib/ghc-7.8.1/base-4.7.0.0 --lflag=-liconv --lflag=-L/usr/local/lib/ghc-7.8.1/integer-gmp-0.5.1.0 --lflag=-L/usr/local/lib/ghc-7.8.1/ghc-prim-0.3.1.0 --lflag=-L/usr/local/lib/ghc-7.8.1/rts-1.0 --lflag=-lm --lflag=-ldl -o dist/dist-sandbox-801471b6/build/Graphics/X11/ExtraTypes/XF86.hs Graphics/X11/ExtraTypes/XF86.hsc
In file included from XF86.hsc:775:
In file included from include/HsAllKeysyms.h:48:
/usr/X11/include/X11/HPkeysym.h:58:9: warning: '_HPKEYSYM_H' is used as a header guard here, followed by #define of a different
macro [-Wheader-guard]
#ifndef _HPKEYSYM_H
^~~~~~~~~~~
/usr/X11/include/X11/HPkeysym.h:60:9: note: '_HPKEYSYM' is defined here; did you mean '_HPKEYSYM_H'?
#define _HPKEYSYM
^~~~~~~~~
_HPKEYSYM_H
1 warning generated.
creating dist/dist-sandbox-801471b6/build/Graphics/X11/ExtraTypes
/usr/local/bin/hsc2hs --cc=/usr/bin/gcc --ld=/usr/bin/gcc --cflag=-D__GLASGOW_HASKELL__=708 --cflag=-Ddarwin_BUILD_OS=1 --cflag=-Dx86_64_BUILD_ARCH=1 --cflag=-Ddarwin_HOST_OS=1 --cflag=-Dx86_64_HOST_ARCH=1 --cflag=-Iinclude --cflag=-I/usr/X11/include --cflag=-I/usr/X11/include --cflag=-I/usr/X11/include --lflag=-lXss --lflag=-lXinerama --lflag=-lXext --lflag=-lX11 --lflag=-lXrandr --lflag=-lXext --lflag=-L/usr/X11/lib --cflag=-Idist/dist-sandbox-801471b6/build/autogen --cflag=-include --cflag=dist/dist-sandbox-801471b6/build/autogen/cabal_macros.h --cflag=-Idist/dist-sandbox-801471b6/build/autogen --cflag=-include --cflag=dist/dist-sandbox-801471b6/build/autogen/cabal_macros.h --cflag=-Idist/dist-sandbox-801471b6/build/autogen --cflag=-include --cflag=dist/dist-sandbox-801471b6/build/autogen/cabal_macros.h --cflag=-Idist/dist-sandbox-801471b6/build/autogen --cflag=-include --cflag=dist/dist-sandbox-801471b6/build/autogen/cabal_macros.h --cflag=-Idist/dist-sandbox-801471b6/build/autogen --cflag=-include --cflag=dist/dist-sandbox-801471b6/build/autogen/cabal_macros.h --cflag=-Idist/dist-sandbox-801471b6/build/autogen --cflag=-include --cflag=dist/dist-sandbox-801471b6/build/autogen/cabal_macros.h --cflag=-Idist/dist-sandbox-801471b6/build/autogen --cflag=-include --cflag=dist/dist-sandbox-801471b6/build/autogen/cabal_macros.h --cflag=-Idist/dist-sandbox-801471b6/build/autogen --cflag=-include --cflag=dist/dist-sandbox-801471b6/build/autogen/cabal_macros.h --cflag=-Idist/dist-sandbox-801471b6/build/autogen --cflag=-include --cflag=dist/dist-sandbox-801471b6/build/autogen/cabal_macros.h --cflag=-Idist/dist-sandbox-801471b6/build/autogen --cflag=-include --cflag=dist/dist-sandbox-801471b6/build/autogen/cabal_macros.h --cflag=-Idist/dist-sandbox-801471b6/build/autogen --cflag=-include --cflag=dist/dist-sandbox-801471b6/build/autogen/cabal_macros.h --cflag=-I/usr/local/lib/ghc-7.8.1/base-4.7.0.0/include --cflag=-Idist/dist-sandbox-801471b6/build/autogen --cflag=-include --cflag=dist/dist-sandbox-801471b6/build/autogen/cabal_macros.h --cflag=-I/usr/local/lib/ghc-7.8.1/integer-gmp-0.5.1.0/include --cflag=-Idist/dist-sandbox-801471b6/build/autogen --cflag=-include --cflag=dist/dist-sandbox-801471b6/build/autogen/cabal_macros.h --cflag=-Idist/dist-sandbox-801471b6/build/autogen --cflag=-include --cflag=dist/dist-sandbox-801471b6/build/autogen/cabal_macros.h --cflag=-I/usr/local/lib/ghc-7.8.1/include --cflag=-Idist/dist-sandbox-801471b6/build/autogen --cflag=-include --cflag=dist/dist-sandbox-801471b6/build/autogen/cabal_macros.h --lflag=-L/Users/codygman/osxmonad-install/xmonad/.cabal-sandbox/lib/x86_64-osx-ghc-7.8.1/data-default-0.5.3 --lflag=-L/Users/codygman/osxmonad-install/xmonad/.cabal-sandbox/lib/x86_64-osx-ghc-7.8.1/data-default-instances-old-locale-0.0.1 --lflag=-L/usr/local/lib/ghc-7.8.1/old-locale-1.0.0.6 --lflag=-L/Users/codygman/osxmonad-install/xmonad/.cabal-sandbox/lib/x86_64-osx-ghc-7.8.1/data-default-instances-dlist-0.0.1 --lflag=-L/Users/codygman/osxmonad-install/xmonad/.cabal-sandbox/lib/x86_64-osx-ghc-7.8.1/dlist-0.7.0.1 --lflag=-L/Users/codygman/osxmonad-install/xmonad/.cabal-sandbox/lib/x86_64-osx-ghc-7.8.1/data-default-instances-containers-0.0.1 --lflag=-L/Users/codygman/osxmonad-install/xmonad/.cabal-sandbox/lib/x86_64-osx-ghc-7.8.1/data-default-instances-base-0.0.1 --lflag=-L/Users/codygman/osxmonad-install/xmonad/.cabal-sandbox/lib/x86_64-osx-ghc-7.8.1/data-default-class-0.0.1 --lflag=-L/usr/local/lib/ghc-7.8.1/containers-0.5.5.1 --lflag=-L/usr/local/lib/ghc-7.8.1/deepseq-1.3.0.2 --lflag=-L/usr/local/lib/ghc-7.8.1/array-0.5.0.0 --lflag=-L/usr/local/lib/ghc-7.8.1/base-4.7.0.0 --lflag=-liconv --lflag=-L/usr/local/lib/ghc-7.8.1/integer-gmp-0.5.1.0 --lflag=-L/usr/local/lib/ghc-7.8.1/ghc-prim-0.3.1.0 --lflag=-L/usr/local/lib/ghc-7.8.1/rts-1.0 --lflag=-lm --lflag=-ldl -o dist/dist-sandbox-801471b6/build/Graphics/X11/ExtraTypes/XorgDefault.hs Graphics/X11/ExtraTypes/XorgDefault.hsc
In file included from XorgDefault.hsc:10047:
In file included from include/HsAllKeysyms.h:48:
/usr/X11/include/X11/HPkeysym.h:58:9: warning: '_HPKEYSYM_H' is used as a header guard here, followed by #define of a different
macro [-Wheader-guard]
#ifndef _HPKEYSYM_H
^~~~~~~~~~~
/usr/X11/include/X11/HPkeysym.h:60:9: note: '_HPKEYSYM' is defined here; did you mean '_HPKEYSYM_H'?
#define _HPKEYSYM
^~~~~~~~~
_HPKEYSYM_H
1 warning generated.
creating dist/dist-sandbox-801471b6/build/Graphics/X11/Xlib
/usr/local/bin/hsc2hs --cc=/usr/bin/gcc --ld=/usr/bin/gcc --cflag=-D__GLASGOW_HASKELL__=708 --cflag=-Ddarwin_BUILD_OS=1 --cflag=-Dx86_64_BUILD_ARCH=1 --cflag=-Ddarwin_HOST_OS=1 --cflag=-Dx86_64_HOST_ARCH=1 --cflag=-Iinclude --cflag=-I/usr/X11/include --cflag=-I/usr/X11/include --cflag=-I/usr/X11/include --lflag=-lXss --lflag=-lXinerama --lflag=-lXext --lflag=-lX11 --lflag=-lXrandr --lflag=-lXext --lflag=-L/usr/X11/lib --cflag=-Idist/dist-sandbox-801471b6/build/autogen --cflag=-include --cflag=dist/dist-sandbox-801471b6/build/autogen/cabal_macros.h --cflag=-Idist/dist-sandbox-801471b6/build/autogen --cflag=-include --cflag=dist/dist-sandbox-801471b6/build/autogen/cabal_macros.h --cflag=-Idist/dist-sandbox-801471b6/build/autogen --cflag=-include --cflag=dist/dist-sandbox-801471b6/build/autogen/cabal_macros.h --cflag=-Idist/dist-sandbox-801471b6/build/autogen --cflag=-include --cflag=dist/dist-sandbox-801471b6/build/autogen/cabal_macros.h --cflag=-Idist/dist-sandbox-801471b6/build/autogen --cflag=-include --cflag=dist/dist-sandbox-801471b6/build/autogen/cabal_macros.h --cflag=-Idist/dist-sandbox-801471b6/build/autogen --cflag=-include --cflag=dist/dist-sandbox-801471b6/build/autogen/cabal_macros.h --cflag=-Idist/dist-sandbox-801471b6/build/autogen --cflag=-include --cflag=dist/dist-sandbox-801471b6/build/autogen/cabal_macros.h --cflag=-Idist/dist-sandbox-801471b6/build/autogen --cflag=-include --cflag=dist/dist-sandbox-801471b6/build/autogen/cabal_macros.h --cflag=-Idist/dist-sandbox-801471b6/build/autogen --cflag=-include --cflag=dist/dist-sandbox-801471b6/build/autogen/cabal_macros.h --cflag=-Idist/dist-sandbox-801471b6/build/autogen --cflag=-include --cflag=dist/dist-sandbox-801471b6/build/autogen/cabal_macros.h --cflag=-Idist/dist-sandbox-801471b6/build/autogen --cflag=-include --cflag=dist/dist-sandbox-801471b6/build/autogen/cabal_macros.h --cflag=-I/usr/local/lib/ghc-7.8.1/base-4.7.0.0/include --cflag=-Idist/dist-sandbox-801471b6/build/autogen --cflag=-include --cflag=dist/dist-sandbox-801471b6/build/autogen/cabal_macros.h --cflag=-I/usr/local/lib/ghc-7.8.1/integer-gmp-0.5.1.0/include --cflag=-Idist/dist-sandbox-801471b6/build/autogen --cflag=-include --cflag=dist/dist-sandbox-801471b6/build/autogen/cabal_macros.h --cflag=-Idist/dist-sandbox-801471b6/build/autogen --cflag=-include --cflag=dist/dist-sandbox-801471b6/build/autogen/cabal_macros.h --cflag=-I/usr/local/lib/ghc-7.8.1/include --cflag=-Idist/dist-sandbox-801471b6/build/autogen --cflag=-include --cflag=dist/dist-sandbox-801471b6/build/autogen/cabal_macros.h --lflag=-L/Users/codygman/osxmonad-install/xmonad/.cabal-sandbox/lib/x86_64-osx-ghc-7.8.1/data-default-0.5.3 --lflag=-L/Users/codygman/osxmonad-install/xmonad/.cabal-sandbox/lib/x86_64-osx-ghc-7.8.1/data-default-instances-old-locale-0.0.1 --lflag=-L/usr/local/lib/ghc-7.8.1/old-locale-1.0.0.6 --lflag=-L/Users/codygman/osxmonad-install/xmonad/.cabal-sandbox/lib/x86_64-osx-ghc-7.8.1/data-default-instances-dlist-0.0.1 --lflag=-L/Users/codygman/osxmonad-install/xmonad/.cabal-sandbox/lib/x86_64-osx-ghc-7.8.1/dlist-0.7.0.1 --lflag=-L/Users/codygman/osxmonad-install/xmonad/.cabal-sandbox/lib/x86_64-osx-ghc-7.8.1/data-default-instances-containers-0.0.1 --lflag=-L/Users/codygman/osxmonad-install/xmonad/.cabal-sandbox/lib/x86_64-osx-ghc-7.8.1/data-default-instances-base-0.0.1 --lflag=-L/Users/codygman/osxmonad-install/xmonad/.cabal-sandbox/lib/x86_64-osx-ghc-7.8.1/data-default-class-0.0.1 --lflag=-L/usr/local/lib/ghc-7.8.1/containers-0.5.5.1 --lflag=-L/usr/local/lib/ghc-7.8.1/deepseq-1.3.0.2 --lflag=-L/usr/local/lib/ghc-7.8.1/array-0.5.0.0 --lflag=-L/usr/local/lib/ghc-7.8.1/base-4.7.0.0 --lflag=-liconv --lflag=-L/usr/local/lib/ghc-7.8.1/integer-gmp-0.5.1.0 --lflag=-L/usr/local/lib/ghc-7.8.1/ghc-prim-0.3.1.0 --lflag=-L/usr/local/lib/ghc-7.8.1/rts-1.0 --lflag=-lm --lflag=-ldl -o dist/dist-sandbox-801471b6/build/Graphics/X11/Xlib/Internal.hs Graphics/X11/Xlib/Internal.hsc
Building library...
'/usr/local/bin/ghc' '--info'
'/usr/local/bin/ghc' '--info'
creating dist/dist-sandbox-801471b6/build
/usr/local/bin/ghc --make -fbuilding-cabal-package -O -static -dynamic-too -dynosuf dyn_o -dynhisuf dyn_hi -outputdir dist/dist-sandbox-801471b6/build -odir dist/dist-sandbox-801471b6/build -hidir dist/dist-sandbox-801471b6/build -stubdir dist/dist-sandbox-801471b6/build -i -idist/dist-sandbox-801471b6/build -i. -idist/dist-sandbox-801471b6/build/autogen -Idist/dist-sandbox-801471b6/build/autogen -Idist/dist-sandbox-801471b6/build -Iinclude -optP-include -optPdist/dist-sandbox-801471b6/build/autogen/cabal_macros.h -package-name X11-1.6.1.1 -hide-all-packages -no-user-package-db -package-db /Users/codygman/osxmonad-install/xmonad/.cabal-sandbox/x86_64-osx-ghc-7.8.1-packages.conf.d -package-db dist/dist-sandbox-801471b6/package.conf.inplace -package-id base-4.7.0.0-0e17cca653cb6df26dc9552b6ec8cc4d -package-id data-default-0.5.3-905e991bfad3ba5799fbb59cd1d789cb -XHaskell98 -XForeignFunctionInterface -XCPP Graphics.X11 Graphics.X11.Types Graphics.X11.Xlib Graphics.X11.Xlib.Atom Graphics.X11.Xlib.Color Graphics.X11.Xlib.Context Graphics.X11.Xlib.Cursor Graphics.X11.Xlib.Display Graphics.X11.Xlib.Event Graphics.X11.Xlib.Font Graphics.X11.Xlib.Misc Graphics.X11.Xlib.Region Graphics.X11.Xlib.Screen Graphics.X11.Xlib.Types Graphics.X11.Xlib.Window Graphics.X11.Xlib.Image Graphics.X11.Xlib.Extras Graphics.X11.Xinerama Graphics.X11.Xrandr Graphics.X11.XScreenSaver Graphics.X11.ExtraTypes Graphics.X11.ExtraTypes.AP Graphics.X11.ExtraTypes.DEC Graphics.X11.ExtraTypes.HP Graphics.X11.ExtraTypes.Sun Graphics.X11.ExtraTypes.XF86 Graphics.X11.ExtraTypes.XorgDefault Graphics.X11.Xlib.Internal -funbox-strict-fields -Wall -fno-warn-unused-binds
[ 1 of 28] Compiling Graphics.X11.Xlib.Internal ( dist/dist-sandbox-801471b6/build/Graphics/X11/Xlib/Internal.hs, dist/dist-sandbox-801471b6/build/Graphics/X11/Xlib/Internal.o )
[ 2 of 28] Compiling Graphics.X11.Types ( dist/dist-sandbox-801471b6/build/Graphics/X11/Types.hs, dist/dist-sandbox-801471b6/build/Graphics/X11/Types.o )
[ 3 of 28] Compiling Graphics.X11.Xlib.Types ( dist/dist-sandbox-801471b6/build/Graphics/X11/Xlib/Types.hs, dist/dist-sandbox-801471b6/build/Graphics/X11/Xlib/Types.o )
[ 4 of 28] Compiling Graphics.X11.Xlib.Display ( Graphics/X11/Xlib/Display.hs, dist/dist-sandbox-801471b6/build/Graphics/X11/Xlib/Display.o )
[ 5 of 28] Compiling Graphics.X11.Xlib.Event ( dist/dist-sandbox-801471b6/build/Graphics/X11/Xlib/Event.hs, dist/dist-sandbox-801471b6/build/Graphics/X11/Xlib/Event.o )
[ 6 of 28] Compiling Graphics.X11.Xlib.Screen ( Graphics/X11/Xlib/Screen.hs, dist/dist-sandbox-801471b6/build/Graphics/X11/Xlib/Screen.o )
[ 7 of 28] Compiling Graphics.X11.Xlib.Window ( Graphics/X11/Xlib/Window.hs, dist/dist-sandbox-801471b6/build/Graphics/X11/Xlib/Window.o )
[ 8 of 28] Compiling Graphics.X11.Xlib.Context ( Graphics/X11/Xlib/Context.hs, dist/dist-sandbox-801471b6/build/Graphics/X11/Xlib/Context.o )
[ 9 of 28] Compiling Graphics.X11.Xlib.Color ( Graphics/X11/Xlib/Color.hs, dist/dist-sandbox-801471b6/build/Graphics/X11/Xlib/Color.o )
[10 of 28] Compiling Graphics.X11.Xlib.Font ( dist/dist-sandbox-801471b6/build/Graphics/X11/Xlib/Font.hs, dist/dist-sandbox-801471b6/build/Graphics/X11/Xlib/Font.o )
[11 of 28] Compiling Graphics.X11.Xlib.Cursor ( dist/dist-sandbox-801471b6/build/Graphics/X11/Xlib/Cursor.hs, dist/dist-sandbox-801471b6/build/Graphics/X11/Xlib/Cursor.o )
[12 of 28] Compiling Graphics.X11.Xlib.Atom ( dist/dist-sandbox-801471b6/build/Graphics/X11/Xlib/Atom.hs, dist/dist-sandbox-801471b6/build/Graphics/X11/Xlib/Atom.o )
[13 of 28] Compiling Graphics.X11.Xlib.Region ( Graphics/X11/Xlib/Region.hs, dist/dist-sandbox-801471b6/build/Graphics/X11/Xlib/Region.o )
[14 of 28] Compiling Graphics.X11.Xlib.Image ( Graphics/X11/Xlib/Image.hs, dist/dist-sandbox-801471b6/build/Graphics/X11/Xlib/Image.o )
[15 of 28] Compiling Graphics.X11.Xlib.Misc ( dist/dist-sandbox-801471b6/build/Graphics/X11/Xlib/Misc.hs, dist/dist-sandbox-801471b6/build/Graphics/X11/Xlib/Misc.o )
Graphics/X11/Xlib/Misc.hsc:698:10: Warning:
Orphan instance: instance Default VisualInfo
[16 of 28] Compiling Graphics.X11.Xrandr ( dist/dist-sandbox-801471b6/build/Graphics/X11/Xrandr.hs, dist/dist-sandbox-801471b6/build/Graphics/X11/Xrandr.o )
[17 of 28] Compiling Graphics.X11.ExtraTypes.AP ( dist/dist-sandbox-801471b6/build/Graphics/X11/ExtraTypes/AP.hs, dist/dist-sandbox-801471b6/build/Graphics/X11/ExtraTypes/AP.o )
[18 of 28] Compiling Graphics.X11.ExtraTypes.DEC ( dist/dist-sandbox-801471b6/build/Graphics/X11/ExtraTypes/DEC.hs, dist/dist-sandbox-801471b6/build/Graphics/X11/ExtraTypes/DEC.o )
[19 of 28] Compiling Graphics.X11.ExtraTypes.HP ( dist/dist-sandbox-801471b6/build/Graphics/X11/ExtraTypes/HP.hs, dist/dist-sandbox-801471b6/build/Graphics/X11/ExtraTypes/HP.o )
[20 of 28] Compiling Graphics.X11.ExtraTypes.Sun ( dist/dist-sandbox-801471b6/build/Graphics/X11/ExtraTypes/Sun.hs, dist/dist-sandbox-801471b6/build/Graphics/X11/ExtraTypes/Sun.o )
[21 of 28] Compiling Graphics.X11.ExtraTypes.XF86 ( dist/dist-sandbox-801471b6/build/Graphics/X11/ExtraTypes/XF86.hs, dist/dist-sandbox-801471b6/build/Graphics/X11/ExtraTypes/XF86.o )
[22 of 28] Compiling Graphics.X11.ExtraTypes.XorgDefault ( dist/dist-sandbox-801471b6/build/Graphics/X11/ExtraTypes/XorgDefault.hs, dist/dist-sandbox-801471b6/build/Graphics/X11/ExtraTypes/XorgDefault.o )
[23 of 28] Compiling Graphics.X11.ExtraTypes ( Graphics/X11/ExtraTypes.hs, dist/dist-sandbox-801471b6/build/Graphics/X11/ExtraTypes.o )
[24 of 28] Compiling Graphics.X11.Xlib ( Graphics/X11/Xlib.hs, dist/dist-sandbox-801471b6/build/Graphics/X11/Xlib.o )
[25 of 28] Compiling Graphics.X11.Xlib.Extras ( dist/dist-sandbox-801471b6/build/Graphics/X11/Xlib/Extras.hs, dist/dist-sandbox-801471b6/build/Graphics/X11/Xlib/Extras.o )
[26 of 28] Compiling Graphics.X11.Xinerama ( dist/dist-sandbox-801471b6/build/Graphics/X11/Xinerama.hs, dist/dist-sandbox-801471b6/build/Graphics/X11/Xinerama.o )
[27 of 28] Compiling Graphics.X11.XScreenSaver ( dist/dist-sandbox-801471b6/build/Graphics/X11/XScreenSaver.hs, dist/dist-sandbox-801471b6/build/Graphics/X11/XScreenSaver.o )
[28 of 28] Compiling Graphics.X11 ( Graphics/X11.hs, dist/dist-sandbox-801471b6/build/Graphics/X11.o )
Building C Sources...
creating dist/dist-sandbox-801471b6/build
/usr/local/bin/ghc -c -odir dist/dist-sandbox-801471b6/build -Idist/dist-sandbox-801471b6/build/autogen -Idist/dist-sandbox-801471b6/build -Iinclude -optc-I/usr/X11/include -optc-I/usr/X11/include -optc-I/usr/X11/include -optc-O2 -no-user-package-db -package-db /Users/codygman/osxmonad-install/xmonad/.cabal-sandbox/x86_64-osx-ghc-7.8.1-packages.conf.d -package-db dist/dist-sandbox-801471b6/package.conf.inplace -package-id base-4.7.0.0-0e17cca653cb6df26dc9552b6ec8cc4d -package-id data-default-0.5.3-905e991bfad3ba5799fbb59cd1d789cb cbits/fdset.c
/usr/local/bin/ghc -c -dynamic -fPIC -osuf dyn_o -odir dist/dist-sandbox-801471b6/build -Idist/dist-sandbox-801471b6/build/autogen -Idist/dist-sandbox-801471b6/build -Iinclude -optc-I/usr/X11/include -optc-I/usr/X11/include -optc-I/usr/X11/include -optc-O2 -no-user-package-db -package-db /Users/codygman/osxmonad-install/xmonad/.cabal-sandbox/x86_64-osx-ghc-7.8.1-packages.conf.d -package-db dist/dist-sandbox-801471b6/package.conf.inplace -package-id base-4.7.0.0-0e17cca653cb6df26dc9552b6ec8cc4d -package-id data-default-0.5.3-905e991bfad3ba5799fbb59cd1d789cb cbits/fdset.c
creating dist/dist-sandbox-801471b6/build
/usr/local/bin/ghc -c -odir dist/dist-sandbox-801471b6/build -Idist/dist-sandbox-801471b6/build/autogen -Idist/dist-sandbox-801471b6/build -Iinclude -optc-I/usr/X11/include -optc-I/usr/X11/include -optc-I/usr/X11/include -optc-O2 -no-user-package-db -package-db /Users/codygman/osxmonad-install/xmonad/.cabal-sandbox/x86_64-osx-ghc-7.8.1-packages.conf.d -package-db dist/dist-sandbox-801471b6/package.conf.inplace -package-id base-4.7.0.0-0e17cca653cb6df26dc9552b6ec8cc4d -package-id data-default-0.5.3-905e991bfad3ba5799fbb59cd1d789cb cbits/auxiliaries.c
/usr/local/bin/ghc -c -dynamic -fPIC -osuf dyn_o -odir dist/dist-sandbox-801471b6/build -Idist/dist-sandbox-801471b6/build/autogen -Idist/dist-sandbox-801471b6/build -Iinclude -optc-I/usr/X11/include -optc-I/usr/X11/include -optc-I/usr/X11/include -optc-O2 -no-user-package-db -package-db /Users/codygman/osxmonad-install/xmonad/.cabal-sandbox/x86_64-osx-ghc-7.8.1-packages.conf.d -package-db dist/dist-sandbox-801471b6/package.conf.inplace -package-id base-4.7.0.0-0e17cca653cb6df26dc9552b6ec8cc4d -package-id data-default-0.5.3-905e991bfad3ba5799fbb59cd1d789cb cbits/auxiliaries.c
creating dist/dist-sandbox-801471b6/build
/usr/local/bin/ghc -c -odir dist/dist-sandbox-801471b6/build -Idist/dist-sandbox-801471b6/build/autogen -Idist/dist-sandbox-801471b6/build -Iinclude -optc-I/usr/X11/include -optc-I/usr/X11/include -optc-I/usr/X11/include -optc-O2 -no-user-package-db -package-db /Users/codygman/osxmonad-install/xmonad/.cabal-sandbox/x86_64-osx-ghc-7.8.1-packages.conf.d -package-db dist/dist-sandbox-801471b6/package.conf.inplace -package-id base-4.7.0.0-0e17cca653cb6df26dc9552b6ec8cc4d -package-id data-default-0.5.3-905e991bfad3ba5799fbb59cd1d789cb cbits/XUtils.c
/usr/local/bin/ghc -c -dynamic -fPIC -osuf dyn_o -odir dist/dist-sandbox-801471b6/build -Idist/dist-sandbox-801471b6/build/autogen -Idist/dist-sandbox-801471b6/build -Iinclude -optc-I/usr/X11/include -optc-I/usr/X11/include -optc-I/usr/X11/include -optc-O2 -no-user-package-db -package-db /Users/codygman/osxmonad-install/xmonad/.cabal-sandbox/x86_64-osx-ghc-7.8.1-packages.conf.d -package-db dist/dist-sandbox-801471b6/package.conf.inplace -package-id base-4.7.0.0-0e17cca653cb6df26dc9552b6ec8cc4d -package-id data-default-0.5.3-905e991bfad3ba5799fbb59cd1d789cb cbits/XUtils.c
Linking...
/usr/bin/ar -r -s dist/dist-sandbox-801471b6/build/libHSX11-1.6.1.1.a dist/dist-sandbox-801471b6/build/Graphics/X11.o dist/dist-sandbox-801471b6/build/Graphics/X11/Types.o dist/dist-sandbox-801471b6/build/Graphics/X11/Xlib.o dist/dist-sandbox-801471b6/build/Graphics/X11/Xlib/Atom.o dist/dist-sandbox-801471b6/build/Graphics/X11/Xlib/Color.o dist/dist-sandbox-801471b6/build/Graphics/X11/Xlib/Context.o dist/dist-sandbox-801471b6/build/Graphics/X11/Xlib/Cursor.o dist/dist-sandbox-801471b6/build/Graphics/X11/Xlib/Display.o dist/dist-sandbox-801471b6/build/Graphics/X11/Xlib/Event.o dist/dist-sandbox-801471b6/build/Graphics/X11/Xlib/Font.o dist/dist-sandbox-801471b6/build/Graphics/X11/Xlib/Misc.o dist/dist-sandbox-801471b6/build/Graphics/X11/Xlib/Region.o dist/dist-sandbox-801471b6/build/Graphics/X11/Xlib/Screen.o dist/dist-sandbox-801471b6/build/Graphics/X11/Xlib/Types.o dist/dist-sandbox-801471b6/build/Graphics/X11/Xlib/Window.o dist/dist-sandbox-801471b6/build/Graphics/X11/Xlib/Image.o dist/dist-sandbox-801471b6/build/Graphics/X11/Xlib/Extras.o dist/dist-sandbox-801471b6/build/Graphics/X11/Xinerama.o dist/dist-sandbox-801471b6/build/Graphics/X11/Xrandr.o dist/dist-sandbox-801471b6/build/Graphics/X11/XScreenSaver.o dist/dist-sandbox-801471b6/build/Graphics/X11/ExtraTypes.o dist/dist-sandbox-801471b6/build/Graphics/X11/ExtraTypes/AP.o dist/dist-sandbox-801471b6/build/Graphics/X11/ExtraTypes/DEC.o dist/dist-sandbox-801471b6/build/Graphics/X11/ExtraTypes/HP.o dist/dist-sandbox-801471b6/build/Graphics/X11/ExtraTypes/Sun.o dist/dist-sandbox-801471b6/build/Graphics/X11/ExtraTypes/XF86.o dist/dist-sandbox-801471b6/build/Graphics/X11/ExtraTypes/XorgDefault.o dist/dist-sandbox-801471b6/build/Graphics/X11/Xlib/Internal.o dist/dist-sandbox-801471b6/build/cbits/fdset.o dist/dist-sandbox-801471b6/build/cbits/auxiliaries.o dist/dist-sandbox-801471b6/build/cbits/XUtils.o
ar: creating archive dist/dist-sandbox-801471b6/build/libHSX11-1.6.1.1.a
/usr/local/bin/ghc -shared -dynamic -lXss -lXinerama -lXext -lX11 -lXrandr -lXext -package-name X11-1.6.1.1 -no-auto-link-packages -no-user-package-db -package-db /Users/codygman/osxmonad-install/xmonad/.cabal-sandbox/x86_64-osx-ghc-7.8.1-packages.conf.d -package-db dist/dist-sandbox-801471b6/package.conf.inplace -package-id base-4.7.0.0-0e17cca653cb6df26dc9552b6ec8cc4d -package-id data-default-0.5.3-905e991bfad3ba5799fbb59cd1d789cb dist/dist-sandbox-801471b6/build/Graphics/X11.dyn_o dist/dist-sandbox-801471b6/build/Graphics/X11/Types.dyn_o dist/dist-sandbox-801471b6/build/Graphics/X11/Xlib.dyn_o dist/dist-sandbox-801471b6/build/Graphics/X11/Xlib/Atom.dyn_o dist/dist-sandbox-801471b6/build/Graphics/X11/Xlib/Color.dyn_o dist/dist-sandbox-801471b6/build/Graphics/X11/Xlib/Context.dyn_o dist/dist-sandbox-801471b6/build/Graphics/X11/Xlib/Cursor.dyn_o dist/dist-sandbox-801471b6/build/Graphics/X11/Xlib/Display.dyn_o dist/dist-sandbox-801471b6/build/Graphics/X11/Xlib/Event.dyn_o dist/dist-sandbox-801471b6/build/Graphics/X11/Xlib/Font.dyn_o dist/dist-sandbox-801471b6/build/Graphics/X11/Xlib/Misc.dyn_o dist/dist-sandbox-801471b6/build/Graphics/X11/Xlib/Region.dyn_o dist/dist-sandbox-801471b6/build/Graphics/X11/Xlib/Screen.dyn_o dist/dist-sandbox-801471b6/build/Graphics/X11/Xlib/Types.dyn_o dist/dist-sandbox-801471b6/build/Graphics/X11/Xlib/Window.dyn_o dist/dist-sandbox-801471b6/build/Graphics/X11/Xlib/Image.dyn_o dist/dist-sandbox-801471b6/build/Graphics/X11/Xlib/Extras.dyn_o dist/dist-sandbox-801471b6/build/Graphics/X11/Xinerama.dyn_o dist/dist-sandbox-801471b6/build/Graphics/X11/Xrandr.dyn_o dist/dist-sandbox-801471b6/build/Graphics/X11/XScreenSaver.dyn_o dist/dist-sandbox-801471b6/build/Graphics/X11/ExtraTypes.dyn_o dist/dist-sandbox-801471b6/build/Graphics/X11/ExtraTypes/AP.dyn_o dist/dist-sandbox-801471b6/build/Graphics/X11/ExtraTypes/DEC.dyn_o dist/dist-sandbox-801471b6/build/Graphics/X11/ExtraTypes/HP.dyn_o dist/dist-sandbox-801471b6/build/Graphics/X11/ExtraTypes/Sun.dyn_o dist/dist-sandbox-801471b6/build/Graphics/X11/ExtraTypes/XF86.dyn_o dist/dist-sandbox-801471b6/build/Graphics/X11/ExtraTypes/XorgDefault.dyn_o dist/dist-sandbox-801471b6/build/Graphics/X11/Xlib/Internal.dyn_o dist/dist-sandbox-801471b6/build/cbits/fdset.dyn_o dist/dist-sandbox-801471b6/build/cbits/auxiliaries.dyn_o dist/dist-sandbox-801471b6/build/cbits/XUtils.dyn_o -o dist/dist-sandbox-801471b6/build/libHSX11-1.6.1.1-ghc7.8.1.dylib
ld: library not found for -lXss
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Failed to install X11-1.6.1.1
Updating world file...
cabal: Error: some packages failed to install:
X11-1.6.1.1 failed during the building phase. The exception was:
ExitFailure 1
The error is purely cosmetic as both ButtonMask and KeyMask are the same type (Modifier, in turn, CUInt), but the signature is currently
grabKey :: Display -> KeyCode -> ButtonMask -> Window -> Bool -> GrabMode -> GrabMode -> IO ()
where it should probably read
grabKey :: Display -> KeyCode -> KeyMask -> Window -> Bool -> GrabMode -> GrabMode -> IO ()
Here's a dump of the build process:
...
config.status: creating include/X11_extras_config.h
configure: WARNING: unrecognized options: --with-compiler
cabal: Missing dependency on a foreign library:
I have installed X11 and also this library without any problems.
When im trying to test my app i get this error
Loading package X11-1.6.0 ... can't load .so/.DLL for: Xext (dlopen(libXext.dylib, 9): image not found)
I have made a symlink to /usr because it installs X11 by default in /opt.
@dmwit, would you mind uploading the current master
branch as a new release to Hackage? We need an update to support building with Cabal 3.0.x, which is shipped with ghc 8.8.1 by default. I pushed the necessary fixes already and updated https://travis-ci.org/xmonad/X11 to include the 8.8.x compiler.
The file Graphics/X11/XScreenSaver.hsc
is GPL, while the rest of the package is BSD
. This would be a problem. Luckily, I hold the copyright to XScreenSaver.hsc
(I originally wrote it for arbtt
), so hereby I re-license it under the same terms as the X11
bindings. @jotrk, do you agree?
So the type field remains zero and the function doesn't work as intended.
Also the types are terribly wrong. Here is a working example:
goFullScreen :: XID -> IO ()
goFullScreen xid = do
display <- openDisplay ":0.0"
let root = defaultRootWindow display
stateAtom <- internAtom display "_NET_WM_STATE" False
fsAtom <- internAtom display "_NET_WM_STATE_FULLSCREEN" False
allocaXEvent $ \event -> do
setEventType event clientMessage
setClientMessageEvent event xid stateAtom 32 1 fsAtom
sendEvent display root False (substructureNotifyMask .|. substructureRedirectMask) event
return ()
Note that setEventType
should have been inside setClientMessageEvent
as it's the case with other setXxxEvent
functions.
1
and fsAtom
are passed as last 2 arguments, clearly they are not Atom
and Time
. Originally they are all uniformly long
and there are more than 2 of them. A proper fix IMO would be to replace the single function with 3 separate in the spirit of changeProperty8/16/32 and get rid of extra parameters like format
.
Has anyone successfully installed this package on Nixos? I keep getting the following error message:
checking for X... no
configure: error: in `/run/user/1000/stack10666/X11-1.6.1.2':
configure: error: X11 libraries not found, so X11 package cannot be built
See `config.log' for more details
I have the following packages listed in my stack.yaml
:
nix:
enable: true
packages:
- x11
- xorg.libX11
- xorg.libXext
- xorg.libXinerama
- xorg.libXrandr
- xorg.libXrender
Which libraries does the package depend on, and where does it look for them?
The XScreenSaver module originated from the arbtt tool. Upon import into X11 some CPP was added that implements it only partially: ac3933e#diff-0ede912a7989c1eb8640f56e67add449
If the header files are not present, then only compiledWithXScreenSaver
exists in the module. But this does not work! A program that wants to make optional use of XScreenSaver
will still reference the other functions. So if this module really should be optional, then it still needs to export all the functions (with dummy implementations).
Why do I only report this now? Because someone suggested that arbtt
should start using X11
’s implementation: nomeata/arbtt@8ccde60
But now people get build failures when X11
was compiled without XScreenSaver
, e.g. https://bitbucket.org/nomeata/arbtt/pull-requests/3/getxidletime-not-available/diff or nomeata/arbtt#13
The whole conditional build thing is fishy anyways. I suggest that either you simply require these extensions, or the module is moved into its own package.
The last change to this file was in 2008. I don't know when XF86XK_Battery was added but my /usr/include/X11/XF86keysym.h has it (it is used on some thinkpads for example). Time for an update?
I'm creating this ticket to help us track the work going on over at xmonad/xmonad-contrib#146.
Starting with the getWindowAttributes
function, start creating versions that return Maybe a
instead of throwing an exception. I'm not sure what the new naming scheme should be, but the original functions should just call the new version and throw if they get Nothing
back.
Travis fails because during ./configure
it fails to find X11/extensions/Xrandr.h
from libXrandr
.
This causes all XMonad related CI to fail as well.
XRandR bindings would be nice to have as well. I started working on them, but haven't gotten all that far. There are minimal bindings in some packages (xmobar has some).
I imagine this is a bug in the C library, if anything, but just in case:
% ghci -v0
λ: import Graphics.X11.Xlib
λ: import Control.Arrow
λ: (flip displayWidthMM 0 &&& flip displayHeightMM 0) <$> openDisplay []
(940,420)
it :: (Foreign.C.Types.CInt, Foreign.C.Types.CInt)
λ:
% xrandr | grep mm
eDP1 connected 2560x1600+0+0 (normal left inverted right x axis y axis) 286mm x 179mm
DP1 disconnected 1024x768+2560+0 (normal left inverted right x axis y axis) 0mm x 0mm
%
I recently had to go to GHC 7.10* to compile a game that uses X11, and installation failed due to the change from -fno-warn-unused-binds
to -Wno-unused-binds
.
This is probably very low priority, but it would be great if the cabal files of X11-1.10* prevented installation with older GHCs so cabal picked X11-1.9.2, which was the latest version that used a flag compatible with GHC 7.10. Alternatively, you could also do:
if impl(ghc >= 8)
ghc-options: -Wno-unused-binds
else
ghc-options: -fno-warn-unused-binds
although you may not want to have to keep that around for very old, unsupported versions of GHC, which would be perfectly understandable.
*There was an outstanding bug in the GHC 8.* series that made some games break with GHC 8.*.
Hi, I'm trying to write a project that depends on X11, but the documentation on Hackage is currently broken. A quick look at the build logs shows that the CI is failing on cabal configure
. For some reason, X11/extensions/Xrandr.h
isn't being correctly found by cabal
even though .travis.yml installs it. All the docs are missing because of this.
configure.ac
makes use of AC_PATH_EXTRA, which should find the correct header files. I don't know if it's an error on Travis CI's part or a bug. This project configures and builds fine on my system.
from xmonad.log:
user error (createFontSet)
user error (createFontSet)
user error (createFontSet)
user error (createFontSet)
user error (createFontSet)
user error (createFontSet)
user error (createFontSet)
user error (createFontSet)
user error (createFontSet)
Hi,
I'm trying to build X11 with cabal, but the installation always fails with:
"Graphics/X11/Xlib/Extras.hsc:1435:47: parse error on input `<-'"
Any suggestions?
Cheers
The latest release on Hackage is from May 2014, over a year and a half ago. Is another release planned?
There's some stuff on master
which is not released. For example, the one example in the examples/
directory doesn't compile with the latest version on Hackage, but that example is over a year old.
How to fix this
Originally posted by @Hasnain799 in noob-hackers/ipdrone#11 (comment)
Either the status code returned from the C code should be available or, better, the return type should be IO (Maybe SizeHint) so that callers can know whether the size hint returned is valid or not.
Wrapper around XQueryTree (i.e., queryTree) omits return status checks and unconditionally accesses return parameters. There is no guarantee that in case of an error those will be initialized, and thus it can end up accessing uninitialized memory.
One way to fix it would be to add throwIfZero. Though, given how this function is currently used (I looked at xmonad and arbtt) simply returning (0, 0, []) could be reasonable as well.
Hi!,
I am having an issue with the waitForEvent
function that I don't understand: even if I specify a low timeout, eventually it blocks for an indefinite amount of time.
Consider the following program that waits for X events in a loop and consumes them as they become available. While waiting, it prints the number of times waitForEvent
returns to standard output.
module Main where
import Control.Monad
import Graphics.X11
import System.IO
main = do
dpy <- openDisplay ""
let loop n e = do
putStr ("\r" <> show n) >> hFlush stdout
isTimeOut <- waitForEvent dpy 0
when (not isTimeOut) (print =<< nextEvent dpy e)
loop (n + 1) e
allocaXEvent $ loop 0
I compiled this program using ghc Test.hs
. The program reliably counts to some number (usually 6291 in my case, but I have found it to vary), and then hangs. Using strace on the process I see the following calls to pselect
:
pselect6(5, [4], [], [], {tv_sec=0, tv_nsec=0}, NULL) = 0 (Timeout)
[..]
pselect6(5, [4], [], [], {tv_sec=283467841536, tv_nsec=0}, NULL
I am testing on x86_64 Linux, kernel 6.1.78 using ghc 9.4.8 and X11 1.10.3. Haskell X11 is linked against libX11 1.8.7, and I am running X server 1.21.1.11.
I would appreciate any feedback, as I am at a loss on how to continue debugging this.
Thanks!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.