Can't build Shiori@latest: Ftm_zone and Ftm_gmtoff aren't there.
dertuxmalwieder opened this issue · 1 comments
dertuxmalwieder commented
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/libc@v1.50.6/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/libc@v1.50.6/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.
fmartingr commented
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.