ory / keto

The most scalable and customizable permission server on the market. Fix your slow or broken permission system with Google's proven "Zanzibar" approach. Supports ACL, RBAC, and more. Written in Go, cloud native, headless, API-first. Available as a service on Ory Network and for self-hosters.
https://www.ory.sh/?utm_source=github&utm_medium=banner&utm_campaign=keto
Apache License 2.0
4.87k stars 345 forks source link

Doesn't build on FreeBSD #682

Closed hrefhref closed 2 years ago

hrefhref commented 3 years ago

Keto (also affects Kratos) does not build (gmake install) on FreeBSD:

go install -tags sqlite .
# github.com/ory/dockertest/v3/docker/pkg/system
../../go/pkg/mod/github.com/ory/dockertest/v3@v3.6.5/docker/pkg/system/mknod.go:12:19: cannot use dev (type int) as type uint64 in argument to unix.Mknod
# gopkg.in/DataDog/dd-trace-go.v1/ddtrace/tracer
../../go/pkg/mod/gopkg.in/!data!dog/dd-trace-go.v1@v1.27.0/ddtrace/tracer/osinfo_default.go:19:9: undefined: unknownVersion
gmake: *** [Makefile:44: install] Error 2

Reproducing the bug

  1. Boot a FreeBSD.
  2. pkg install go sqlite3 bash gmake
  3. ln -s /usr/local/bin/bash /bin/bash (this is hardcoded in the Makefile)
  4. Clone Keto
  5. gmake install

Environment

github-actions[bot] commented 2 years ago

Hello contributors!

I am marking this issue as stale as it has not received any engagement from the community or maintainers a year. That does not imply that the issue has no merit! If you feel strongly about this issue

Throughout its lifetime, Ory has received over 10.000 issues and PRs. To sustain that growth, we need to prioritize and focus on issues that are important to the community. A good indication of importance, and thus priority, is activity on a topic.

Unfortunately, burnout has become a topic of concern amongst open-source projects.

It can lead to severe personal and health issues as well as opening catastrophic attack vectors.

The motivation for this automation is to help prioritize issues in the backlog and not ignore, reject, or belittle anyone.

If this issue was marked as stale erroneous you can exempt it by adding the backlog label, assigning someone, or setting a milestone for it.

Thank you for your understanding and to anyone who participated in the conversation! And as written above, please do participate in the conversation if this topic is important to you!

Thank you 🙏✌️