#3040: make clean fails (in utils/hsc2hs?) on 6.10
-----------------------------+----------------------------------------------
Reporter:  nr                |          Owner:                  
    Type:  bug               |         Status:  new             
Priority:  normal            |      Component:  Build System    
 Version:  6.10.1            |       Severity:  minor           
Keywords:                    |       Testcase:                  
      Os:  Unknown/Multiple  |   Architecture:  Unknown/Multiple
-----------------------------+----------------------------------------------
 {{{make clean}}} halts with an error message.  Here's the tail of the
 output:

 {{{
 make -C hpc clean
 /home/nr/net/ghc/2009-feb-dias/libraries/cabal-bin /usr/bin/ghc
 /home/nr/net/ghc/2009-feb-dias/libraries/bootstrapping.conf 1.7.0 clean
 --distpref dist-inplace
 cleaning...
 /home/nr/net/ghc/2009-feb-dias/libraries/cabal-bin /usr/bin/ghc
 /home/nr/net/ghc/2009-feb-dias/libraries/bootstrapping.conf 1.7.0 clean
 --distpref dist-install
 cleaning...
 rm -f -rf install-inplace
 make -C hsc2hs clean
 make[2]: *** No rule to make target `clean'.  Stop.
 make[1]: *** [clean.hsc2hs] Error 2
 Failed making clean in utils: 1
 make: *** [clean] Error 1
 : n...@homedog 2958
 }}}

 I ran {{{darcs-all get}}} but this left me with an empty utils/hsc2hs
 directory, which turned out to be the cause of the problem.  Removing the
 empty directory and re-running {{{darcs-all get}}} solved the problem.
 Not sure if this one is likely to recur, but I thought you should know
 about it.  Perhaps ./configure ought to fail if a directory that should be
 nonempty is found to be empty?

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/3040>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to