cabal install arbtt not working

Create issue
Issue #64 resolved
Sebastian Epple created an issue

Resolving dependencies...
Build profile: -w ghc-8.10.2 -O1
In order, the following will be built (use -v for more details):

  • arbtt-0.10.2 (exe:arbtt-stats) (requires build)
  • arbtt-0.10.2 (exe:arbtt-capture) (requires build)
    Starting arbtt-0.10.2 (exe:arbtt-stats)
    Starting arbtt-0.10.2 (exe:arbtt-capture)
    Building arbtt-0.10.2 (exe:arbtt-stats)
    Building arbtt-0.10.2 (exe:arbtt-capture)

Failed to build exe:arbtt-stats from arbtt-0.10.2.
Build log (
/home/moggele/.cabal/logs/ghc-8.10.2/arbtt-0.10.2-1e43c9740149ef86413999cf894704ba2dfaec5aeb7a16699bf82d1575b0a434.log
):
Configuring executable 'arbtt-stats' for arbtt-0.10.2..
Preprocessing executable 'arbtt-stats' for arbtt-0.10.2..
Building executable 'arbtt-stats' for arbtt-0.10.2..

src/Data/Binary/StringRef.hs:1:77: warning:
-XOverlappingInstances is deprecated: instead use per-instance pragmas OVERLAPPING/OVERLAPPABLE/OVERLAPS
|
1 | {-# LANGUAGE FlexibleInstances, UndecidableInstances, TypeSynonymInstances, OverlappingInstances#-}
| ^^^^^^^^^^^^^^^^^^^^
[ 1 of 16] Compiling Data.MyText ( src/Data/MyText.hs, dist/build/arbtt-stats/arbtt-stats-tmp/Data/MyText.o )
[ 2 of 16] Compiling Data.Binary.StringRef ( src/Data/Binary/StringRef.hs, dist/build/arbtt-stats/arbtt-stats-tmp/Data/Binary/StringRef.o )
[ 3 of 16] Compiling Data ( src/Data.hs, dist/build/arbtt-stats/arbtt-stats-tmp/Data.o )
[ 4 of 16] Compiling DumpFormat ( src/DumpFormat.hs, dist/build/arbtt-stats/arbtt-stats-tmp/DumpFormat.o )
[ 5 of 16] Compiling LeftFold ( src/LeftFold.hs, dist/build/arbtt-stats/arbtt-stats-tmp/LeftFold.o )

src/LeftFold.hs:80:70: error:
Precedence parsing error
cannot mix ‘:!:’ [infix 2] and ‘:!:’ [infix 2] in the same infix expression
|
80 | runOnGroups eq (LeftFold sti pi fi) (LeftFold sto po fo) = LeftFold (S.Nothing :!: sti :!: sto) go finish
| ^^^^^^^^^^^^^^^^^^^^^^^^^

src/LeftFold.hs:81:36: error:
Precedence parsing error
cannot mix ‘:!:’ [infix 2] and ‘:!:’ [infix 2] in the same infix expression
|
81 | where go (S.Nothing :!: si :!: so) x = (S.Just x :!: pi si x :!: so)
| ^^

src/LeftFold.hs:81:57: error:
Precedence parsing error
cannot mix ‘:!:’ [infix 2] and ‘:!:’ [infix 2] in the same infix expression
|
81 | where go (S.Nothing :!: si :!: so) x = (S.Just x :!: pi si x :!: so)
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^

src/LeftFold.hs:82:36: error:
Precedence parsing error
cannot mix ‘:!:’ [infix 2] and ‘:!:’ [infix 2] in the same infix expression
|
82 | go (S.Just x' :!: si :!: so) x | x' eq x = (S.Just x :!: pi si x :!: so)
| ^^

src/LeftFold.hs:82:57: error:
Precedence parsing error
cannot mix ‘:!:’ [infix 2] and ‘:!:’ [infix 2] in the same infix expression
|
82 | go (S.Just x' :!: si :!: so) x | x' eq x = (S.Just x :!: pi si x :!: so)
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^

src/LeftFold.hs:83:57: error:
Precedence parsing error
cannot mix ‘:!:’ [infix 2] and ‘:!:’ [infix 2] in the same infix expression
|
83 | | otherwise = (S.Just x :!: pi sti x :!: po so (fi si))
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

src/LeftFold.hs:84:40: error:
Precedence parsing error
cannot mix ‘:!:’ [infix 2] and ‘:!:’ [infix 2] in the same infix expression
|
84 | finish (S.Nothing :!: si :!: so) = fo so
| ^^

src/LeftFold.hs:85:40: error:
Precedence parsing error
cannot mix ‘:!:’ [infix 2] and ‘:!:’ [infix 2] in the same infix expression
|
85 | finish (S.Just _ :!: si :!: so) = fo (po so (fi si))
| ^^

Haskell GHC version : The Glorious Glasgow Haskell Compilation System, version 8.10.2

kernel : Linux L580 5.8.1-arch1-1 #1 SMP PREEMPT Wed, 12 Aug 2020 18:50:43 +0000

Comments (2)

  1. nomeata repo owner

    Thanks for the report. It seems that strict-0.4 broke this. A quick way out is to pass --constraint strict <0.4 to cabal

  2. Log in to comment