[pkg-go] Bug#964873: consul: FTBFS: src/github.com/hashicorp/consul/agent/consul/server.go:467:29: cannot use s.logger (type *log.Logger) as type hclog.Logger in assignment

Reinhard Tartler siretart at tauware.de
Sat Jul 11 16:11:24 BST 2020


Source: consul
Severity: serious
Version: 1.0.7~dfsg1-5

While trying to rebuild the package, I've encountered a build
problem. Here is the relevant part of the build log:

# github.com/hashicorp/consul/agent/consul
src/github.com/hashicorp/consul/agent/consul/server.go:467:29: cannot use s.logger (type *log.Logger) as type hclog.Logger in assignment:
	*log.Logger does not implement hclog.Logger (missing Debug method)

Full buildlog attached.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: consul_1.0.7~dfsg1-5
Type: application/octet-stream
Size: 232507 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-go-maintainers/attachments/20200711/b9f2bcd8/attachment-0001.obj>
-------------- next part --------------

-- System Information:
Debian Release: bullseye/sid
  APT prefers testing
  APT policy: (500, 'testing'), (50, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 5.6.0-1-amd64 (SMP w/4 CPU cores)
Kernel taint flags: TAINT_WARN, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled


More information about the Pkg-go-maintainers mailing list