You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Resolving dependencies...
Configuring transformers-0.3.0.0...
Building transformers-0.3.0.0...
Preprocessing library transformers-0.3.0.0...
:0: warning: "STDC" redefined [enabled by default]
:0: note: this is the location of the previous definition
Control/Monad/Trans/Error.hs:60: error: missing binary operator before token "("
Control/Monad/Trans/Error.hs:71: warning: missing terminating " character [enabled by default]
Control/Monad/Trans/Error.hs:97: error: missing binary operator before token "("
Control/Monad/Trans/Error.hs:146: warning: missing terminating ' character [enabled by default]
Control/Monad/Trans/Error.hs:148: warning: missing terminating ' character [enabled by default]
cabal: Error: some packages failed to install:
transformers-0.3.0.0 failed during the building phase. The exception was:
ExitFailure 1
Due to experiments requiring a different cpp some options passed by default (like -traditional-cpp -std=gnu99) were omitted, breaking building of (apparently some) libraries on some platforms. This has been changed back, the default is now conservative use of the default cpp, which 'should' not break on your platform. Please check/verify this, thanks.
Activity
atzedijkstra commentedon Nov 15, 2012
Due to experiments requiring a different cpp some options passed by default (like -traditional-cpp -std=gnu99) were omitted, breaking building of (apparently some) libraries on some platforms. This has been changed back, the default is now conservative use of the default cpp, which 'should' not break on your platform. Please check/verify this, thanks.
robinp commentedon Dec 18, 2012
Now I get the following errors (uhc head):
~$ cabal --uhc install transformers
Resolving dependencies...
Downloading transformers-0.3.0.0...
Configuring transformers-0.3.0.0...
Building transformers-0.3.0.0...
Preprocessing library transformers-0.3.0.0...
Control/Monad/Trans/Error.hs:60: error: missing binary operator before token "("
Control/Monad/Trans/Error.hs:97: error: missing binary operator before token "("
cabal: Error: some packages failed to install:
transformers-0.3.0.0 failed during the building phase. The exception was:
ExitFailure 1
The offending line seems to be:
#if !(MIN_VERSION_base(4,4,0))
robinp commentedon Dec 22, 2012
When doing cabal --uhc -v install, I can see the following uhc command tries to get executed:
/usr/local/bin/uhc --pkg-build=transformers-0.3.0.0 --hide-all-packages --pkg-searchpath=/usr/local/lib/uhc-1.1.5/lib/pkg --pkg-searchpath=/home/robin/.cabal/lib --package=uhcbase --package=base -idist/build -i. -idist/build/autogen --odir=dist/build -O1 Control/Applicative/Backwards Control/Applicative/Lift Control/Monad/IO/Class Control/Monad/Trans/Class Control/Monad/Trans/Cont Control/Monad/Trans/Error Control/Monad/Trans/Identity Control/Monad/Trans/List Control/Monad/Trans/Maybe Control/Monad/Trans/Reader Control/Monad/Trans/RWS Control/Monad/Trans/RWS/Lazy Control/Monad/Trans/RWS/Strict Control/Monad/Trans/State Control/Monad/Trans/State/Lazy Control/Monad/Trans/State/Strict Control/Monad/Trans/Writer Control/Monad/Trans/Writer/Lazy Control/Monad/Trans/Writer/Strict Data/Functor/Compose Data/Functor/Constant Data/Functor/Identity Data/Functor/Product Data/Functor/Reverse
I don't see any --cpp directives, and when I tried to add one, the result was the same.