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

qemu aarch64 build fail #100

Closed
ivan19871002 opened this issue Feb 21, 2023 · 6 comments
Closed

qemu aarch64 build fail #100

ivan19871002 opened this issue Feb 21, 2023 · 6 comments

Comments

@ivan19871002
Copy link

text-icu> configure
text-icu> Configuring text-icu-0.8.0.2...
text-icu> Cabal-simple_SvXsv1f__3.6.3.0_ghc-9.2.5: The program 'pkg-config' version
text-icu> >=0.9.0 is required but it could not be found.
text-icu>
Progress 1/2

Error: [S-7282]
Stack failed to execute the build plan.

   While executing the build plan, Stack encountered the following errors:

   [S-7011]
   While building package text-icu-0.8.0.2 (scroll up to its section to see the error) using:

qemu : ubuntu 20.04.5 lts aarch64
kernel linux version 5.10.146
already install libicu-dev

@SamirTalwar
Copy link
Owner

I reverted regex support and removed text-icu in #97, so this should be fixed. Please feel free to re-open this if you can still reproduce the issue on the latest main.

@ivan19871002
Copy link
Author

I need regex support. it is ok when we build on x86_x64 . it is build fail on mac and aarch64

@SamirTalwar
Copy link
Owner

OK, that's good to know! Unfortunately most regular expression packages for Haskell require dynamic dependencies that break on certain OS/arch combinations.

Do you think you'd be happy with POSIX support? I am thinking of reintroducing it with regex-tdfa. If you could take a look at that library and let me know if it fits your purposes, it'll help me decide.

@ivan19871002
Copy link
Author

if i checkout this commit 2ee7356. ghc version is 9.0.2, text-iuc version is 0.7.1.0
It is ok on aarch64, So if I want enable regex on the latest main, what's lib that i need install .
@SamirTalwar

https://github.com/haskell-hvr/regex-tdfa/issues/3   I think this bug is a big problem .
My smoke test is runing on  arm64 board. little memory .I'm worried that the performance will degrade and the program won't be able to continue

@SamirTalwar
Copy link
Owner

Oh, thanks for finding that issue. That's not an option, then.

There is no regex support on main any more; I have removed it for now, because I can't get it to reliably build across operating systems. You can check out a previous version but you'll get the same problem as before.

I suggest we carry on this discussion in #69. I'll re-open it.

@ivan19871002
Copy link
Author

it is ok on ubuntu 20.04 aarch64 that install pkg-config。
I re-add regex support.

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

2 participants