Package: protobuf Version: 2.0.3-2 Severity: serious Tags: patch See https://buildd.debian.org/fetch.cgi?&pkg=protobuf&ver=2.0.3-2&arch=ia64&stamp=1242204657&file=log - the build dies at this point:
/bin/sh ../libtool --tag=CXX --mode=link g++ -pthread -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -g -O2 -pthread -o protobuf-test common_unittest.o strutil_unittest.o structurally_valid_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 libprotobuf.la libprotoc.la libtool: link: g++ -pthread -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -g -O2 -pthread -o .libs/protobuf-test common_unittest.o strutil_unittest.o structurally_valid_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 ./.libs/libprotoc.so /build/buildd/protobuf-2.0.3/src/.libs/libprotobuf.so -pthread googletest.o: In function `GetTemporaryDirectoryName': /build/buildd/protobuf-2.0.3/src/google/protobuf/testing/googletest.cc:97: warning: the use of `tmpnam' is dangerous, better use `mkstemp' gtest-death-test.o: In function `testing::internal::ExecDeathTestFork(char* const*, int)': /build/buildd/protobuf-2.0.3/src/gtest/gtest-death-test.cc:583: undefined reference to `clone' /build/buildd/protobuf-2.0.3/src/gtest/gtest-death-test.cc:583: undefined reference to `clone' collect2: ld returned 1 exit status make[4]: *** [protobuf-test] Error 1 This is preventing libcompizconfig from building, too. I have no idea why it is not building on hppa, though; may or may not be the same problem. Patch: I think it is sufficient simply to #include <sched.h> in the gtest-death-test.cc code. Julian -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org