[GHC] #8620: build of head on Mac 10.9 with xcode 5 fails with

#8620: build of head on Mac 10.9 with xcode 5 fails with ----------------------------------+--------------------------------- Reporter: George | Owner: Type: bug | Status: new Priority: normal | Milestone: Component: Compiler | Version: 7.6.3 Keywords: | Operating System: MacOS X Architecture: x86_64 (amd64) | Type of failure: None/Unknown Difficulty: Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | ----------------------------------+--------------------------------- make -j3 fails with Configuring ghc-bin-7.7.20131217... Warning: 'data-dir: ..' is a relative path outside of the source tree. This will not work when generating a tarball with 'sdist'. ghc.mk:100: *** Make has restarted itself 2 times; is there a makefile bug? See http://ghc.haskell.org/trac/ghc/wiki/Building/Troubleshooting#Makehasrestart... for details. Stop. make: *** [all] Error 2 -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/8620 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#8620: build of head on Mac 10.9 with xcode 5 fails with ----------------------------------------+---------------------------------- Reporter: George | Owner: Type: bug | Status: new Priority: normal | Milestone: Component: Compiler | Version: 7.6.3 Resolution: | Keywords: Operating System: MacOS X | Architecture: x86_64 (amd64) Type of failure: Building GHC failed | Difficulty: Unknown Test Case: | Blocked By: Blocking: | Related Tickets: ----------------------------------------+---------------------------------- Changes (by George): * failure: None/Unknown => Building GHC failed -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/8620#comment:1 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#8620: build of head on Mac 10.9 with xcode 5 fails with ----------------------------------------+---------------------------------- Reporter: George | Owner: Type: bug | Status: new Priority: normal | Milestone: Component: Compiler | Version: 7.6.3 Resolution: | Keywords: Operating System: MacOS X | Architecture: x86_64 (amd64) Type of failure: Building GHC failed | Difficulty: Unknown Test Case: | Blocked By: Blocking: | Related Tickets: ----------------------------------------+---------------------------------- Comment (by George): can't modify original ticket, adding missing WikiFormatting
make -j3 fails with
Configuring ghc-bin-7.7.20131217... Warning: 'data-dir: ..' is a relative path outside of the source tree. This will not work when generating a tarball with 'sdist'. ghc.mk:100: {{{***}}} Make has restarted itself 2 times; is there a makefile bug? See http://ghc.haskell.org/trac/ghc/wiki/Building/Troubleshooting#Makehasrestart... for details. Stop. make: {{{***}}} [all] Error 2
-- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/8620#comment:2 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#8620: build of head on Mac 10.9 with xcode 5 fails with ----------------------------------------+---------------------------------- Reporter: George | Owner: Type: bug | Status: new Priority: normal | Milestone: Component: Compiler | Version: 7.6.3 Resolution: | Keywords: Operating System: MacOS X | Architecture: x86_64 (amd64) Type of failure: Building GHC failed | Difficulty: Unknown Test Case: | Blocked By: Blocking: | Related Tickets: ----------------------------------------+---------------------------------- Old description:
make -j3 fails with
Configuring ghc-bin-7.7.20131217... Warning: 'data-dir: ..' is a relative path outside of the source tree. This will not work when generating a tarball with 'sdist'. ghc.mk:100: *** Make has restarted itself 2 times; is there a makefile bug? See http://ghc.haskell.org/trac/ghc/wiki/Building/Troubleshooting#Makehasrestart... for details. Stop. make: *** [all] Error 2
New description: {{{ make -j3 }}} fails with {{{ Configuring ghc-bin-7.7.20131217... Warning: 'data-dir: ..' is a relative path outside of the source tree. This will not work when generating a tarball with 'sdist'. ghc.mk:100: *** Make has restarted itself 2 times; is there a makefile bug? See http://ghc.haskell.org/trac/ghc/wiki/Building/Troubleshooting#Makehasrestart... for details. Stop. make: *** [all] Error 2 }}} -- Comment (by hvr): fixed wiki formatting in description -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/8620#comment:3 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#8620: build of head on Mac 10.9 with xcode 5 fails with ----------------------------------------+---------------------------------- Reporter: George | Owner: Type: bug | Status: new Priority: normal | Milestone: Component: Compiler | Version: 7.8.1-rc1 Resolution: | Keywords: Operating System: MacOS X | Architecture: x86_64 (amd64) Type of failure: Building GHC failed | Difficulty: Unknown Test Case: | Blocked By: Blocking: | Related Tickets: ----------------------------------------+---------------------------------- Changes (by George): * version: 7.6.3 => 7.8.1-rc1 Comment: Same problem on 7.8.1-rc1. {{{ ghc.mk:100: *** Make has restarted itself 2 times; is there a makefile bug? See http://ghc.haskell.org/trac/ghc/wiki/Building/Troubleshooting#Makehasrestart... for details. Stop. make: *** [all] Error 2 }}} -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/8620#comment:4 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#8620: make -j3 build of head on Mac 10.9 with xcode 5 fails ----------------------------------------+---------------------------------- Reporter: George | Owner: Type: bug | Status: new Priority: normal | Milestone: Component: Compiler | Version: 7.8.1-rc1 Resolution: | Keywords: Operating System: MacOS X | Architecture: x86_64 (amd64) Type of failure: Building GHC failed | Difficulty: Unknown Test Case: | Blocked By: Blocking: | Related Tickets: ----------------------------------------+---------------------------------- -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/8620#comment:5 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#8620: make -j3 build of head on Mac 10.9 with xcode 5 fails ----------------------------------------+---------------------------------- Reporter: George | Owner: Type: bug | Status: new Priority: normal | Milestone: 7.8.2 Component: Compiler | Version: Resolution: | Keywords: Operating System: MacOS X | Architecture: x86_64 (amd64) Type of failure: Building GHC failed | Difficulty: Unknown Test Case: | Blocked By: Blocking: | Related Tickets: ----------------------------------------+---------------------------------- Changes (by thoughtpolice): * version: 7.8.1-rc1 => * milestone: => 7.8.2 Comment: I can't reproduce this it seems (but others seem to have reported it too.) I'm afraid it won't be fixed for 7.8, but most users won't need to build from source anyway. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/8620#comment:6 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#8620: make -j3 build of head on Mac 10.9 with xcode 5 fails ----------------------------------------+---------------------------------- Reporter: George | Owner: Type: bug | Status: new Priority: normal | Milestone: 7.8.2 Component: Compiler | Version: Resolution: | Keywords: Operating System: MacOS X | Architecture: x86_64 (amd64) Type of failure: Building GHC failed | Difficulty: Unknown Test Case: | Blocked By: Blocking: | Related Tickets: ----------------------------------------+---------------------------------- Comment (by George): not sure if it helps but I am on 10.9.1 with 4 cpus and 12G of RAM Hardware Overview: Model Name: iMac Model Identifier: iMac11,1 Processor Name: Intel Core i5 Processor Speed: 2.66 GHz Number of Processors: 1 Total Number of Cores: 4 L2 Cache (per Core): 256 KB L3 Cache: 8 MB Memory: 12 GB Processor Interconnect Speed: 4.8 GT/s -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/8620#comment:7 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#8620: make -j3 build of head on Mac 10.9 with xcode 5 fails ----------------------------------------+---------------------------------- Reporter: George | Owner: Type: bug | Status: new Priority: normal | Milestone: 7.8.2 Component: Compiler | Version: Resolution: | Keywords: Operating System: MacOS X | Architecture: x86_64 (amd64) Type of failure: Building GHC failed | Difficulty: Unknown Test Case: | Blocked By: Blocking: | Related Tickets: ----------------------------------------+---------------------------------- Changes (by George): * cc: george.colpitts@… (added) -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/8620#comment:8 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#8620: make -j3 build of head on Mac 10.9 with xcode 5 fails ----------------------------------------+---------------------------------- Reporter: George | Owner: Type: bug | Status: new Priority: normal | Milestone: 7.8.2 Component: Compiler | Version: Resolution: | Keywords: Operating System: MacOS X | Architecture: x86_64 (amd64) Type of failure: Building GHC failed | Difficulty: Unknown Test Case: | Blocked By: Blocking: | Related Tickets: ----------------------------------------+---------------------------------- Changes (by AndreasVoellmy): * cc: andreas.voellmy@… (added) -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/8620#comment:9 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#8620: make -j3 build of head on Mac 10.9 with xcode 5 fails ----------------------------------------+---------------------------------- Reporter: George | Owner: Type: bug | Status: new Priority: normal | Milestone: 7.8.2 Component: Compiler | Version: Resolution: | Keywords: Operating System: MacOS X | Architecture: x86_64 (amd64) Type of failure: Building GHC failed | Difficulty: Unknown Test Case: | Blocked By: Blocking: | Related Tickets: ----------------------------------------+---------------------------------- Comment (by nomeata): Just run `make` again. I believe this is a known and old problem: [wiki:Building/Troubleshooting#Makehasrestarteditself3timesisthereamakefilebug] -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/8620#comment:10 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#8620: make -j3 build of head on Mac 10.9 with xcode 5 fails ----------------------------------------+---------------------------------- Reporter: George | Owner: Type: bug | Status: new Priority: normal | Milestone: 7.8.2 Component: Compiler | Version: Resolution: | Keywords: Operating System: MacOS X | Architecture: x86_64 (amd64) Type of failure: Building GHC failed | Difficulty: Unknown Test Case: | Blocked By: Blocking: | Related Tickets: ----------------------------------------+---------------------------------- Comment (by AndreasVoellmy): FWIW, I just built 7.8.1 rc2 using "make -j3" on OS X 10.9.2 and Xcode 5.0.2 and it went through fine for me. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/8620#comment:11 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#8620: make -j3 build of head on Mac 10.9 with xcode 5 fails -------------------------------------+------------------------------------- Reporter: George | Owner: Type: bug | Status: closed Priority: normal | Milestone: 7.10.1 Component: Compiler | Version: Resolution: duplicate | Keywords: Operating System: MacOS X | Architecture: x86_64 Type of failure: Building GHC | (amd64) failed | Test Case: Blocked By: | Blocking: Related Tickets: #9709 | Differential Revisions: -------------------------------------+------------------------------------- Comment (by George): This resolution is fine with me as I am no longer seeing this problem, but the wiki does say: "If you encounter this without touching any files after typing 'make', then it's probably a bug in the build system.". I believe this was the case for me but I'm not sure. If it does happen in the future I'll be sure to better describe the circumstances. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/8620#comment:15 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#8620: make -j3 build of head on Mac 10.9 with xcode 5 fails -------------------------------------+------------------------------------- Reporter: George | Owner: Type: bug | Status: closed Priority: normal | Milestone: 7.10.1 Component: Compiler | Version: Resolution: duplicate | Keywords: Operating System: MacOS X | Architecture: x86_64 Type of failure: Building GHC | (amd64) failed | Test Case: Blocked By: | Blocking: Related Tickets: #9709 | Differential Revisions: -------------------------------------+------------------------------------- Comment (by thomie): There *is* a bug in the build system. That's why #9709 is still open. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/8620#comment:16 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler
participants (1)
-
GHC