#4916: make clean broken
-----------------------------+----------------------------------------------
    Reporter:  kgardas       |        Owner:  igloo              
        Type:  bug           |       Status:  new                
    Priority:  normal        |    Milestone:  7.4.1              
   Component:  Build System  |      Version:  7.1                
    Keywords:                |     Testcase:                     
   Blockedby:                |   Difficulty:                     
          Os:  Solaris       |     Blocking:                     
Architecture:  x86           |      Failure:  Building GHC failed
-----------------------------+----------------------------------------------

Comment(by igloo@…):

 commit 80e9070c77718b7ff0e913182e54842754726ce8
 {{{
 Author: Ian Lynagh <[email protected]>
 Date:   Sat Nov 19 01:29:05 2011 +0000

     Improve the way we call "rm" in the build system; fixes trac #4916

     We avoid calling "rm -rf" with no file arguments; this fixes cleaning
     on Solaris, where that fails.

     We also check for suspicious arguments: anything containing "..",
     starting "/", or containing a "*" (you need to call $(wildcard ...)
     yourself now if you really want globbing). This should make things
     a little safer.

  compiler/ghc.mk                |    6 +-
  docs/man/ghc.mk                |    2 +-
  driver/ghci/ghc.mk             |    6 +-
  ghc.mk                         |   91
 ++++++++++++++++++++-------------------
  ghc/ghc.mk                     |    4 +-
  includes/ghc.mk                |    2 +-
  libffi/ghc.mk                  |   16 ++++----
  mk/tree.mk                     |   21 +++++++++
  rules/build-dependencies.mk    |    6 +-
  rules/build-package-way.mk     |    4 +-
  rules/build-package.mk         |    4 +-
  rules/build-perl.mk            |    2 +-
  rules/clean-target.mk          |    2 +-
  rules/docbook.mk               |    2 +-
  rules/manual-package-config.mk |    2 +-
  rules/shell-wrapper.mk         |    4 +-
  utils/ghc-pkg/ghc.mk           |   10 ++--
  utils/mkdirhier/ghc.mk         |    2 +-
  utils/runghc/ghc.mk            |    2 +-
  19 files changed, 106 insertions(+), 82 deletions(-)
 }}}

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/4916#comment:3>
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