[GH-ISSUE #952] Can't build Shiori@latest: Ftm_zone and Ftm_gmtoff aren't there. #423

Open
opened 2026-02-25 23:34:11 +03:00 by kerem · 1 comment
Owner

Originally created by @dertuxmalwieder on GitHub (Jul 4, 2024).
Original GitHub issue: https://github.com/go-shiori/shiori/issues/952

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.

Originally created by @dertuxmalwieder on GitHub (Jul 4, 2024). Original GitHub issue: https://github.com/go-shiori/shiori/issues/952 ## 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.
Author
Owner

@fmartingr commented on GitHub (Aug 27, 2024):

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.

<!-- gh-comment-id:2313058230 --> @fmartingr commented on GitHub (Aug 27, 2024): 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 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/shiori#423
No description provided.