#2809: Patching libffi fails in Solaris
---------------------------------+------------------------------------------
    Reporter:  rl                |       Owner:              
        Type:  bug               |      Status:  new         
    Priority:  normal            |   Component:  Build System
     Version:  6.11              |    Severity:  normal      
    Keywords:                    |    Testcase:              
Architecture:  Unknown/Multiple  |          Os:  Solaris     
---------------------------------+------------------------------------------
 This is what happens:
 {{{
 gmake[1]: Entering directory `/home/rl/ghc/ghc/libffi'
 rm -f -rf libffi-3.0.6 build
 /usr/sfw/bin/gtar -zxf libffi-3.0.6.tar.gz
 mv libffi-3.0.6 build
 chmod +x ln
 patch -p0 < libffi-dllize-3.0.6.patch
   Looks like a unified context diff.
 Hunk #5 failed at line 344.
 Hunk #6 failed at line 165.
 Hunk #7 failed at line 33.
 3 out of 7 hunks failed: saving rejects to build/include/ffi.h.in.rej
   The next patch looks like a unified context diff.
 Hunk #2 failed at line 66.
 Hunk #3 failed at line 26.
 2 out of 3 hunks failed: saving rejects to build/include/ffi_common.h.rej
 done
 gmake[1]: *** [stamp.ffi.configure] Error 1
 }}}

 Using GNU `patch` instead of the Solaris version works.

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