Skip to content

Won't compile w/ Caddy 2.10.0 #12

@StewGoin

Description

@StewGoin

Tried using xcaddy on linux (amd64) to compile a new 2.10.0 binary and it fails during compilation:

# github.com/libdns/gandi
/root/go/pkg/mod/github.com/libdns/gandi@v1.0.4/client.go:18:110: record.Name undefined (type libdns.Record has no field or method Name)
/root/go/pkg/mod/github.com/libdns/gandi@v1.0.4/client.go:18:123: record.Type undefined (type libdns.Record has no field or method Type)
/root/go/pkg/mod/github.com/libdns/gandi@v1.0.4/client.go:34:20: record.Value undefined (type libdns.Record has no field or method Value)
/root/go/pkg/mod/github.com/libdns/gandi@v1.0.4/client.go:42:40: record.Value undefined (type libdns.Record has no field or method Value)
/root/go/pkg/mod/github.com/libdns/gandi@v1.0.4/client.go:47:27: record.TTL undefined (type libdns.Record has no field or method TTL)
/root/go/pkg/mod/github.com/libdns/gandi@v1.0.4/client.go:48:23: record.Type undefined (type libdns.Record has no field or method Type)
/root/go/pkg/mod/github.com/libdns/gandi@v1.0.4/client.go:49:23: record.Name undefined (type libdns.Record has no field or method Name)
/root/go/pkg/mod/github.com/libdns/gandi@v1.0.4/client.go:59:109: record.Name undefined (type libdns.Record has no field or method Name)
/root/go/pkg/mod/github.com/libdns/gandi@v1.0.4/client.go:59:122: record.Type undefined (type libdns.Record has no field or method Type)
/root/go/pkg/mod/github.com/libdns/gandi@v1.0.4/client.go:75:110: record.Name undefined (type libdns.Record has no field or method Name)
/root/go/pkg/mod/github.com/libdns/gandi@v1.0.4/client.go:75:110: too many errors
2025/05/06 18:30:26 [INFO] Cleaning up temporary folder: /tmp/buildenv_2025-05-06-1830.3099124904
2025/05/06 18:30:26 [FATAL] exit status 1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions