[GH-ISSUE #1739] No time library for freeBSD? #216

Closed
opened 2026-03-03 12:09:13 +03:00 by kerem · 3 comments
Owner

Originally created by @trevorwhitney on GitHub (Sep 9, 2024).
Original GitHub issue: https://github.com/fsouza/fake-gcs-server/issues/1739

We just recently tried to update from v1.7.0 to v1.47.7(I know, huge jump), and it looks like in that jump the time functions were split out to OS specific version (linux, mac, and windows). Unfortunately, this breaks our freebsd/amd64 build complaining of:

vendor/github.com/fsouza/fake-gcs-server/internal/backend/fs.go:120:82: undefined: createTimeFromFileInfo
vendor/github.com/fsouza/fake-gcs-server/internal/backend/fs.go:156:82: undefined: createTimeFromFileInfo

Is this a known issue? Should it/can it use the linux version? Is support for freeBSD intentionally being dropped? Please let me know if I can help so we can upgrade our very out of date version. Thanks!

Originally created by @trevorwhitney on GitHub (Sep 9, 2024). Original GitHub issue: https://github.com/fsouza/fake-gcs-server/issues/1739 We just recently tried to update from `v1.7.0` to `v1.47.7`(I know, huge jump), and it looks like in that jump the time functions were split out to OS specific version (linux, mac, and windows). Unfortunately, this breaks our [freebsd/amd64 build](https://github.com/grafana/loki/actions/runs/10744853958/job/29802951861) complaining of: ``` vendor/github.com/fsouza/fake-gcs-server/internal/backend/fs.go:120:82: undefined: createTimeFromFileInfo vendor/github.com/fsouza/fake-gcs-server/internal/backend/fs.go:156:82: undefined: createTimeFromFileInfo ``` Is this a known issue? Should it/can it use the linux version? Is support for freeBSD intentionally being dropped? Please let me know if I can help so we can upgrade our very out of date version. Thanks!
kerem closed this issue 2026-03-03 12:09:13 +03:00
Author
Owner

@fsouza commented on GitHub (Sep 22, 2024):

I assume this was by accident.

We can fix it and add a CI job that cross-compiles to freebsd. I don't have access to infrastructure to run tests on freebsd, but we can guarantee that compilation won't break again in the future at least.

<!-- gh-comment-id:2366838217 --> @fsouza commented on GitHub (Sep 22, 2024): I assume this was by accident. We can fix it and add a CI job that cross-compiles to freebsd. I don't have access to infrastructure to run tests on freebsd, but we can guarantee that compilation won't break again in the future at least.
Author
Owner

@fsouza commented on GitHub (Sep 22, 2024):

This is fixed and the fix was included in 1.50.0. Let me know if you still have any issues!

<!-- gh-comment-id:2366868669 --> @fsouza commented on GitHub (Sep 22, 2024): This is fixed and the fix was included in 1.50.0. Let me know if you still have any issues!
Author
Owner

@trevorwhitney commented on GitHub (Sep 24, 2024):

thank you, will do!

<!-- gh-comment-id:2372555094 --> @trevorwhitney commented on GitHub (Sep 24, 2024): thank you, will do!
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/fake-gcs-server#216
No description provided.