Source: nomad
Version: 0.12.10+dfsg1-3
Severity: serious
Justification: FTBFS
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu impish

Hi Dmitry,

The nomad package fails to build from source in Ubuntu, so in the process of
investigating this build failure I confirmed that it also fails to build in
Debian unstable:

[...]
# github.com/hashicorp/nomad/drivers/shared/executor
src/github.com/hashicorp/nomad/drivers/shared/executor/executor_universal_linux.go:125:36:
 cannot use groups (type *configs.Cgroup) as type *configs.Resources in 
argument to freezer.Set
src/github.com/hashicorp/nomad/drivers/shared/executor/executor_universal_linux.go:137:37:
 cannot use groups (type *configs.Cgroup) as type *configs.Resources in 
argument to freezer.Set
src/github.com/hashicorp/nomad/drivers/shared/executor/executor_universal_linux.go:159:36:
 cannot use groups (type *configs.Cgroup) as type *configs.Resources in 
argument to freezer.Set
[...]
dh_auto_build: error: cd _build && go install -trimpath -v -p 12 -a -tags 
"release ui nonvidia" github.com/hashicorp/nomad github.com/hashicorp/nomad/acl 
github.com/hashicorp/nomad/api github.com/hashicorp/nomad/api/contexts 
github.com/hashicorp/nomad/api/internal/testutil 
github.com/hashicorp/nomad/api/internal/testutil/discover 
github.com/hashicorp/nomad/api/internal/testutil/freeport 
github.com/hashicorp/nomad/client github.com/hashicorp/nomad/client/allocdir 
github.com/hashicorp/nomad/client/allocdir/input 
github.com/hashicorp/nomad/client/allochealth 
github.com/hashicorp/nomad/client/allocrunner 
github.com/hashicorp/nomad/client/allocrunner/interfaces 
github.com/hashicorp/nomad/client/allocrunner/state 
github.com/hashicorp/nomad/client/allocrunner/taskrunner 
github.com/hashicorp/nomad/client/allocrunner/taskrunner/getter 
github.com/hashicorp/nomad/client/allocrunner/taskrunner/interfaces 
github.com/hashicorp/nomad/client/allocrunner/taskrunner/restarts 
github.com/hashicorp/nomad/client/allocrunner/taskrunner/state 
github.com/hashicorp/nomad/client/allocrunner/taskrunner/template 
github.com/hashicorp/nomad/client/allocwatcher 
github.com/hashicorp/nomad/client/config 
github.com/hashicorp/nomad/client/consul 
github.com/hashicorp/nomad/client/devicemanager 
github.com/hashicorp/nomad/client/devicemanager/state 
github.com/hashicorp/nomad/client/dynamicplugins 
github.com/hashicorp/nomad/client/fingerprint 
github.com/hashicorp/nomad/client/interfaces 
github.com/hashicorp/nomad/client/lib/fifo 
github.com/hashicorp/nomad/client/lib/nsutil 
github.com/hashicorp/nomad/client/lib/streamframer 
github.com/hashicorp/nomad/client/logmon 
github.com/hashicorp/nomad/client/logmon/logging 
github.com/hashicorp/nomad/client/logmon/proto 
github.com/hashicorp/nomad/client/pluginmanager 
github.com/hashicorp/nomad/client/pluginmanager/csimanager 
github.com/hashicorp/nomad/client/pluginmanager/drivermanager 
github.com/hashicorp/nomad/client/pluginmanager/drivermanager/state 
github.com/hashicorp/nomad/client/servers 
github.com/hashicorp/nomad/client/state github.com/hashicorp/nomad/client/stats 
github.com/hashicorp/nomad/client/structs 
github.com/hashicorp/nomad/client/taskenv 
github.com/hashicorp/nomad/client/testutil 
github.com/hashicorp/nomad/client/vaultclient 
github.com/hashicorp/nomad/command github.com/hashicorp/nomad/command/agent 
github.com/hashicorp/nomad/command/agent/consul 
github.com/hashicorp/nomad/command/agent/event 
github.com/hashicorp/nomad/command/agent/host 
github.com/hashicorp/nomad/command/agent/monitor 
github.com/hashicorp/nomad/command/agent/pprof 
github.com/hashicorp/nomad/command/raft_tools 
github.com/hashicorp/nomad/devices/gpu/nvidia 
github.com/hashicorp/nomad/devices/gpu/nvidia/cmd 
github.com/hashicorp/nomad/devices/gpu/nvidia/nvml 
github.com/hashicorp/nomad/drivers/docker 
github.com/hashicorp/nomad/drivers/docker/cmd 
github.com/hashicorp/nomad/drivers/docker/docklog 
github.com/hashicorp/nomad/drivers/docker/docklog/proto 
github.com/hashicorp/nomad/drivers/docker/util 
github.com/hashicorp/nomad/drivers/exec github.com/hashicorp/nomad/drivers/java 
github.com/hashicorp/nomad/drivers/mock github.com/hashicorp/nomad/drivers/qemu 
github.com/hashicorp/nomad/drivers/rawexec 
github.com/hashicorp/nomad/drivers/shared/eventer 
github.com/hashicorp/nomad/drivers/shared/executor 
github.com/hashicorp/nomad/drivers/shared/executor/proto 
github.com/hashicorp/nomad/drivers/shared/resolvconf 
github.com/hashicorp/nomad/helper github.com/hashicorp/nomad/helper/args 
github.com/hashicorp/nomad/helper/boltdd 
github.com/hashicorp/nomad/helper/codec 
github.com/hashicorp/nomad/helper/constraints/semver 
github.com/hashicorp/nomad/helper/discover 
github.com/hashicorp/nomad/helper/escapingio 
github.com/hashicorp/nomad/helper/fields 
github.com/hashicorp/nomad/helper/flag-helpers 
github.com/hashicorp/nomad/helper/flatmap 
github.com/hashicorp/nomad/helper/freeport 
github.com/hashicorp/nomad/helper/gated-writer 
github.com/hashicorp/nomad/helper/grpc-middleware/logging 
github.com/hashicorp/nomad/helper/logging 
github.com/hashicorp/nomad/helper/mount 
github.com/hashicorp/nomad/helper/noxssrw 
github.com/hashicorp/nomad/helper/pluginutils/catalog 
github.com/hashicorp/nomad/helper/pluginutils/grpcutils 
github.com/hashicorp/nomad/helper/pluginutils/hclspecutils 
github.com/hashicorp/nomad/helper/pluginutils/hclutils 
github.com/hashicorp/nomad/helper/pluginutils/loader 
github.com/hashicorp/nomad/helper/pluginutils/singleton 
github.com/hashicorp/nomad/helper/pool 
github.com/hashicorp/nomad/helper/raftutil 
github.com/hashicorp/nomad/helper/snapshot 
github.com/hashicorp/nomad/helper/stats 
github.com/hashicorp/nomad/helper/testlog 
github.com/hashicorp/nomad/helper/testtask 
github.com/hashicorp/nomad/helper/tlsutil 
github.com/hashicorp/nomad/helper/useragent 
github.com/hashicorp/nomad/helper/uuid github.com/hashicorp/nomad/helper/winsvc 
github.com/hashicorp/nomad/jobspec github.com/hashicorp/nomad/lib/circbufwriter 
github.com/hashicorp/nomad/lib/delayheap github.com/hashicorp/nomad/lib/kheap 
github.com/hashicorp/nomad/nomad 
github.com/hashicorp/nomad/nomad/deploymentwatcher 
github.com/hashicorp/nomad/nomad/drainer github.com/hashicorp/nomad/nomad/mock 
github.com/hashicorp/nomad/nomad/state github.com/hashicorp/nomad/nomad/structs 
github.com/hashicorp/nomad/nomad/structs/config 
github.com/hashicorp/nomad/nomad/types 
github.com/hashicorp/nomad/nomad/volumewatcher 
github.com/hashicorp/nomad/plugins github.com/hashicorp/nomad/plugins/base 
github.com/hashicorp/nomad/plugins/base/proto 
github.com/hashicorp/nomad/plugins/base/structs 
github.com/hashicorp/nomad/plugins/csi 
github.com/hashicorp/nomad/plugins/csi/fake 
github.com/hashicorp/nomad/plugins/csi/testing 
github.com/hashicorp/nomad/plugins/device 
github.com/hashicorp/nomad/plugins/device/cmd/example 
github.com/hashicorp/nomad/plugins/device/cmd/example/cmd 
github.com/hashicorp/nomad/plugins/device/proto 
github.com/hashicorp/nomad/plugins/drivers 
github.com/hashicorp/nomad/plugins/drivers/proto 
github.com/hashicorp/nomad/plugins/drivers/testutils 
github.com/hashicorp/nomad/plugins/drivers/utils 
github.com/hashicorp/nomad/plugins/shared/cmd/launcher 
github.com/hashicorp/nomad/plugins/shared/cmd/launcher/command 
github.com/hashicorp/nomad/plugins/shared/hclspec 
github.com/hashicorp/nomad/plugins/shared/structs 
github.com/hashicorp/nomad/plugins/shared/structs/proto 
github.com/hashicorp/nomad/scheduler github.com/hashicorp/nomad/testutil 
github.com/hashicorp/nomad/version returned exit code 2
[...]

There are some other errors when building on Ubuntu, but the above are
common to Debian and Ubuntu.

Regards,
-- 
Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
Ubuntu Developer                                   https://www.debian.org/
slanga...@ubuntu.com                                     vor...@debian.org

Attachment: signature.asc
Description: PGP signature

Reply via email to