codenotary / immudb

immudb - immutable database based on zero trust, SQL/Key-Value/Document model, tamperproof, data change history
https://immudb.io
Other
8.62k stars 343 forks source link

freebsd build of 1.5.0 fails on fileutils: syncDir redeclared #1716

Closed ronaldklop closed 1 year ago

ronaldklop commented 1 year ago

immudb15-1.5.0.log

build failure: [00:03:02] github.com/codenotary/immudb/embedded/appendable/fileutils [00:03:02] # github.com/codenotary/immudb/embedded/appendable/fileutils [00:03:02] embedded/appendable/fileutils/fileutils_unix_nonlinux.go:24:6: syncDir redeclared in this block [00:03:02] embedded/appendable/fileutils/fileutils_freebsd.go:25:6: other declaration of syncDir [00:03:02] embedded/appendable/fileutils/fileutils_unix_nonlinux.go:35:6: fdatasync redeclared in this block [00:03:02] embedded/appendable/fileutils/fileutils_freebsd.go:36:6: other declaration of fdatasync

Happened on FreeBSD 13.2 on aarch64.

jeroiraz commented 1 year ago

thanks @ronaldklop for reporting it

would you mind building using the branch fix_freebsd_build which may fix the issue?

ronaldklop commented 1 year ago

thanks @ronaldklop for reporting it

would you mind building using the branch fix_freebsd_build which may fix the issue?

I included commit 0df15e08d84e89509499a84d1b5266b5612c0301 in my build and that fixes the build. Thanks for the quick reaction.