Skip to content

build failed at v0.8.13 and lastet master #752

@smileusd

Description

@smileusd

I just clone the latest code and go get ./... then run make but failed for build bianry:

CGO_ENABLED=1 GOOS=linux GO111MODULE=on go build \
	-mod vendor \
	-o bin/node-problem-detector \
	-ldflags '-X k8s.io/node-problem-detector/pkg/version.version=v0.8.13-4-g9fd58e3' \
	-tags "journald " \
	./cmd/nodeproblemdetector
# github.com/coreos/go-systemd/sdjournal
vendor/github.com/coreos/go-systemd/sdjournal/journal.go:27:11: fatal error: systemd/sd-journal.h: No such file or directory
   27 | // #include <systemd/sd-journal.h>
      |           ^~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make: *** [Makefile:199: bin/node-problem-detector] Error 2

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