-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
Bump version of smallstep/nosql to newest to fix build error on illumos #3602
Conversation
Unfortunately I don't think we can accept this change, because it causes a regression: #3526 (edit: er, more specifically, this issue: #3525 -- it looks like we're still waiting for Dgraph to tag a new release, then for nosql to tag a new release that uses it.) I might be wrong, but that was my understanding. @mohammed90 would probably be able to confirm either way. |
The json in the Issue mentioned does not get rejected for me, but also does not produce output when calling. I changed the port to 80 to get a http server running which works but that server returns empty content. {
"apps":{
"http":{
"servers":{
"srv0":{
"listen":[
":80"
],
"routes":[
{
"match":[
{
"expression":"{http.request.uri.query} != ''"
}
],
"handle":[
{
"handler":"static_response",
"body":"Hello"
}
]
}
]
}
}
}
}
}
|
Matt is right. The PR #3526 resolves 2 issues, one of them is the warning printed due to conflict pb registration in BadgerDB. The warning is, in fact, printed in your log:
|
So this only a warning right now? I can live with that locally until a new release is tagged or I can bump everything for a local build for only me. I guess you want a tagged release for that on your side. Or is the response broken and caddy should respond with content but doesn't? |
Ah I need to do
Shall I close this and you look into it when a tagged release is here or how shall we proceed? |
Yeah, we'll have to close this for now. Sorry. We'll re-visit the version bump once smallstep/nosql depends on a release of badgerdb that includes the commit dgraph-io/badger@8097259. But I'm intrigued, can you share more about the illumos build error, since it presumably affects Caddy? |
Yeah sure. The main issue is that badger@1.5.3 uses golangs internal syscall library and that does not support many operatingsystems notably openbsd, netbsd, and illumos. Badger uses a constant for MADVISE and that only came into the go for these Unixes after the internal syscall library got frozen. Right now the internal syscall library only really works for linux and every software that wants to support something else than linux and uses the syscall library directly must use x/sys/unix instead. I've personally changed quite a few direct dependencies and pushed people to use x/sys/unix instead of syscall so that today this is mostly happening due the dependency chain. I could not upgrade badger to 1.6.1 as there where api changes but nosql bump worked. So until that is resolved caddy cannot be built on quite a few unix versions I suppose. I know it won't build for illumos right now. Are you monitoring cross-builds? |
Also here the exact error for documentation
|
FWIW that protobuf warning isn't regarding any functional issue in most cases. The new protobuf lib just decided to start printing a warning instead of silently ignoring the issue. |
No description provided.