-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
telemetry: target/debs/sonic-telemetry_0.1_amd64.deb fails to build in latest #2229
Comments
Hi google.golang.org/grpc/credentials/internal/tmp/go/src/google.golang.org/grpc/credentials/internal/syscallconn.go:29: syntax error: unexpected = in type declaration google.golang.org/grpc/resolver/dns/tmp/go/src/google.golang.org/grpc/resolver/dns/dns_resolver.go:86: unknown field 'Dial' in struct literal of type net.Resolver 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) 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) I still see this issue in branch 201807 and go1.11.2 version. Please let me know if I miss anything. |
Hi Habeeb,
Can you give it a try on the 201811 branch?
Regards
Prabhu
…On Thu, Dec 20, 2018 at 9:37 AM habeebmohammed ***@***.***> wrote:
Hi
I see below error when built sonic-telemetry
google.golang.org/grpc/credentials/internal
/tmp/go/src/google.golang.org/grpc/credentials/internal/syscallconn.go:29:
syntax error: unexpected = in type declaration
google.golang.org/grpc/internal/backoff
google.golang.org/grpc/resolver/passthrough
github.com/go-redis/redis/internal/proto
google.golang.org/grpc/connectivity
google.golang.org/grpc/naming
google.golang.org/grpc/resolver/dns
golang.org/x/text/unicode/norm
google.golang.org/grpc/resolver/dns
/tmp/go/src/google.golang.org/grpc/resolver/dns/dns_resolver.go:86:
unknown field 'Dial' in struct literal of type net.Resolver
golang.org/x/net/trace
github.com/go-redis/redis/internal
github.com/go-redis/redis/internal/pool
golang.org/x/text/secure/bidirule
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💯
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/protoc-gen-go/descriptor
github.com/golang/protobuf/ptypes/any
github.com/openconfig/gnmi/proto/gnmi_ext
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/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:237: recipe for target
'target/debs/sonic-telemetry_0.1_amd64.deb' failed
make: *** [target/debs/sonic-telemetry_0.1_amd64.deb] Error 1
Makefile:83: recipe for target 'target/sonic-barefoot.bin' failed
make: *** [target/sonic-barefoot.bin] Error 2
***@***.***:/sonic_tele$ go version
go version go1.11.2 linux/amd64
***@***.***:/sonic_tele$
I still see this issue in branch 201807 and go1.11.2 version. Please let
me know if I miss anything.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#2229 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ArRyku9uOfhP-9n2tWoqms9Yz_b4tO01ks5u6wzogaJpZM4YRN17>
.
--
Thanks & Regards
Prabhu
|
Thanks. Yes, that works fine. -Habeeb |
Swss Commit update: 1fd1dbf Add support for route flow counter (#2094) d8fadc6 [QoS] Resolve an issue in the sequence where a referenced object removed and then the referencing object deleting and then re-adding (#2210) eaf7264 [macsecorch]: MACsec with pfc (#2095) a32b611 [azp]: Reduce diff coverage to 50% threshhold (#2227) 6301db7 [Code owner] Set owners for auto reviews (#2229) d1fb3dd [BFD]Retry create BFD with different source UDP port on failure (#2225) 53620f3 [orchagent] add & remove port counters dynamically each time port was added or removed (#2019) cf216be Change ERR to Notice for tunnel term create fail (#2219)
* Set code owners for auto review requests
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
The text was updated successfully, but these errors were encountered: