Skip to content

Instantly share code, notes, and snippets.

@kgadek
Created July 29, 2014 14:43
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 kgadek/8e768773f54a8de68bdb to your computer and use it in GitHub Desktop.
Save kgadek/8e768773f54a8de68bdb to your computer and use it in GitHub Desktop.
[root@cbeff4f8926d flowbox-env]# ./bootstrap.py ../flowbox
Working in /data/slave/flowbox_builder__GHC_7_8_3_/flowbox-env/dist/tmp
Downloading ghc (http://www.haskell.org/ghc/dist/7.6.3/ghc-7.6.3-x86_64-unknown-linux.tar.bz2)
File /data/slave/flowbox_builder__GHC_7_8_3_/flowbox-env/dist/tmp/ghc-7.6.3-x86_64-unknown-linux.tar.bz2 already exists. Skipping download.
Extracting ghc
File /data/slave/flowbox_builder__GHC_7_8_3_/flowbox-env/dist/tmp/ghc-7.6.3/LICENSE already exists. Skipping extraction.
Target ghc seems to be installed in /data/slave/flowbox_builder__GHC_7_8_3_/flowbox-env/dist/linux-x86_64/base. Skipping installation process.
Recaching local package db at '/root/.flowbox/pkgDb'
Recaching global package db at '/data/slave/flowbox_builder__GHC_7_8_3_/flowbox-env/dist/linux-x86_64/global/pkgDb'
Compiling all flowbox packages
The path 'dist' exists but seems corrupted. Deleting.
It seems that sandbox is not initialized. Running scripts/init first.
Calling: python2.7 scripts/init
/usr/local/bin/cabal
Checking if 'cabal' is available ... yes
Updating cabal package cache
Running 'cd && cabal update'
Downloading the latest package list from hackage.haskell.org
Checking cabal version (>= 1.19.1)
Checking if 'hprotoc' is available ... no
Cabal binary 'hprotoc' is not available. Should I install it? [Y/n]
Running 'cd && cabal install hprotoc'
Resolving dependencies...
Configuring syb-0.4.2...
Configuring polyparse-1.9...
Building syb-0.4.2...
Building polyparse-1.9...
Configuring utf8-string-0.3.8...
Installed syb-0.4.2
Building utf8-string-0.3.8...
Installed utf8-string-0.3.8
Downloading protocol-buffers-2.0.14...
Configuring protocol-buffers-2.0.14...
Building protocol-buffers-2.0.14...
Installed polyparse-1.9
Downloading cpphs-1.18.5...
Configuring cpphs-1.18.5...
Building cpphs-1.18.5...
Installed cpphs-1.18.5
Downloading haskell-src-exts-1.13.5...
Configuring haskell-src-exts-1.13.5...
Failed to install protocol-buffers-2.0.14
Build log ( /root/.cabal/logs/protocol-buffers-2.0.14.log ):
Configuring protocol-buffers-2.0.14...
Building protocol-buffers-2.0.14...
Preprocessing library protocol-buffers-2.0.14...
[1 of 9] Compiling Text.ProtocolBuffers.Get ( Text/ProtocolBuffers/Get.hs, dist/build/Text/ProtocolBuffers/Get.o )
Text/ProtocolBuffers/Get.hs:118:1: Warning:
Ignoring useless SPECIALISE pragma for NOINLINE function: ‘decode7unrolled’
Text/ProtocolBuffers/Get.hs:119:1: Warning:
Ignoring useless SPECIALISE pragma for NOINLINE function: ‘decode7unrolled’
Text/ProtocolBuffers/Get.hs:120:1: Warning:
Ignoring useless SPECIALISE pragma for NOINLINE function: ‘decode7unrolled’
Text/ProtocolBuffers/Get.hs:121:1: Warning:
Ignoring useless SPECIALISE pragma for NOINLINE function: ‘decode7unrolled’
Text/ProtocolBuffers/Get.hs:122:1: Warning:
Ignoring useless SPECIALISE pragma for NOINLINE function: ‘decode7unrolled’
Text/ProtocolBuffers/Get.hs:123:1: Warning:
Ignoring useless SPECIALISE pragma for NOINLINE function: ‘decode7unrolled’
Text/ProtocolBuffers/Get.hs:213:1: Warning:
Ignoring useless SPECIALISE pragma for NOINLINE function: ‘decode7’
Text/ProtocolBuffers/Get.hs:214:1: Warning:
Ignoring useless SPECIALISE pragma for NOINLINE function: ‘decode7’
Text/ProtocolBuffers/Get.hs:215:1: Warning:
Ignoring useless SPECIALISE pragma for NOINLINE function: ‘decode7’
Text/ProtocolBuffers/Get.hs:216:1: Warning:
Ignoring useless SPECIALISE pragma for NOINLINE function: ‘decode7’
Text/ProtocolBuffers/Get.hs:217:1: Warning:
Ignoring useless SPECIALISE pragma for NOINLINE function: ‘decode7’
Text/ProtocolBuffers/Get.hs:218:1: Warning:
Ignoring useless SPECIALISE pragma for NOINLINE function: ‘decode7’
[2 of 9] Compiling Text.ProtocolBuffers.Basic ( Text/ProtocolBuffers/Basic.hs, dist/build/Text/ProtocolBuffers/Basic.o )
Text/ProtocolBuffers/Basic.hs:24:1: Warning:
The import item ‘Typeable(..)’ suggests that
‘Typeable’ has (in-scope) constructors or class methods,
but it has none
[3 of 9] Compiling Text.ProtocolBuffers.Identifiers ( Text/ProtocolBuffers/Identifiers.hs, dist/build/Text/ProtocolBuffers/Identifiers.o )
[4 of 9] Compiling Text.ProtocolBuffers.Reflections ( Text/ProtocolBuffers/Reflections.hs, dist/build/Text/ProtocolBuffers/Reflections.o )
[5 of 9] Compiling Text.ProtocolBuffers.WireMessage ( Text/ProtocolBuffers/WireMessage.hs, dist/build/Text/ProtocolBuffers/WireMessage.o )
Text/ProtocolBuffers/WireMessage.hs:290:77: Not in scope: ‘typeOf’
Text/ProtocolBuffers/WireMessage.hs:398:43: Not in scope: ‘typeOf’
Text/ProtocolBuffers/WireMessage.hs:407:24: Not in scope: ‘typeOf’
Text/ProtocolBuffers/WireMessage.hs:433:77: Not in scope: ‘typeOf’
Text/ProtocolBuffers/WireMessage.hs:436:75: Not in scope: ‘typeOf’
Text/ProtocolBuffers/WireMessage.hs:440:74: Not in scope: ‘typeOf’
Text/ProtocolBuffers/WireMessage.hs:642:44: Not in scope: ‘typeOf’
Building haskell-src-exts-1.13.5...
Failed to install haskell-src-exts-1.13.5
Build log ( /root/.cabal/logs/haskell-src-exts-1.13.5.log ):
[1 of 1] Compiling Main ( /tmp/haskell-src-exts-1.13.5-10330/haskell-src-exts-1.13.5/dist/setup/setup.hs, /tmp/haskell-src-exts-1.13.5-10330/haskell-src-exts-1.13.5/dist/setup/Main.o )
Linking /tmp/haskell-src-exts-1.13.5-10330/haskell-src-exts-1.13.5/dist/setup/setup ...
Configuring haskell-src-exts-1.13.5...
Building haskell-src-exts-1.13.5...
Preprocessing library haskell-src-exts-1.13.5...
[ 1 of 22] Compiling Language.Haskell.Exts.Annotated.Syntax ( src/Language/Haskell/Exts/Annotated/Syntax.hs, dist/build/Language/Haskell/Exts/Annotated/Syntax.o )
[ 2 of 22] Compiling Language.Haskell.Exts.ParseSyntax ( src/Language/Haskell/Exts/ParseSyntax.hs, dist/build/Language/Haskell/Exts/ParseSyntax.o )
[ 3 of 22] Compiling Language.Haskell.Exts.Annotated.Build ( src/Language/Haskell/Exts/Annotated/Build.hs, dist/build/Language/Haskell/Exts/Annotated/Build.o )
[ 4 of 22] Compiling Language.Haskell.Exts.SrcLoc ( src/Language/Haskell/Exts/SrcLoc.hs, dist/build/Language/Haskell/Exts/SrcLoc.o )
[ 5 of 22] Compiling Language.Haskell.Exts.Comments ( src/Language/Haskell/Exts/Comments.hs, dist/build/Language/Haskell/Exts/Comments.o )
[ 6 of 22] Compiling Language.Haskell.Exts.Annotated.ExactPrint ( src/Language/Haskell/Exts/Annotated/ExactPrint.hs, dist/build/Language/Haskell/Exts/Annotated/ExactPrint.o )
src/Language/Haskell/Exts/Annotated/ExactPrint.hs:41:10: Warning:
‘EP’ is an instance of Monad but not Applicative - this will become an error in GHC 7.10, under the Applicative-Monad Proposal.
[ 7 of 22] Compiling Language.Haskell.Exts.Extension ( src/Language/Haskell/Exts/Extension.hs, dist/build/Language/Haskell/Exts/Extension.o )
[ 8 of 22] Compiling Language.Haskell.Exts.ExtScheme ( src/Language/Haskell/Exts/ExtScheme.hs, dist/build/Language/Haskell/Exts/ExtScheme.o )
[ 9 of 22] Compiling Language.Haskell.Exts.Syntax ( src/Language/Haskell/Exts/Syntax.hs, dist/build/Language/Haskell/Exts/Syntax.o )
[10 of 22] Compiling Language.Haskell.Exts.Build ( src/Language/Haskell/Exts/Build.hs, dist/build/Language/Haskell/Exts/Build.o )
[11 of 22] Compiling Language.Haskell.Exts.Fixity ( src/Language/Haskell/Exts/Fixity.hs, dist/build/Language/Haskell/Exts/Fixity.o )
[12 of 22] Compiling Language.Haskell.Exts.ParseMonad ( src/Language/Haskell/Exts/ParseMonad.hs, dist/build/Language/Haskell/Exts/ParseMonad.o )
src/Language/Haskell/Exts/ParseMonad.hs:177:10: Warning:
‘P’ is an instance of Monad but not Applicative - this will become an error in GHC 7.10, under the Applicative-Monad Proposal.
src/Language/Haskell/Exts/ParseMonad.hs:271:10: Warning:
‘Lex’ is an instance of Monad but not Applicative - this will become an error in GHC 7.10, under the Applicative-Monad Proposal.
[13 of 22] Compiling Language.Haskell.Exts.InternalLexer ( src/Language/Haskell/Exts/InternalLexer.hs, dist/build/Language/Haskell/Exts/InternalLexer.o )
[14 of 22] Compiling Language.Haskell.Exts.Lexer ( src/Language/Haskell/Exts/Lexer.hs, dist/build/Language/Haskell/Exts/Lexer.o )
[15 of 22] Compiling Language.Haskell.Exts.Annotated.Simplify ( src/Language/Haskell/Exts/Annotated/Simplify.hs, dist/build/Language/Haskell/Exts/Annotated/Simplify.o )
[16 of 22] Compiling Language.Haskell.Exts.Pretty ( src/Language/Haskell/Exts/Pretty.hs, dist/build/Language/Haskell/Exts/Pretty.o )
src/Language/Haskell/Exts/Pretty.hs:97:10: Warning:
‘DocM’ is an instance of Monad but not Applicative - this will become an error in GHC 7.10, under the Applicative-Monad Proposal.
[17 of 22] Compiling Language.Haskell.Exts.ParseUtils ( src/Language/Haskell/Exts/ParseUtils.hs, dist/build/Language/Haskell/Exts/ParseUtils.o )
[18 of 22] Compiling Language.Haskell.Exts.Annotated.Fixity ( src/Language/Haskell/Exts/Annotated/Fixity.hs, dist/build/Language/Haskell/Exts/Annotated/Fixity.o )
[19 of 22] Compiling Language.Haskell.Exts.InternalParser ( dist/build/Language/Haskell/Exts/InternalParser.hs, dist/build/Language/Haskell/Exts/InternalParser.o )
templates/GenericTemplate.hs:104:22:
Couldn't match expected type ‘Bool’
with actual type ‘Happy_GHC_Exts.Int#’
In the expression:
(n Happy_GHC_Exts.<# (0# :: Happy_GHC_Exts.Int#))
In a stmt of a pattern guard for
a case alternative:
(n Happy_GHC_Exts.<# (0# :: Happy_GHC_Exts.Int#))
In a case alternative:
n | (n Happy_GHC_Exts.<# (0# :: Happy_GHC_Exts.Int#))
-> (happyReduceArr Happy_Data_Array.! rule) i tk st
where
rule
= (Happy_GHC_Exts.I#
((Happy_GHC_Exts.negateInt#
((n Happy_GHC_Exts.+# (1# :: Happy_GHC_Exts.Int#))))))
templates/GenericTemplate.hs:115:23:
Couldn't match expected type ‘Bool’
with actual type ‘Happy_GHC_Exts.Int#’
In the expression:
(off_i Happy_GHC_Exts.>=# (0# :: Happy_GHC_Exts.Int#))
In the expression:
if (off_i Happy_GHC_Exts.>=# (0# :: Happy_GHC_Exts.Int#)) then
(indexShortOffAddr happyCheck off_i Happy_GHC_Exts.==# i)
else
False
In an equation for ‘check’:
check
= if (off_i Happy_GHC_Exts.>=# (0# :: Happy_GHC_Exts.Int#)) then
(indexShortOffAddr happyCheck off_i Happy_GHC_Exts.==# i)
else
False
templates/GenericTemplate.hs:117:30:
Couldn't match expected type ‘Happy_GHC_Exts.Int#’
with actual type ‘Bool’
In the expression: False
In the expression:
if (off_i Happy_GHC_Exts.>=# (0# :: Happy_GHC_Exts.Int#)) then
(indexShortOffAddr happyCheck off_i Happy_GHC_Exts.==# i)
else
False
templates/GenericTemplate.hs:119:13:
Couldn't match expected type ‘Bool’
with actual type ‘Happy_GHC_Exts.Int#’
In the expression: check
In a stmt of a pattern guard for
a pattern binding:
check
templates/GenericTemplate.hs:212:14:
Pattern bindings containing unlifted types should use an outermost bang pattern:
(sts1@((HappyCons (st1@(action)) (_))))
= happyDrop k (HappyCons (st) (sts))
In an equation for ‘happyMonadReduce’:
happyMonadReduce k nt fn j tk st sts stk
= happyThen1
(fn stk tk)
(\ r -> happyGoto nt j tk st1 sts1 (r `HappyStk` drop_stk))
where
(sts1@((HappyCons (st1@(action)) (_))))
= happyDrop k (HappyCons (st) (sts))
drop_stk = happyDropStk k stk
templates/GenericTemplate.hs:219:14:
Pattern bindings containing unlifted types should use an outermost bang pattern:
(sts1@((HappyCons (st1@(action)) (_))))
= happyDrop k (HappyCons (st) (sts))
In an equation for ‘happyMonad2Reduce’:
happyMonad2Reduce k nt fn j tk st sts stk
= happyThen1
(fn stk tk)
(\ r -> happyNewToken new_state sts1 (r `HappyStk` drop_stk))
where
(sts1@((HappyCons (st1@(action)) (_))))
= happyDrop k (HappyCons (st) (sts))
drop_stk = happyDropStk k stk
(off) = indexShortOffAddr happyGotoOffsets st1
(off_i) = (off Happy_GHC_Exts.+# nt)
....
cabal: Error: some packages failed to install:
haskell-src-exts-1.13.5 failed during the building phase. The exception was:
ExitFailure 1
hprotoc-2.0.15 depends on haskell-src-exts-1.13.5 which failed to install.
protocol-buffers-2.0.14 failed during the building phase. The exception was:
ExitFailure 1
protocol-buffers-descriptor-2.0.14 depends on protocol-buffers-2.0.14 which
failed to install.
ERROR
ERROR
ERROR
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment