Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build fails with latest stack nightly on MacOS #2844

Closed
AliceRixte opened this issue Sep 27, 2024 · 5 comments · Fixed by #2867
Closed

Build fails with latest stack nightly on MacOS #2844

AliceRixte opened this issue Sep 27, 2024 · 5 comments · Fixed by #2867

Comments

@AliceRixte
Copy link
Contributor

AliceRixte commented Sep 27, 2024

See the output of this CI in this PR #2842 for more details.

This replaces the issue #2833.

@AliceRixte AliceRixte changed the title Build fails with latetst stack nightly on MacOS. Build fails with latest stack nightly on MacOS Sep 27, 2024
@harendra-kumar
Copy link
Member

@AliceRixte did you open an issue in the stack repo about this? They need to see this.

@mpilgrem
Copy link

mpilgrem commented Oct 8, 2024

@harendra-kumar, as also posted in the linked Stack issue, I believe this is caused by streamly.cabal including a *.m file in c-sources. With GHC 9.8.2/Cabal-3.10.2.0, Cabal enforces that c-sources is only for *.c files. I have asked in the 'Cabal and Hackage' room on Matrix where Objective-C source files are intended to be specified in Cabal files. EDIT: In this instance, renaming the *.m file as *.c fixes the problem.

AliceRixte added a commit to AliceRixte/streamly that referenced this issue Oct 10, 2024
AliceRixte added a commit to AliceRixte/streamly that referenced this issue Oct 13, 2024
AliceRixte added a commit to AliceRixte/streamly that referenced this issue Oct 13, 2024
AliceRixte added a commit to AliceRixte/streamly that referenced this issue Oct 13, 2024
@AliceRixte
Copy link
Contributor Author

@harendra-kumar Thank you for dealing with this issue. Do you have any idea when you will make this available on Stackage ? It would be great if you noticed me here when you do.

Cheers !

@harendra-kumar
Copy link
Member

@AliceRixte the fix will go in streamly 0.11 release but that will take some more time.

If you don't want to wait till 0.11 you can help us with #2868 .

@AliceRixte
Copy link
Contributor Author

It's fine I can wait for 0.11, I'll use cabal meanwhile. Thank you for your answer and your help !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants