Skip to content

Instantly share code, notes, and snippets.

@rgoulter
Last active August 29, 2015 14:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rgoulter/d1e94a05dd93abaa078d to your computer and use it in GitHub Desktop.
Save rgoulter/d1e94a05dd93abaa078d to your computer and use it in GitHub Desktop.
Error Sandbox Yi Trying -fpango
Resolving dependencies...
In order, the following will be installed:
cairo-0.12.5.3 (new package)
glib-0.12.5.4 (new package)
gio-0.12.5.3 (new package)
pango-0.12.5.3 (new package)
gtk-0.12.5.7 (new package)
yi-0.9.0 +pango (reinstall) changes: glib-0.12.5.4 added, gtk-0.12.5.7 added,
pango-0.12.5.3 added
Warning: Note that reinstalls are always dangerous. Continuing anyway...
[1 of 2] Compiling SetupWrapper ( /var/folders/yt/xblbjsj91g3fh7_mqq0n2rn00000gn/T/cairo-0.12.5.3-97666/cairo-0.12.5.3/SetupWrapper.hs, /var/folders/yt/xblbjsj91g3fh7_mqq0n2rn00000gn/T/cairo-0.12.5.3-97666/cairo-0.12.5.3/dist/dist-sandbox-37971840/setup/SetupWrapper.o )
/var/folders/yt/xblbjsj91g3fh7_mqq0n2rn00000gn/T/cairo-0.12.5.3-97666/cairo-0.12.5.3/SetupWrapper.hs:118:28: Warning:
In the use of `configCompiler'
(imported from Distribution.Simple.Configure):
Deprecated: "'configCompiler' is deprecated. Use 'configCompilerEx' instead."
[2 of 2] Compiling Main ( /var/folders/yt/xblbjsj91g3fh7_mqq0n2rn00000gn/T/cairo-0.12.5.3-97666/cairo-0.12.5.3/dist/dist-sandbox-37971840/setup/setup.hs, /var/folders/yt/xblbjsj91g3fh7_mqq0n2rn00000gn/T/cairo-0.12.5.3-97666/cairo-0.12.5.3/dist/dist-sandbox-37971840/setup/Main.o )
Linking /var/folders/yt/xblbjsj91g3fh7_mqq0n2rn00000gn/T/cairo-0.12.5.3-97666/cairo-0.12.5.3/dist/dist-sandbox-37971840/setup/setup ...
[1 of 2] Compiling Gtk2HsSetup ( Gtk2HsSetup.hs, dist/setup-wrapper/Gtk2HsSetup.o )
[2 of 2] Compiling Main ( SetupMain.hs, dist/setup-wrapper/Main.o )
Linking dist/setup-wrapper/setup ...
Configuring cairo-0.12.5.3...
setup: Package xcb-shm was not found in the pkg-config search path.
Perhaps you should add the directory containing `xcb-shm.pc'
to the PKG_CONFIG_PATH environment variable
Package 'xcb-shm', required by 'cairo', not found
Failed to install cairo-0.12.5.3
[1 of 2] Compiling SetupWrapper ( /var/folders/yt/xblbjsj91g3fh7_mqq0n2rn00000gn/T/glib-0.12.5.4-97666/glib-0.12.5.4/SetupWrapper.hs, /var/folders/yt/xblbjsj91g3fh7_mqq0n2rn00000gn/T/glib-0.12.5.4-97666/glib-0.12.5.4/dist/dist-sandbox-37971840/setup/SetupWrapper.o )
/var/folders/yt/xblbjsj91g3fh7_mqq0n2rn00000gn/T/glib-0.12.5.4-97666/glib-0.12.5.4/SetupWrapper.hs:118:28: Warning:
In the use of `configCompiler'
(imported from Distribution.Simple.Configure):
Deprecated: "'configCompiler' is deprecated. Use 'configCompilerEx' instead."
[2 of 2] Compiling Main ( /var/folders/yt/xblbjsj91g3fh7_mqq0n2rn00000gn/T/glib-0.12.5.4-97666/glib-0.12.5.4/dist/dist-sandbox-37971840/setup/setup.hs, /var/folders/yt/xblbjsj91g3fh7_mqq0n2rn00000gn/T/glib-0.12.5.4-97666/glib-0.12.5.4/dist/dist-sandbox-37971840/setup/Main.o )
Linking /var/folders/yt/xblbjsj91g3fh7_mqq0n2rn00000gn/T/glib-0.12.5.4-97666/glib-0.12.5.4/dist/dist-sandbox-37971840/setup/setup ...
[1 of 2] Compiling Gtk2HsSetup ( Gtk2HsSetup.hs, dist/setup-wrapper/Gtk2HsSetup.o )
[2 of 2] Compiling Main ( SetupMain.hs, dist/setup-wrapper/Main.o )
Linking dist/setup-wrapper/setup ...
Configuring glib-0.12.5.4...
Building glib-0.12.5.4...
Preprocessing library glib-0.12.5.4...
gtk2hsC2hs: Error in C header file.
/usr/include/dirent.h:140: (column 66) [FATAL]
>>> Syntax error!
The symbol `=' does not fit here.
Failed to install glib-0.12.5.4
cabal: Error: some packages failed to install:
cairo-0.12.5.3 failed during the configure step. The exception was:
ExitFailure 1
gio-0.12.5.3 depends on glib-0.12.5.4 which failed to install.
glib-0.12.5.4 failed during the building phase. The exception was:
ExitFailure 1
gtk-0.12.5.7 depends on glib-0.12.5.4 which failed to install.
pango-0.12.5.3 depends on glib-0.12.5.4 which failed to install.
yi-0.9.0 depends on glib-0.12.5.4 which failed to install.
....
Installed gtk-0.12.5.7
Configuring yi-0.9.0...
Building yi-0.9.0...
Preprocessing library yi-0.9.0...
[ 1 of 181] Compiling Shim.ProjectContent ( src/library/Shim/ProjectContent.hs, dist/dist-sandbox-37971840/build/Shim/ProjectContent.o ) [flags changed]
[ 2 of 181] Compiling Yi.Char.Unicode ( src/library/Yi/Char/Unicode.hs, dist/dist-sandbox-37971840/build/Yi/Char/Unicode.o ) [flags changed]
Loading package ghc-prim ... linking ... done.
Loading package integer-gmp ... linking ... done.
Loading package base ... linking ... done.
Loading package array-0.4.0.1 ... linking ... done.
Loading package deepseq-1.3.0.1 ... linking ... done.
Loading package bytestring-0.10.0.2 ... linking ... done.
Loading package text-0.11.3.1 ... linking ... done.
Loading package blaze-builder-0.3.3.2 ... linking ... done.
Loading package containers-0.5.0.0 ... linking ... done.
Loading package data-default-class-0.0.1 ... linking ... done.
Loading package data-default-instances-base-0.0.1 ... linking ... done.
Loading package data-default-instances-containers-0.0.1 ... linking ... done.
Loading package dlist-0.7.1 ... linking ... done.
Loading package data-default-instances-dlist-0.0.1 ... linking ... done.
Loading package old-locale-1.0.0.5 ... linking ... done.
Loading package data-default-instances-old-locale-0.0.1 ... linking ... done.
Loading package data-default-0.5.3 ... linking ... done.
Loading package filepath-1.3.0.1 ... linking ... done.
Loading package time-1.4.0.1 ... linking ... done.
Loading package unix-2.6.0.1 ... linking ... done.
Loading package directory-1.2.0.1 ... linking ... done.
Loading package hashable-1.2.2.0 ... linking ... done.
Loading package scientific-0.3.2.1 ... linking ... done.
Loading package attoparsec-0.11.3.4 ... linking ... done.
Loading package transformers-0.3.0.0 ... linking ... done.
Loading package mtl-2.1.2 ... linking ... done.
Loading package syb-0.4.0 ... linking ... done.
Loading package pretty-1.1.1.0 ... linking ... done.
Loading package template-haskell ... linking ... done.
Loading package unordered-containers-0.2.4.0 ... linking ... done.
Loading package primitive-0.5.0.1 ... linking ... done.
Loading package vector-0.10.0.1 ... linking ... done.
Loading package aeson-0.7.0.6 ... linking ... done.
Loading package tagged-0.7.2 ... linking ... done.
Loading package transformers-compat-0.3.3.4 ... linking ... done.
Loading package contravariant-0.6 ... linking ... done.
Loading package distributive-0.4.4 ... linking ... done.
Loading package nats-0.2 ... linking ... done.
Loading package semigroups-0.15.1 ... linking ... done.
Loading package comonad-4.2 ... linking ... done.
Loading package semigroupoids-4.0.2.1 ... linking ... done.
Loading package bifunctors-4.1.1.1 ... linking ... done.
Loading package exceptions-0.6.1 ... linking ... done.
Loading package prelude-extras-0.4 ... linking ... done.
Loading package profunctors-4.0.4 ... linking ... done.
Loading package free-4.9 ... linking ... done.
Loading package parallel-3.2.0.3 ... linking ... done.
Loading package reflection-1.4 ... linking ... done.
Loading package split-0.2.2 ... linking ... done.
Loading package utf8-string-0.3.8 ... linking ... done.
Loading package void-0.6.1 ... linking ... done.
Loading package zlib-0.5.4.1 ... linking ... done.
Loading package lens-4.1.2.1 ... linking ... done.
Loading package parsec-3.1.3 ... linking ... done.
Loading package terminfo-0.4.0.0 ... linking ... done.
Loading package vty-5.1.1 ... linking ... done.
Loading package unix-compat-0.4.1.3 ... linking ... done.
Loading package transformers-base-0.4.2 ... linking ... done.
Loading package safe-0.3.5 ... linking ... done.
Loading package regex-base-0.93.2 ... linking ... done.
Loading package regex-tdfa-1.2.0 ... linking ... done.
Loading package binary-0.5.1.1 ... linking ... done.
Loading package pointedlist-0.6.1 ... linking ... done.
Loading package extensible-exceptions-0.1.1.4 ... linking ... done.
Loading package old-time-1.1.0.1 ... linking ... done.
Loading package process-1.1.0.2 ... linking ... done.
Loading package Cabal-1.16.0 ... linking ... done.
Loading package bin-package-db-0.0.0.0 ... linking ... done.
Loading package hoopl-3.9.0.0 ... linking ... done.
Loading package hpc-0.6.0.0 ... linking ... done.
Loading package ghc-7.6.3 ... linking ... done.
Loading package ghc-mtl-1.2.1.0 ... linking ... done.
Loading package ghc-paths-0.1.0.9 ... linking ... done.
Loading package random-1.0.1.1 ... linking ... done.
Loading package hint-0.4.2.0 ... linking ... done.
Loading package cairo-0.12.5.3 ... linking ... done.
Loading package glib-0.12.5.4 ... linking ... done.
Loading package gio-0.12.5.3 ... linking ... done.
Loading package pango-0.12.5.3 ... <command line>: can't load .so/.DLL for: /usr/local/Cellar/pango/1.36.2/lib/libpangocairo-1.0.dylib (dlopen(/usr/local/Cellar/pango/1.36.2/lib/libpangocairo-1.0.dylib, 9): Library not loaded: /usr/local/Cellar/glib/2.40.0_1/lib/libglib-2.0.0.dylib
Referenced from: /usr/local/lib/libgthread-2.0.0.dylib
Reason: Incompatible library version: libgthread-2.0.0.dylib requires version 4001.0.0 or later, but libglib-2.0.0.dylib provides version 3801.0.0)
Failed to install yi-0.9.0
cabal: Error: some packages failed to install:
yi-0.9.0 failed during the building phase. The exception was:
ExitFailure 1
@rgoulter
Copy link
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment