Skip to content
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

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

Closed
ronaldklop opened this issue Jun 22, 2023 · 2 comments · Fixed by #1717
Closed

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

ronaldklop opened this issue Jun 22, 2023 · 2 comments · Fixed by #1717
Labels
bug Something isn't working

Comments

@ronaldklop
Copy link

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
Copy link
Contributor

thanks @ronaldklop for reporting it

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

@ronaldklop
Copy link
Author

thanks @ronaldklop for reporting it

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

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

freebsd-git pushed a commit to freebsd/freebsd-ports that referenced this issue Jun 22, 2023
Release notes:
https://github.com/codenotary/immudb/releases/tag/v1.5.0

Including a fix for: "freebsd build of 1.5.0 fails on fileutils: syncDir redeclared"
codenotary/immudb#1716
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants