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

Can't install regex-posix even found patch #61

Open
JulianZhang opened this issue Nov 20, 2017 · 3 comments
Open

Can't install regex-posix even found patch #61

JulianZhang opened this issue Nov 20, 2017 · 3 comments

Comments

@JulianZhang
Copy link

Hi I can't install regex-posix, the output is as blow.

$ etlas install regex-posix
Resolving dependencies...
Found patch in eta-hackage for regex-posix-0.95.2
Configuring regex-posix-0.95.2...
Building regex-posix-0.95.2...
Failed to install regex-posix-0.95.2
Build log ( /Users/zhangjun/.etlas/logs/eta-0.0.9.2/regex-posix-0.95.2-Kd0wX9w7C2XFMvm3PfgF5c.log ):
etlas: Entering directory '/var/folders/dt/m9kwylpd01v3qh5qlj6dnxch0000gq/T/etlas-tmp-34859/regex-posix-0.95.2'
Configuring regex-posix-0.95.2...
Preprocessing library for regex-posix-0.95.2..
Building library for regex-posix-0.95.2..
[1 of 6] Compiling Text.Regex.Posix.Wrap ( Text/Regex/Posix/Wrap.hs, dist/build/Text/Regex/Posix/Wrap.jar )

Text/Regex/Posix/Wrap.hs:153:20:
Module ‘Java.String’ does not export ‘CharSequence’
etlas: Leaving directory '/var/folders/dt/m9kwylpd01v3qh5qlj6dnxch0000gq/T/etlas-tmp-34859/regex-posix-0.95.2'
etlas: Error: some packages failed to install:
regex-posix-0.95.2-Kd0wX9w7C2XFMvm3PfgF5c failed during the building phase.
The exception was:
ExitFailure 1

@rahulmutt
Copy link
Member

Can you share the output of etlas exec eta -- --version?

@rahulmutt
Copy link
Member

It works fine on the most recent version of eta - I assume you are using an older version? I added a conditional flag in the cabal file to use the older version. I wonder if this is a bug in etlas.

@JulianZhang
Copy link
Author

Sorry reply so later, and my system is MacOS

$etlas exec eta -- --version
Compiler for the Eta Programming Language, version 0.0.9b2

$ etlas install regex-posix
Resolving dependencies...
Found patch in eta-hackage for regex-posix-0.95.2
Configuring regex-posix-0.95.2...
Building regex-posix-0.95.2...
Failed to install regex-posix-0.95.2
Build log ( /Users/zhangjun/.etlas/logs/eta-0.0.9.2/regex-posix-0.95.2-Kd0wX9w7C2XFMvm3PfgF5c.log ):
etlas: Entering directory '/var/folders/dt/m9kwylpd01v3qh5qlj6dnxch0000gq/T/etlas-tmp-13626/regex-posix-0.95.2'
Configuring regex-posix-0.95.2...
Preprocessing library for regex-posix-0.95.2..
Building library for regex-posix-0.95.2..
[1 of 6] Compiling Text.Regex.Posix.Wrap ( Text/Regex/Posix/Wrap.hs, dist/build/Text/Regex/Posix/Wrap.jar )

Text/Regex/Posix/Wrap.hs:153:20:
Module ‘Java.String’ does not export ‘CharSequence’
etlas: Leaving directory '/var/folders/dt/m9kwylpd01v3qh5qlj6dnxch0000gq/T/etlas-tmp-13626/regex-posix-0.95.2'
etlas: Error: some packages failed to install:
regex-posix-0.95.2-Kd0wX9w7C2XFMvm3PfgF5c failed during the building phase.
The exception was:
ExitFailure 1

$ etlas exec eta -- --version
Compiler for the Eta Programming Language, version 0.0.9b2

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