Skip to content
This repository has been archived by the owner on Sep 21, 2021. It is now read-only.

"go get" fails to pull safesql because of compile error #3

Open
ryanatallah opened this issue Sep 3, 2015 · 3 comments
Open

"go get" fails to pull safesql because of compile error #3

ryanatallah opened this issue Sep 3, 2015 · 3 comments

Comments

@ryanatallah
Copy link

When I run go get, I receive the following error:

$ go get github.com/stripe/safesql
# github.com/stripe/safesql
github.com/stripe/safesql/safesql.go:46: s.Build undefined (type *ssa.Program has no field or method Build)
@ebroder
Copy link

ebroder commented Sep 3, 2015

What happens if you try running go get -u github.com/stripe/safesql (to fetch dependency updates)? We recently pushed some patches to account for interface changes in golang.org/x/tools/go/ssa/ssautil

cc @ryanlower

@carbocation
Copy link

$ go get github.com/stripe/safesql
# github.com/stripe/safesql
../../../../github.com/stripe/safesql/safesql.go:45: undefined: ssautil.CreateProgram
../../../../github.com/stripe/safesql/safesql.go:48: p.Package undefined (type *loader.Program has no field or method Package)
$ go get -u github.com/stripe/safesql
# github.com/stripe/safesql
../../../../github.com/stripe/safesql/safesql.go:45: undefined: ssautil.CreateProgram
../../../../github.com/stripe/safesql/safesql.go:48: p.Package undefined (type *loader.Program has no field or method Package)

@holys
Copy link

holys commented Nov 18, 2015

go 1.3.3

$ go get -u github.com/stripe/safesql
# golang.org/x/tools/container/intsets
../../../golang.org/x/tools/container/intsets/popcnt_amd64.s:8 6a: No such file or directory: textflag.h

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants