Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 92152 - darcs 1.0.3_rc1 fails to compile with ghc-bin 6.2
Summary: darcs 1.0.3_rc1 fails to compile with ghc-bin 6.2
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Andres Loeh (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-05-10 11:04 UTC by Tomislav Filipcic
Modified: 2005-05-10 14:49 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tomislav Filipcic 2005-05-10 11:04:26 UTC
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.
Comment 1 Andres Loeh (RETIRED) gentoo-dev 2005-05-10 14:49:03 UTC
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