Howdy -

I'm an SA (from doubleclick) working with some former doubleclick and other
google folx trying to get some things set up to xfer between legacy dclk and
google.

They requested that I install protobuf on a couple of hosts, but I'm having
some problem with the make check, and was hoping you could help.

If there's somewhere else I should ask about this (like a guts queue),
please let me know.

This is on a Solaris 10, sparc arch, T2000, with gcc/g++ 3.4.6.

The only errors I got on the compile were from ld at the end:

g++ -D_REENTRANT -pthreads -Wall -Wwrite-strings -Woverloaded-virtual
-Wno-sign-compare -g -O2 -D_REENTRANT -pthreads -o .libs/protobuf-test
common_unittest.o strutil_unittest.o descriptor_database_unittest.o
descriptor_unittest.o dynamic_message_unittest.o extension_set_unittest.o
generated_message_reflection_unittest.o message_unittest.o
reflection_ops_unittest.o repeated_field_unittest.o text_format_unittest.o
unknown_field_set_unittest.o wire_format_unittest.o coded_stream_unittest.o
printer_unittest.o tokenizer_unittest.o zero_copy_stream_unittest.o
command_line_interface_unittest.o importer_unittest.o parser_unittest.o
cpp_bootstrap_unittest.o cpp_unittest.o test_util.o googletest.o file.o
gtest.o gtest-death-test.o gtest-filepath.o gtest-port.o gtest_main.o
unittest.pb.o unittest_import.pb.o unittest_mset.pb.o
unittest_optimize_for.pb.o unittest_embed_optimize_for.pb.o
unittest_custom_options.pb.o cpp_test_bad_identifiers.pb.o
./.libs/libprotobuf.so
-L/sol10/SOURCES/S10/gcc-3.4.6/objdir/sparc-sun-solaris2.10/libstdc++-v3/src
-L/sol10/SOURCES/S10/gcc-3.4.6/objdir/sparc-sun-solaris2.10/libstdc++-v3/src/.libs
-L/usr/local/lib -L/usr/local/ssl/lib -L/usr/openwin/lib
-L/sol10/SOURCES/S10/gcc-3.4.6/objdir/gcc ./.libs/libprotoc.so
/root/protobuf-2.0.2/src/.libs/libprotobuf.so -lpthread
/usr/local/lib/libstdc++.so -Wl,-R -Wl,/usr/local/lib
ld: warning: file /root/protobuf-2.0.2/src/.libs/libprotobuf.so: linked to
./.libs/libprotobuf.so: attempted multiple inclusion of file
ld: warning: file /usr/local/lib/libstdc++.so: attempted multiple inclusion
of file
creating protobuf-test
make[3]: Leaving directory `/root/protobuf-2.0.2/src'
make[2]: Leaving directory `/root/protobuf-2.0.2/src'
make[2]: Entering directory `/root/protobuf-2.0.2'
make[2]: Leaving directory `/root/protobuf-2.0.2'
make[1]: Leaving directory `/root/protobuf-2.0.2'


The 'make check' fails with:

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:  9616 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 /root/protobuf-2.0.2/src
*** Error code 1
make: Fatal error: Command failed for target `check-am'
Current working directory /root/protobuf-2.0.2/src
*** Error code 1
make: Fatal error: Command failed for target `check'
Current working directory /root/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'

There's a core file generated as well... please let me know if I need to
send that along.

Thanks!

chad

--~--~---------~--~----~------------~-------~--~----~
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