go-fuzz: More breakage with go 1.6 rc1
<dgryski@kaepora[go-fastlz] \ʕ◔ϖ◔ʔ/ > go-fuzz-build github.com/dgryski/go-fastlz
failed to execute go build: exit status 1
can't load package: /tmp/go-fuzz-build640820997/src/go-fuzz-main/main.go:5:2: non-standard import "github.com/dgryski/go-fastlz" in standard package "go-fuzz-main"
/tmp/go-fuzz-build640820997/src/encoding/binary/binary.go:22:8: non-standard import "github.com/dvyukov/go-fuzz/go-fuzz-dep" in standard package "encoding/binary"
/tmp/go-fuzz-build640820997/src/io/io.go:13:8: non-standard import "github.com/dvyukov/go-fuzz/go-fuzz-dep" in standard package "io"
/tmp/go-fuzz-build640820997/src/math/abs.go:5:8: non-standard import "github.com/dvyukov/go-fuzz/go-fuzz-dep" in standard package "math"
/tmp/go-fuzz-build640820997/src/reflect/deepequal.go:7:8: non-standard import "github.com/dvyukov/go-fuzz/go-fuzz-dep" in standard package "reflect"
/tmp/go-fuzz-build640820997/src/strconv/atob.go:5:8: non-standard import "github.com/dvyukov/go-fuzz/go-fuzz-dep" in standard package "strconv"
/tmp/go-fuzz-build640820997/src/unicode/utf8/utf8.go:7:8: non-standard import "github.com/dvyukov/go-fuzz/go-fuzz-dep" in standard package "unicode/utf8"
Looks like this came from https://github.com/golang/go/commit/4223675913762a12cd23871fbd003d8a68cb49a1 From the commit message:
Enforce that no standard package can depend on a non-standard one.
About this issue
- Original URL
- State: closed
- Created 8 years ago
- Comments: 22 (14 by maintainers)
Commits related to this issue
- Support gopath packages without dots in name Currently if you have a package in GOPATH that does not contain dots in name and imports other packages in GOPATH that do contain dots in name, you get: ... — committed to dvyukov/go-fuzz by dvyukov 8 years ago
- go-fuzz-build: fixes for Go1.6 In Go1.6 standard packages can't depend on non-standard packages. Rename go-fuzz-main to go.fuzz.main so that it looks like non-standard. Copy github.com/dvyukov/go-fuz... — committed to AlekSi/go-fuzz by dvyukov 8 years ago
- Support gopath packages without dots in name Currently if you have a package in GOPATH that does not contain dots in name and imports other packages in GOPATH that do contain dots in name, you get: ... — committed to AlekSi/go-fuzz by dvyukov 8 years ago
The referenced commit should fix the “non-standard import” bug. Please try it. If it does not work, please open another issue. This one is really about a different thing.