building head fails with: ghci/DebuggerTys.hs:49:60: Not in scope: `unknownTyConName'

Claus Reinke claus.reinke at talk21.com
Thu May 3 05:21:26 EDT 2007


> You have droppings from a previous build in your tree - DebuggerTys was removed 
> recently.

that is odd, the file is still here, just that darcs has forgotten about it.

and 'darcs whatsnew' doesn't see it, so i did not notice. what is the 
proper way to ask darcs about all differences between everything 
that is in the working directory and everything that should be there?
 
the only trick i've found is diffing against pristine/:

    $ diff -qr compiler/ _darcs/pristine/compiler/
    Only in compiler/cmm: CmmLex.hs
    Only in compiler/cmm: CmmParse.hs
    Only in compiler/ghci: DebuggerTys.hs
    Only in compiler/main: ParsePkgConf.hs
    Only in compiler/parser: HaddockLex.hs
    Only in compiler/parser: HaddockParse.hs
    Only in compiler/parser: Lexer.hs
    Only in compiler/parser: Parser.hs
    Only in compiler/parser: Parser.y
    Files compiler/parser/Parser.y.pp and _darcs/pristine/compiler/parser/Parser.y.pp differ
    Only in compiler/parser: ParserCore.hs
    Only in compiler/: stage1
    Only in compiler/: stage2

now, most of these are generated, and the difference in Parser.y.pp is
intentional. so DebuggerTys.hs is the only thing that shouldn't be there.

anyway, i've removed the file by hand, but this doesn't feel right - darcs 
should have done that.

btw, applying this diff to the individual repos in libraries/ shows that 
'make distclean' hasn't cleaned much at all in there?

    for d in `find ./* -maxdepth 0 -type d`; 
    do echo $d; 
    if test -e $d/_darcs ; 
    then diff -qr $d $d/_darcs/pristine/ ; 
    fi; 
    done

even after 'make distclean', the output is full of stuff like .o, .hi, .a,
dist/, package.conf.inplace, package.conf.installed, ..

thanks,
claus



More information about the Cvs-ghc mailing list