Skip to content

Instantly share code, notes, and snippets.

@djvs
Created September 23, 2017 03:00
Show Gist options
  • Save djvs/df33bbf46b3a05d13582da022b7fc272 to your computer and use it in GitHub Desktop.
Save djvs/df33bbf46b3a05d13582da022b7fc272 to your computer and use it in GitHub Desktop.
$ cabal update
Config file path source is default config file.
Config file /home/d/.cabal/config not found.
Writing default configuration to /home/d/.cabal/config
Downloading the latest package list from hackage.haskell.org
$ cabal install MissingH xmonad xmonad-contrib xmonad-utils taffybar gtk2hs-buildtools
Resolving dependencies...
Downloading X11-1.8...
Downloading blaze-builder-0.4.0.2...
Downloading call-stack-0.1.0...
Configuring blaze-builder-0.4.0.2...
Downloading cereal-0.5.4.0...
Configuring X11-1.8...
Configuring call-stack-0.1.0...
Configuring cereal-0.5.4.0...
Building blaze-builder-0.4.0.2...
Building call-stack-0.1.0...
Building cereal-0.5.4.0...
Failed to install blaze-builder-0.4.0.2
Build log ( /home/d/.cabal/logs/ghc-8.2.1/blaze-builder-0.4.0.2-9jN75sESh05JfWRLWr51Wl.log ):
cabal: Entering directory '/tmp/cabal-tmp-29576/blaze-builder-0.4.0.2'
Configuring blaze-builder-0.4.0.2...
Preprocessing library for blaze-builder-0.4.0.2..
Building library for blaze-builder-0.4.0.2..
[ 1 of 10] Compiling Blaze.ByteString.Builder.Internal.Write ( Blaze/ByteString/Builder/Internal/Write.hs, dist/build/Blaze/ByteString/Builder/Internal/Write.o )
[ 2 of 10] Compiling Blaze.ByteString.Builder.Compat.Write ( Blaze/ByteString/Builder/Compat/Write.hs, dist/build/Blaze/ByteString/Builder/Compat/Write.o )
[ 3 of 10] Compiling Blaze.ByteString.Builder.Int ( Blaze/ByteString/Builder/Int.hs, dist/build/Blaze/ByteString/Builder/Int.o )
[ 4 of 10] Compiling Blaze.ByteString.Builder.Char8 ( Blaze/ByteString/Builder/Char8.hs, dist/build/Blaze/ByteString/Builder/Char8.o )
Blaze/ByteString/Builder/Char8.hs:37:1: error:
Could not find module ‘Data.Text’
There are files missing in the ‘text-1.2.2.2’ package,
try running 'ghc-pkg check'.
Use -v to see a list of the files searched for.
|
37 | import qualified Data.Text as TS
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Blaze/ByteString/Builder/Char8.hs:38:1: error:
Could not find module ‘Data.Text.Lazy’
There are files missing in the ‘text-1.2.2.2’ package,
try running 'ghc-pkg check'.
Use -v to see a list of the files searched for.
|
38 | import qualified Data.Text.Lazy as TL
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
cabal: Leaving directory '/tmp/cabal-tmp-29576/blaze-builder-0.4.0.2'
Downloading executable-path-0.0.3.1...
Configuring executable-path-0.0.3.1...
Installed call-stack-0.1.0
Building executable-path-0.0.3.1...
Building X11-1.8...
Installed executable-path-0.0.3.1
Failed to install X11-1.8
Build log ( /home/d/.cabal/logs/ghc-8.2.1/X11-1.8-AzojZfPPxpn1ROayS1vHXI.log ):
cabal: Entering directory '/tmp/cabal-tmp-29577/X11-1.8'
Configuring X11-1.8...
configure: WARNING: unrecognized options: --with-compiler
checking for gcc... /usr/lib/hardening-wrapper/bin/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 /usr/lib/hardening-wrapper/bin/gcc accepts -g... yes
checking for /usr/lib/hardening-wrapper/bin/gcc option to accept ISO C89... none needed
checking how to run the C preprocessor... /usr/lib/hardening-wrapper/bin/gcc -E
checking for X... libraries , headers
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
Preprocessing library for X11-1.8..
XF86.hsc:711:27: warning: extra tokens at end of #ifdef directive
XF86.hsc: In function ‘main’:
XF86.hsc:711:27: warning: extra tokens at end of #ifdef directive
XF86.hsc:711:27: warning: extra tokens at end of #ifdef directive
Building library for X11-1.8..
[ 1 of 28] Compiling Graphics.X11.Types ( dist/build/Graphics/X11/Types.hs, dist/build/Graphics/X11/Types.o )
[ 2 of 28] Compiling Graphics.X11.ExtraTypes.XorgDefault ( dist/build/Graphics/X11/ExtraTypes/XorgDefault.hs, dist/build/Graphics/X11/ExtraTypes/XorgDefault.o )
[ 3 of 28] Compiling Graphics.X11.ExtraTypes.XF86 ( dist/build/Graphics/X11/ExtraTypes/XF86.hs, dist/build/Graphics/X11/ExtraTypes/XF86.o )
[ 4 of 28] Compiling Graphics.X11.ExtraTypes.Sun ( dist/build/Graphics/X11/ExtraTypes/Sun.hs, dist/build/Graphics/X11/ExtraTypes/Sun.o )
[ 5 of 28] Compiling Graphics.X11.ExtraTypes.HP ( dist/build/Graphics/X11/ExtraTypes/HP.hs, dist/build/Graphics/X11/ExtraTypes/HP.o )
[ 6 of 28] Compiling Graphics.X11.ExtraTypes.DEC ( dist/build/Graphics/X11/ExtraTypes/DEC.hs, dist/build/Graphics/X11/ExtraTypes/DEC.o )
[ 7 of 28] Compiling Graphics.X11.ExtraTypes.AP ( dist/build/Graphics/X11/ExtraTypes/AP.hs, dist/build/Graphics/X11/ExtraTypes/AP.o )
[ 8 of 28] Compiling Graphics.X11.ExtraTypes ( Graphics/X11/ExtraTypes.hs, dist/build/Graphics/X11/ExtraTypes.o )
[ 9 of 28] Compiling Graphics.X11.Xlib.Internal ( dist/build/Graphics/X11/Xlib/Internal.hs, dist/build/Graphics/X11/Xlib/Internal.o )
[10 of 28] Compiling Graphics.X11.Xlib.Types ( dist/build/Graphics/X11/Xlib/Types.hs, dist/build/Graphics/X11/Xlib/Types.o )
Graphics/X11/Xlib/Types.hsc:38:1: error:
Could not find module ‘Data.Default’
There are files missing in the ‘data-default-0.7.1.1’ package,
try running 'ghc-pkg check'.
Use -v to see a list of the files searched for.
|
38 | import Data.Default
| ^^^^^^^^^^^^^^^^^^^
cabal: Leaving directory '/tmp/cabal-tmp-29577/X11-1.8'
Installed cereal-0.5.4.0
cabal: Error: some packages failed to install:
HStringTemplate-0.8.6-Eyxu6BPBHfH3AygBz25xCw depends on HStringTemplate-0.8.6
which failed to install.
X11-1.8-AzojZfPPxpn1ROayS1vHXI failed during the building phase. The exception
was:
ExitFailure 1
X11-xft-0.3.1-2XnXm6tAhCvLTXmqFXJivJ depends on X11-xft-0.3.1 which failed to
install.
blaze-builder-0.4.0.2-9jN75sESh05JfWRLWr51Wl failed during the building phase.
The exception was:
ExitFailure 1
taffybar-0.4.0-6d68CkspSK7Ftvlb8j76yV depends on taffybar-0.4.0 which failed
to install.
xmonad-0.13-NzJNoGVX2ILAjh44QBcHn depends on xmonad-0.13 which failed to
install.
xmonad-contrib-0.13-8nd0mn4SwQgEztNNBBXwPG depends on xmonad-contrib-0.13
which failed to install.
xmonad-utils-0.1.3.3-CPDPqZcqDPMEkdUX1lsCzp depends on xmonad-utils-0.1.3.3
which failed to install.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment