fumieval / free-game

The free game engine
http://hackage.haskell.org/package/free-game
BSD 3-Clause "New" or "Revised" License
64 stars 15 forks source link

Expecting one more argument to ‘Color’ #38

Closed Fuuzetsu closed 9 years ago

Fuuzetsu commented 9 years ago
building path(s) ‘/nix/store/if63i3c6nrkwv62g2zs79n36yzjw4ajp-haskell-free-game-1.1.80’
setupCompilerEnvironmentPhase
Building with /nix/store/g95aa9gcy3g1ml3c8pw6769ifbl20l3c-ghc-7.8.4.
unpacking sources
unpacking source archive /nix/store/3nx2kb552brjvvh9i2hq38yjx9rx0vn2-free-game-1.1.80.tar.gz
source root is free-game-1.1.80
patching sources
jailbreakPhase
Running jailbreak-cabal to lift version restrictions on build inputs.
compileBuildDriverPhase
setupCompileFlags: -package-db=/tmp/nix-build-haskell-free-game-1.1.80.drv-0/package.conf.d -j1
[1 of 1] Compiling Main             ( Setup.hs, /tmp/nix-build-haskell-free-game-1.1.80.drv-0/Main.o )
Linking Setup ...
configuring
configureFlags: --verbose --prefix=/nix/store/if63i3c6nrkwv62g2zs79n36yzjw4ajp-haskell-free-game-1.1.80 --libdir=$prefix/lib/$compiler --libsubdir=$pkgid --with-gcc=gcc --package-db=/tmp/nix-build-haskell-free-game-1.1.80.drv-0/package.conf.d --ghc-option=-optl=-Wl,-rpath=/nix/store/if63i3c6nrkwv62g2zs79n36yzjw4ajp-haskell-free-game-1.1.80/lib/ghc-7.8.4/free-game-1.1.80 --enable-split-objs --disable-library-profiling --enable-shared --enable-library-vanilla --enable-executable-dynamic --enable-tests
Configuring free-game-1.1.80...
Dependency GLFW-b -any: using GLFW-b-1.4.6
Dependency JuicyPixels -any: using JuicyPixels-3.2.2
Dependency JuicyPixels-util -any: using JuicyPixels-util-0.2
Dependency OpenGL -any: using OpenGL-2.9.2.0
Dependency OpenGLRaw -any: using OpenGLRaw-1.5.0.1
Dependency array -any: using array-0.5.0.0
Dependency base -any: using base-4.7.0.2
Dependency boundingboxes -any: using boundingboxes-0.2.2
Dependency colors -any: using colors-0.3
Dependency containers -any: using containers-0.5.5.1
Dependency control-bool -any: using control-bool-0.2.1
Dependency directory -any: using directory-1.2.1.0
Dependency filepath -any: using filepath-1.3.0.2
Dependency free -any: using free-4.10.0.1
Dependency freetype2 -any: using freetype2-0.1.1
Dependency hashable -any: using hashable-1.2.3.1
Dependency lens -any: using lens-4.7
Dependency linear -any: using linear-1.16.2
Dependency mtl -any: using mtl-2.1.3.1
Dependency random -any: using random-1.1
Dependency reflection -any: using reflection-1.5.1.1
Dependency template-haskell -any: using template-haskell-2.9.0.0
Dependency transformers -any: using transformers-0.3.0.0
Dependency vector -any: using vector-0.10.12.2
Dependency void -any: using void-0.7
/nix/store/g95aa9gcy3g1ml3c8pw6769ifbl20l3c-ghc-7.8.4/bin/ghc --info
Using Cabal-1.18.1.5 compiled by ghc-7.8
Using compiler: ghc-7.8.4
Using install prefix:
/nix/store/if63i3c6nrkwv62g2zs79n36yzjw4ajp-haskell-free-game-1.1.80
Binaries installed in:
/nix/store/if63i3c6nrkwv62g2zs79n36yzjw4ajp-haskell-free-game-1.1.80/bin
Libraries installed in:
/nix/store/if63i3c6nrkwv62g2zs79n36yzjw4ajp-haskell-free-game-1.1.80/lib/ghc-7.8.4/free-game-1.1.80
Private binaries installed in:
/nix/store/if63i3c6nrkwv62g2zs79n36yzjw4ajp-haskell-free-game-1.1.80/libexec
Data files installed in:
/nix/store/if63i3c6nrkwv62g2zs79n36yzjw4ajp-haskell-free-game-1.1.80/share/x86_64-linux-ghc-7.8.4/free-game-1.1.80
Documentation installed in:
/nix/store/if63i3c6nrkwv62g2zs79n36yzjw4ajp-haskell-free-game-1.1.80/share/doc/x86_64-linux-ghc-7.8.4/free-game-1.1.80
Configuration files installed in:
/nix/store/if63i3c6nrkwv62g2zs79n36yzjw4ajp-haskell-free-game-1.1.80/etc
No alex found
Using ar found on system at:
/nix/store/bwfp72pan98zd5jl8fa50y3649rdvrv7-binutils-2.23.1/bin/ar
No c2hs found
No cpphs found
No ffihugs found
Using gcc version 4.8.4 given by user at:
/nix/store/vyasynvcp9jpgbysifya5b4cjknqllb2-gcc-wrapper-4.8.4/bin/gcc
Using ghc version 7.8.4 found on system at:
/nix/store/g95aa9gcy3g1ml3c8pw6769ifbl20l3c-ghc-7.8.4/bin/ghc
Using ghc-pkg version 7.8.4 found on system at:
/nix/store/g95aa9gcy3g1ml3c8pw6769ifbl20l3c-ghc-7.8.4/bin/ghc-pkg
No greencard found
Using haddock version 2.14.3 found on system at:
/nix/store/g95aa9gcy3g1ml3c8pw6769ifbl20l3c-ghc-7.8.4/bin/haddock
No happy found
No hmake found
Using hpc version 0.67 found on system at:
/nix/store/g95aa9gcy3g1ml3c8pw6769ifbl20l3c-ghc-7.8.4/bin/hpc
Using hsc2hs version 0.67 found on system at:
/nix/store/g95aa9gcy3g1ml3c8pw6769ifbl20l3c-ghc-7.8.4/bin/hsc2hs
Using hscolour version 1.20 found on system at:
/nix/store/m85nzw70alrxzs25sxirb79a6m43ddil-hscolour-1.20.3/bin/HsColour
No hugs found
No jhc found
Using ld found on system at:
/nix/store/vyasynvcp9jpgbysifya5b4cjknqllb2-gcc-wrapper-4.8.4/bin/ld
No lhc found
No lhc-pkg found
No nhc98 found
No pkg-config found
Using ranlib found on system at:
/nix/store/bwfp72pan98zd5jl8fa50y3649rdvrv7-binutils-2.23.1/bin/ranlib
Using strip found on system at:
/nix/store/bwfp72pan98zd5jl8fa50y3649rdvrv7-binutils-2.23.1/bin/strip
Using tar found on system at:
/nix/store/w4hplfffmf4yjflr5fxv8af56wmc9czd-gnutar-1.27.1/bin/tar
No uhc found
building
Building free-game-1.1.80...
Preprocessing library free-game-1.1.80...
[ 1 of 12] Compiling FreeGame.Internal.Finalizer ( FreeGame/Internal/Finalizer.hs, dist/build/FreeGame/Internal/Finalizer.o )
[ 2 of 12] Compiling FreeGame.Data.Bitmap ( FreeGame/Data/Bitmap.hs, dist/build/FreeGame/Data/Bitmap.o )
[ 3 of 12] Compiling FreeGame.Types   ( FreeGame/Types.hs, dist/build/FreeGame/Types.o )
[ 4 of 12] Compiling FreeGame.Class   ( FreeGame/Class.hs, dist/build/FreeGame/Class.o )

FreeGame/Class.hs:57:14:
    Expecting one more argument to ‘Color’
    Expected a type, but ‘Color’ has kind ‘* -> *’
    In the type ‘Color -> p a -> p a’
    In the class declaration for ‘Picture2D’
builder for ‘/nix/store/8pb8rd14my67k9p0598akjxs7419s5ik-haskell-free-game-1.1.80.drv’ failed with exit code 1
cannot build derivation ‘/nix/store/a0nixhkrwaqqv5mln0vdhvcdl3acc1ah-ghc-7.8.4.drv’: 1 dependencies couldn't be built
error: build of ‘/nix/store/a0nixhkrwaqqv5mln0vdhvcdl3acc1ah-ghc-7.8.4.drv’ failed
/run/current-system/sw/bin/nix-shell: failed to build all dependencies
fumieval commented 9 years ago

free-game-1.1.80 depends on colors-0.1.* right?

Anyway, I should make it up to date.

Fuuzetsu commented 9 years ago

Ah, correct. Consider this a request for update to recent colors then.

EPashkin commented 9 years ago

Can you publish 1.1.81 with right colors?

EPashkin commented 9 years ago

Current .cabal still give errors i'm try fix it and add PR

EPashkin commented 9 years ago

Problem was only with colors. See fumieval/colors#2 Free-game 1.1.81 can normally published

EPashkin commented 9 years ago

@fumieval, can you publish 1.1.81 on hackage at current state?

fumieval commented 9 years ago

Done.