#1782: gmake check-packages fails for ghc-6.8.0.20071017-src on solaris
-----------------------+----------------------------------------------------
  Reporter:  guest     |          Owner:         
      Type:  bug       |         Status:  new    
  Priority:  normal    |      Milestone:         
 Component:  Compiler  |        Version:  6.8    
  Severity:  normal    |       Keywords:         
Difficulty:  Unknown   |             Os:  Solaris
  Testcase:            |   Architecture:  x86    
-----------------------+----------------------------------------------------
 the tests in the toplevel Makefile go wrong:
 {{{
  check-packages :
 -       @for d in `cat libraries/core-packages`; do \
 +       @ds=`cat libraries/core-packages`;\
 +       for d in $$ds; do \
           if test ! -d libraries/$$d; then \
              echo "Looks like you're missing libraries/$$d,"; \
              echo "maybe you haven't done './darcs-all get'?"; \
              exit 1; \
           fi \
         done
 -       @if test ! -e libraries/base/configure; then \
 +       @if test ! -f libraries/base/configure; then \
             echo "Looks like you're missing base's configure script."; \
 }}}

 sh `test` under solaris does not understand '`-e`' and '`cat libraries
 /core-packages`' is treated as a single argument if not assigned to a
 variable.

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