*** setup configure setup/setup configure --ghc --user --prefix=/usr/local/tmp/archive/install --haddock-option=--use-contents=http://hackage.haskell.org/package/Pugs-6.2.13.10 --verbose Warning: defaultUserHooks in Setup script is deprecated. Configuring Pugs-6.2.13.10... Flags chosen: perl5=True Dependency HsParrot >=0.0.2: using HsParrot-0.0.2 Dependency HsSyck >=0.44: using HsSyck-0.45 Dependency MetaObject >=0.0.4: using MetaObject-0.0.6 Dependency array -any: using array-0.2.0.0 Dependency base -any: using base-4.1.0.0 Dependency binary -any: using binary-0.5.0.1 Dependency bytestring -any: using bytestring-0.9.1.4 Dependency containers -any: using containers-0.2.0.1 Dependency directory -any: using directory-1.0.0.3 Dependency filepath -any: using filepath-1.1.0.2 Dependency haskeline >=0.2.1: using haskeline-0.6.1.6 Dependency haskell98 -any: using haskell98-1.0.1.0 Dependency mtl -any: using mtl-1.1.0.2 Dependency network -any: using network-2.2.1.4 Dependency parsec <3.0.0: using parsec-2.1.0.1 Dependency pretty -any: using pretty-1.0.1.0 Dependency process -any: using process-1.0.1.1 Dependency pugs-DrIFT >=2.2.3.0: using pugs-DrIFT-2.2.3.1 Dependency pugs-compat >=0.0.5: using pugs-compat-0.0.6 Dependency random -any: using random-1.0.0.1 Dependency stm -any: using stm-2.1.1.2 Dependency stringtable-atom >=0.0.4: using stringtable-atom-0.0.6 Dependency time -any: using time-1.1.4 Dependency utf8-string -any: using utf8-string-0.3.5 Warning: This package indirectly depends on multiple versions of the same package. This is highly likely to cause a compile failure. package pugs-DrIFT-2.2.3.0 requires HsSyck-0.44 package HsParrot-0.0.2 requires HsSyck-0.44 package pugs-DrIFT-2.2.3.1 requires HsSyck-0.45 package Pugs-6.2.13.10 requires HsSyck-0.45 package pugs-compat-0.0.6 requires network-2.2.1 package Pugs-6.2.13.10 requires network-2.2.1.4 package Pugs-6.2.13.10 requires parsec-2.1.0.1 package network-2.2.1.4 requires parsec-3.0.0 package network-2.2.1 requires parsec-3.0.0 package HsParrot-0.0.2 requires pugs-DrIFT-2.2.3.0 package Pugs-6.2.13.10 requires pugs-DrIFT-2.2.3.1 package pugs-compat-0.0.6 requires time-1.1.2.3 package Pugs-6.2.13.10 requires time-1.1.4 package pugs-compat-0.0.6 requires utf8-string-0.3.4 package pugs-DrIFT-2.2.3.0 requires utf8-string-0.3.4 package pugs-DrIFT-2.2.3.1 requires utf8-string-0.3.5 package haskeline-0.6.1.6 requires utf8-string-0.3.5 package Pugs-6.2.13.10 requires utf8-string-0.3.5 Using Cabal-1.6.0.1 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/Pugs-6.2.13.10/ghc-6.10.2 Private binaries installed in: /usr/local/tmp/archive/install/libexec Data files installed in: /usr/local/tmp/archive/install/share/Pugs-6.2.13.10 Documentation installed in: /usr/local/tmp/archive/install/share/doc/Pugs-6.2.13.10 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 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 *** setup build setup/setup build --verbose Reading parameters from ./Pugs.buildinfo Creating dist/build (and its parents) Creating dist/build/autogen (and its parents) Preprocessing executables for Pugs-6.2.13.10... Building Pugs-6.2.13.10... Building executable: pugs... Creating dist/build/pugs (and its parents) Creating dist/build/pugs/pugs-tmp (and its parents) Building C Sources. Creating dist/build/pugs/pugs-tmp (and its parents) /usr/local/bin/ghc -I/usr/lib/perl/5.10/CORE -package HsParrot-0.0.2 -package HsSyck-0.45 -package MetaObject-0.0.6 -package array-0.2.0.0 -package base-4.1.0.0 -package binary-0.5.0.1 -package bytestring-0.9.1.4 -package containers-0.2.0.1 -package directory-1.0.0.3 -package filepath-1.1.0.2 -package haskeline-0.6.1.6 -package haskell98-1.0.1.0 -package mtl-1.1.0.2 -package network-2.2.1.4 -package parsec-2.1.0.1 -package pretty-1.0.1.0 -package process-1.0.1.1 -package pugs-DrIFT-2.2.3.1 -package pugs-compat-0.0.6 -package random-1.0.0.1 -package stm-2.1.1.2 -package stringtable-atom-0.0.6 -package time-1.1.4 -package utf8-string-0.3.5 -optc-D_REENTRANT -optc-D_GNU_SOURCE -optc-DDEBIAN -optc-fno-strict-aliasing -optc-pipe -optc-I/usr/local/include -optc-D_LARGEFILE_SOURCE -optc-D_FILE_OFFSET_BITS=64 -optc-I/usr/lib/perl/5.10/CORE -optc-O2 -odir dist/build/pugs/pugs-tmp -c cbits/Prelude_pm.c Creating dist/build/pugs/pugs-tmp (and its parents) /usr/local/bin/ghc -I/usr/lib/perl/5.10/CORE -package HsParrot-0.0.2 -package HsSyck-0.45 -package MetaObject-0.0.6 -package array-0.2.0.0 -package base-4.1.0.0 -package binary-0.5.0.1 -package bytestring-0.9.1.4 -package containers-0.2.0.1 -package directory-1.0.0.3 -package filepath-1.1.0.2 -package haskeline-0.6.1.6 -package haskell98-1.0.1.0 -package mtl-1.1.0.2 -package network-2.2.1.4 -package parsec-2.1.0.1 -package pretty-1.0.1.0 -package process-1.0.1.1 -package pugs-DrIFT-2.2.3.1 -package pugs-compat-0.0.6 -package random-1.0.0.1 -package stm-2.1.1.2 -package stringtable-atom-0.0.6 -package time-1.1.4 -package utf8-string-0.3.5 -optc-D_REENTRANT -optc-D_GNU_SOURCE -optc-DDEBIAN -optc-fno-strict-aliasing -optc-pipe -optc-I/usr/local/include -optc-D_LARGEFILE_SOURCE -optc-D_FILE_OFFSET_BITS=64 -optc-I/usr/lib/perl/5.10/CORE -optc-O2 -odir dist/build/pugs/pugs-tmp -c cbits/Test_pm.c Creating dist/build/pugs/pugs-tmp (and its parents) /usr/local/bin/ghc -I/usr/lib/perl/5.10/CORE -package HsParrot-0.0.2 -package HsSyck-0.45 -package MetaObject-0.0.6 -package array-0.2.0.0 -package base-4.1.0.0 -package binary-0.5.0.1 -package bytestring-0.9.1.4 -package containers-0.2.0.1 -package directory-1.0.0.3 -package filepath-1.1.0.2 -package haskeline-0.6.1.6 -package haskell98-1.0.1.0 -package mtl-1.1.0.2 -package network-2.2.1.4 -package parsec-2.1.0.1 -package pretty-1.0.1.0 -package process-1.0.1.1 -package pugs-DrIFT-2.2.3.1 -package pugs-compat-0.0.6 -package random-1.0.0.1 -package stm-2.1.1.2 -package stringtable-atom-0.0.6 -package time-1.1.4 -package utf8-string-0.3.5 -optc-D_REENTRANT -optc-D_GNU_SOURCE -optc-DDEBIAN -optc-fno-strict-aliasing -optc-pipe -optc-I/usr/local/include -optc-D_LARGEFILE_SOURCE -optc-D_FILE_OFFSET_BITS=64 -optc-I/usr/lib/perl/5.10/CORE -optc-O2 -odir dist/build/pugs/pugs-tmp -c perl5/p5embed.c /usr/local/bin/ghc -o dist/build/pugs/pugs --make -hide-all-packages -i -idist/build/pugs/pugs-tmp -isrc -idist/build/autogen -Idist/build/autogen -Idist/build/pugs/pugs-tmp -I/usr/lib/perl/5.10/CORE -optP-DPUGS_HAVE_PERL5=1 -optP-include -optPdist/build/autogen/cabal_macros.h -#include "perl5/p5embed.h" -odir dist/build/pugs/pugs-tmp -hidir dist/build/pugs/pugs-tmp -stubdir dist/build/pugs/pugs-tmp -package HsParrot-0.0.2 -package HsSyck-0.45 -package MetaObject-0.0.6 -package array-0.2.0.0 -package base-4.1.0.0 -package binary-0.5.0.1 -package bytestring-0.9.1.4 -package containers-0.2.0.1 -package directory-1.0.0.3 -package filepath-1.1.0.2 -package haskeline-0.6.1.6 -package haskell98-1.0.1.0 -package mtl-1.1.0.2 -package network-2.2.1.4 -package parsec-2.1.0.1 -package pretty-1.0.1.0 -package process-1.0.1.1 -package pugs-DrIFT-2.2.3.1 -package pugs-compat-0.0.6 -package random-1.0.0.1 -package stm-2.1.1.2 -package stringtable-atom-0.0.6 -package time-1.1.4 -package utf8-string-0.3.5 -O -I/usr/local/tmp/archive/build/Pugs-6.2.13.10 -optc-D_REENTRANT -optc-D_GNU_SOURCE -optc-DDEBIAN -optc-fno-strict-aliasing -optc-pipe -optc-I/usr/local/include -optc-D_LARGEFILE_SOURCE -optc-D_FILE_OFFSET_BITS=64 -optc-I/usr/lib/perl/5.10/CORE -optl-Wl,-E -optl-L/usr/local/lib -optl-L/usr/lib/perl/5.10/CORE -optl-lperl -optl-ldl -optl-lm -optl-lpthread -optl-lc -optl-lcrypt -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/lib/perl/5.10/CORE -L/usr/local/lib -L/usr/lib/perl/5.10/CORE dist/build/pugs/pugs-tmp/cbits/Prelude_pm.o dist/build/pugs/pugs-tmp/cbits/Test_pm.o dist/build/pugs/pugs-tmp/perl5/p5embed.o src/Main.hs -Wl,-E -L/usr/local/lib -L/usr/lib/perl/5.10/CORE -lperl -ldl -lm -lpthread -lc -lcrypt ghc: unrecognised flags: -Wl,-E Usage: For basic information, try the `--help' option. *** Trying again with preferred-versions *** setup configure setup/setup configure --ghc --user --prefix=/usr/local/tmp/archive/install --haddock-option=--use-contents=http://hackage.haskell.org/package/Pugs-6.2.13.10 --constraint=base<4 --constraint=parsec<3 --constraint=HaXml==1.13.* --constraint=QuickCheck<2 --verbose Warning: defaultUserHooks in Setup script is deprecated. Configuring Pugs-6.2.13.10... Flags chosen: perl5=True Dependency HsParrot >=0.0.2: using HsParrot-0.0.2 Dependency HsSyck >=0.44: using HsSyck-0.45 Dependency MetaObject >=0.0.4: using MetaObject-0.0.6 Dependency array -any: using array-0.2.0.0 Dependency base -any && <4: using base-3.0.3.1 Dependency binary -any: using binary-0.5.0.1 Dependency bytestring -any: using bytestring-0.9.1.4 Dependency containers -any: using containers-0.2.0.1 Dependency directory -any: using directory-1.0.0.3 Dependency filepath -any: using filepath-1.1.0.2 Dependency haskeline >=0.2.1: using haskeline-0.6.1.6 Dependency haskell98 -any: using haskell98-1.0.1.0 Dependency mtl -any: using mtl-1.1.0.2 Dependency network -any: using network-2.2.1.4 Dependency parsec <3.0.0 && <3: using parsec-2.1.0.1 Dependency pretty -any: using pretty-1.0.1.0 Dependency process -any: using process-1.0.1.1 Dependency pugs-DrIFT >=2.2.3.0: using pugs-DrIFT-2.2.3.1 Dependency pugs-compat >=0.0.5: using pugs-compat-0.0.6 Dependency random -any: using random-1.0.0.1 Dependency stm -any: using stm-2.1.1.2 Dependency stringtable-atom >=0.0.4: using stringtable-atom-0.0.6 Dependency time -any: using time-1.1.4 Dependency utf8-string -any: using utf8-string-0.3.5 Warning: This package indirectly depends on multiple versions of the same package. This is highly likely to cause a compile failure. package pugs-DrIFT-2.2.3.0 requires HsSyck-0.44 package HsParrot-0.0.2 requires HsSyck-0.44 package pugs-DrIFT-2.2.3.1 requires HsSyck-0.45 package Pugs-6.2.13.10 requires HsSyck-0.45 package pugs-compat-0.0.6 requires network-2.2.1 package Pugs-6.2.13.10 requires network-2.2.1.4 package Pugs-6.2.13.10 requires parsec-2.1.0.1 package network-2.2.1.4 requires parsec-3.0.0 package network-2.2.1 requires parsec-3.0.0 package HsParrot-0.0.2 requires pugs-DrIFT-2.2.3.0 package Pugs-6.2.13.10 requires pugs-DrIFT-2.2.3.1 package pugs-compat-0.0.6 requires time-1.1.2.3 package Pugs-6.2.13.10 requires time-1.1.4 package pugs-compat-0.0.6 requires utf8-string-0.3.4 package pugs-DrIFT-2.2.3.0 requires utf8-string-0.3.4 package pugs-DrIFT-2.2.3.1 requires utf8-string-0.3.5 package haskeline-0.6.1.6 requires utf8-string-0.3.5 package Pugs-6.2.13.10 requires utf8-string-0.3.5 Using Cabal-1.6.0.1 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/Pugs-6.2.13.10/ghc-6.10.2 Private binaries installed in: /usr/local/tmp/archive/install/libexec Data files installed in: /usr/local/tmp/archive/install/share/Pugs-6.2.13.10 Documentation installed in: /usr/local/tmp/archive/install/share/doc/Pugs-6.2.13.10 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 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 *** setup build setup/setup build --verbose Reading parameters from ./Pugs.buildinfo Creating dist/build (and its parents) Creating dist/build/autogen (and its parents) Preprocessing executables for Pugs-6.2.13.10... Building Pugs-6.2.13.10... Building executable: pugs... Creating dist/build/pugs (and its parents) Creating dist/build/pugs/pugs-tmp (and its parents) Building C Sources. Creating dist/build/pugs/pugs-tmp (and its parents) /usr/local/bin/ghc -I/usr/lib/perl/5.10/CORE -package HsParrot-0.0.2 -package HsSyck-0.45 -package MetaObject-0.0.6 -package array-0.2.0.0 -package base-3.0.3.1 -package binary-0.5.0.1 -package bytestring-0.9.1.4 -package containers-0.2.0.1 -package directory-1.0.0.3 -package filepath-1.1.0.2 -package haskeline-0.6.1.6 -package haskell98-1.0.1.0 -package mtl-1.1.0.2 -package network-2.2.1.4 -package parsec-2.1.0.1 -package pretty-1.0.1.0 -package process-1.0.1.1 -package pugs-DrIFT-2.2.3.1 -package pugs-compat-0.0.6 -package random-1.0.0.1 -package stm-2.1.1.2 -package stringtable-atom-0.0.6 -package time-1.1.4 -package utf8-string-0.3.5 -optc-D_REENTRANT -optc-D_GNU_SOURCE -optc-DDEBIAN -optc-fno-strict-aliasing -optc-pipe -optc-I/usr/local/include -optc-D_LARGEFILE_SOURCE -optc-D_FILE_OFFSET_BITS=64 -optc-I/usr/lib/perl/5.10/CORE -optc-O2 -odir dist/build/pugs/pugs-tmp -c cbits/Prelude_pm.c Creating dist/build/pugs/pugs-tmp (and its parents) /usr/local/bin/ghc -I/usr/lib/perl/5.10/CORE -package HsParrot-0.0.2 -package HsSyck-0.45 -package MetaObject-0.0.6 -package array-0.2.0.0 -package base-3.0.3.1 -package binary-0.5.0.1 -package bytestring-0.9.1.4 -package containers-0.2.0.1 -package directory-1.0.0.3 -package filepath-1.1.0.2 -package haskeline-0.6.1.6 -package haskell98-1.0.1.0 -package mtl-1.1.0.2 -package network-2.2.1.4 -package parsec-2.1.0.1 -package pretty-1.0.1.0 -package process-1.0.1.1 -package pugs-DrIFT-2.2.3.1 -package pugs-compat-0.0.6 -package random-1.0.0.1 -package stm-2.1.1.2 -package stringtable-atom-0.0.6 -package time-1.1.4 -package utf8-string-0.3.5 -optc-D_REENTRANT -optc-D_GNU_SOURCE -optc-DDEBIAN -optc-fno-strict-aliasing -optc-pipe -optc-I/usr/local/include -optc-D_LARGEFILE_SOURCE -optc-D_FILE_OFFSET_BITS=64 -optc-I/usr/lib/perl/5.10/CORE -optc-O2 -odir dist/build/pugs/pugs-tmp -c cbits/Test_pm.c Creating dist/build/pugs/pugs-tmp (and its parents) /usr/local/bin/ghc -I/usr/lib/perl/5.10/CORE -package HsParrot-0.0.2 -package HsSyck-0.45 -package MetaObject-0.0.6 -package array-0.2.0.0 -package base-3.0.3.1 -package binary-0.5.0.1 -package bytestring-0.9.1.4 -package containers-0.2.0.1 -package directory-1.0.0.3 -package filepath-1.1.0.2 -package haskeline-0.6.1.6 -package haskell98-1.0.1.0 -package mtl-1.1.0.2 -package network-2.2.1.4 -package parsec-2.1.0.1 -package pretty-1.0.1.0 -package process-1.0.1.1 -package pugs-DrIFT-2.2.3.1 -package pugs-compat-0.0.6 -package random-1.0.0.1 -package stm-2.1.1.2 -package stringtable-atom-0.0.6 -package time-1.1.4 -package utf8-string-0.3.5 -optc-D_REENTRANT -optc-D_GNU_SOURCE -optc-DDEBIAN -optc-fno-strict-aliasing -optc-pipe -optc-I/usr/local/include -optc-D_LARGEFILE_SOURCE -optc-D_FILE_OFFSET_BITS=64 -optc-I/usr/lib/perl/5.10/CORE -optc-O2 -odir dist/build/pugs/pugs-tmp -c perl5/p5embed.c /usr/local/bin/ghc -o dist/build/pugs/pugs --make -hide-all-packages -i -idist/build/pugs/pugs-tmp -isrc -idist/build/autogen -Idist/build/autogen -Idist/build/pugs/pugs-tmp -I/usr/lib/perl/5.10/CORE -optP-DPUGS_HAVE_PERL5=1 -optP-include -optPdist/build/autogen/cabal_macros.h -#include "perl5/p5embed.h" -odir dist/build/pugs/pugs-tmp -hidir dist/build/pugs/pugs-tmp -stubdir dist/build/pugs/pugs-tmp -package HsParrot-0.0.2 -package HsSyck-0.45 -package MetaObject-0.0.6 -package array-0.2.0.0 -package base-3.0.3.1 -package binary-0.5.0.1 -package bytestring-0.9.1.4 -package containers-0.2.0.1 -package directory-1.0.0.3 -package filepath-1.1.0.2 -package haskeline-0.6.1.6 -package haskell98-1.0.1.0 -package mtl-1.1.0.2 -package network-2.2.1.4 -package parsec-2.1.0.1 -package pretty-1.0.1.0 -package process-1.0.1.1 -package pugs-DrIFT-2.2.3.1 -package pugs-compat-0.0.6 -package random-1.0.0.1 -package stm-2.1.1.2 -package stringtable-atom-0.0.6 -package time-1.1.4 -package utf8-string-0.3.5 -O -I/usr/local/tmp/archive/build/Pugs-6.2.13.10 -optc-D_REENTRANT -optc-D_GNU_SOURCE -optc-DDEBIAN -optc-fno-strict-aliasing -optc-pipe -optc-I/usr/local/include -optc-D_LARGEFILE_SOURCE -optc-D_FILE_OFFSET_BITS=64 -optc-I/usr/lib/perl/5.10/CORE -optl-Wl,-E -optl-L/usr/local/lib -optl-L/usr/lib/perl/5.10/CORE -optl-lperl -optl-ldl -optl-lm -optl-lpthread -optl-lc -optl-lcrypt -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/lib/perl/5.10/CORE -L/usr/local/lib -L/usr/lib/perl/5.10/CORE dist/build/pugs/pugs-tmp/cbits/Prelude_pm.o dist/build/pugs/pugs-tmp/cbits/Test_pm.o dist/build/pugs/pugs-tmp/perl5/p5embed.o src/Main.hs -Wl,-E -L/usr/local/lib -L/usr/lib/perl/5.10/CORE -lperl -ldl -lm -lpthread -lc -lcrypt ghc: unrecognised flags: -Wl,-E Usage: For basic information, try the `--help' option.