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

Doesn't compile for Dragonfly or Illumos #161

Open
mholt opened this issue Nov 15, 2019 · 3 comments
Open

Doesn't compile for Dragonfly or Illumos #161

mholt opened this issue Nov 15, 2019 · 3 comments

Comments

@mholt
Copy link

mholt commented Nov 15, 2019

GOOS=dragonfly go build returns an error:

github.com/hpcloud/tail/tail.go:191:20: undefined: OpenFile

This library is a dependency of quic-go which we use in Caddy and Caddy can no longer compile for Dragonfly because of this.

@mholt
Copy link
Author

mholt commented Nov 15, 2019

Same happens for GOOS=illumos :(

mohammed90 added a commit to mohammed90/tail that referenced this issue Nov 15, 2019
@mholt mholt changed the title Doesn't compile for Dragonfly Doesn't compile for Dragonfly or Illumos Nov 15, 2019
@mholt
Copy link
Author

mholt commented Nov 15, 2019

And for GOOS=solaris (yikes)

@nxadm
Copy link

nxadm commented Nov 19, 2019

@mholt, because this is an indirect dependency, the more sane way is just removing it upstream (I saw a PR is open).

However, I use this library in other projects so I decided to fork it because it looks it's abandoned for more than a year. I added the use of go modules and merged most of the open PRs (if they had a valid use case). You can find the repo here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants