*** setup configure Configuring cabal2doap-0.2... Dependency Cabal >=1.6: using Cabal-1.7.0 Dependency base >=3 && <4: using base-3.0.3.1 Dependency hsemail >=1.1: using hsemail-1.3 Dependency hxt -any: using hxt-8.3.1 Dependency parsec -any: using parsec-3.0.0 Dependency process -any: using process-1.0.1.1 Warning: This package indirectly depends on multiple versions of the same package. This is highly likely to cause a compile failure. package hxt-8.3.1 requires parsec-2.1.0.1 package network-2.2.1.4 requires parsec-3.0.0 package hsemail-1.3 requires parsec-3.0.0 package cabal2doap-0.2 requires parsec-3.0.0 Using Cabal-1.7.0 compiled by ghc-6.10 Using compiler: ghc-6.10.2 Using install prefix: /usr/local/tmp/archive/install Binaries installed in: /usr/local/tmp/archive/install/bin Libraries installed in: /usr/local/tmp/archive/install/lib/cabal2doap-0.2/ghc-6.10.2 Private binaries installed in: /usr/local/tmp/archive/install/libexec Data files installed in: /usr/local/tmp/archive/install/share/cabal2doap-0.2 Documentation installed in: /usr/local/tmp/archive/install/share/doc/cabal2doap-0.2 Using alex version 2.2 found on system at: /usr/bin/alex Using ar found on system at: /usr/bin/ar Using c2hs version 0.16.0 found on system at: /usr/local/bin/c2hs Using cpphs version 0.7 found on system at: /usr/bin/cpphs Using ffihugs found on system at: /usr/local/bin/ffihugs Using gcc version 4.3.3 found on system at: /usr/bin/gcc Using ghc version 6.10.2 found on system at: /usr/local/bin/ghc Using ghc-pkg version 6.10.2 found on system at: /usr/local/bin/ghc-pkg Using greencard found on system at: /usr/local/tmp/archive/install/bin/greencard Using haddock version 2.4.2 found on system at: /usr/local/bin/haddock Using happy version 1.17 found on system at: /usr/local/bin/happy No hmake found Using hsc2hs version 0.67 found on system at: /usr/local/bin/hsc2hs Using hscolour version 1.9 found on system at: /usr/local/bin/HsColour Using hugs found on system at: /usr/local/bin/hugs No jhc found Using ld found on system at: /usr/bin/ld No lhc found No nhc98 found Using pkg-config version 0.22 found on system at: /usr/bin/pkg-config 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 /usr/bin/gcc /tmp/23777.c -o /tmp/23777 -D__GLASGOW_HASKELL__=610 -I. -I/usr/local/tmp/archive/install/lib/network-2.2.1.4/ghc-6.10.2/include -I/usr/local/lib/ghc-6.10.2/bytestring-0.9.1.4/include -I/usr/local/lib/ghc-6.10.2/process-1.0.1.1/include -I/usr/local/lib/ghc-6.10.2/directory-1.0.0.3/include -I/usr/local/lib/ghc-6.10.2/unix-2.3.2.0/include -I/usr/local/lib/ghc-6.10.2/old-time-1.0.0.2/include -I/usr/local/lib/ghc-6.10.2/base-4.1.0.0/include -I/usr/local/lib/ghc-6.10.2/include -IPAPI_INCLUDE_DIR *** setup build Creating dist/build (and its parents) Creating dist/build/autogen (and its parents) Preprocessing executables for cabal2doap-0.2... Building cabal2doap-0.2... Building executable: cabal2doap... Creating dist/build/cabal2doap (and its parents) Creating dist/build/cabal2doap/cabal2doap-tmp (and its parents) /usr/local/bin/ghc -o dist/build/cabal2doap/cabal2doap --make -hide-all-packages -i -idist/build/cabal2doap/cabal2doap-tmp -i. -idist/build/autogen -Idist/build/autogen -Idist/build/cabal2doap/cabal2doap-tmp -optP-include -optPdist/build/autogen/cabal_macros.h -odir dist/build/cabal2doap/cabal2doap-tmp -hidir dist/build/cabal2doap/cabal2doap-tmp -stubdir dist/build/cabal2doap/cabal2doap-tmp -package Cabal-1.7.0 -package base-3.0.3.1 -package hsemail-1.3 -package hxt-8.3.1 -package parsec-3.0.0 -package process-1.0.1.1 -O ./cabal2doap.hs [1 of 1] Compiling Main ( cabal2doap.hs, dist/build/cabal2doap/cabal2doap-tmp/Main.o ) cabal2doap.hs:127:6: Constructor `GPL' should have 1 argument, but has been given 0 In the pattern: GPL In a case alternative: GPL -> Just (mkqelem licenseQ [sqattr rdfresQ "http://usefulinc.com/doap/licenses/gpl"] []) In the expression: case l of { GPL -> Just (mkqelem licenseQ [sqattr rdfresQ "http://usefulinc.com/doap/licenses/gpl"] []) LGPL -> Just (mkqelem licenseQ [sqattr rdfresQ "http://usefulinc.com/doap/licenses/lgpl"] []) BSD3 -> Just (mkqelem licenseQ [sqattr rdfresQ "http://usefulinc.com/doap/licenses/bsd"] []) BSD4 -> Nothing PublicDomain -> Nothing AllRightsReserved -> Nothing OtherLicense -> Nothing UnknownLicense n -> Nothing } *** Trying again with preferred-versions *** setup configure Configuring cabal2doap-0.2... Dependency Cabal >=1.6: using Cabal-1.7.0 Dependency base >=3 && <4 && <4: using base-3.0.3.1 Dependency hsemail >=1.1: using hsemail-1.3 Dependency hxt -any: using hxt-8.3.1 Dependency parsec -any && <3: using parsec-2.1.0.1 Dependency process -any: using process-1.0.1.1 Warning: This package indirectly depends on multiple versions of the same package. This is highly likely to cause a compile failure. package hxt-8.3.1 requires parsec-2.1.0.1 package cabal2doap-0.2 requires parsec-2.1.0.1 package network-2.2.1.4 requires parsec-3.0.0 package hsemail-1.3 requires parsec-3.0.0 Using Cabal-1.7.0 compiled by ghc-6.10 Using compiler: ghc-6.10.2 Using install prefix: /usr/local/tmp/archive/install Binaries installed in: /usr/local/tmp/archive/install/bin Libraries installed in: /usr/local/tmp/archive/install/lib/cabal2doap-0.2/ghc-6.10.2 Private binaries installed in: /usr/local/tmp/archive/install/libexec Data files installed in: /usr/local/tmp/archive/install/share/cabal2doap-0.2 Documentation installed in: /usr/local/tmp/archive/install/share/doc/cabal2doap-0.2 Using alex version 2.2 found on system at: /usr/bin/alex Using ar found on system at: /usr/bin/ar Using c2hs version 0.16.0 found on system at: /usr/local/bin/c2hs Using cpphs version 0.7 found on system at: /usr/bin/cpphs Using ffihugs found on system at: /usr/local/bin/ffihugs Using gcc version 4.3.3 found on system at: /usr/bin/gcc Using ghc version 6.10.2 found on system at: /usr/local/bin/ghc Using ghc-pkg version 6.10.2 found on system at: /usr/local/bin/ghc-pkg Using greencard found on system at: /usr/local/tmp/archive/install/bin/greencard Using haddock version 2.4.2 found on system at: /usr/local/bin/haddock Using happy version 1.17 found on system at: /usr/local/bin/happy No hmake found Using hsc2hs version 0.67 found on system at: /usr/local/bin/hsc2hs Using hscolour version 1.9 found on system at: /usr/local/bin/HsColour Using hugs found on system at: /usr/local/bin/hugs No jhc found Using ld found on system at: /usr/bin/ld No lhc found No nhc98 found Using pkg-config version 0.22 found on system at: /usr/bin/pkg-config 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 /usr/bin/gcc /tmp/23819.c -o /tmp/23819 -D__GLASGOW_HASKELL__=610 -I. -I/usr/local/tmp/archive/install/lib/network-2.2.1.4/ghc-6.10.2/include -I/usr/local/lib/ghc-6.10.2/bytestring-0.9.1.4/include -I/usr/local/lib/ghc-6.10.2/process-1.0.1.1/include -I/usr/local/lib/ghc-6.10.2/directory-1.0.0.3/include -I/usr/local/lib/ghc-6.10.2/unix-2.3.2.0/include -I/usr/local/lib/ghc-6.10.2/old-time-1.0.0.2/include -I/usr/local/lib/ghc-6.10.2/base-4.1.0.0/include -I/usr/local/lib/ghc-6.10.2/include -IPAPI_INCLUDE_DIR *** setup build Creating dist/build (and its parents) Creating dist/build/autogen (and its parents) Preprocessing executables for cabal2doap-0.2... Building cabal2doap-0.2... Building executable: cabal2doap... Creating dist/build/cabal2doap (and its parents) Creating dist/build/cabal2doap/cabal2doap-tmp (and its parents) /usr/local/bin/ghc -o dist/build/cabal2doap/cabal2doap --make -hide-all-packages -i -idist/build/cabal2doap/cabal2doap-tmp -i. -idist/build/autogen -Idist/build/autogen -Idist/build/cabal2doap/cabal2doap-tmp -optP-include -optPdist/build/autogen/cabal_macros.h -odir dist/build/cabal2doap/cabal2doap-tmp -hidir dist/build/cabal2doap/cabal2doap-tmp -stubdir dist/build/cabal2doap/cabal2doap-tmp -package Cabal-1.7.0 -package base-3.0.3.1 -package hsemail-1.3 -package hxt-8.3.1 -package parsec-2.1.0.1 -package process-1.0.1.1 -O ./cabal2doap.hs [1 of 1] Compiling Main ( cabal2doap.hs, dist/build/cabal2doap/cabal2doap-tmp/Main.o ) cabal2doap.hs:106:30: Couldn't match expected type `Text.ParserCombinators.Parsec.Prim.GenParser tok () a' against inferred type `parsec-3.0.0:Text.ParserCombinators.Parsec.Char.CharParser a1 [NameAddr]' In the first argument of `parse', namely `mailbox_list' In the expression: parse mailbox_list "maintainers" m In the definition of `mboxes_parsed': mboxes_parsed = parse mailbox_list "maintainers" m cabal2doap.hs:127:6: Constructor `GPL' should have 1 argument, but has been given 0 In the pattern: GPL In a case alternative: GPL -> Just (mkqelem licenseQ [sqattr rdfresQ "http://usefulinc.com/doap/licenses/gpl"] []) In the expression: case l of { GPL -> Just (mkqelem licenseQ [sqattr rdfresQ "http://usefulinc.com/doap/licenses/gpl"] []) LGPL -> Just (mkqelem licenseQ [sqattr rdfresQ "http://usefulinc.com/doap/licenses/lgpl"] []) BSD3 -> Just (mkqelem licenseQ [sqattr rdfresQ "http://usefulinc.com/doap/licenses/bsd"] []) BSD4 -> Nothing PublicDomain -> Nothing AllRightsReserved -> Nothing OtherLicense -> Nothing UnknownLicense n -> Nothing } cabal2doap.hs:208:34: Couldn't match expected type `Text.ParserCombinators.Parsec.Prim.GenParser tok () a' against inferred type `parsec-3.0.0:Text.ParserCombinators.Parsec.Char.CharParser a1 NameAddr' In the first argument of `parse', namely `mailbox' In the first argument of `map', namely `(parse mailbox "developers")' In the expression: map (parse mailbox "developers") (nub res)