-
Notifications
You must be signed in to change notification settings - Fork 44
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
go install error #41
Comments
If you are using an ancient compiler, that can be an issue. But, you didn't post an error, those are just warnings, what is the exact error? |
Just a warning,I find unarr at $GOPATH position.thanks! $ ./unarr /tmp/dist.rar /tmp/
! rar.c:214: RAR 5 format isn't supported
error: unarr: no valid RAR, ZIP, 7Z or TAR archive
$ file /tmp/dist.rar
/tmp/dist.rar: RAR archive data, v80, flags: Archive volume, Commented, Locked, Solid, |
That is not an issue with this repo, see selmf/unarr#3. I did not understand though, do you still have warnings after 13f578c? |
[root@polo bin]# ll
total 2536
-rwxr-xr-x 1 root root 2594056 Apr 23 11:38 unarr
[root@polo bin]# go install github.com/gen2brain/go-unarr/cmd/unarr@latest
^C
[root@polo bin]# go install github.com/gen2brain/go-unarr/cmd/unarr@master
go: downloading github.com/gen2brain/go-unarr v0.2.1-0.20240423063020-a12a3a02b177
[root@polo bin]# ll
total 2508
-rwxr-xr-x 1 root root 2566880 Apr 23 14:39 unarr @master. test is ok. |
go install github.com/gen2brain/go-unarr/cmd/unarr@master,then I run command: [root@polo bin]# ./unarr /tmp/dist.rar /tmp/
error: unarr: no valid RAR, ZIP, 7Z or TAR archive |
OK, that is as intended, the library should not spam with warnings. Thanks for reporting, will tag this later as 0.2.1. |
Note that if you want to see the warnings and debug messages you can build with |
centos7.9
go version go1.22.2 linux/amd64
The text was updated successfully, but these errors were encountered: