eta-hackage icon indicating copy to clipboard operation
eta-hackage copied to clipboard

Can't install regex-posix even found patch

Open JulianZhang opened this issue 8 years ago • 3 comments

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

JulianZhang avatar Nov 20 '17 12:11 JulianZhang

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

rahulmutt avatar Nov 20 '17 13:11 rahulmutt

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.

rahulmutt avatar Dec 07 '17 05:12 rahulmutt

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

JulianZhang avatar Dec 15 '17 08:12 JulianZhang