[GHC] #11109: build broken in libffi/ when `install-sh` is used

GHC ghc-devs at haskell.org
Wed Nov 18 11:15:44 UTC 2015


#11109: build broken in libffi/ when `install-sh` is used
-------------------------------------+-------------------------------------
           Reporter:  hvr            |             Owner:
               Type:  bug            |            Status:  new
           Priority:  normal         |         Milestone:  8.0.1
          Component:  Build System   |           Version:  7.10.2
           Keywords:                 |  Operating System:  Unknown/Multiple
       Architecture:                 |   Type of failure:  None/Unknown
  Unknown/Multiple                   |
          Test Case:                 |        Blocked By:
           Blocking:                 |   Related Tickets:
Differential Rev(s):                 |         Wiki Page:
-------------------------------------+-------------------------------------
 If the `/usr/bin/install` tool is missing or not deemed usable by
 Autoconf, `install-sh` is used.

 However, GHC's build then fails with

 {{{
 ...
 ===--- building final phase
 make --no-print-directory -f ghc.mk phase=final all
 rts/ghc.mk:543: rts/dist/build/.depend-v-dyn-l-debug-thr-thr_debug-thr_l-
 debug_dyn-thr_dyn-thr_debug_dyn-l_dyn-thr_l_dyn.c_asm: No such file or
 directory
 compiler/ghc.mk:661: compiler/stage2/build/.depend-v-dyn.haskell: No such
 file or directory
 make -C libffi/build MAKEFLAGS= install
 MAKE x86_64-unknown-linux-gnu : 0 * install
 make[3]: Entering directory '/home/hvr/Haskell/GHC/ghc/libffi/build/x86_64
 -unknown-linux-gnu'
 Making install in include
 make[4]: Entering directory '/home/hvr/Haskell/GHC/ghc/libffi/build/x86_64
 -unknown-linux-gnu/include'
 make[5]: Entering directory '/home/hvr/Haskell/GHC/ghc/libffi/build/x86_64
 -unknown-linux-gnu/include'
 make[5]: Nothing to be done for 'install-exec-am'.
  /bin/mkdir -p
 '/home/hvr/Haskell/GHC/ghc/libffi/build/inst/lib/libffi-3.1/include'
  ../install-sh -c -m 644 ffi.h ffitarget.h
 '/home/hvr/Haskell/GHC/ghc/libffi/build/inst/lib/libffi-3.1/include'
 /bin/bash: line 11: ../install-sh: No such file or directory
 Makefile:361: recipe for target 'install-nodist_includesHEADERS' failed
 make[5]: *** [install-nodist_includesHEADERS] Error 127
 make[5]: Leaving directory '/home/hvr/Haskell/GHC/ghc/libffi/build/x86_64
 -unknown-linux-gnu/include'
 Makefile:477: recipe for target 'install-am' failed
 make[4]: *** [install-am] Error 2
 make[4]: Leaving directory '/home/hvr/Haskell/GHC/ghc/libffi/build/x86_64
 -unknown-linux-gnu/include'
 Makefile:1577: recipe for target 'install-recursive' failed
 make[3]: *** [install-recursive] Error 1
 make[3]: Leaving directory '/home/hvr/Haskell/GHC/ghc/libffi/build/x86_64
 -unknown-linux-gnu'
 Makefile:3095: recipe for target 'install' failed
 make[2]: *** [install] Error 2
 libffi/ghc.mk:116: recipe for target 'libffi/stamp.ffi.static-
 shared.install' failed
 make[1]: *** [libffi/stamp.ffi.static-shared.install] Error 2
 Makefile:121: recipe for target 'all' failed
 make: *** [all] Error 2
 }}}

 This can be easily simulated on Linux by temporarily renaming
 `/usr/bin/install`

--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/11109>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list