Bug#1136666: Missing build depends for caddy
Control: tags -1 pending Build dependencies are updated so it builds fine in trixie-backports. It is also pushed to debian/sid branch. OpenPGP_0x8F53E0193B294B75.asc Description: OpenPGP public key OpenPGP_signature.asc Description: OpenPGP digital signature
Bug#1136666: Missing build depends for caddy
On Thu, 14 May 2026 20:53:52 +0530 Pirate Praveen
wrote:
It seems still not enough as there are more errors like
# github.com/caddyserver/caddy/v2/modules/caddytls
src/github.com/caddyserver/caddy/v2/modules/caddytls/zerosslissuer.go:65:21:
undefined: certmagic.ZeroSSLIssuer
src/github.com/caddyserver/caddy/v2/modules/caddytls/acmeissuer.go:154:22:
undefined: certmagic.DNSProvider
src/github.com/caddyserver/caddy/v2/modules/caddytls/acmeissuer.go:161:26:
undefined: certmagic.DNSProvider
src/github.com/caddyserver/caddy/v2/modules/caddytls/acmeissuer.go:167:34:
undefined: certmagic.DNSProvider
src/github.com/caddyserver/caddy/v2/modules/caddytls/acmeissuer.go:173:31:
cannot use &certmagic.DNS01Solver{…} (value of type
*certmagic.DNS01Solver) as "github.com/mholt/acmez/v3".Solver value in
assignment: *certmagic.DNS01Solver does not implement
The above error is gone after updating certmagic and now we have,
# github.com/caddyserver/caddy/v2/vendor/github.com/google/cel-go/common/ast
src/github.com/caddyserver/caddy/v2/vendor/github.com/google/cel-go/common/ast/conversion.go:181:8:
comp.GetIterVar2 undefined (type
*"google.golang.org/genproto/googleapis/api/expr/v1alpha1".Expr_Comprehension
has no field or method GetIterVar2)
src/github.com/caddyserver/caddy/v2/vendor/github.com/google/cel-go/common/ast/conversion.go:210:38:
l.GetOptionalIndices undefined (type
*"google.golang.org/genproto/googleapis/api/expr/v1alpha1".Expr_CreateList
has no field or method GetOptionalIndices)
src/github.com/caddyserver/caddy/v2/vendor/github.com/google/cel-go/common/ast/conversion.go:234:41:
e.GetOptionalEntry undefined (type
*"google.golang.org/genproto/googleapis/api/expr/v1alpha1".Expr_CreateStruct_Entry
has no field or method GetOptionalEntry)
src/github.com/caddyserver/caddy/v2/vendor/github.com/google/cel-go/common/ast/conversion.go:265:58:
f.GetOptionalEntry undefined (type
*"google.golang.org/genproto/googleapis/api/expr/v1alpha1".Expr_CreateStruct_Entry
has no field or method GetOptionalEntry)
src/github.com/caddyserver/caddy/v2/vendor/github.com/google/cel-go/common/ast/conversion.go:369:5:
unknown field IterVar2 in struct literal of type
"google.golang.org/genproto/googleapis/api/expr/v1alpha1".Expr_Comprehension
src/github.com/caddyserver/caddy/v2/vendor/github.com/google/cel-go/common/ast/conversion.go:406:5:
unknown field OptionalIndices in struct literal of type
"google.golang.org/genproto/googleapis/api/expr/v1alpha1".Expr_CreateList
src/github.com/caddyserver/caddy/v2/vendor/github.com/google/cel-go/common/ast/conversion.go:459:3:
unknown field OptionalEntry in struct literal of type
"google.golang.org/genproto/googleapis/api/expr/v1alpha1".Expr_CreateStruct_Entry
src/github.com/caddyserver/caddy/v2/vendor/github.com/google/cel-go/common/ast/conversion.go:511:3:
unknown field OptionalEntry in struct literal of type
"google.golang.org/genproto/googleapis/api/expr/v1alpha1".Expr_CreateStruct_Entry
We probably need to update golang-google-genproto-dev
OpenPGP_0x8F53E0193B294B75.asc
Description: OpenPGP public key
OpenPGP_signature.asc
Description: OpenPGP digital signature
Bug#1136666: Missing build depends for caddy
On Thu, 14 May 2026 19:18:52 +0530 Pirate Praveen
wrote:
I will add these or update minimum versions in Build-Deps as part of
backporting caddy.
This is neede to fix those errors,
diff --git a/debian/control b/debian/control
index e21cbf8c..5c4ff36a 100644
--- a/debian/control
+++ b/debian/control
@@ -6,10 +6,13 @@ Testsuite: autopkgtest-pkg-go
Build-Depends: debhelper-compat (= 13),
dh-golang,
golang-any,
+ golang-cel-expr-dev,
golang-github-masterminds-sprig-dev,
golang-github-alecthomas-chroma-v2-dev,
golang-github-aryann-difflib-dev,
golang-github-caddyserver-certmagic-dev (>= 0.16.0~),
+ golang-github-caddyserver-zerossl-dev,
+ golang-github-cloudflare-circl-dev,
golang-github-deruina-timberjack-dev,
golang-github-dustin-go-humanize-dev,
golang-github-go-chi-chi-dev,
@@ -19,7 +22,7 @@ Build-Depends: debhelper-compat (= 13),
golang-github-kimmachinegun-automemlimit-dev,
golang-github-klauspost-compress-dev,
golang-github-klauspost-cpuid-dev (>= 2.0.6),
- golang-github-mholt-acmez-dev,
+ golang-github-mholt-acmez-v3-dev,
golang-github-naoina-toml-dev,
golang-github-pires-go-proxyproto-dev (>= 0.11.0-1~),
golang-github-prometheus-client-golang-dev,
@@ -40,7 +43,7 @@ Build-Depends: debhelper-compat (= 13),
golang-gopkg-yaml.v2-dev,
golang-opentelemetry-otel-dev,
golang-uber-automaxprocs-dev,
- golang-github-antlr-antlr4-dev (>=4.11.1~),
+ golang-github-antlr4-go-antlr-dev,
golang-glog-dev,
golang-golang-x-text-dev,
golang-github-stoewer-go-strcase-dev,
It seems still not enough as there are more errors like
# github.com/caddyserver/caddy/v2/modules/caddytls
src/github.com/caddyserver/caddy/v2/modules/caddytls/zerosslissuer.go:65:21:
undefined: certmagic.ZeroSSLIssuer
src/github.com/caddyserver/caddy/v2/modules/caddytls/acmeissuer.go:154:22:
undefined: certmagic.DNSProvider
src/github.com/caddyserver/caddy/v2/modules/caddytls/acmeissuer.go:161:26:
undefined: certmagic.DNSProvider
src/github.com/caddyserver/caddy/v2/modules/caddytls/acmeissuer.go:167:34:
undefined: certmagic.DNSProvider
src/github.com/caddyserver/caddy/v2/modules/caddytls/acmeissuer.go:173:31:
cannot use &certmagic.DNS01Solver{…} (value of type
*certmagic.DNS01Solver) as "github.com/mholt/acmez/v3".Solver value in
assignment: *certmagic.DNS01Solver does not implement
"github.com/mholt/acmez/v3".Solver (wrong type for method CleanUp)
have CleanUp(context.Context, "github.com/mholt/acmez/acme".Challenge)
error
want CleanUp(context.Context,
"github.com/mholt/acmez/v3/acme".Challenge) error
src/github.com/caddyserver/caddy/v2/modules/caddytls/acmeissuer.go:174:4:
unknown field DNSManager in struct literal of type certmagic.DNS01Solver
src/github.com/caddyserver/caddy/v2/modules/caddytls/acmeissuer.go:174:26:
undefined: certmagic.DNSManager
src/github.com/caddyserver/caddy/v2/modules/caddytls/acmeissuer.go:214:3:
unknown field Profile in struct literal of type certmagic.ACMEIssuer
src/github.com/caddyserver/caddy/v2/modules/caddytls/acmeissuer.go:218:22:
cannot use iss.ExternalAccount (variable of type
*"github.com/mholt/acmez/v3/acme".EAB) as
*"github.com/mholt/acmez/acme".EAB value in struct literal
src/github.com/caddyserver/caddy/v2/modules/caddytls/acmeissuer.go:726:14:
undefined: certmagic.RenewalInfoGetter
src/github.com/caddyserver/caddy/v2/modules/caddytls/acmeissuer.go:218:22:
too many errors
Possibly need to update golang-github-caddyserver-certmagic-dev as well,
trying this.
OpenPGP_0x8F53E0193B294B75.asc
Description: OpenPGP public key
OpenPGP_signature.asc
Description: OpenPGP digital signature
Bug#1136666: Missing build depends for caddy
Package: caddy Version: 2.11.2-1 Severity: important Control: block 1135895 by -1 While 1. building caddy for trixie backports, 2. after rebuilding all the build dependencies with minimum required dependencies mentioned in Build-Depeds 3. and passing them as --extra-package to sbuild, 4. build still fails with these errors, src/github.com/caddyserver/caddy/v2/modules/caddytls/acmeissuer.go:30:2: cannot find package "github.com/caddyserver/zerossl" in any of: /build/reproducible-path/caddy-2.11.2/build/src/github.com/caddyserver/caddy/v2/vendor/github.com/caddyserver/zerossl (vendor tree) /usr/lib/go-1.24/src/github.com/caddyserver/zerossl (from $GOROOT) /build/reproducible-path/caddy-2.11.2/build/src/github.com/caddyserver/zerossl (from $GOPATH) src/github.com/caddyserver/caddy/v2/modules/caddytls/ech.go:19:2: cannot find package "github.com/cloudflare/circl/hpke" in any of: /build/reproducible-path/caddy-2.11.2/build/src/github.com/caddyserver/caddy/v2/vendor/github.com/cloudflare/circl/hpke (vendor tree) /usr/lib/go-1.24/src/github.com/cloudflare/circl/hpke (from $GOROOT) /build/reproducible-path/caddy-2.11.2/build/src/github.com/cloudflare/circl/hpke (from $GOPATH) src/github.com/caddyserver/caddy/v2/modules/caddytls/ech.go:20:2: cannot find package "github.com/cloudflare/circl/kem" in any of: /build/reproducible-path/caddy-2.11.2/build/src/github.com/caddyserver/caddy/v2/vendor/github.com/cloudflare/circl/kem (vendor tree) /usr/lib/go-1.24/src/github.com/cloudflare/circl/kem (from $GOROOT) /build/reproducible-path/caddy-2.11.2/build/src/github.com/cloudflare/circl/kem (from $GOPATH) src/github.com/caddyserver/caddy/v2/modules/caddytls/automation.go:28:2: cannot find package "github.com/mholt/acmez/v3" in any of: /build/reproducible-path/caddy-2.11.2/build/src/github.com/caddyserver/caddy/v2/vendor/github.com/mholt/acmez/v3 (vendor tree) /usr/lib/go-1.24/src/github.com/mholt/acmez/v3 (from $GOROOT) /build/reproducible-path/caddy-2.11.2/build/src/github.com/mholt/acmez/v3 (from $GOPATH) src/github.com/caddyserver/caddy/v2/modules/caddytls/acmeissuer.go:31:2: cannot find package "github.com/mholt/acmez/v3/acme" in any of: /build/reproducible-path/caddy-2.11.2/build/src/github.com/caddyserver/caddy/v2/vendor/github.com/mholt/acmez/v3/acme (vendor tree) /usr/lib/go-1.24/src/github.com/mholt/acmez/v3/acme (from $GOROOT) /build/reproducible-path/caddy-2.11.2/build/src/github.com/mholt/acmez/v3/acme (from $GOPATH) src/github.com/caddyserver/caddy/v2/vendor/github.com/google/cel-go/cel/decls.go:26:2: cannot find package "cel.dev/expr" in any of: /build/reproducible-path/caddy-2.11.2/build/src/github.com/caddyserver/caddy/v2/vendor/cel.dev/expr (vendor tree) /usr/lib/go-1.24/src/cel.dev/expr (from $GOROOT) /build/reproducible-path/caddy-2.11.2/build/src/cel.dev/expr (from $GOPATH) src/github.com/caddyserver/caddy/v2/vendor/github.com/google/cel-go/parser/helper.go:20:2: cannot find package "github.com/antlr4-go/antlr/v4" in any of: /build/reproducible-path/caddy-2.11.2/build/src/github.com/caddyserver/caddy/v2/vendor/github.com/antlr4-go/antlr/v4 (vendor tree) /usr/lib/go-1.24/src/github.com/antlr4-go/antlr/v4 (from $GOROOT) /build/reproducible-path/caddy-2.11.2/build/src/github.com/antlr4-go/antlr/v4 (from $GOPATH) I will add these or update minimum versions in Build-Deps as part of backporting caddy. OpenPGP_0x8F53E0193B294B75.asc Description: OpenPGP public key OpenPGP_signature.asc Description: OpenPGP digital signature

