This is a bug that has been fixed in SVN and will be fixed in the 2.0.3
release, which should happen soonish.  If you don't use DynamicMessage you
don't need to worry about it.

On Thu, Nov 20, 2008 at 11:34 AM, Nimisha Mishra <
[EMAIL PROTECTED]> wrote:

>  Hello,
>
>
>
> I have installed protocol buffer 2.0.2 version and trying to build it in
> solaris environment. I get this error when I do a "make check", Please note
> – make ran fine. Please advise .
>
>
>
> Making check in src
>
> make  check-am
>
> make  check-TESTS
>
> Running main() from gtest_main.cc
>
> [==========] Running 557 tests from 85 test cases.
>
> [----------] Global test environment set-up.
>
> [----------] 1 test from GeneratedDescriptorTest
>
> [ RUN      ] GeneratedDescriptorTest.IdenticalDescriptors
>
> [       OK ] GeneratedDescriptorTest.IdenticalDescriptors
>
> [----------] 22 tests from GeneratedMessageTest
>
> [ RUN      ] GeneratedMessageTest.Defaults
>
> [       OK ] GeneratedMessageTest.Defaults
>
> [ RUN      ] GeneratedMessageTest.Accessors
>
> [       OK ] GeneratedMessageTest.Accessors
>
> [ RUN      ] GeneratedMessageTest.MutableStringDefault
>
> [       OK ] GeneratedMessageTest.MutableStringDefault
>
> [ RUN      ] GeneratedMessageTest.Clear
>
> [       OK ] GeneratedMessageTest.Clear
>
> [ RUN      ] GeneratedMessageTest.EmbeddedNullsInBytesCharStar
>
> [       OK ] GeneratedMessageTest.EmbeddedNullsInBytesCharStar
>
> [ RUN      ] GeneratedMessageTest.ClearOneField
>
> [       OK ] GeneratedMessageTest.ClearOneField
>
> [ RUN      ] GeneratedMessageTest.CopyFrom
>
> [       OK ] GeneratedMessageTest.CopyFrom
>
> [ RUN      ] GeneratedMessageTest.CopyConstructor
>
> [       OK ] GeneratedMessageTest.CopyConstructor
>
> [ RUN      ] GeneratedMessageTest.CopyAssignmentOperator
>
> [       OK ] GeneratedMessageTest.CopyAssignmentOperator
>
> [ RUN      ] GeneratedMessageTest.UpcastCopyFrom
>
> [       OK ] GeneratedMessageTest.UpcastCopyFrom
>
> [ RUN      ] GeneratedMessageTest.DynamicMessageCopyFrom
>
> bash: line 4: 15528 Bus Error               (core dumped) ${dir}$tst
>
> FAIL: protobuf-test
>
> ==========================================
>
> 1 of 1 tests failed
>
> Please report to protobuf@googlegroups.com
>
> ==========================================
>
> *** Error code 1
>
> The following command caused the error:
>
> failed=0; all=0; xfail=0; xpass=0; skip=0; \
>
> srcdir=.; export srcdir; \
>
> list='protobuf-test'; \
>
> if test -n "$list"; then \
>
>   for tst in $list; do \
>
>     if test -f ./$tst; then dir=./; \
>
>     elif test -f $tst; then dir=; \
>
>     else dir="./"; fi; \
>
>     if  ${dir}$tst; then \
>
>       all=`expr $all + 1`; \
>
>       case "  " in \
>
>       *" $tst "*) \
>
>         xpass=`expr $xpass + 1`; \
>
>         failed=`expr $failed + 1`; \
>
>         echo "XPASS: $tst"; \
>
>       ;; \
>
>       *) \
>
>         echo "PASS: $tst"; \
>
>       ;; \
>
>       esac; \
>
>     elif test $? -ne 77; then \
>
>       all=`expr $all + 1`; \
>
>       case "  " in \
>
>       *" $tst "*) \
>
>         xfail=`expr $xfail + 1`; \
>
>         echo "XFAIL: $tst"; \
>
>       ;; \
>
>       *) \
>
>         failed=`expr $failed + 1`; \
>
>         echo "FAIL: $tst"; \
>
>       ;; \
>
>       esac; \
>
>     else \
>
>       skip=`expr $skip + 1`; \
>
>       echo "SKIP: $tst"; \
>
>     fi; \
>
>   done; \
>
>   if test "$failed" -eq 0; then \
>
>     if test "$xfail" -eq 0; then \
>
>       banner="All $all tests passed"; \
>
>     else \
>
>       banner="All $all tests behaved as expected ($xfail expected
> failures)"; \
>
>     fi; \
>
>   else \
>
>     if test "$xpass" -eq 0; then \
>
>       banner="$failed of $all tests failed"; \
>
>     else \
>
>       banner="$failed of $all tests did not behave as expected ($xpass
> unexpected passes)"; \
>
>     fi; \
>
>   fi; \
>
>   dashes="$banner"; \
>
>   skipped=""; \
>
>   if test "$skip" -ne 0; then \
>
>     skipped="($skip tests were not run)"; \
>
>     test `echo "$skipped" | wc -c` -le `echo "$banner" | wc -c` || \
>
>       dashes="$skipped"; \
>
>   fi; \
>
>   report=""; \
>
>   if test "$failed" -ne 0 && test -n "protobuf@googlegroups.com"; then \
>
>     report="Please report to protobuf@googlegroups.com"; \
>
>     test `echo "$report" | wc -c` -le `echo "$banner" | wc -c` || \
>
>       dashes="$report"; \
>
>   fi; \
>
>   dashes=`echo "$dashes" | sed s/./=/g`; \
>
>   echo "$dashes"; \
>
>   echo "$banner"; \
>
>   test -z "$skipped" || echo "$skipped"; \
>
>   test -z "$report" || echo "$report"; \
>
>   echo "$dashes"; \
>
>   test "$failed" -eq 0; \
>
> else :; fi
>
> make: Fatal error: Command failed for target `check-TESTS'
>
> Current working directory
> /var/home/nmishra/protocol_buffer/protobuf-2.0.2/src
>
> *** Error code 1
>
> make: Fatal error: Command failed for target `check-am'
>
> Current working directory
> /var/home/nmishra/protocol_buffer/protobuf-2.0.2/src
>
> *** Error code 1
>
> make: Fatal error: Command failed for target `check'
>
> Current working directory
> /var/home/nmishra/protocol_buffer/protobuf-2.0.2/src
>
> *** Error code 1
>
> The following command caused the error:
>
> failcom='exit 1'; \
>
> for f in x $MAKEFLAGS; do \
>
>   case $f in \
>
>     *=* | --[!k]*);; \
>
>     *k*) failcom='fail=yes';; \
>
>   esac; \
>
> done; \
>
> dot_seen=no; \
>
> target=`echo check-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; \
>
>   (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 `check-recursive'
>
>
>
> Thanks,
>
> Nimisha Mishra
>
> Verizon Business
>
>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/protobuf?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to