-
-
Notifications
You must be signed in to change notification settings - Fork 4k
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
AIX build is broken #5970
Comments
Just for reference, other not-so-common platforms work fine, too.
|
I've never even heard of Either way, this is a problem with upstream dependencies. You'll probably need to get the attention of |
For badger, the issue is a gap further upstream in |
I really do not know what to do here. If you would like to help me out, you'd need to create upstream issues for this -- sorry! (and thanks for the quick analysis!). |
Just so we know the use case, are you trying to use Caddy on AIX, or just mere curiosity? |
I would like to evaluate different web- and reverse-proxy servers for a few use cases. But AIX is a must-have for me for inclusion into my compatibility matrix. But in terms of use-case, it is just a proof-of-concept, so something in-between, probably. |
Oh, I can add a PR for that! #5971 |
We might have to defer this as I think this is largely out of our control. It looks like AIX simply does not support the API needed. But with the tag we can revisit this more easily. Thanks for reporting! Closing because there's nothing actionable we can do right now (more than Mohammed has done), as far as I know... but feel free to continue discussion. |
@bmarwell, you can use the build tag |
Thanks, will try! The docs didn't mention this, at least not on the front page. |
Hi @mohammed90
... how do I do that? Note, I'm not using xcaddy. Haven't found "build tag", |
Yeah, it wasn't clear on our dependency's repository until I went through their source code.
"build tags" are a Go thing, not xcaddy thing. Inside
Note that you'll have to build with the |
Woohoo thanks! Can now evaulate caddy as a reverse proxy! Many thanks! 👍🏻 |
@mohammed90 how did you get around these error messages?
|
You have to build from the commit b359ca5 because we had to upgrade github.com/google/certificate-transparency-go dependency to HEAD as well. Basically, if you git-cloned Caddy, do |
I just used master. Then did the following:
Compile: go build like above |
Oh, you'll have to run |
Oh I think I need to execute go get github.com/caddyserver/caddy/v2@ although it says optional step. However, according to go, the step is not optional. |
Yup than the readme is not 100% correct. Instead of making the "go get" step optional, it should mention when to use it. And if you don't use it, you'd need |
The README is correct because it's listing the typical workflow of building the latest tagged version without modification. The change in flow for you is because you're trying to build an untagged version that has not been released yet. Once we tag a new version, you won't need to do the |
Thank you for your patience explaining this! :) I am a Java developer only, all of what you said is really helpful! 👍🏻 |
Hi,
I just noticed the env vars
GOOS=aix GOARCH=ppc64
will lead to a build error:I think this should have worked out of the box? => https://gist.github.com/asukakenji/f15ba7e588ac42795f421b48b8aede63
I found no infos about AIX not being supported. Any help is appreciated.
The text was updated successfully, but these errors were encountered: