Skip to content

Can't build from source on the OpenSolaris/illumos #3585

@IvanPizhenko

Description

@IvanPizhenko

Description of the problem or steps to reproduce

Cannot build from source due to following error:

ivan@hipster:~/pro/tp/micro$ gmake
GOOS=illumos GOARCH=amd64 go generate ./runtime
CGO_ENABLED=0 go build -trimpath -ldflags "-s -w -X github.com/zyedidia/micro/v2/internal/util.Version=2.0.15-dev.90 -X github.com/zyedidia/micro/v2/internal/util.CommitHash=2898f159 -X 'github.com/zyedidia/micro/v2/internal/util.CompileDate=December 22, 2024' """ ./cmd/micro
# github.com/zyedidia/terminal
../../../go/pkg/mod/github.com/zyedidia/terminal@v0.0.0-20230315200948-4b3bcf6dddef/ioctl_posix.go:13:11: undefined: syscall.SYS_IOCTL
gmake: *** [Makefile:27: build-quick] Error 

Some additional information on the topic can be found here
https://stackoverflow.com/questions/73280640
Please update from "syscall" to "golang.org/x/sys/unix"

Specifications

Commit hash: 2898f15
OS: SunOS hipster 5.11 illumos-a2057e4a8d i86pc i386 i86pc
Terminal:

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions