iipc / jwarc

Java library for reading and writing WARC files with a typed API
Apache License 2.0
46 stars 8 forks source link

Native OSX / Linux binaries do not work #61

Closed ikreymer closed 2 years ago

ikreymer commented 3 years ago

When using the native osx binary from the 0.16.1 release, it seems the binary does load, but the cmdline parsing is broken. Getting an invalid command for every command, eg:

jwarc: 'validate' is not a jwarc command. See 'jwarc help'.
jwarc: 'help' is not a jwarc command. See 'jwarc help'.

I am using it on an arm64 mac, but that should be transparent (should automatically use the emulation).

ikreymer commented 3 years ago

Unfortunately, the same happened on an Ubuntu machine using the linux binary..

ato commented 2 years ago

Thanks for reporting this. Seems to have been a bug in GraalVM native-image as when I updated the build script to use the latest version of GraalVM it works now. At least the Linux one does anyway, I don't currently have a Mac to test the darwin binary on.

New binaries here: https://github.com/iipc/jwarc/releases/tag/v0.16.4

ikreymer commented 2 years ago

Thanks! Confirmed the 0.16.4 binaries work on OSX as well!