[GHC] #14491: Windows build with "--enable-distro-toolchain" fails with "make install"

#14491: Windows build with "--enable-distro-toolchain" fails with "make install" -------------------------------------+------------------------------------- Reporter: terrorjack | Owner: (none) Type: bug | Status: new Priority: normal | Milestone: Component: Compiler | Version: 8.3 Keywords: make | Operating System: Windows Architecture: x86_64 | Type of failure: Installing GHC (amd64) | failed Test Case: | Blocked By: Blocking: | Related Tickets: 13792 Differential Rev(s): | Wiki Page: -------------------------------------+------------------------------------- I'm building ghc (commit 606bbc310654fcf56fe068905bb1aca30d2f0a8a) under mingw64 shell. I ran the configure script with "--enable-distro- toolchain", and "make -j4" succeeds, yet "make install" yields the following error: {{{ ===--- building phase 0 make --no-print-directory -f ghc.mk phase=0 phase_0_builds make[1]: Nothing to be done for 'phase_0_builds'. ===--- building phase 1 make --no-print-directory -f ghc.mk phase=1 phase_1_builds make[1]: Nothing to be done for 'phase_1_builds'. ===--- building final phase make --no-print-directory -f ghc.mk phase=final install /usr/bin/install -c -m 755 -d "/C/Users/astro/AppData/Local/Programs/stack/x86_64-windows/ghc-8.3.20171120/bin" "rm" -f "/C/Users/astro/AppData/Local/Programs/stack/x86_64-windows/ghc-8.3.20171120/bin/ghcii.sh" echo "#!/bin/sh" >> /C/Users/astro/AppData/Local/Programs/stack/x86_64-windows/ghc-8.3.20171120/bin/ghcii.sh echo 'exec "$(dirname "$0")"/ghc --interactive "$@"' >> /C/Users/astro/AppData/Local/Programs/stack/x86_64-windows/ghc-8.3.20171120/bin/ghcii.sh chmod +x /C/Users/astro/AppData/Local/Programs/stack/x86_64-windows/ghc-8.3.20171120/bin/ghcii.sh cp /C/Users/astro/AppData/Local/Programs/stack/x86_64-windows/ghc-8.3.20171120/bin/ghcii.sh /C/Users/astro/AppData/Local/Programs/stack/x86_64-windows/ghc-8.3.20171120/bin/ghcii-8.3.20171120.sh chmod +x /C/Users/astro/AppData/Local/Programs/stack/x86_64-windows/ghc-8.3.20171120/bin/ghcii-8.3.20171120.sh /usr/bin/install -c -m 755 -d "/C/Users/astro/AppData/Local/Programs/stack/x86_64-windows/ghc-8.3.20171120/lib/include" /usr/bin/install -c -m 755 -d "/C/Users/astro/AppData/Local/Programs/stack/x86_64-windows/ghc-8.3.20171120/lib/include/." && /usr/bin/install -c -m 644 includes/./*.h "/C/Users/astro/AppData/Local/Programs/stack/x86_64-windows/ghc-8.3.20171120/lib/include/./" && /usr/bin/install -c -m 755 -d "/C/Users/astro/AppData/Local/Programs/stack/x86_64-windows/ghc-8.3.20171120/lib/include/rts" && /usr/bin/install -c -m 644 includes/rts/*.h "/C/Users/astro/AppData/Local/Programs/stack/x86_64-windows/ghc-8.3.20171120/lib/include/rts/" && /usr/bin/install -c -m 755 -d "/C/Users/astro/AppData/Local/Programs/stack/x86_64-windows/ghc-8.3.20171120/lib/include/rts/prof" && /usr/bin/install -c -m 644 includes/rts/prof/*.h "/C/Users/astro/AppData/Local/Programs/stack/x86_64-windows/ghc-8.3.20171120/lib/include/rts/prof/" && /usr/bin/install -c -m 755 -d "/C/Users/astro/AppData/Local/Programs/stack/x86_64-windows/ghc-8.3.20171120/lib/include/rts/storage" && /usr/bin/install -c -m 644 includes/rts/storage/*.h "/C/Users/astro/AppData/Local/Programs/stack/x86_64-windows/ghc-8.3.20171120/lib/include/rts/storage/" && /usr/bin/install -c -m 755 -d "/C/Users/astro/AppData/Local/Programs/stack/x86_64-windows/ghc-8.3.20171120/lib/include/stg" && /usr/bin/install -c -m 644 includes/stg/*.h "/C/Users/astro/AppData/Local/Programs/stack/x86_64-windows/ghc-8.3.20171120/lib/include/stg/" && true /usr/bin/install -c -m 644 includes/ghcautoconf.h includes/ghcplatform.h includes/ghcversion.h includes/dist- derivedconstants/header/DerivedConstants.h "/C/Users/astro/AppData/Local/Programs/stack/x86_64-windows/ghc-8.3.20171120/lib/include/" /usr/bin/install -c -m 755 -d "/C/Users/astro/AppData/Local/Programs/stack/x86_64-windows/ghc-8.3.20171120/lib/include" /usr/bin/install -c -m 644 rts/dist/build/ffi.h rts/dist/build/ffitarget.h "/C/Users/astro/AppData/Local/Programs/stack/x86_64-windows/ghc-8.3.20171120/lib/include/" /usr/bin/install -c -m 644 utils/hsc2hs/template-hsc.h "/C/Users/astro/AppData/Local/Programs/stack/x86_64-windows/ghc-8.3.20171120/lib" "cp" driver/ghci/dist/build/tmp/ghci.exe driver/ghci/dist/build/tmp/ghci-8.3.20171120.exe /usr/bin/install -c -m 755 -d "/C/Users/astro/AppData/Local/Programs/stack/x86_64-windows/ghc-8.3.20171120/bin" for i in utils/hp2ps/dist-install/build/tmp/hp2ps.exe driver/ghci/dist/build/tmp/ghci.exe driver/ghci/dist/build/tmp/ghci-8.3.20171120.exe driver/ghc/dist/build/tmp/ghc-8.3.20171120.exe driver/haddock/dist/build/tmp/haddock-8.3.20171120.exe utils/hsc2hs/dist- install/build/tmp/hsc2hs.exe utils/ghc-pkg/dist-install/build/tmp/ghc- pkg.exe utils/hpc/dist-install/build/tmp/hpc.exe utils/runghc/dist- install/build/tmp/runghc.exe ghc/stage2/build/tmp/ghc-stage2.exe; do \ /usr/bin/install -c -m 755 $i "/C/Users/astro/AppData/Local/Programs/stack/x86_64-windows/ghc-8.3.20171120/bin" ; \ done "cp" /C/Users/astro/AppData/Local/Programs/stack/x86_64-windows/ghc-8.3.20171120/bin/runghc.exe /C/Users/astro/AppData/Local/Programs/stack/x86_64-windows/ghc-8.3.20171120/bin/runhaskell.exe "rm" -f "/C/Users/astro/AppData/Local/Programs/stack/x86_64-windows/ghc-8.3.20171120/bin/ghc.exe" "mv" -f /C/Users/astro/AppData/Local/Programs/stack/x86_64-windows/ghc-8.3.20171120/bin /ghc-stage2.exe /C/Users/astro/AppData/Local/Programs/stack/x86_64-windows/ghc-8.3.20171120/bin/ghc.exe make[1]: *** No rule to make target 'inplace/mingw', needed by 'install_mingw'. Stop. make: *** [Makefile:127: install] Error 2 }}} Is this a bug related to "--enable-distro-toolchain"? "inplace/mingw" rule should not exist here in the first place. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/14491 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#14491: Windows build with "--enable-distro-toolchain" fails with "make install" -------------------------------------+------------------------------------- Reporter: terrorjack | Owner: (none) Type: bug | Status: new Priority: normal | Milestone: Component: Compiler | Version: 8.3 Resolution: | Keywords: make Operating System: Windows | Architecture: x86_64 Type of failure: Installing GHC | (amd64) failed | Test Case: Blocked By: | Blocking: Related Tickets: #13792 | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Changes (by terrorjack): * related: 13792 => #13792 -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/14491#comment:1 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#14491: Windows build with "--enable-distro-toolchain" fails with "make install" -------------------------------------+------------------------------------- Reporter: terrorjack | Owner: (none) Type: feature request | Status: new Priority: normal | Milestone: Component: Compiler | Version: 8.3 Resolution: | Keywords: make Operating System: Windows | Architecture: x86_64 Type of failure: Installing GHC | (amd64) failed | Test Case: Blocked By: | Blocking: Related Tickets: #13792 | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Changes (by Phyx-): * type: bug => feature request Comment: `--enable-distro-toolchain` was created to aid in the testing of new GCC versions and packaging of `msys2` versions of the compiler, which wouldn't use our install script anyway as it uses `makepkg`. So I don't think this is a bug, but a feature as you want to use it for something it wasn't intended to. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/14491#comment:2 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler
participants (1)
-
GHC