ruiaylin / goprotobuf

Automatically exported from code.google.com/p/goprotobuf
Other
0 stars 0 forks source link

protoc plugin broken by logging changes in release.2010-10-20 #5

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. cd $GOROOT/src/pkg/goprotobuf.googlecode.com/hg/compiler && make install

What is the expected output? What do you see instead?

Expected: successful compilation and installation

Actual:

6g -o _go_.6 generator.go 
generator.go:278: undefined: log.Stderr
generator.go:286: undefined: log.Stderr
generator.go:674: undefined: log.Stderr
generator.go:971: undefined: log.Stderr
make[1]: *** [_go_.6] Error 1
make: *** [generator.make] Error 2

What version of the product are you using? On what operating system?

goinstall goprotobuf.googlecode.com/hg/proto

GOOS=darwin, GOARCH=amd64

Please provide any additional information below.

The attached patch fixes the errors by updating calles from log.Stderr to 
log.Print

Original issue reported on code.google.com by d...@cheney.net on 21 Oct 2010 at 2:59

Attachments:

GoogleCodeExporter commented 9 years ago
This was fixed a week ago.   If you hg sync you should be fine.

Original comment by r@golang.org on 21 Oct 2010 at 4:01