[GHC] #15922: Can't make a `binary-dist` on MacOS with Hadrian

#15922: Can't make a `binary-dist` on MacOS with Hadrian -------------------------------------+------------------------------------- Reporter: harpocrates | Owner: (none) Type: bug | Status: new Priority: normal | Milestone: 8.6.3 Component: Build System | Version: 8.6.2 (Hadrian) | 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: -------------------------------------+------------------------------------- Steps to reproduce on a Mac: {{{ $ ./hadrian/build.sh -c -j "binary-dist" <snip> Error when running Shake build system: at src/Main.hs:58:30-42: * Depends on: binary-dist * Raised the exception: user error (Development.Shake.cmd, system command failed Command: cp -r _D5316/stage1/lib/x86_64-darwin- ghc-8.7.20181119/rts-1.0/include _D5316/bindist/ghc-8.7.20181119-x86_64 -apple-darwin Exit code: 1 Stderr: cp: _D5316/stage1/lib/x86_64-darwin-ghc-8.7.20181119/rts-1.0/include: No such file or directory ) }}} There is an `_D5316/stage1/lib/x86_64-osx- ghc-8.7.20181119/rts-1.0/include` folder though (note the `darwin`/`osx` difference)... At a glance, I think this is a case of Cabal having a different naming convention then Hadrian's `HostOs` (I'm pretty sure that the folders in `lib` are created by Cabal using its internal convention). -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/15922 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#15922: Can't make a `binary-dist` on MacOS with Hadrian -------------------------------------+------------------------------------- Reporter: harpocrates | Owner: (none) Type: bug | Status: patch Priority: normal | Milestone: 8.6.3 Component: Build System | Version: 8.6.2 (Hadrian) | Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Phab:D5361 Wiki Page: | -------------------------------------+------------------------------------- Changes (by harpocrates): * status: new => patch * differential: => Phab:D5361 -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/15922#comment:1 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#15922: Can't make a `binary-dist` on MacOS with Hadrian
-------------------------------------+-------------------------------------
Reporter: harpocrates | Owner: (none)
Type: bug | Status: patch
Priority: normal | Milestone: 8.6.3
Component: Build System | Version: 8.6.2
(Hadrian) |
Resolution: | Keywords:
Operating System: Unknown/Multiple | Architecture:
| Unknown/Multiple
Type of failure: None/Unknown | Test Case:
Blocked By: | Blocking:
Related Tickets: | Differential Rev(s): Phab:D5361
Wiki Page: |
-------------------------------------+-------------------------------------
Comment (by Ben Gamari

#15922: Can't make a `binary-dist` on MacOS with Hadrian -------------------------------------+------------------------------------- Reporter: harpocrates | Owner: (none) Type: bug | Status: closed Priority: normal | Milestone: 8.6.3 Component: Build System | Version: 8.6.2 (Hadrian) | Resolution: fixed | Keywords: Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Phab:D5361 Wiki Page: | -------------------------------------+------------------------------------- Changes (by bgamari): * status: patch => closed * resolution: => fixed -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/15922#comment:3 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#15922: Can't make a `binary-dist` on MacOS with Hadrian -------------------------------------+------------------------------------- Reporter: harpocrates | Owner: (none) Type: bug | Status: closed Priority: normal | Milestone: 8.8.1 Component: Build System | Version: 8.6.2 (Hadrian) | Resolution: fixed | Keywords: Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Phab:D5361 Wiki Page: | -------------------------------------+------------------------------------- Changes (by bgamari): * milestone: 8.6.3 => 8.8.1 -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/15922#comment:4 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler
participants (1)
-
GHC