Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in / Register
  • GHC GHC
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 4,830
    • Issues 4,830
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
  • Merge requests 447
    • Merge requests 447
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Deployments
    • Deployments
    • Releases
  • Analytics
    • Analytics
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
    • Value stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Glasgow Haskell Compiler
  • GHCGHC
  • Issues
  • #15922

Closed
Open
Created Nov 20, 2018 by Alec Theriault@harpocratesDeveloper

Can't make a `binary-dist` on MacOS with Hadrian

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).

Trac metadata
Trac field Value
Version 8.6.2
Type Bug
TypeOfFailure OtherFailure
Priority normal
Resolution Unresolved
Component Build System (Hadrian)
Test case
Differential revisions
BlockedBy
Related
Blocking
CC
Operating system
Architecture
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking