Configuring transf-0.10... Dependency async ==2.0.1.4: using async-2.0.1.4 Dependency base ==4.6.0.1: using base-4.6.0.1 Dependency containers ==0.5.0.0: using containers-0.5.0.0 Dependency data-default ==0.5.3: using data-default-0.5.3 Dependency filepath ==1.3.0.1: using filepath-1.3.0.1 Dependency hashable ==1.2.1.0: using hashable-1.2.1.0 Dependency hint ==0.3.3.7: using hint-0.3.3.7 Dependency monadplus ==1.4.2: using monadplus-1.4.2 Dependency mtl ==2.1.2: using mtl-2.1.2 Dependency music-preludes ==1.3.1: using music-preludes-1.3.1 Dependency process ==1.1.0.2: using process-1.1.0.2 Dependency semigroups ==0.11: using semigroups-0.11 Using Cabal-1.16.0.3 compiled by ghc-7.6 Using compiler: ghc-7.6.3 Using install prefix: /srv/hackage/var/build/cache/inst Binaries installed in: /srv/hackage/var/build/cache/inst/bin Libraries installed in: /srv/hackage/var/build/cache/inst/lib/transf-0.10/ghc-7.6.3 Private binaries installed in: /srv/hackage/var/build/cache/inst/libexec Data files installed in: /srv/hackage/var/build/cache/inst/share/transf-0.10 Documentation installed in: /srv/hackage/var/build/cache/inst/share/doc/transf-0.10 Using alex version 3.0.1 found on system at: /usr/bin/alex Using ar found on system at: /usr/bin/ar No c2hs found No cpphs found No ffihugs found Using gcc version 4.7 found on system at: /usr/bin/gcc Using ghc version 7.6.3 found on system at: /usr/local/bin/ghc Using ghc-pkg version 7.6.3 found on system at: /usr/local/bin/ghc-pkg No greencard found Using haddock version 2.13.2 found on system at: /usr/local/bin/haddock Using happy version 1.18.9 found on system at: /usr/bin/happy No hmake found Using hpc version 0.6 found on system at: /usr/local/bin/hpc Using hsc2hs version 0.67 found on system at: /usr/local/bin/hsc2hs Using hscolour version 1.19 found on system at: /usr/bin/HsColour No hugs found No jhc found Using ld found on system at: /usr/bin/ld No lhc found No lhc-pkg found No nhc98 found No pkg-config found Using ranlib found on system at: /usr/bin/ranlib Using strip found on system at: /usr/bin/strip Using tar found on system at: /bin/tar No uhc found creating dist/build creating dist/build/autogen Building transf-0.10... Preprocessing executable 'transf' for transf-0.10... Building executable transf... creating dist/build/transf creating dist/build/transf/transf-tmp /usr/local/bin/ghc --make -fbuilding-cabal-package -odir dist/build/transf/transf-tmp -hidir dist/build/transf/transf-tmp -stubdir dist/build/transf/transf-tmp -i -idist/build/transf/transf-tmp -isrc -idist/build/autogen -Idist/build/autogen -Idist/build/transf/transf-tmp -optP-include -optPdist/build/autogen/cabal_macros.h -hide-all-packages -package-db /srv/hackage/var/build/cache/inst/local.conf.d -package-db dist/package.conf.inplace -package-id async-2.0.1.4-f26c9df3926cdfd5ad6b78ed2e6f35eb -package-id base-4.6.0.1-8aa5d403c45ea59dcd2c39f123e27d57 -package-id containers-0.5.0.0-ab1dae9a94cd3cc84e7b2805636ebfa2 -package-id data-default-0.5.3-571b4c93f2c33191dde4f7b2f33babef -package-id filepath-1.3.0.1-b12cbe18566fe1532a1fda4c85e31cbe -package-id hashable-1.2.1.0-3890945545912419756ce085333d6da6 -package-id hint-0.3.3.7-249ecf1a535c585c6a396df29930fb06 -package-id monadplus-1.4.2-14e6fe68343491af693a97d755a018d2 -package-id mtl-2.1.2-94c72af955e94b8d7b2f359dadd0cb62 -package-id music-preludes-1.3.1-a89d5c21f257d41a6f278f1734022aec -package-id process-1.1.0.2-76e05340eb66705981411022731ca84a -package-id semigroups-0.11-e22d41f7060ef540a1165947bb3a57fe -XHaskell98 src/Main.hs -o dist/build/transf/transf -O3 -threaded -O0 [1 of 3] Compiling Text.Transf ( src/Text/Transf.hs, dist/build/transf/transf-tmp/Text/Transf.o ) src/Text/Transf.hs:345:14: No instance for (Typeable music-pitch-1.3.1:Music.Pitch.Relative.Pitch.Pitch) arising from a use of `eval' Possible fix: add an instance declaration for (Typeable music-pitch-1.3.1:Music.Pitch.Relative.Pitch.Pitch) In a stmt of a 'do' block: music <- eval input :: Context (Music.Score Music.Note) In the expression: do { let name = showHex (abs $ hash input) ""; music <- eval input :: Context (Music.Score Music.Note); liftIO $ Music.writeLy (name ++ ".ly") music; liftIO $ Music.writeMidi (name ++ ".mid") music; .... } In the second argument of `($)', namely `\ input -> do { let ...; music <- eval input :: Context (Music.Score Music.Note); .... }' src/Text/Transf.hs:347:14: No instance for (Music.HasLilypond music-pitch-1.3.1:Music.Pitch.Relative.Pitch.Pitch) arising from a use of `Music.writeLy' Possible fix: add an instance declaration for (Music.HasLilypond music-pitch-1.3.1:Music.Pitch.Relative.Pitch.Pitch) In the second argument of `($)', namely `Music.writeLy (name ++ ".ly") music' In a stmt of a 'do' block: liftIO $ Music.writeLy (name ++ ".ly") music In the expression: do { let name = showHex (abs $ hash input) ""; music <- eval input :: Context (Music.Score Music.Note); liftIO $ Music.writeLy (name ++ ".ly") music; liftIO $ Music.writeMidi (name ++ ".mid") music; .... } src/Text/Transf.hs:348:14: No instance for (Music.HasMidi music-pitch-1.3.1:Music.Pitch.Relative.Pitch.Pitch) arising from a use of `Music.writeMidi' Possible fix: add an instance declaration for (Music.HasMidi music-pitch-1.3.1:Music.Pitch.Relative.Pitch.Pitch) In the second argument of `($)', namely `Music.writeMidi (name ++ ".mid") music' In a stmt of a 'do' block: liftIO $ Music.writeMidi (name ++ ".mid") music In the expression: do { let name = showHex (abs $ hash input) ""; music <- eval input :: Context (Music.Score Music.Note); liftIO $ Music.writeLy (name ++ ".ly") music; liftIO $ Music.writeMidi (name ++ ".mid") music; .... }