Skip to content

Build is broken #3491

@rakyll

Description

@rakyll

otelcol target seems to be broken due to #3483.

Autogenerated filed, receiver/hostmetricsreceiver/internal/metadata/generated_metrics.go, imports the old package from the old path.

cc @bogdandrutu

make otelcol
go: downloading github.com/spf13/viper v1.8.0
go: downloading github.com/knadh/koanf v1.1.0
go: downloading google.golang.org/genproto v0.0.0-20210604141403-392c879c8b08
go: downloading github.com/prometheus/common v0.29.0
go: downloading github.com/prometheus/prometheus v1.8.2-0.20210621150501-ff58416a0b02
go: downloading github.com/apache/thrift v0.14.2
go: downloading github.com/magiconair/properties v1.8.5
go: downloading golang.org/x/net v0.0.0-20210610132358-84b48f89b13b
go: downloading github.com/pelletier/go-toml v1.9.3
go: downloading github.com/spf13/afero v1.6.0
go: downloading gopkg.in/ini.v1 v1.62.0
go: downloading golang.org/x/oauth2 v0.0.0-20210514164344-f6687ab2804c
go: downloading gopkg.in/square/go-jose.v2 v2.3.1
go: downloading github.com/tklauser/go-sysconf v0.3.6
go: downloading golang.org/x/sys v0.0.0-20210611083646-a4fc73990273
go: downloading github.com/go-kit/log v0.1.0
go: downloading github.com/prometheus/statsd_exporter v0.21.0
go: downloading github.com/aws/aws-sdk-go v1.38.60
go: downloading github.com/Azure/azure-sdk-for-go v55.2.0+incompatible
go: downloading github.com/digitalocean/godo v1.62.0
go: downloading github.com/Azure/go-autorest/autorest v0.11.19
go: downloading github.com/miekg/dns v1.1.42
go: downloading google.golang.org/api v0.48.0
go: downloading github.com/hetznercloud/hcloud-go v1.26.2
go: downloading github.com/Azure/go-autorest/autorest/adal v0.9.14
go: downloading github.com/linode/linodego v0.28.5
go: downloading k8s.io/api v0.21.1
go: downloading k8s.io/apimachinery v0.21.1
go: downloading k8s.io/client-go v0.21.1
go: downloading github.com/gophercloud/gophercloud v0.18.0
go: downloading github.com/docker/docker v20.10.7+incompatible
go: downloading cloud.google.com/go v0.83.0
go: downloading github.com/go-resty/resty/v2 v2.1.1-0.20191201195748-d7b97669fe48
go: downloading k8s.io/klog/v2 v2.9.0
go: downloading golang.org/x/time v0.0.0-20210611083556-38a9dc6acbc6
go generate ./...
/Library/Developer/CommandLineTools/usr/bin/make build-binary-internal
GO111MODULE=on CGO_ENABLED=0 go build -trimpath -o ./bin/otelcol_darwin_amd64 -ldflags "-X go.opentelemetry.io/collector/internal/version.Version=v0.29.0-4-gc63d0c68" ./cmd/otelcol
receiver/hostmetricsreceiver/internal/metadata/generated_metrics.go:21:2: no required module provides package go.opentelemetry.io/collector/consumer/pdata; to add it:
	go get go.opentelemetry.io/collector/consumer/pdata
make[1]: *** [build-binary-internal] Error 1
make: *** [otelcol] Error 2

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions