Closed timothywinters closed 2 years ago
Thank you for the report, I'll take a look.
Should be fine now, but I have no way to test (no freebsd setup anywhere). Can you check if it works for you and if so, I'll cut the next release?
Tried compiling that branch, got the same errors. You could try running a version of freeBSD in a virtual machine or container of some variety to test it directly.
"got the same errors." How is that possible, when those lines, where you got compilation errors, have been removed? Can you paste the error message?
Tried to compile from source on a FreeBSD jail, got these errors, tried again with the verbose flag to get more information.
Compiling fclones v0.17.0
error[E0063]: missing field
l_sysid
in initializer offlock
--> /root/.cargo/registry/src/github.com-1ecc6299db9ec823/fclones-0.17.0/src/lock.rs:31:17 | 31 | let f = libc::flock { | ^^^^^^^^^^^ missingl_sysid
error[E0063]: missing field
l_sysid
in initializer offlock
--> /root/.cargo/registry/src/github.com-1ecc6299db9ec823/fclones-0.17.0/src/lock.rs:47:17 | 47 | let f = libc::flock { | ^^^^^^^^^^^ missingl_sysid
error: aborting due to 2 previous errors
For more information about this error, try
rustc --explain E0063
. error: failed to compilefclones v0.17.0
, intermediate artifacts can be foundat/tmp/cargo-installPdO1Nf
Caused by: could not compile
fclones
See attached file for full message. FreeBSD fclones Errors.docx