[protobuf] Issue 279 in protobuf: 2.4.0a fails to compile on Red Hat Enterprise Linux AS release 4 (Nahant Update 2)

2011-04-27 Thread protobuf

Status: New
Owner: liuj...@google.com
Labels: Type-Defect Priority-Medium

New issue 279 by nagy.att...@gmail.com: 2.4.0a fails to compile on Red Hat  
Enterprise Linux AS release 4 (Nahant Update 2)

http://code.google.com/p/protobuf/issues/detail?id=279

What steps will reproduce the problem?
1. make protobuf-2.4.0a on RHEL ASr4

What is the expected output? What do you see instead?
# ./configure
# make
make[2]: Entering directory `/home/accprov/tmp/protobuf-2.4.0a/src'
/bin/sh ../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I.  
-I..-pthread -Wall -Wwrite-strings -Woverloaded-virtual  
-Wno-sign-compare -O2 -g -DNDEBUG -MT descriptor.lo -MD -MP  
-MF .deps/descriptor.Tpo -c -o descriptor.lo `test  
-f 'google/protobuf/descriptor.cc' ||  
echo './'`google/protobuf/descriptor.cc
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I.. -pthread -Wall  
-Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -O2 -g -DNDEBUG -MT  
descriptor.lo -MD -MP -MF .deps/descriptor.Tpo -c  
google/protobuf/descriptor.cc  -fPIC -DPIC -o .libs/descriptor.o
google/protobuf/descriptor.cc: In member function `virtual const  
google::protobuf::FieldDescriptor*  
google::protobuf::DescriptorBuilder::OptionInterpreter::AggregateOptionFinder::FindExtension(google::protobuf::Message*,  
const std::string&) const':
./google/protobuf/descriptor.h:1152: error:  
`google::protobuf::internal::Mutex*google::protobuf::DescriptorPool::mutex_'  
is private

google/protobuf/descriptor.cc:4341: error: within this context
./google/protobuf/descriptor.h:1152: error:  
`google::protobuf::internal::Mutex*google::protobuf::DescriptorPool::mutex_'  
is private

google/protobuf/descriptor.cc:4342: error: within this context
make[2]: *** [descriptor.lo] Error 1

What version of the product are you using? On what operating system?
2.4.0a, Red Hat Enterprise Linux AS release 4 (Nahant Update 2)

Please provide any additional information below.
# gcc -v
Reading specs from /usr/lib/gcc/x86_64-redhat-linux/3.4.4/specs
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man  
--infodir=/usr/share/info --enable-shared --enable-threads=posix  
--disable-checking --with-system-zlib --enable-__cxa_atexit  
--disable-libunwind-exceptions --enable-java-awt=gtk  
--host=x86_64-redhat-linux

Thread model: posix
gcc version 3.4.4 20050721 (Red Hat 3.4.4-2)

--
You received this message because you are subscribed to the Google Groups "Protocol 
Buffers" group.
To post to this group, send email to protobuf@googlegroups.com.
To unsubscribe from this group, send email to 
protobuf+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/protobuf?hl=en.



[protobuf] Re: Issue 268 in protobuf: C++ code for protobuf-2.4.0a fails to compile on Mac OS X 10.5.8

2011-04-27 Thread protobuf


Comment #2 on issue 268 by liuj...@google.com: C++ code for protobuf-2.4.0a  
fails to compile on Mac OS X 10.5.8

http://code.google.com/p/protobuf/issues/detail?id=268

Issue 279 has been merged into this issue.

--
You received this message because you are subscribed to the Google Groups "Protocol 
Buffers" group.
To post to this group, send email to protobuf@googlegroups.com.
To unsubscribe from this group, send email to 
protobuf+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/protobuf?hl=en.



[protobuf] Re: Issue 279 in protobuf: 2.4.0a fails to compile on Red Hat Enterprise Linux AS release 4 (Nahant Update 2)

2011-04-27 Thread protobuf

Updates:
Status: Duplicate
Mergedinto: 268

Comment #1 on issue 279 by liuj...@google.com: 2.4.0a fails to compile on  
Red Hat Enterprise Linux AS release 4 (Nahant Update 2)

http://code.google.com/p/protobuf/issues/detail?id=279

(No comment was entered for this change.)

--
You received this message because you are subscribed to the Google Groups "Protocol 
Buffers" group.
To post to this group, send email to protobuf@googlegroups.com.
To unsubscribe from this group, send email to 
protobuf+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/protobuf?hl=en.



[protobuf] Re: Issue 268 in protobuf: C++ code for protobuf-2.4.0a fails to compile on Mac OS X 10.5.8

2011-04-27 Thread protobuf

Updates:
Labels: FixedIn-2.4.1

Comment #3 on issue 268 by liuj...@google.com: C++ code for protobuf-2.4.0a  
fails to compile on Mac OS X 10.5.8

http://code.google.com/p/protobuf/issues/detail?id=268

(No comment was entered for this change.)

--
You received this message because you are subscribed to the Google Groups "Protocol 
Buffers" group.
To post to this group, send email to protobuf@googlegroups.com.
To unsubscribe from this group, send email to 
protobuf+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/protobuf?hl=en.



[protobuf] mvn test failing in 2.4.0a java subproject

2011-04-27 Thread CRozeboom
I installed maven and am trying to build the java jar files for a
project. I've tried this on a Windows XP and Ubuntu 10.10 system with
the same results. I've even tried removing the @Override annotations
that are being complained about and simply doing a "maven package",
but that fails as well.

If there were a pre-built jar file for 2.4.0a, I'd just as soon work
with that.

mvn test
[INFO] Scanning for projects...
[WARNING]
[WARNING] Some problems were encountered while building the effective
model for com.google.protobuf:protobuf-java:jar:2.4.0a
[WARNING] 'build.plugins.plugin.version' for
org.apache.maven.plugins:maven-compiler-plugin is missing. @ line 57,
column 15
[WARNING] 'build.plugins.plugin.version' for
org.apache.maven.plugins:maven-surefire-plugin is missing. @ line 64,
column 15
[WARNING]
[WARNING] It is highly recommended to fix these problems because they
threaten the stability of your build.
[WARNING]
[WARNING] For this reason, future Maven versions might no longer
support building such malformed projects.
[WARNING]
[INFO]
[INFO]

[INFO] Building Protocol Buffer Java API 2.4.0a
[INFO]

[INFO]
[INFO] --- maven-antrun-plugin:1.3:run (generate-sources) @ protobuf-
java ---
[INFO] Executing tasks
[INFO] Executed tasks
[INFO] Registering compile source root /root/protobuf-2.4.0a/java/
target/generated-sources
[INFO]
[INFO] --- maven-resources-plugin:2.4.3:resources (default-resources)
@ protobuf-java ---
[WARNING] Using platform encoding (UTF-8 actually) to copy filtered
resources, i.e. build is platform dependent!
[INFO] skip non existing resourceDirectory /root/protobuf-2.4.0a/java/
src/main/resources
[INFO]
[INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @
protobuf-java ---
[WARNING] File encoding has not been set, using platform encoding
UTF-8, i.e. build is platform dependent!
[INFO] Compiling 38 source files to /root/protobuf-2.4.0a/java/target/
classes
[INFO] -
[ERROR] COMPILATION ERROR :
[INFO] -
[ERROR] /root/protobuf-2.4.0a/java/src/main/java/com/google/protobuf/
GeneratedMessage.java:[424,5] method does not override a method from
its superclass
[ERROR] /root/protobuf-2.4.0a/java/src/main/java/com/google/protobuf/
GeneratedMessage.java:[448,7] method does not override a method from
its superclass
[ERROR] /root/protobuf-2.4.0a/java/src/main/java/com/google/protobuf/
GeneratedMessage.java:[1133,11] method does not override a method from
its superclass
[ERROR] /root/protobuf-2.4.0a/java/src/main/java/com/google/protobuf/
GeneratedMessage.java:[1228,11] method does not override a method from
its superclass
[ERROR] /root/protobuf-2.4.0a/java/src/main/java/com/google/protobuf/
SmallSortedMap.java:[414,5] method does not override a method from its
superclass
[ERROR] /root/protobuf-2.4.0a/java/src/main/java/com/google/protobuf/
SmallSortedMap.java:[419,5] method does not override a method from its
superclass
[ERROR] /root/protobuf-2.4.0a/java/src/main/java/com/google/protobuf/
SmallSortedMap.java:[424,5] method does not override a method from its
superclass
[ERROR] /root/protobuf-2.4.0a/java/src/main/java/com/google/protobuf/
SmallSortedMap.java:[429,5] method does not override a method from its
superclass
[ERROR] /root/protobuf-2.4.0a/java/src/main/java/com/google/protobuf/
SmallSortedMap.java:[538,5] method does not override a method from its
superclass
[ERROR] /root/protobuf-2.4.0a/java/src/main/java/com/google/protobuf/
SmallSortedMap.java:[544,5] method does not override a method from its
superclass
[ERROR] /root/protobuf-2.4.0a/java/src/main/java/com/google/protobuf/
SmallSortedMap.java:[555,5] method does not override a method from its
superclass
[ERROR] /root/protobuf-2.4.0a/java/src/main/java/com/google/protobuf/
SmallSortedMap.java:[592,7] method does not override a method from its
superclass
[ERROR] /root/protobuf-2.4.0a/java/src/main/java/com/google/protobuf/
SmallSortedMap.java:[596,7] method does not override a method from its
superclass
[ERROR] /root/protobuf-2.4.0a/java/src/main/java/com/google/protobuf/
SmallSortedMap.java:[600,7] method does not override a method from its
superclass
[ERROR] /root/protobuf-2.4.0a/java/src/main/java/com/google/protobuf/
SmallSortedMap.java:[607,7] method does not override a method from its
superclass
[ERROR] /root/protobuf-2.4.0a/java/src/main/java/com/google/protobuf/
RepeatedFieldBuilder.java:[576,3] method does not override a method
from its superclass
[ERROR] /root/protobuf-2.4.0a/java/src/main/java/com/google/protobuf/
SingleFieldBuilder.java:[237,3] method does not override a method from
its superclass
[ERROR] /root/protobuf-2.4.0a/java/src/main/java/com/google/protobuf/
UnmodifiableLazyStringList.java:[63,3] method does not override a
method from its superclas

[protobuf] Issue 280 in protobuf: solaris compilation problems - quirks with friends and nested classes?

2011-04-27 Thread protobuf

Status: New
Owner: liuj...@google.com
Labels: Type-Defect Priority-Medium

New issue 280 by dye.jona...@gmail.com: solaris compilation problems -  
quirks with friends and nested classes?

http://code.google.com/p/protobuf/issues/detail?id=280

What steps will reproduce the problem?
1. attempt to build 2.4.0a on solaris with ./configure && make

What is the expected output? What do you see instead?
make fails with the following compile error:
 >8 =
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -pthreads  
-Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -O2 -g  
-DNDEBUG -m64 -MT structurally_valid.lo -MD -MP  
-MF .deps/structurally_valid.Tpo -c  
google/protobuf/stubs/structurally_valid.cc -o structurally_valid.o  

/dev/null 2>&1

mv -f .deps/structurally_valid.Tpo .deps/structurally_valid.Plo
/bin/sh ../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I.  
-I..-D_REENTRANT -pthreads -Wall -Wwrite-strings -Woverloaded-virtual  
-Wno-sign-compare -O2 -g -DNDEBUG -m64 -MT descriptor.lo -MD -MP  
-MF .deps/descriptor.Tpo -c -o descriptor.lo `test  
-f 'google/protobuf/descriptor.cc' ||  
echo './'`google/protobuf/descriptor.cc
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -pthreads  
-Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -O2 -g  
-DNDEBUG -m64 -MT descriptor.lo -MD -MP -MF .deps/descriptor.Tpo -c  
google/protobuf/descriptor.cc  -fPIC -DPIC -o .libs/descriptor.o
google/protobuf/descriptor.cc: In member function `virtual const  
google::protobuf::FieldDescriptor*  
google::protobuf::DescriptorBuilder::OptionInterpreter::AggregateOptionFinder::FindExtension(google::protobuf::Message*,  
const std::string&) const':
./google/protobuf/descriptor.h:1152: error:  
`google::protobuf::internal::Mutex*google::protobuf::DescriptorPool::mutex_'  
is private

google/protobuf/descriptor.cc:4341: error: within this context
./google/protobuf/descriptor.h:1152: error:  
`google::protobuf::internal::Mutex*google::protobuf::DescriptorPool::mutex_'  
is private

google/protobuf/descriptor.cc:4342: error: within this context
*** Error code 1
make: Fatal error: Command failed for target `descriptor.lo'
Current working directory /root/projects/agent/proto2/protobuf-2.4.0a/src
*** Error code 1
The following command caused the error:
fail= failcom='exit 1'; \
for f in x $MAKEFLAGS; do \
  case $f in \
*=* | --[!k]*);; \
*k*) failcom='fail=yes';; \
  esac; \
done; \
dot_seen=no; \
target=`echo all-recursive | sed s/-recursive//`; \
list='. src'; for subdir in $list; do \
  echo "Making $target in $subdir"; \
  if test "$subdir" = "."; then \
dot_seen=yes; \
local_target="$target-am"; \
  else \
local_target="$target"; \
  fi; \
  (CDPATH="${ZSH_VERSION+.}:" && cd $subdir && make  $local_target) \
  || eval $failcom; \
done; \
if test "$dot_seen" = "no"; then \
  make  "$target-am" || exit 1; \
fi; test -z "$fail"
make: Fatal error: Command failed for target `all-recursive'
Current working directory /root/projects/agent/proto2/protobuf-2.4.0a
*** Error code 1
make: Fatal error: Command failed for target `all'
 8< =

What version of the product are you using? On what operating system?
2.4.0a, solaris 11 express

Please provide any additional information below.
[forgive my lack of c++ understanding]
it appears OptionInterpreter is a nested class within DescriptorBuilder.  i  
guess in linux's g++ 'friend' applies to nested classes, but not so in  
solaris's g++.  perhaps you could declare nested classes as friends  
explicitly, but OptionInterpreter is not known to the header where  
DescriptorPool is declared and the mutex is a private member, and  
apparently you can't forward declare nested classes in c++.  so, is it okay  
if i move this class declaration to the header?   i could use some guidance.


--
You received this message because you are subscribed to the Google Groups "Protocol 
Buffers" group.
To post to this group, send email to protobuf@googlegroups.com.
To unsubscribe from this group, send email to 
protobuf+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/protobuf?hl=en.



[protobuf] mvn test failing

2011-04-27 Thread danbaatar
I am trying to compile version 2.3.0 (for compatibility with protoc
installed by system packages under Ubuntu 10.10), and when I try to
run 'mvn package', it fails with 2 errors in the ServiceTest.  I will
paste the contents of the appropriate test log at the end of my
message.

Any help would be appreciated.

Thanks.

---
Test set: com.google.protobuf.ServiceTest
---
Tests run: 7, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 0.107
sec <<< FAILURE!
testCallMethod(com.google.protobuf.ServiceTest)  Time elapsed: 0.036
sec  <<< ERROR!
java.lang.NoClassDefFoundError: net/sf/cglib/proxy/Enhancer
at
org.easymock.classextension.internal.MocksClassControl.createProxyFactory(MocksClassControl.java:
35)
at org.easymock.internal.MocksControl.createMock(MocksControl.java:
36)
at com.google.protobuf.ServiceTest.testCallMethod(ServiceTest.java:
83)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:
57)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:
43)
at java.lang.reflect.Method.invoke(Method.java:616)
at junit.framework.TestCase.runTest(TestCase.java:168)
at junit.framework.TestCase.runBare(TestCase.java:134)
at junit.framework.TestResult$1.protect(TestResult.java:110)
at junit.framework.TestResult.runProtected(TestResult.java:128)
at junit.framework.TestResult.run(TestResult.java:113)
at junit.framework.TestCase.run(TestCase.java:124)
at junit.framework.TestSuite.runTest(TestSuite.java:232)
at junit.framework.TestSuite.run(TestSuite.java:227)
at
org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:
81)
at
org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:
62)
at
org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:
140)
at
org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:
127)
at org.apache.maven.surefire.Surefire.run(Surefire.java:177)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:
57)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:
43)
at java.lang.reflect.Method.invoke(Method.java:616)
at
org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:
345)
at
org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:
1009)
Caused by: java.lang.ClassNotFoundException:
net.sf.cglib.proxy.Enhancer
at java.net.URLClassLoader$1.run(URLClassLoader.java:217)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
at java.lang.ClassLoader.loadClass(ClassLoader.java:321)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)
at java.lang.ClassLoader.loadClass(ClassLoader.java:266)
... 26 more

testGetPrototype(com.google.protobuf.ServiceTest)  Time elapsed: 0.001
sec  <<< ERROR!
java.lang.NoClassDefFoundError: net/sf/cglib/proxy/Enhancer
at
org.easymock.classextension.internal.MocksClassControl.createProxyFactory(MocksClassControl.java:
35)
at org.easymock.internal.MocksControl.createMock(MocksControl.java:
36)
at com.google.protobuf.ServiceTest.testGetPrototype(ServiceTest.java:
100)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:
57)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:
43)
at java.lang.reflect.Method.invoke(Method.java:616)
at junit.framework.TestCase.runTest(TestCase.java:168)
at junit.framework.TestCase.runBare(TestCase.java:134)
at junit.framework.TestResult$1.protect(TestResult.java:110)
at junit.framework.TestResult.runProtected(TestResult.java:128)
at junit.framework.TestResult.run(TestResult.java:113)
at junit.framework.TestCase.run(TestCase.java:124)
at junit.framework.TestSuite.runTest(TestSuite.java:232)
at junit.framework.TestSuite.run(TestSuite.java:227)
at
org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:
81)
at
org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:
62)
at
org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:
140)
at
org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.ex

[protobuf] Re: Issue 280 in protobuf: solaris compilation problems - quirks with friends and nested classes?

2011-04-27 Thread protobuf


Comment #1 on issue 280 by dye.jona...@gmail.com: solaris compilation  
problems - quirks with friends and nested classes?

http://code.google.com/p/protobuf/issues/detail?id=280

that is the only problem i've run into with solaris so far, by the way.  if  
i change the access specifier for mutex_ it will compile, at least.


--
You received this message because you are subscribed to the Google Groups "Protocol 
Buffers" group.
To post to this group, send email to protobuf@googlegroups.com.
To unsubscribe from this group, send email to 
protobuf+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/protobuf?hl=en.



[protobuf] Issue 281 in protobuf: python c++ implementation build fails with mingw32

2011-04-27 Thread protobuf

Status: New
Owner: liuj...@google.com
Labels: Type-Defect Priority-Medium

New issue 281 by redaread...@gmail.com: python c++ implementation build  
fails with mingw32

http://code.google.com/p/protobuf/issues/detail?id=281

E:\ed\protobuf\python>python setup.py build --compiler=mingw32
Using EXPERIMENTAL C++ Implmenetation.
running build
running build_py
package init file 'google\protobuf\compiler\__init__.py' not found (or not  
a reg

ular file)
running build_ext
building 'google.protobuf.internal._net_proto2___python' extension
d:\Program Files\pythonxy\mingw\bin\gcc.exe -mno-cygwin -mdll -O -Wall  
-I../src
-I. -Ic:\Python26\include -Ic:\Python26\PC -c  
google/protobuf/pyext/python_descr
iptor.cc -o  
build\temp.win32-2.6\Release\google\protobuf\pyext\python_descriptor

.o
google/protobuf/pyext/python_descriptor.cc:91:1: warning: deprecated  
conversion

from string constant to 'char*'
google/protobuf/pyext/python_descriptor.cc:91:1: warning: deprecated  
conversion

from string constant to 'char*'
google/protobuf/pyext/python_descriptor.cc:91:1: warning: deprecated  
conversion

from string constant to 'char*'
google/protobuf/pyext/python_descriptor.cc:91:1: warning: deprecated  
conversion

from string constant to 'char*'
google/protobuf/pyext/python_descriptor.cc:91:1: warning: deprecated  
conversion

from string constant to 'char*'
d:\Program Files\pythonxy\mingw\bin\gcc.exe -mno-cygwin -mdll -O -Wall  
-I../src
-I. -Ic:\Python26\include -Ic:\Python26\PC -c  
google/protobuf/pyext/python_proto
buf.cc -o  
build\temp.win32-2.6\Release\google\protobuf\pyext\python_protobuf.o
d:\Program Files\pythonxy\mingw\bin\gcc.exe -mno-cygwin -mdll -O -Wall  
-I../src
-I. -Ic:\Python26\include -Ic:\Python26\PC -c  
google/protobuf/pyext/python-proto

2.cc -o build\temp.win32-2.6\Release\google\protobuf\pyext\python-proto2.o
google/protobuf/pyext/python-proto2.cc: In function 'void  
google::protobuf::pyth

on::AddConstants(PyObject*)':
google/protobuf/pyext/python-proto2.cc:132:3: warning: deprecated  
conversion fro

m string constant to 'char*'
google/protobuf/pyext/python-proto2.cc:132:3: warning: deprecated  
conversion fro

m string constant to 'char*'
google/protobuf/pyext/python-proto2.cc:132:3: warning: deprecated  
conversion fro

m string constant to 'char*'
google/protobuf/pyext/python-proto2.cc:132:3: warning: deprecated  
conversion fro

m string constant to 'char*'
google/protobuf/pyext/python-proto2.cc:132:3: warning: deprecated  
conversion fro

m string constant to 'char*'
google/protobuf/pyext/python-proto2.cc: At global scope:
google/protobuf/pyext/python-proto2.cc:268:1: warning: deprecated  
conversion fro

m string constant to 'char*'
google/protobuf/pyext/python-proto2.cc: In function 'bool  
google::protobuf::pyth

on::CheckAndGetDouble(PyObject*, double*)':
google/protobuf/pyext/python-proto2.cc:365:44: warning: deprecated  
conversion fr

om string constant to 'char*'
google/protobuf/pyext/python-proto2.cc: In function 'bool  
google::protobuf::pyth

on::CheckAndGetBool(PyObject*, bool*)':
google/protobuf/pyext/python-proto2.cc:383:43: warning: deprecated  
conversion fr

om string constant to 'char*'
google/protobuf/pyext/python-proto2.cc: In function 'bool  
google::protobuf::pyth
on::CheckAndSetString(PyObject*, google::protobuf::Message*, const  
google::proto

buf::FieldDescriptor*, const google::protobuf::Reflection*, bool, int)':
google/protobuf/pyext/python-proto2.cc:411:42: warning: deprecated  
conversion fr

om string constant to 'char*'
google/protobuf/pyext/python-proto2.cc:431:31: warning: deprecated  
conversion fr

om string constant to 'char*'
google/protobuf/pyext/python-proto2.cc: In function 'bool  
google::protobuf::pyth
on::CheckAndGetInteger(PyObject*, T*, PyObject*, PyObject*) [with T = int,  
PyObj

ect = _object]':
google/protobuf/pyext/python-proto2.cc:626:7:   instantiated from here
google/protobuf/pyext/python-proto2.cc:338:5: warning: deprecated  
conversion fro

m string constant to 'char*'
google/protobuf/pyext/python-proto2.cc: In function 'bool  
google::protobuf::pyth
on::CheckAndGetInteger(PyObject*, T*, PyObject*, PyObject*) [with T = long  
long

int, PyObject = _object]':
google/protobuf/pyext/python-proto2.cc:631:7:   instantiated from here
google/protobuf/pyext/python-proto2.cc:338:5: warning: deprecated  
conversion fro

m string constant to 'char*'
google/protobuf/pyext/python-proto2.cc: In function 'bool  
google::protobuf::pyth
on::CheckAndGetInteger(PyObject*, T*, PyObject*, PyObject*) [with T =  
unsigned i

nt, PyObject = _object]':
google/protobuf/pyext/python-proto2.cc:636:7:   instantiated from here
google/protobuf/pyext/python-proto2.cc:338:5: warning: deprecated  
conversion fro

m string constant to 'char*'
google/protobuf/pyext/python-proto2.cc: In function 'bool  
google::protobuf::pyth
on::CheckAndGetInteger(PyObject*, T*, PyObject*, PyObject*) [with T = long  
long

unsigned int, PyObject = _object]':
google/protobuf/pyext/pyt

[protobuf] Re: Issue 280 in protobuf: solaris compilation problems - quirks with friends and nested classes?

2011-04-27 Thread protobuf

Updates:
Status: Duplicate
Mergedinto: 268

Comment #2 on issue 280 by jas...@google.com: solaris compilation problems  
- quirks with friends and nested classes?

http://code.google.com/p/protobuf/issues/detail?id=280

(No comment was entered for this change.)

--
You received this message because you are subscribed to the Google Groups "Protocol 
Buffers" group.
To post to this group, send email to protobuf@googlegroups.com.
To unsubscribe from this group, send email to 
protobuf+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/protobuf?hl=en.



[protobuf] Re: Issue 268 in protobuf: C++ code for protobuf-2.4.0a fails to compile on Mac OS X 10.5.8

2011-04-27 Thread protobuf


Comment #4 on issue 268 by jas...@google.com: C++ code for protobuf-2.4.0a  
fails to compile on Mac OS X 10.5.8

http://code.google.com/p/protobuf/issues/detail?id=268

Issue 280 has been merged into this issue.

--
You received this message because you are subscribed to the Google Groups "Protocol 
Buffers" group.
To post to this group, send email to protobuf@googlegroups.com.
To unsubscribe from this group, send email to 
protobuf+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/protobuf?hl=en.



[protobuf] Re: Issue 281 in protobuf: python c++ implementation build fails with mingw32

2011-04-27 Thread protobuf


Comment #1 on issue 281 by liuj...@google.com: python c++ implementation  
build fails with mingw32

http://code.google.com/p/protobuf/issues/detail?id=281

Looks like you don't have a valid C compiler in your mingw32. Could you  
please run

sysconfig.get_config_var("CC") in python to see what it returns?

--
You received this message because you are subscribed to the Google Groups "Protocol 
Buffers" group.
To post to this group, send email to protobuf@googlegroups.com.
To unsubscribe from this group, send email to 
protobuf+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/protobuf?hl=en.



Re: [protobuf] mvn test failing

2011-04-27 Thread Pherl Liu
Looks like a classpath problem for the easy mock..  Could you please double
check if net.sf.cglib.proxy.Enhancer is installed and set in the classpath
of your environment?

On Thu, Apr 28, 2011 at 3:40 AM, danbaatar  wrote:

> I am trying to compile version 2.3.0 (for compatibility with protoc
> installed by system packages under Ubuntu 10.10), and when I try to
> run 'mvn package', it fails with 2 errors in the ServiceTest.  I will
> paste the contents of the appropriate test log at the end of my
> message.
>
> Any help would be appreciated.
>
> Thanks.
>
>
> ---
> Test set: com.google.protobuf.ServiceTest
>
> ---
> Tests run: 7, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 0.107
> sec <<< FAILURE!
> testCallMethod(com.google.protobuf.ServiceTest)  Time elapsed: 0.036
> sec  <<< ERROR!
> java.lang.NoClassDefFoundError: net/sf/cglib/proxy/Enhancer
>at
>
> org.easymock.classextension.internal.MocksClassControl.createProxyFactory(MocksClassControl.java:
> 35)
>at org.easymock.internal.MocksControl.createMock(MocksControl.java:
> 36)
>at com.google.protobuf.ServiceTest.testCallMethod(ServiceTest.java:
> 83)
>at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:
> 57)
>at
>
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:
> 43)
>at java.lang.reflect.Method.invoke(Method.java:616)
>at junit.framework.TestCase.runTest(TestCase.java:168)
>at junit.framework.TestCase.runBare(TestCase.java:134)
>at junit.framework.TestResult$1.protect(TestResult.java:110)
>at junit.framework.TestResult.runProtected(TestResult.java:128)
>at junit.framework.TestResult.run(TestResult.java:113)
>at junit.framework.TestCase.run(TestCase.java:124)
>at junit.framework.TestSuite.runTest(TestSuite.java:232)
>at junit.framework.TestSuite.run(TestSuite.java:227)
>at
> org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:
> 81)
>at
> org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:
> 62)
>at
>
> org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:
> 140)
>at
>
> org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:
> 127)
>at org.apache.maven.surefire.Surefire.run(Surefire.java:177)
>at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:
> 57)
>at
>
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:
> 43)
>at java.lang.reflect.Method.invoke(Method.java:616)
>at
>
> org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:
> 345)
>at
> org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:
> 1009)
> Caused by: java.lang.ClassNotFoundException:
> net.sf.cglib.proxy.Enhancer
>at java.net.URLClassLoader$1.run(URLClassLoader.java:217)
>at java.security.AccessController.doPrivileged(Native Method)
>at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
>at java.lang.ClassLoader.loadClass(ClassLoader.java:321)
>at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)
>at java.lang.ClassLoader.loadClass(ClassLoader.java:266)
>... 26 more
>
> testGetPrototype(com.google.protobuf.ServiceTest)  Time elapsed: 0.001
> sec  <<< ERROR!
> java.lang.NoClassDefFoundError: net/sf/cglib/proxy/Enhancer
>at
>
> org.easymock.classextension.internal.MocksClassControl.createProxyFactory(MocksClassControl.java:
> 35)
>at org.easymock.internal.MocksControl.createMock(MocksControl.java:
> 36)
>at
> com.google.protobuf.ServiceTest.testGetPrototype(ServiceTest.java:
> 100)
>at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:
> 57)
>at
>
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:
> 43)
>at java.lang.reflect.Method.invoke(Method.java:616)
>at junit.framework.TestCase.runTest(TestCase.java:168)
>at junit.framework.TestCase.runBare(TestCase.java:134)
>at junit.framework.TestResult$1.protect(TestResult.java:110)
>at junit.framework.TestResult.runProtected(TestResult.java:128)
>at junit.framework.TestResult.run(TestResult.java:113)
>at junit.framework.TestCase.run(TestCase.java:124)
>at junit.framework.TestSuite.runTest(TestSuite.java:232)
>at junit.framework.TestSu

Re: [protobuf] mvn test failing in 2.4.0a java subproject

2011-04-27 Thread Pherl Liu
I see, so you are using JDK1.5. Will send out a fix for this.

On Thu, Apr 28, 2011 at 12:07 AM, CRozeboom  wrote:

> I installed maven and am trying to build the java jar files for a
> project. I've tried this on a Windows XP and Ubuntu 10.10 system with
> the same results. I've even tried removing the @Override annotations
> that are being complained about and simply doing a "maven package",
> but that fails as well.
>
> If there were a pre-built jar file for 2.4.0a, I'd just as soon work
> with that.
>
> mvn test
> [INFO] Scanning for projects...
> [WARNING]
> [WARNING] Some problems were encountered while building the effective
> model for com.google.protobuf:protobuf-java:jar:2.4.0a
> [WARNING] 'build.plugins.plugin.version' for
> org.apache.maven.plugins:maven-compiler-plugin is missing. @ line 57,
> column 15
> [WARNING] 'build.plugins.plugin.version' for
> org.apache.maven.plugins:maven-surefire-plugin is missing. @ line 64,
> column 15
> [WARNING]
> [WARNING] It is highly recommended to fix these problems because they
> threaten the stability of your build.
> [WARNING]
> [WARNING] For this reason, future Maven versions might no longer
> support building such malformed projects.
> [WARNING]
> [INFO]
> [INFO]
> 
> [INFO] Building Protocol Buffer Java API 2.4.0a
> [INFO]
> 
> [INFO]
> [INFO] --- maven-antrun-plugin:1.3:run (generate-sources) @ protobuf-
> java ---
> [INFO] Executing tasks
> [INFO] Executed tasks
> [INFO] Registering compile source root /root/protobuf-2.4.0a/java/
> target/generated-sources
> [INFO]
> [INFO] --- maven-resources-plugin:2.4.3:resources (default-resources)
> @ protobuf-java ---
> [WARNING] Using platform encoding (UTF-8 actually) to copy filtered
> resources, i.e. build is platform dependent!
> [INFO] skip non existing resourceDirectory /root/protobuf-2.4.0a/java/
> src/main/resources
> [INFO]
> [INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @
> protobuf-java ---
> [WARNING] File encoding has not been set, using platform encoding
> UTF-8, i.e. build is platform dependent!
> [INFO] Compiling 38 source files to /root/protobuf-2.4.0a/java/target/
> classes
> [INFO] -
> [ERROR] COMPILATION ERROR :
> [INFO] -
> [ERROR] /root/protobuf-2.4.0a/java/src/main/java/com/google/protobuf/
> GeneratedMessage.java:[424,5] method does not override a method from
> its superclass
> [ERROR] /root/protobuf-2.4.0a/java/src/main/java/com/google/protobuf/
> GeneratedMessage.java:[448,7] method does not override a method from
> its superclass
> [ERROR] /root/protobuf-2.4.0a/java/src/main/java/com/google/protobuf/
> GeneratedMessage.java:[1133,11] method does not override a method from
> its superclass
> [ERROR] /root/protobuf-2.4.0a/java/src/main/java/com/google/protobuf/
> GeneratedMessage.java:[1228,11] method does not override a method from
> its superclass
> [ERROR] /root/protobuf-2.4.0a/java/src/main/java/com/google/protobuf/
> SmallSortedMap.java:[414,5] method does not override a method from its
> superclass
> [ERROR] /root/protobuf-2.4.0a/java/src/main/java/com/google/protobuf/
> SmallSortedMap.java:[419,5] method does not override a method from its
> superclass
> [ERROR] /root/protobuf-2.4.0a/java/src/main/java/com/google/protobuf/
> SmallSortedMap.java:[424,5] method does not override a method from its
> superclass
> [ERROR] /root/protobuf-2.4.0a/java/src/main/java/com/google/protobuf/
> SmallSortedMap.java:[429,5] method does not override a method from its
> superclass
> [ERROR] /root/protobuf-2.4.0a/java/src/main/java/com/google/protobuf/
> SmallSortedMap.java:[538,5] method does not override a method from its
> superclass
> [ERROR] /root/protobuf-2.4.0a/java/src/main/java/com/google/protobuf/
> SmallSortedMap.java:[544,5] method does not override a method from its
> superclass
> [ERROR] /root/protobuf-2.4.0a/java/src/main/java/com/google/protobuf/
> SmallSortedMap.java:[555,5] method does not override a method from its
> superclass
> [ERROR] /root/protobuf-2.4.0a/java/src/main/java/com/google/protobuf/
> SmallSortedMap.java:[592,7] method does not override a method from its
> superclass
> [ERROR] /root/protobuf-2.4.0a/java/src/main/java/com/google/protobuf/
> SmallSortedMap.java:[596,7] method does not override a method from its
> superclass
> [ERROR] /root/protobuf-2.4.0a/java/src/main/java/com/google/protobuf/
> SmallSortedMap.java:[600,7] method does not override a method from its
> superclass
> [ERROR] /root/protobuf-2.4.0a/java/src/main/java/com/google/protobuf/
> SmallSortedMap.java:[607,7] method does not override a method from its
> superclass
> [ERROR] /root/protobuf-2.4.0a/java/src/main/java/com/google/protobuf/
> RepeatedFieldBuilder.java:[576,3] method does not override a method
> from its supe

Re: [protobuf] mvn test failing in 2.4.0a java subproject

2011-04-27 Thread Pherl Liu
Hmm, what errors did you get after removing the @Override annotations?

On Thu, Apr 28, 2011 at 12:07 AM, CRozeboom  wrote:

> I installed maven and am trying to build the java jar files for a
> project. I've tried this on a Windows XP and Ubuntu 10.10 system with
> the same results. I've even tried removing the @Override annotations
> that are being complained about and simply doing a "maven package",
> but that fails as well.
>
> If there were a pre-built jar file for 2.4.0a, I'd just as soon work
> with that.
>
> mvn test
> [INFO] Scanning for projects...
> [WARNING]
> [WARNING] Some problems were encountered while building the effective
> model for com.google.protobuf:protobuf-java:jar:2.4.0a
> [WARNING] 'build.plugins.plugin.version' for
> org.apache.maven.plugins:maven-compiler-plugin is missing. @ line 57,
> column 15
> [WARNING] 'build.plugins.plugin.version' for
> org.apache.maven.plugins:maven-surefire-plugin is missing. @ line 64,
> column 15
> [WARNING]
> [WARNING] It is highly recommended to fix these problems because they
> threaten the stability of your build.
> [WARNING]
> [WARNING] For this reason, future Maven versions might no longer
> support building such malformed projects.
> [WARNING]
> [INFO]
> [INFO]
> 
> [INFO] Building Protocol Buffer Java API 2.4.0a
> [INFO]
> 
> [INFO]
> [INFO] --- maven-antrun-plugin:1.3:run (generate-sources) @ protobuf-
> java ---
> [INFO] Executing tasks
> [INFO] Executed tasks
> [INFO] Registering compile source root /root/protobuf-2.4.0a/java/
> target/generated-sources
> [INFO]
> [INFO] --- maven-resources-plugin:2.4.3:resources (default-resources)
> @ protobuf-java ---
> [WARNING] Using platform encoding (UTF-8 actually) to copy filtered
> resources, i.e. build is platform dependent!
> [INFO] skip non existing resourceDirectory /root/protobuf-2.4.0a/java/
> src/main/resources
> [INFO]
> [INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @
> protobuf-java ---
> [WARNING] File encoding has not been set, using platform encoding
> UTF-8, i.e. build is platform dependent!
> [INFO] Compiling 38 source files to /root/protobuf-2.4.0a/java/target/
> classes
> [INFO] -
> [ERROR] COMPILATION ERROR :
> [INFO] -
> [ERROR] /root/protobuf-2.4.0a/java/src/main/java/com/google/protobuf/
> GeneratedMessage.java:[424,5] method does not override a method from
> its superclass
> [ERROR] /root/protobuf-2.4.0a/java/src/main/java/com/google/protobuf/
> GeneratedMessage.java:[448,7] method does not override a method from
> its superclass
> [ERROR] /root/protobuf-2.4.0a/java/src/main/java/com/google/protobuf/
> GeneratedMessage.java:[1133,11] method does not override a method from
> its superclass
> [ERROR] /root/protobuf-2.4.0a/java/src/main/java/com/google/protobuf/
> GeneratedMessage.java:[1228,11] method does not override a method from
> its superclass
> [ERROR] /root/protobuf-2.4.0a/java/src/main/java/com/google/protobuf/
> SmallSortedMap.java:[414,5] method does not override a method from its
> superclass
> [ERROR] /root/protobuf-2.4.0a/java/src/main/java/com/google/protobuf/
> SmallSortedMap.java:[419,5] method does not override a method from its
> superclass
> [ERROR] /root/protobuf-2.4.0a/java/src/main/java/com/google/protobuf/
> SmallSortedMap.java:[424,5] method does not override a method from its
> superclass
> [ERROR] /root/protobuf-2.4.0a/java/src/main/java/com/google/protobuf/
> SmallSortedMap.java:[429,5] method does not override a method from its
> superclass
> [ERROR] /root/protobuf-2.4.0a/java/src/main/java/com/google/protobuf/
> SmallSortedMap.java:[538,5] method does not override a method from its
> superclass
> [ERROR] /root/protobuf-2.4.0a/java/src/main/java/com/google/protobuf/
> SmallSortedMap.java:[544,5] method does not override a method from its
> superclass
> [ERROR] /root/protobuf-2.4.0a/java/src/main/java/com/google/protobuf/
> SmallSortedMap.java:[555,5] method does not override a method from its
> superclass
> [ERROR] /root/protobuf-2.4.0a/java/src/main/java/com/google/protobuf/
> SmallSortedMap.java:[592,7] method does not override a method from its
> superclass
> [ERROR] /root/protobuf-2.4.0a/java/src/main/java/com/google/protobuf/
> SmallSortedMap.java:[596,7] method does not override a method from its
> superclass
> [ERROR] /root/protobuf-2.4.0a/java/src/main/java/com/google/protobuf/
> SmallSortedMap.java:[600,7] method does not override a method from its
> superclass
> [ERROR] /root/protobuf-2.4.0a/java/src/main/java/com/google/protobuf/
> SmallSortedMap.java:[607,7] method does not override a method from its
> superclass
> [ERROR] /root/protobuf-2.4.0a/java/src/main/java/com/google/protobuf/
> RepeatedFieldBuilder.java:[576,3] method does not override a method
> from

Re: [protobuf] mvn test failing in 2.4.0a java subproject

2011-04-27 Thread Pherl Liu
I see, probably the AbstractMap.SimpleEntry usage in the SmallSortedMapTest.

On Thu, Apr 28, 2011 at 12:45 PM, Pherl Liu  wrote:

> Hmm, what errors did you get after removing the @Override annotations?
>
> On Thu, Apr 28, 2011 at 12:07 AM, CRozeboom  wrote:
>
>> I installed maven and am trying to build the java jar files for a
>> project. I've tried this on a Windows XP and Ubuntu 10.10 system with
>> the same results. I've even tried removing the @Override annotations
>> that are being complained about and simply doing a "maven package",
>> but that fails as well.
>>
>> If there were a pre-built jar file for 2.4.0a, I'd just as soon work
>> with that.
>>
>> mvn test
>> [INFO] Scanning for projects...
>> [WARNING]
>> [WARNING] Some problems were encountered while building the effective
>> model for com.google.protobuf:protobuf-java:jar:2.4.0a
>> [WARNING] 'build.plugins.plugin.version' for
>> org.apache.maven.plugins:maven-compiler-plugin is missing. @ line 57,
>> column 15
>> [WARNING] 'build.plugins.plugin.version' for
>> org.apache.maven.plugins:maven-surefire-plugin is missing. @ line 64,
>> column 15
>> [WARNING]
>> [WARNING] It is highly recommended to fix these problems because they
>> threaten the stability of your build.
>> [WARNING]
>> [WARNING] For this reason, future Maven versions might no longer
>> support building such malformed projects.
>> [WARNING]
>> [INFO]
>> [INFO]
>> 
>> [INFO] Building Protocol Buffer Java API 2.4.0a
>> [INFO]
>> 
>> [INFO]
>> [INFO] --- maven-antrun-plugin:1.3:run (generate-sources) @ protobuf-
>> java ---
>> [INFO] Executing tasks
>> [INFO] Executed tasks
>> [INFO] Registering compile source root /root/protobuf-2.4.0a/java/
>> target/generated-sources
>> [INFO]
>> [INFO] --- maven-resources-plugin:2.4.3:resources (default-resources)
>> @ protobuf-java ---
>> [WARNING] Using platform encoding (UTF-8 actually) to copy filtered
>> resources, i.e. build is platform dependent!
>> [INFO] skip non existing resourceDirectory /root/protobuf-2.4.0a/java/
>> src/main/resources
>> [INFO]
>> [INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @
>> protobuf-java ---
>> [WARNING] File encoding has not been set, using platform encoding
>> UTF-8, i.e. build is platform dependent!
>> [INFO] Compiling 38 source files to /root/protobuf-2.4.0a/java/target/
>> classes
>> [INFO] -
>> [ERROR] COMPILATION ERROR :
>> [INFO] -
>> [ERROR] /root/protobuf-2.4.0a/java/src/main/java/com/google/protobuf/
>> GeneratedMessage.java:[424,5] method does not override a method from
>> its superclass
>> [ERROR] /root/protobuf-2.4.0a/java/src/main/java/com/google/protobuf/
>> GeneratedMessage.java:[448,7] method does not override a method from
>> its superclass
>> [ERROR] /root/protobuf-2.4.0a/java/src/main/java/com/google/protobuf/
>> GeneratedMessage.java:[1133,11] method does not override a method from
>> its superclass
>> [ERROR] /root/protobuf-2.4.0a/java/src/main/java/com/google/protobuf/
>> GeneratedMessage.java:[1228,11] method does not override a method from
>> its superclass
>> [ERROR] /root/protobuf-2.4.0a/java/src/main/java/com/google/protobuf/
>> SmallSortedMap.java:[414,5] method does not override a method from its
>> superclass
>> [ERROR] /root/protobuf-2.4.0a/java/src/main/java/com/google/protobuf/
>> SmallSortedMap.java:[419,5] method does not override a method from its
>> superclass
>> [ERROR] /root/protobuf-2.4.0a/java/src/main/java/com/google/protobuf/
>> SmallSortedMap.java:[424,5] method does not override a method from its
>> superclass
>> [ERROR] /root/protobuf-2.4.0a/java/src/main/java/com/google/protobuf/
>> SmallSortedMap.java:[429,5] method does not override a method from its
>> superclass
>> [ERROR] /root/protobuf-2.4.0a/java/src/main/java/com/google/protobuf/
>> SmallSortedMap.java:[538,5] method does not override a method from its
>> superclass
>> [ERROR] /root/protobuf-2.4.0a/java/src/main/java/com/google/protobuf/
>> SmallSortedMap.java:[544,5] method does not override a method from its
>> superclass
>> [ERROR] /root/protobuf-2.4.0a/java/src/main/java/com/google/protobuf/
>> SmallSortedMap.java:[555,5] method does not override a method from its
>> superclass
>> [ERROR] /root/protobuf-2.4.0a/java/src/main/java/com/google/protobuf/
>> SmallSortedMap.java:[592,7] method does not override a method from its
>> superclass
>> [ERROR] /root/protobuf-2.4.0a/java/src/main/java/com/google/protobuf/
>> SmallSortedMap.java:[596,7] method does not override a method from its
>> superclass
>> [ERROR] /root/protobuf-2.4.0a/java/src/main/java/com/google/protobuf/
>> SmallSortedMap.java:[600,7] method does not override a method from its
>> superclass
>> [ERROR] /root/protobuf-2.4.0a/java/src/main/java/com/google/protobu