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

Streamly core >= 0.2 does not build on FreeBSD #2736

Open
sumo opened this issue Apr 5, 2024 · 2 comments
Open

Streamly core >= 0.2 does not build on FreeBSD #2736

sumo opened this issue Apr 5, 2024 · 2 comments
Assignees

Comments

@sumo
Copy link

sumo commented Apr 5, 2024

As per the defines build fails. Should there be anther package (streamly-io?) that provides IO related capability so that streamly-core can be used without a dependency on OS?

Building library for streamly-core-0.2.1..

src/Streamly/Internal/FileSystem/Dir.hs:99:2: error:
     error: "Unsupported architecture"
   |
99 | #error "Unsupported architecture"
   |  ^
#error "Unsupported architecture"
 ^
1 error generated.

src/Streamly/Internal/FileSystem/Dir.hs:99:2: error:
     error: "Unsupported architecture"
   |
99 | #error "Unsupported architecture"
   |  ^
#error "Unsupported architecture"
 ^
1 error generated.

src/Streamly/Internal/FileSystem/Dir.hs:1:1: error:
    `cc' failed in phase `C pre-processor'. (Exit code: 1)
  |
1 | #include "inline.hs"
@harendra-kumar
Copy link
Member

This should be fixable, we do not have a FreeBSD CI, that's why this is not working.

@adithyaov
Copy link
Member

@sumo The latest commit fixes the build for FreeBSD.
#2743
Most modules are available except FileSystem.Event and friends.

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

No branches or pull requests

3 participants