Cabal/hsc2hs bug: silly command-line invocation (cabal_macros.h is repeated multiple times)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/home/gman/bin/ghc-7.6.3/bin/hsc2hs --cc=/usr/bin/gcc | |
--ld=/usr/bin/gcc --cflag=-Wl,--hash-size=31 | |
--cflag=-Wl,--reduce-memory-overheads --lflag=-Wl,--hash-size=31 | |
--lflag=-Wl,--reduce-memory-overheads | |
--cflag=-D__GLASGOW_HASKELL__=706 --cflag=-Dlinux_BUILD_OS=1 | |
--cflag=-Di386_BUILD_ARCH=1 --cflag=-Dlinux_HOST_OS=1 | |
--cflag=-Di386_HOST_ARCH=1 --cflag=-IDatabase/HSQL | |
--cflag=-I/usr/include/mysql | |
--cflag=-Idist/dist-sandbox-53474081/build/autogen | |
--cflag=-include | |
--cflag=dist/dist-sandbox-53474081/build/autogen/cabal_macros.h | |
--lflag=-L/usr/lib --lflag=-L/usr/lib/mysql | |
--lflag=-Wl,-R,/usr/lib --lflag=-Wl,-R,/usr/lib/mysql | |
--lflag=-lmysqlclient | |
--cflag=-I/home/gman/bin/ghc-7.6.3/lib/ghc-7.6.3/process-1.1.0.2/include | |
--cflag=-I/home/gman/bin/ghc-7.6.3/lib/ghc-7.6.3/old-time-1.1.0.1/include | |
--cflag=-I/home/gman/bin/ghc-7.6.3/lib/ghc-7.6.3/directory-1.2.0.1/include | |
--cflag=-I/home/gman/bin/ghc-7.6.3/lib/ghc-7.6.3/unix-2.6.0.1/include | |
--cflag=-I/home/gman/bin/ghc-7.6.3/lib/ghc-7.6.3/bytestring-0.10.0.2/include | |
--cflag=-I/home/gman/bin/ghc-7.6.3/lib/ghc-7.6.3/time-1.4.0.1/include | |
--cflag=-I/home/gman/bin/ghc-7.6.3/lib/ghc-7.6.3/base-4.6.0.1/include | |
--cflag=-I/home/gman/bin/ghc-7.6.3/lib/ghc-7.6.3/include | |
--lflag=-L/home/gman/test/hsql-mysql/.cabal-sandbox/lib/i386-linux-ghc-7.6.3/hsql-1.8.2 | |
--lflag=-Wl,-R,/home/gman/test/hsql-mysql/.cabal-sandbox/lib/i386-linux-ghc-7.6.3/hsql-1.8.2 | |
--lflag=-L/home/gman/bin/ghc-7.6.3/lib/ghc-7.6.3/Cabal-1.16.0 | |
--lflag=-Wl,-R,/home/gman/bin/ghc-7.6.3/lib/ghc-7.6.3/Cabal-1.16.0 | |
--lflag=-L/home/gman/bin/ghc-7.6.3/lib/ghc-7.6.3/process-1.1.0.2 | |
--lflag=-Wl,-R,/home/gman/bin/ghc-7.6.3/lib/ghc-7.6.3/process-1.1.0.2 | |
--lflag=-L/home/gman/bin/ghc-7.6.3/lib/ghc-7.6.3/pretty-1.1.1.0 | |
--lflag=-Wl,-R,/home/gman/bin/ghc-7.6.3/lib/ghc-7.6.3/pretty-1.1.1.0 | |
--lflag=-L/home/gman/bin/ghc-7.6.3/lib/ghc-7.6.3/old-time-1.1.0.1 | |
--lflag=-Wl,-R,/home/gman/bin/ghc-7.6.3/lib/ghc-7.6.3/old-time-1.1.0.1 | |
--lflag=-L/home/gman/bin/ghc-7.6.3/lib/ghc-7.6.3/directory-1.2.0.1 | |
--lflag=-Wl,-R,/home/gman/bin/ghc-7.6.3/lib/ghc-7.6.3/directory-1.2.0.1 | |
--lflag=-L/home/gman/bin/ghc-7.6.3/lib/ghc-7.6.3/unix-2.6.0.1 | |
--lflag=-Wl,-R,/home/gman/bin/ghc-7.6.3/lib/ghc-7.6.3/unix-2.6.0.1 | |
--lflag=-lrt --lflag=-lutil --lflag=-ldl | |
--lflag=-L/home/gman/bin/ghc-7.6.3/lib/ghc-7.6.3/bytestring-0.10.0.2 | |
--lflag=-Wl,-R,/home/gman/bin/ghc-7.6.3/lib/ghc-7.6.3/bytestring-0.10.0.2 | |
--lflag=-L/home/gman/bin/ghc-7.6.3/lib/ghc-7.6.3/time-1.4.0.1 | |
--lflag=-Wl,-R,/home/gman/bin/ghc-7.6.3/lib/ghc-7.6.3/time-1.4.0.1 | |
--lflag=-L/home/gman/bin/ghc-7.6.3/lib/ghc-7.6.3/old-locale-1.0.0.5 | |
--lflag=-Wl,-R,/home/gman/bin/ghc-7.6.3/lib/ghc-7.6.3/old-locale-1.0.0.5 | |
--lflag=-L/home/gman/bin/ghc-7.6.3/lib/ghc-7.6.3/filepath-1.3.0.1 | |
--lflag=-Wl,-R,/home/gman/bin/ghc-7.6.3/lib/ghc-7.6.3/filepath-1.3.0.1 | |
--lflag=-L/home/gman/bin/ghc-7.6.3/lib/ghc-7.6.3/containers-0.5.0.0 | |
--lflag=-Wl,-R,/home/gman/bin/ghc-7.6.3/lib/ghc-7.6.3/containers-0.5.0.0 | |
--lflag=-L/home/gman/bin/ghc-7.6.3/lib/ghc-7.6.3/deepseq-1.3.0.1 | |
--lflag=-Wl,-R,/home/gman/bin/ghc-7.6.3/lib/ghc-7.6.3/deepseq-1.3.0.1 | |
--lflag=-L/home/gman/bin/ghc-7.6.3/lib/ghc-7.6.3/array-0.4.0.1 | |
--lflag=-Wl,-R,/home/gman/bin/ghc-7.6.3/lib/ghc-7.6.3/array-0.4.0.1 | |
--lflag=-L/home/gman/bin/ghc-7.6.3/lib/ghc-7.6.3/base-4.6.0.1 | |
--lflag=-Wl,-R,/home/gman/bin/ghc-7.6.3/lib/ghc-7.6.3/base-4.6.0.1 | |
--lflag=-L/home/gman/bin/ghc-7.6.3/lib/ghc-7.6.3/integer-gmp-0.5.0.0 | |
--lflag=-Wl,-R,/home/gman/bin/ghc-7.6.3/lib/ghc-7.6.3/integer-gmp-0.5.0.0 | |
--lflag=-lgmp | |
--lflag=-L/home/gman/bin/ghc-7.6.3/lib/ghc-7.6.3/ghc-prim-0.3.0.0 | |
--lflag=-Wl,-R,/home/gman/bin/ghc-7.6.3/lib/ghc-7.6.3/ghc-prim-0.3.0.0 | |
--lflag=-L/home/gman/bin/ghc-7.6.3/lib/ghc-7.6.3 | |
--lflag=-Wl,-R,/home/gman/bin/ghc-7.6.3/lib/ghc-7.6.3 --lflag=-lm | |
--lflag=-lrt --lflag=-ldl -o | |
dist/dist-sandbox-53474081/build/DB/HSQL/MySQL/Type.hs | |
DB/HSQL/MySQL/Type.hsc |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ cabal install --reinstall hsql-mysql | |
[...] | |
/home/gman/bin/ghc-7.6.3/bin/hsc2hs --cc=/usr/bin/gcc | |
--ld=/usr/bin/gcc --cflag=-Wl,--hash-size=31 | |
--cflag=-Wl,--reduce-memory-overheads --lflag=-Wl,--hash-size=31 | |
--lflag=-Wl,--reduce-memory-overheads | |
--cflag=-D__GLASGOW_HASKELL__=706 --cflag=-Dlinux_BUILD_OS=1 | |
--cflag=-Di386_BUILD_ARCH=1 --cflag=-Dlinux_HOST_OS=1 | |
--cflag=-Di386_HOST_ARCH=1 --cflag=-IDatabase/HSQL | |
--cflag=-I/usr/include/mysql --lflag=-L/usr/lib | |
--lflag=-L/usr/lib/mysql --lflag=-Wl,-R,/usr/lib | |
--lflag=-Wl,-R,/usr/lib/mysql --lflag=-lmysqlclient | |
--cflag=-Idist/dist-sandbox-53474081/build/autogen | |
--cflag=-include | |
--cflag=dist/dist-sandbox-53474081/build/autogen/cabal_macros.h | |
--cflag=-Idist/dist-sandbox-53474081/build/autogen | |
--cflag=-include | |
--cflag=dist/dist-sandbox-53474081/build/autogen/cabal_macros.h | |
--cflag=-I/home/gman/bin/ghc-7.6.3/lib/ghc-7.6.3/process-1.1.0.2/include | |
--cflag=-Idist/dist-sandbox-53474081/build/autogen | |
--cflag=-include | |
--cflag=dist/dist-sandbox-53474081/build/autogen/cabal_macros.h | |
--cflag=-Idist/dist-sandbox-53474081/build/autogen | |
--cflag=-include | |
--cflag=dist/dist-sandbox-53474081/build/autogen/cabal_macros.h | |
--cflag=-I/home/gman/bin/ghc-7.6.3/lib/ghc-7.6.3/old-time-1.1.0.1/include | |
--cflag=-Idist/dist-sandbox-53474081/build/autogen | |
--cflag=-include | |
--cflag=dist/dist-sandbox-53474081/build/autogen/cabal_macros.h | |
--cflag=-I/home/gman/bin/ghc-7.6.3/lib/ghc-7.6.3/directory-1.2.0.1/include | |
--cflag=-Idist/dist-sandbox-53474081/build/autogen | |
--cflag=-include | |
--cflag=dist/dist-sandbox-53474081/build/autogen/cabal_macros.h | |
--cflag=-I/home/gman/bin/ghc-7.6.3/lib/ghc-7.6.3/unix-2.6.0.1/include | |
--cflag=-Idist/dist-sandbox-53474081/build/autogen | |
--cflag=-include | |
--cflag=dist/dist-sandbox-53474081/build/autogen/cabal_macros.h | |
--cflag=-I/home/gman/bin/ghc-7.6.3/lib/ghc-7.6.3/bytestring-0.10.0.2/include | |
--cflag=-Idist/dist-sandbox-53474081/build/autogen | |
--cflag=-include | |
--cflag=dist/dist-sandbox-53474081/build/autogen/cabal_macros.h | |
--cflag=-I/home/gman/bin/ghc-7.6.3/lib/ghc-7.6.3/time-1.4.0.1/include | |
--cflag=-Idist/dist-sandbox-53474081/build/autogen | |
--cflag=-include | |
--cflag=dist/dist-sandbox-53474081/build/autogen/cabal_macros.h | |
--cflag=-Idist/dist-sandbox-53474081/build/autogen | |
--cflag=-include | |
--cflag=dist/dist-sandbox-53474081/build/autogen/cabal_macros.h | |
--cflag=-Idist/dist-sandbox-53474081/build/autogen | |
--cflag=-include | |
--cflag=dist/dist-sandbox-53474081/build/autogen/cabal_macros.h | |
--cflag=-Idist/dist-sandbox-53474081/build/autogen | |
--cflag=-include | |
--cflag=dist/dist-sandbox-53474081/build/autogen/cabal_macros.h | |
--cflag=-Idist/dist-sandbox-53474081/build/autogen | |
--cflag=-include | |
--cflag=dist/dist-sandbox-53474081/build/autogen/cabal_macros.h | |
--cflag=-Idist/dist-sandbox-53474081/build/autogen | |
--cflag=-include | |
--cflag=dist/dist-sandbox-53474081/build/autogen/cabal_macros.h | |
--cflag=-I/home/gman/bin/ghc-7.6.3/lib/ghc-7.6.3/base-4.6.0.1/include | |
--cflag=-Idist/dist-sandbox-53474081/build/autogen | |
--cflag=-include | |
--cflag=dist/dist-sandbox-53474081/build/autogen/cabal_macros.h | |
--cflag=-Idist/dist-sandbox-53474081/build/autogen | |
--cflag=-include | |
--cflag=dist/dist-sandbox-53474081/build/autogen/cabal_macros.h | |
--cflag=-Idist/dist-sandbox-53474081/build/autogen | |
--cflag=-include | |
--cflag=dist/dist-sandbox-53474081/build/autogen/cabal_macros.h | |
--cflag=-I/home/gman/bin/ghc-7.6.3/lib/ghc-7.6.3/include | |
--cflag=-Idist/dist-sandbox-53474081/build/autogen | |
--cflag=-include | |
--cflag=dist/dist-sandbox-53474081/build/autogen/cabal_macros.h | |
--lflag=-L/home/gman/test/hsql-mysql/.cabal-sandbox/lib/i386-linux-ghc-7.6.3/hsql-1.8.2 | |
--lflag=-Wl,-R,/home/gman/test/hsql-mysql/.cabal-sandbox/lib/i386-linux-ghc-7.6.3/hsql-1.8.2 | |
--lflag=-L/home/gman/bin/ghc-7.6.3/lib/ghc-7.6.3/Cabal-1.16.0 | |
--lflag=-Wl,-R,/home/gman/bin/ghc-7.6.3/lib/ghc-7.6.3/Cabal-1.16.0 | |
--lflag=-L/home/gman/bin/ghc-7.6.3/lib/ghc-7.6.3/process-1.1.0.2 | |
--lflag=-Wl,-R,/home/gman/bin/ghc-7.6.3/lib/ghc-7.6.3/process-1.1.0.2 | |
--lflag=-L/home/gman/bin/ghc-7.6.3/lib/ghc-7.6.3/pretty-1.1.1.0 | |
--lflag=-Wl,-R,/home/gman/bin/ghc-7.6.3/lib/ghc-7.6.3/pretty-1.1.1.0 | |
--lflag=-L/home/gman/bin/ghc-7.6.3/lib/ghc-7.6.3/old-time-1.1.0.1 | |
--lflag=-Wl,-R,/home/gman/bin/ghc-7.6.3/lib/ghc-7.6.3/old-time-1.1.0.1 | |
--lflag=-L/home/gman/bin/ghc-7.6.3/lib/ghc-7.6.3/directory-1.2.0.1 | |
--lflag=-Wl,-R,/home/gman/bin/ghc-7.6.3/lib/ghc-7.6.3/directory-1.2.0.1 | |
--lflag=-L/home/gman/bin/ghc-7.6.3/lib/ghc-7.6.3/unix-2.6.0.1 | |
--lflag=-Wl,-R,/home/gman/bin/ghc-7.6.3/lib/ghc-7.6.3/unix-2.6.0.1 | |
--lflag=-lrt --lflag=-lutil --lflag=-ldl | |
--lflag=-L/home/gman/bin/ghc-7.6.3/lib/ghc-7.6.3/bytestring-0.10.0.2 | |
--lflag=-Wl,-R,/home/gman/bin/ghc-7.6.3/lib/ghc-7.6.3/bytestring-0.10.0.2 | |
--lflag=-L/home/gman/bin/ghc-7.6.3/lib/ghc-7.6.3/time-1.4.0.1 | |
--lflag=-Wl,-R,/home/gman/bin/ghc-7.6.3/lib/ghc-7.6.3/time-1.4.0.1 | |
--lflag=-L/home/gman/bin/ghc-7.6.3/lib/ghc-7.6.3/old-locale-1.0.0.5 | |
--lflag=-Wl,-R,/home/gman/bin/ghc-7.6.3/lib/ghc-7.6.3/old-locale-1.0.0.5 | |
--lflag=-L/home/gman/bin/ghc-7.6.3/lib/ghc-7.6.3/filepath-1.3.0.1 | |
--lflag=-Wl,-R,/home/gman/bin/ghc-7.6.3/lib/ghc-7.6.3/filepath-1.3.0.1 | |
--lflag=-L/home/gman/bin/ghc-7.6.3/lib/ghc-7.6.3/containers-0.5.0.0 | |
--lflag=-Wl,-R,/home/gman/bin/ghc-7.6.3/lib/ghc-7.6.3/containers-0.5.0.0 | |
--lflag=-L/home/gman/bin/ghc-7.6.3/lib/ghc-7.6.3/deepseq-1.3.0.1 | |
--lflag=-Wl,-R,/home/gman/bin/ghc-7.6.3/lib/ghc-7.6.3/deepseq-1.3.0.1 | |
--lflag=-L/home/gman/bin/ghc-7.6.3/lib/ghc-7.6.3/array-0.4.0.1 | |
--lflag=-Wl,-R,/home/gman/bin/ghc-7.6.3/lib/ghc-7.6.3/array-0.4.0.1 | |
--lflag=-L/home/gman/bin/ghc-7.6.3/lib/ghc-7.6.3/base-4.6.0.1 | |
--lflag=-Wl,-R,/home/gman/bin/ghc-7.6.3/lib/ghc-7.6.3/base-4.6.0.1 | |
--lflag=-L/home/gman/bin/ghc-7.6.3/lib/ghc-7.6.3/integer-gmp-0.5.0.0 | |
--lflag=-Wl,-R,/home/gman/bin/ghc-7.6.3/lib/ghc-7.6.3/integer-gmp-0.5.0.0 | |
--lflag=-lgmp | |
--lflag=-L/home/gman/bin/ghc-7.6.3/lib/ghc-7.6.3/ghc-prim-0.3.0.0 | |
--lflag=-Wl,-R,/home/gman/bin/ghc-7.6.3/lib/ghc-7.6.3/ghc-prim-0.3.0.0 | |
--lflag=-L/home/gman/bin/ghc-7.6.3/lib/ghc-7.6.3 | |
--lflag=-Wl,-R,/home/gman/bin/ghc-7.6.3/lib/ghc-7.6.3 --lflag=-lm | |
--lflag=-lrt --lflag=-ldl -o | |
dist/dist-sandbox-53474081/build/DB/HSQL/MySQL/Functions.hs | |
DB/HSQL/MySQL/Functions.hsc | |
[...] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment