Skip to content

Conversation

@shayne-fletcher
Copy link
Contributor

fixes build breakage since 10/8/2025 due to 129ce32d3a4f2601f5c2d1bbaeeb2fbaf8dc9ef9

@shayne-fletcher shayne-fletcher requested a review from a team as a code owner October 9, 2025 11:54
@dylant-da
Copy link
Contributor

Looks like we're getting a common error across this PR and the last, referring to HeapPrim.cmm

/Users/runner/work/ghc-lib/ghc-lib/ghc/./libraries/ghc-heap/cbits/HeapPrim.cmm: withBinaryFile: does not exist (No such file or directory)
ghc-lib-build-tool: Uncaught exception ghc-internal:GHC.Internal.Exception.ErrorCall:

@shayne-fletcher
Copy link
Contributor Author

rebase on 617 dylan. we just fixed this.

@shayne-fletcher
Copy link
Contributor Author

that is, rebase this on master

@shayne-fletcher
Copy link
Contributor Author

i rebased it for you. if you run CI now it should get past the ghc-9.14.1 errors

@dylant-da
Copy link
Contributor

Cheers - admittedly I'm not very fluent with handling remote contributions in my local git yet, I took the time for that a few months ago but have since forgotten - I'll do that on #616.

@dylant-da dylant-da disabled auto-merge October 14, 2025 16:21
@dylant-da
Copy link
Contributor

dylant-da commented Oct 14, 2025

Because initSourceErrorContext was only added in GHC 9.16, building 9.14 on that if block breaks - I'm adding a small if around the initSourceErrorContext to see if that fixes it on CI, seeing as it fixes it locally.

@dylant-da dylant-da merged commit c2699ec into digital-asset:master Oct 15, 2025
46 checks passed
@github-actions github-actions bot locked and limited conversation to collaborators Oct 15, 2025
@dylant-da
Copy link
Contributor

I've merged this to get us unblocked, I'm not sure how much you like the nested CPP #if statements - we can fix this in a future cleanup PR.

@shayne-fletcher shayne-fletcher deleted the source-error-context branch October 15, 2025 13:02
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants