[GHC] #8259: HEAD won't build on Windows

#8259: HEAD won't build on Windows -------------------------------------+------------------------------------- Reporter: schyler | Owner: Type: bug | Status: new Priority: normal | Milestone: Component: Build System | Version: 7.7 Keywords: | Operating System: Windows Architecture: x86 | Type of failure: Building GHC Difficulty: Easy (less than 1 | failed hour) | Test Case: Blocked By: | Blocking: Related Tickets: | -------------------------------------+------------------------------------- Related output: {{{ [68 of 68] Compiling Main ( utils\ghc-cabal\Main.hs, bootstrapping\Main.o ) utils\ghc-cabal\Main.hs:229:51: Not in scope: `componentsConfigs' utils\ghc-cabal\Main.hs:231:32: `componentsConfigs' is not a (visible) constructor field name utils\ghc-cabal\Main.hs:290:37: Not in scope: `componentsConfigs' utils\ghc-cabal\Main.hs:291:45: Not in scope: data constructor `LibComponentLocalBuildInfo' Perhaps you meant `ComponentLocalBuildInfo' (imported from Distribution.Simple.LocalBuildInfo) utils\ghc-cabal\Main.hs:292:37: Not in scope: data constructor `LibraryName' utils\ghc-cabal\Main.hs:292:52: Not in scope: data constructor `LibraryName' utils\ghc-cabal\Main.hs:293:35: Not in scope: data constructor `LibraryName' utils\ghc-cabal\Main.hs:293:52: Not in scope: `componentLibraries' utils\ghc-cabal\Main.hs:294:25: `componentLibraries' is not a (visible) constructor field name utils\ghc-cabal\Main.hs:296:14: `componentsConfigs' is not a (visible) constructor field name utils\ghc-cabal\Main.hs:297:28: Not in scope: `hostPlatform' make[1]: *** [utils/ghc-cabal/dist/build/tmp/ghc-cabal.exe] Error 1 make: *** [all] Error 2 }}} Fresh HEAD pulled, booted and sync'd <5 minutes ago, built using GHC 7.6.2 (HaskellPlatform) through latest mingw on Windows 8. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/8259 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#8259: HEAD won't build on Windows -------------------------------------+------------------------------------- Reporter: schyler | Owner: Type: bug | Status: new Priority: normal | Milestone: Component: Build System | Version: 7.7 Resolution: | Keywords: Operating System: Windows | Architecture: x86 Type of failure: Building GHC | Difficulty: Easy (less than 1 failed | hour) Test Case: | Blocked By: Blocking: | Related Tickets: -------------------------------------+------------------------------------- Comment (by schyler): Build steps: - git clone source - ./sync-all get --testsuite - perl boot - ./configure - make cabal version: 1.16 {{{ ghc --info [("Project name","The Glorious Glasgow Haskell Compilation System") ,("GCC extra via C opts"," -fwrapv") ,("C compiler command","$topdir/../mingw/bin/gcc.exe") ,("C compiler flags"," -fno-stack-protector -Wl,--hash-size=31 -Wl ,--reduce-memory-overheads") ,("ar command","$topdir/../mingw/bin/ar.exe") ,("ar flags","q") ,("ar supports at file","YES") ,("touch command","$topdir/touchy.exe") ,("dllwrap command","$topdir/../mingw/bin/dllwrap.exe") ,("windres command","$topdir/../mingw/bin/windres.exe") ,("perl command","$topdir/../perl/perl.exe") ,("target os","OSMinGW32") ,("target arch","ArchX86") ,("target word size","4") ,("target has GNU nonexec stack","False") ,("target has .ident directive","True") ,("target has subsections via symbols","False") ,("LLVM llc command","llc") ,("LLVM opt command","opt") ,("Project version","7.6.3") ,("Booter version","7.4.1") ,("Stage","2") ,("Build platform","i386-unknown-mingw32") ,("Host platform","i386-unknown-mingw32") ,("Target platform","i386-unknown-mingw32") ,("Have interpreter","YES") ,("Object splitting supported","YES") ,("Have native code generator","YES") ,("Support SMP","YES") ,("Unregisterised","NO") ,("Tables next to code","YES") ,("RTS ways","l debug thr thr_debug thr_l thr_p dyn debug_dyn thr_dyn thr_debug_dyn") ,("Leading underscore","YES") ,("Debug on","False") ,("LibDir","C:\\Program Files (x86)\\Haskell Platform\\2013.2.0.0\\lib") ,("Global Package DB","C:\\Program Files (x86)\\Haskell Platform\\2013.2.0.0\\lib\\package.conf.d") ,("Gcc Linker flags","[\"-Wl,--hash-size=31\",\"-Wl,--reduce-memory- overheads\"]") ,("Ld Linker flags","[\"--hash-size=31\",\"--reduce-memory-overheads\"]") ] }}} -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/8259#comment:1 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#8259: HEAD won't build on Windows -------------------------------------+------------------------------------- Reporter: schyler | Owner: Type: bug | Status: new Priority: normal | Milestone: Component: Build System | Version: 7.7 Resolution: | Keywords: Operating System: Windows | Architecture: x86 Type of failure: Building GHC | Difficulty: Easy (less than 1 failed | hour) Test Case: | Blocked By: Blocking: | Related Tickets: -------------------------------------+------------------------------------- Comment (by hvr): ...as discovered on irc, `./sync-all checkout master` was invoked somewhere inbetween, causing the wrong branch of `Cabal` being checked out, which is `git submodule` controlled, and thus has is not supposed to be branch-based. The remedy is to call `./sync-all pull` which will reset the Git submodules to their proper (detached) HEADs. This is a symptom of the unfinished Git submodule conversion. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/8259#comment:2 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#8259: HEAD won't build on Windows -------------------------------------+------------------------------------- Reporter: schyler | Owner: Type: bug | Status: new Priority: normal | Milestone: Component: Build System | Version: 7.7 Resolution: | Keywords: Operating System: Windows | Architecture: x86 Type of failure: Building GHC | Difficulty: Easy (less than 1 failed | hour) Test Case: | Blocked By: Blocking: | Related Tickets: -------------------------------------+------------------------------------- Comment (by schyler): The suggestion by hvr bandages the issue. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/8259#comment:3 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#8259: HEAD won't build on Windows -------------------------------------+------------------------------------- Reporter: schyler | Owner: Type: bug | Status: closed Priority: normal | Milestone: Component: Build System | Version: 7.7 Resolution: fixed | Keywords: Operating System: Windows | Architecture: x86 Type of failure: Building GHC | Difficulty: Easy (less than 1 failed | hour) Test Case: | Blocked By: Blocking: | Related Tickets: -------------------------------------+------------------------------------- Changes (by schyler): * status: new => closed * resolution: => fixed -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/8259#comment:4 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler
participants (1)
-
GHC