Darcs 1.0.3_rc1 fails to compile with ghc-bin 6.2. It works fine with 6.2.2. This is beacuse the -funfolding-use-threashold=20 flag is causing the problem. Prior to 6.2.2, you had to write it as -funfolding-use-threshold20 (ie. without the '='). From 6.2.2, the '=' was allowed. Therefore darcs 1.0.3_rc1 should depend on ghc(-bin) 6.2.2. bindir = /usr/bin sbindir = /usr/sbin mandir = /usr/share/man datadir = /usr/share sysconfdir = /etc libexecdir = /usr/libexec Build Manual = no If you want to adjust any of these values, edit autoconf.mk and Autoconf.lhs -- or run configure with appropriate settings. Rebuild dependencies ... ghc -cpp -package parsec -package unix -O -funbox-strict-fields -Wall -Werror -package util -I. -DHAVE_CURSES -DHAVE_CURL -c AntiMemo.lhs ghc -cpp -package parsec -package unix -O -funbox-strict-fields -Wall -Werror -package util -I. -DHAVE_CURSES -DHAVE_CURL -c Autoconf.lhs ghc -cpp -package parsec -package unix -O -funbox-strict-fields -Wall -Werror -package util -I. -DHAVE_CURSES -DHAVE_CURL -c AtExit.lhs ghc -cpp -package parsec -package unix -O -funbox-strict-fields -Wall -Werror -package util -I. -DHAVE_CURSES -DHAVE_CURL -c FastPackedString.hs ghc -cpp -package parsec -package unix -O -funbox-strict-fields -Wall -Werror -package util -I. -DHAVE_CURSES -DHAVE_CURL -c Printer.lhs ghc -cpp -package parsec -package unix -O -funbox-strict-fields -Wall -Werror -package util -I. -DHAVE_CURSES -DHAVE_CURL -c Workaround.hs ghc -cpp -package parsec -package unix -O -funbox-strict-fields -Wall -Werror -package util -I. -DHAVE_CURSES -DHAVE_CURL -c SignalHandler.lhs ghc -cpp -package parsec -package unix -O -funbox-strict-fields -Wall -Werror -package util -I. -DHAVE_CURSES -DHAVE_CURL -c DarcsUtils.lhs ghc -cpp -package parsec -package unix -O -funbox-strict-fields -Wall -Werror -package util -I. -DHAVE_CURSES -DHAVE_CURL -c DarcsURL.hs ghc -cpp -package parsec -package unix -O -funbox-strict-fields -Wall -Werror -package util -I. -DHAVE_CURSES -DHAVE_CURL -c Lock.lhs ghc -cpp -package parsec -package unix -O -funbox-strict-fields -Wall -Werror -package util -I. -DHAVE_CURSES -DHAVE_CURL -c CheckFileSystem.lhs ghc -cpp -package parsec -package unix -O -funbox-strict-fields -Wall -Werror -package util -I. -DHAVE_CURSES -DHAVE_CURL -c Exec.lhs ghc -cpp -package parsec -package unix -O -funbox-strict-fields -Wall -Werror -package util -I. -DHAVE_CURSES -DHAVE_CURL -c Curl.hs ghc -cpp -package parsec -package unix -O -funbox-strict-fields -Wall -Werror -package util -I. -DHAVE_CURSES -DHAVE_CURL -c CommandLine.lhs ghc -cpp -package parsec -package unix -O -funbox-strict-fields -Wall -Werror -package util -I. -DHAVE_CURSES -DHAVE_CURL -c PatchMatchData.lhs ghc -cpp -package parsec -package unix -O -funbox-strict-fields -Wall -Werror -package util -I. -DHAVE_CURSES -DHAVE_CURL -c DarcsFlags.lhs ghc -cpp -package parsec -package unix -O -funbox-strict-fields -Wall -Werror -package util -I. -DHAVE_CURSES -DHAVE_CURL -c External.hs ghc -cpp -package parsec -package unix -O -funbox-strict-fields -Wall -Werror -package util -I. -DHAVE_CURSES -DHAVE_CURL -c ColourPrinter.lhs ghc -cpp -package parsec -package unix -O -funbox-strict-fields -Wall -Werror -package util -I. -DHAVE_CURSES -DHAVE_CURL -no-auto-all -funfolding-use-threshold=20 -c SHA1.lhs ghc-6.2: panic! (the `impossible' happened, GHC version 6.2): Prelude.read: no parse Please report it as a compiler bug to glasgow-haskell-bugs@haskell.org, or http://sourceforge.net/projects/ghc/. make: *** [SHA1.o] Error 1 !!! ERROR: dev-util/darcs-1.0.3_rc1 failed. !!! Function src_compile, Line 44, Exitcode 2 !!! make failed !!! If you need support, post the topmost build error, NOT this status message. Reproducible: Always Steps to Reproduce: 1. 2. 3.
Thanks for the report. I've modified the DEPEND in cvs, but I had to remove ~amd64 from the KEYWORDs for now due to a repoman strangeness in the handling of virtuals ... Closing the bug. ks