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

Can't build Shiori@latest: Ftm_zone and Ftm_gmtoff aren't there. #952

Open
dertuxmalwieder opened this issue Jul 4, 2024 · 1 comment
Open
Labels
type:bug Something isn't working

Comments

@dertuxmalwieder
Copy link

Data

  • Shiori version: None yet.
  • Database Engine: None yet.
  • Operating system: OmniOS r151050
  • CLI/Web interface/Web Extension: None yet.

Describe the bug / actual behavior

I tried to install Shiori. As I don't have Docker on my server (because Docker on illumos isn't really a thing), I thought I'd choose the "from source" option. Alas, no:

> go install github.com/go-shiori/shiori@latest
(...)
# modernc.org/libc
go/pkg/mod/modernc.org/[email protected]/libc_unix.go:1310:34: (*ctime.Tm)(unsafe.Pointer(tm)).Ftm_gmtoff undefined (type *struct{Ftm_sec int32; Ftm_min int32; Ftm_hour int32; Ftm_mday int32; Ftm_mon int32; Ftm_year int32; Ftm_wday int32; Ftm_yday int32; Ftm_isdst int32} has no field or method Ftm_gmtoff)
go/pkg/mod/modernc.org/[email protected]/libc_unix.go:1311:34: (*ctime.Tm)(unsafe.Pointer(tm)).Ftm_zone undefined (type *struct{Ftm_sec int32; Ftm_min int32; Ftm_hour int32; Ftm_mday int32; Ftm_mon int32; Ftm_year int32; Ftm_wday int32; Ftm_yday int32; Ftm_isdst int32} has no field or method Ftm_zone)

Expected behavior

It should have worked.

@dertuxmalwieder dertuxmalwieder added the type:bug Something isn't working label Jul 4, 2024
@github-project-automation github-project-automation bot moved this to To do in Roadmap Jul 4, 2024
@fmartingr
Copy link
Member

Unsure about that OS, we recently included some build tags for openbsd and their changes aroud syscalls, you could try going that way, but I can't help further since I have no experience with your OS. Sorry.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type:bug Something isn't working
Projects
Status: To do
Development

No branches or pull requests

2 participants