ruiaylin / goprotobuf

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

goprotobuf make test fail with last go release #17

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Remove old go src and install: 
rm -rf go
hg clone -r release https://go.googlecode.com/hg/ go
cd $GOROOT/src && ./all.bash

2. Install goprotobuf: 
goinstall goprotobuf.googlecode.com/hg/proto
cd $GOROOT/src/pkg/goprotobuf.googlecode.com/hg/compiler
make install

3. Run test:
cd $GOROOT/src/pkg/goprotobuf.googlecode.com/hg
make test

What is the expected output? What do you see instead?
gopack grc _test/goprotobuf.googlecode.com/hg/proto.a _gotest_.8 
proto: no encoder for nm *proto_test.nillableMessage [GetProperties]
proto: no encoder for nni proto_test.nonNillableInt [GetProperties]

What version of the product are you using? On what operating system?
Linux arch 2.6.38-ARCH #1 SMP PREEMPT Fri May 13 07:54:18 UTC 2011 i686 
Intel(R) Xeon(TM) CPU 3.60GHz GenuineIntel GNU/Linux

In my another project, there are similar errors.

Original issue reported on code.google.com by jameshua...@gmail.com on 4 Aug 2011 at 7:43

GoogleCodeExporter commented 9 years ago
I'm pretty sure this is version skew.

cd $GOROOT/go/src/pkg/goprotobuf.googlecode.com/hg/
hg pull
hg update tip
hg update -r release
make
make test

Reopen this issue and provide the output of "hg tip" in $GOROOT and 
$GOROOT/src/pkg/goprotobuf.googlecode.com/hg/ if you still see problems.

Original comment by r@golang.org on 4 Aug 2011 at 9:23

GoogleCodeExporter commented 9 years ago
James,

Did you get your problem fixed?  If so, was it version skew as suggested by 
Rob?  I'm having the same trouble you did.

Rob,
I updated to tip then release (although release isn't a branch so I used 
go.r60) and am still seeing the errors James had.

I've tried a clean clone/install of Go and it is still failing.

Here is my output, include hg tip:
https://gist.github.com/1251989  (tip info included)

Original comment by blake.mi...@gmail.com on 29 Sep 2011 at 9:30

GoogleCodeExporter commented 9 years ago
Disregard this. It was a problem with our Makefile.

Original comment by blake.mi...@gmail.com on 10 Oct 2011 at 8:03