Building From Source With Cloudflare Plugin Not Working

This is a very recent issue, but I am no longer able to build caddy from source when including the cloudflare dns plugin, even when using xcaddy.

Is anyone else having this same issue?

this is what I get:

/home/{user}/go/pkg/mod/github.com/smallstep/certificates@v0.15.0-rc.1.0.20200506212953-e855707dc274/authority/provisioner/jwk.go:155:24: assignment mismatch: 3 variables but x509util.SplitSANs returns 4 values
/home/{user}/go/pkg/mod/github.com/smallstep/certificates@v0.15.0-rc.1.0.20200506212953-e855707dc274/authority/provisioner/x5c.go:197:24: assignment mismatch: 3 variables but x509util.SplitSANs returns 4 values
2020/08/08 23:15:16 [INFO] Cleaning up temporary folder: /tmp/buildenv_2020-08-08-2314.023119896
2020/08/08 23:15:16 [FATAL] exit status 2

I tried clearing my ~/go directory, and also tried reinstalling go altogether. I am able to build caddy without the plugin successfully.

Relevant: xcaddy master build failing with caddy-auth-jwt · Issue #333 · smallstep/certificates · GitHub

I think it should work if you build from master. See Building with xcaddy fails · Issue #11 · caddy-dns/cloudflare · GitHub

1 Like

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.