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

OSX compiler.jar broken? #401

Open
kkazuo opened this issue Jan 14, 2017 · 3 comments
Open

OSX compiler.jar broken? #401

kkazuo opened this issue Jan 14, 2017 · 3 comments

Comments

@kkazuo
Copy link

kkazuo commented Jan 14, 2017

OSX (MD5: e73ee6b531f7a53690bf57837cd0f5c5) haste-compiler.tar's compiler.jar has broken?

with --opt-minify option:

Error: Invalid or corrupt jarfile

my java -version is:

java version "1.8.0_112"
Java(TM) SE Runtime Environment (build 1.8.0_112-b16)
Java HotSpot(TM) 64-Bit Server VM (build 25.112-b16, mixed mode)

@valderman
Copy link
Owner

If the JAR is corrupt, then it should probably be for all systems. Will look into it; if nothing else, the JAR should probably have an MD5 check or something, to make sure it doesn't become corrupted during transit or something.

@kkazuo
Copy link
Author

kkazuo commented Jan 17, 2017

OSX distribution tar.bz2 md5 is OK. here is my console output:

$ md5 ~/Downloads/haste-compiler-0.5.5.1_ghc-7.10.3-darwin.tar.bz2 
MD5 (/Users/kaz/Downloads/haste-compiler-0.5.5.1_ghc-7.10.3-darwin.tar.bz2) = e73ee6b531f7a53690bf57837cd0f5c5
$ tar xf ~/Downloads/haste-compiler-0.5.5.1_ghc-7.10.3-darwin.tar.bz2
$ md5 haste-compiler/x86_64-darwin-haste-0.5.5.1-ghc-7.10.3/compiler.jar 
MD5 (haste-compiler/x86_64-darwin-haste-0.5.5.1-ghc-7.10.3/compiler.jar) = 9745c2b8b873eaa8c1c582262cd1d240
$ java -jar haste-compiler/x86_64-darwin-haste-0.5.5.1-ghc-7.10.3/compiler.jar 
Error: Invalid or corrupt jarfile haste-compiler/x86_64-darwin-haste-0.5.5.1-ghc-7.10.3/compiler.jar

@kkazuo
Copy link
Author

kkazuo commented Jan 17, 2017

I tried the linux version haste's compiler.jar.

$ md5 haste-compiler/x86_64-linux-haste-0.5.5.1-ghc-7.10.3/compiler.jar 
MD5 (haste-compiler/x86_64-linux-haste-0.5.5.1-ghc-7.10.3/compiler.jar) = 6db9233c6413855b3f466ce0d7da4248
$ java -jar haste-compiler/x86_64-linux-haste-0.5.5.1-ghc-7.10.3/compiler.jar 
The compiler is waiting for input via stdin.

probably, that works.

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