Doesn't FreeBSD support emulating linux syscalls? I suspect that the linux
standalone tarball could be used to install git-annex on user-space on
FreeBSD and work that way. Have not tried it maybe there is a better way,
to install a FreeBSD port as a regular user.
I don't know much about the static-annex builds, but you may have better
luck with the Linux standalone builds due to their using a more
conventional libc.
Building git-annex from source is not hard if you can get the stack tool
installed. It looks like the only currently supported way to do that as a
freebsd user is to install https://www.haskell.org/ghcup/ which includes
stack. Then follow the fromsource section on "building from source with
stack".
Doesn't FreeBSD support emulating linux syscalls? I suspect that the linux standalone tarball could be used to install git-annex on user-space on FreeBSD and work that way. Have not tried it maybe there is a better way, to install a FreeBSD port as a regular user.
don't know much about freebsd but static builds from https://git.kyleam.com/static-annex do not work:
```shell [yoh@dbic-mrinbox ~/git-annex-10.20250828]$ bin/git-annex ELF binary type "0" not known. bash: bin/git-annex: cannot execute binary file: Exec format error [yoh@dbic-mrinbox ~/git-annex-10.20250828]$ file bin/git-annex bin/git-annex: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), statically linked, BuildID[sha1]=a6f7f36778ade374ef6572c787cacf6ffa2ec78d, with debug_info, not stripped
```
I don't know much about the static-annex builds, but you may have better luck with the Linux standalone builds due to their using a more conventional libc.
Building git-annex from source is not hard if you can get the stack tool installed. It looks like the only currently supported way to do that as a freebsd user is to install https://www.haskell.org/ghcup/ which includes stack. Then follow the fromsource section on "building from source with stack".
FWIW, dynamically linked binary is no good either:
``` [yoh@dbic-mrinbox ~]$ wget https://downloads.kitenet.net/git-annex/linux/current/git-annex-standalone-amd64.tar.gz [yoh@dbic-mrinbox ~]$ tar -xzvf git-annex-standalone-amd64.tar.gz [yoh@dbic-mrinbox ~]$ cd git-annex.linux/ [yoh@dbic-mrinbox ~/git-annex.linux]$ ls LICENSE exe git-annex git-core git-remote-tor-annex lib logo_16x16.png templates README extra git-annex-shell git-receive-pack git-shell lib64 magic trustedkeys.gpg bin gconvdir git-annex-webapp git-remote-annex git-upload-pack libdirs runshell usr buildid git git-annex.MANIFEST git-remote-p2p-annex i18n logo.svg shimmed [yoh@dbic-mrinbox ~/git-annex.linux]$ ./git-annex ELF binary type "3" not known. exec: /usr/home/yoh/git-annex.linux/exe/git-annex: Exec format error
```
I will try to assemble build commands later...