Skip to content

telemetry: target/debs/sonic-telemetry_0.1_amd64.deb fails to build in latest #2229

Closed
@nikos-github

Description

@nikos-github

google.golang.org/grpc/resolver/dns

/tmp/go/src/google.golang.org/grpc/resolver/dns/dns_resolver.go:66: cannot use net.DefaultResolver (type *net.Resolver) as type netResolver in assignment:
*net.Resolver does not implement netResolver (wrong type for LookupHost method)
have LookupHost("context".Context, string) ([]string, error)
want LookupHost("golang.org/x/net/context".Context, string) ([]string, error)
/tmp/go/src/google.golang.org/grpc/resolver/dns/dns_resolver.go:84: cannot use *net.Resolver literal (type *net.Resolver) as type netResolver in return argument:
*net.Resolver does not implement netResolver (wrong type for LookupHost method)
have LookupHost("context".Context, string) ([]string, error)
want LookupHost("golang.org/x/net/context".Context, string) ([]string, error)
/tmp/go/src/google.golang.org/grpc/resolver/dns/dns_resolver.go:86: unknown field 'Dial' in struct literal of type net.Resolver
github.com/go-redis/redis/internal
golang.org/x/text/secure/bidirule
github.com/go-redis/redis/internal/pool
github.com/go-redis/redis
golang.org/x/net/idna
google.golang.org/grpc/internal/syscall

google.golang.org/grpc/internal/syscall

/tmp/go/src/google.golang.org/grpc/internal/syscall/syscall_linux.go:79: tcpconn.SyscallConn undefined (type *net.TCPConn has no field or method SyscallConn)
/tmp/go/src/google.golang.org/grpc/internal/syscall/syscall_linux.go:100: tcpconn.SyscallConn undefined (type *net.TCPConn has no field or method SyscallConn)
golang.org/x/net/http/httpguts
golang.org/x/net/http2

golang.org/x/net/http2

/tmp/go/src/golang.org/x/net/http2/server.go:220: s.RegisterOnShutdown undefined (type *http.Server has no field or method RegisterOnShutdown)
github.com/golang/protobuf/ptypes/any
github.com/golang/protobuf/protoc-gen-go/descriptor
github.com/openconfig/gnmi/proto/gnmi_ext
google.golang.org/grpc/credentials
google.golang.org/grpc/encoding/proto
github.com/golang/protobuf/ptypes/duration
github.com/golang/protobuf/ptypes/timestamp
google.golang.org/genproto/googleapis/rpc/status
github.com/golang/protobuf/ptypes
google.golang.org/grpc/binarylog/grpc_binarylog_v1

google.golang.org/grpc/credentials

/tmp/go/src/google.golang.org/grpc/credentials/syscall.go:29: undefined: syscall.RawConn
/tmp/go/src/google.golang.org/grpc/credentials/syscall.go:30: undefined: syscall.Conn
google.golang.org/grpc/status
google.golang.org/grpc/internal/binarylog
Makefile:8: recipe for target 'sonic-telemetry' failed
make[2]: *** [sonic-telemetry] Error 2
make[2]: Leaving directory '/sonic/src/telemetry'
dh_auto_build: make -j1 returned exit code 2
debian/rules:3: recipe for target 'build' failed
make[1]: *** [build] Error 2
make[1]: Leaving directory '/sonic/src/telemetry'
dpkg-buildpackage: error: debian/rules build gave error exit status 2
[ FAIL LOG END ] [ target/debs/sonic-telemetry_0.1_amd64.deb ]
slave.mk:248: recipe for target 'target/debs/sonic-telemetry_0.1_amd64.deb' failed
make: *** [target/debs/sonic-telemetry_0.1_amd64.deb] Error 1
Makefile.work:127: recipe for target 'target/sonic-broadcom.bin' failed
make[1]: *** [target/sonic-broadcom.bin] Error 2
make[1]: Leaving directory '/home/nikos/sonic-test/sonic-buildimage'
Makefile:6: recipe for target 'target/sonic-broadcom.bin' failed
make: *** [target/sonic-broadcom.bin] 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