Package: cpp-netlib Version: 0.10.1-1 Severity: serious Justification: Fails to build from source
Hi there, some of the tests in your package require internet connectivity and/or an active network interface. The former may not be available on the build daemon, resulting in an error like: > Running 12 test cases... > unknown location(0): fatal error in > "http_get_test_different_port<N5boost7network4http12basic_clientINS1_4tags29http_default_8bit_tcp_resolveELj1ELj0EEE>": > std::runtime_error: resolve: Host not found (authoritative) > unknown location(0): fatal error in > "http_get_test_different_port<N5boost7network4http12basic_clientINS1_4tags29http_default_8bit_udp_resolveELj1ELj0EEE>": > std::runtime_error: resolve: Host not found (authoritative) > unknown location(0): fatal error in > "http_get_test_different_port<N5boost7network4http12basic_clientINS1_4tags31http_keepalive_8bit_tcp_resolveELj1ELj0EEE>": > std::runtime_error: resolve: Host not found (authoritative) > unknown location(0): fatal error in > "http_get_test_different_port<N5boost7network4http12basic_clientINS1_4tags31http_keepalive_8bit_udp_resolveELj1ELj0EEE>": > std::runtime_error: resolve: Host not found (authoritative) > unknown location(0): fatal error in > "http_get_test_different_port<N5boost7network4http12basic_clientINS1_4tags27http_async_8bit_udp_resolveELj1ELj0EEE>": > std::runtime_error: Host not found (authoritative) > terminate called after throwing an instance of > 'boost::exception_detail::clone_impl<boost::exception_detail::error_info_injector<boost::thread_resource_error> > >' > what(): boost thread: trying joining itself: Resource deadlock avoided > > Start 14: cpp-netlib-http-client_get_timeout_test > 14/18 Test #14: cpp-netlib-http-client_get_timeout_test ............. > Passed 0.02 sec > Start 15: cpp-netlib-http-client_get_streaming_test > 15/18 Test #15: cpp-netlib-http-client_get_streaming_test > ...........***Exception: Other 0.01 sec > terminate called after throwing an instance of > 'boost::exception_detail::clone_impl<boost::exception_detail::error_info_injector<boost::thread_resource_error> > >' > Running 4 test cases... > unknown location(0): fatal error in > "http_client_get_streaming_test<N5boost7network4http12basic_clientINS1_4tags27http_async_8bit_udp_resolveELj1ELj0EEE>": > std::runtime_error: Host not found (authoritative) > /build/buildd/cpp-netlib-0.10.1/libs/network/test/http/client_get_streaming_test.cpp(37): > last checkpoint > what(): boost thread: trying joining itself: Resource deadlock avoided > > Start 16: cpp-netlib-http-server_constructor_test > 16/18 Test #16: cpp-netlib-http-server_constructor_test ............. > Passed 0.01 sec > Start 17: cpp-netlib-http-server_async_run_stop_concurrency > 17/18 Test #17: cpp-netlib-http-server_async_run_stop_concurrency ... > Passed 1.31 sec > Start 18: mime-roundtrip > 18/18 Test #18: mime-roundtrip ...................................... > Passed 0.01 sec > > 83% tests passed, 3 tests failed out of 18 A full build-log can for example be found at https://launchpadlibrarian.net/157509492/buildlog_ubuntu-trusty-i386.cpp-netlib_0.10.1-1_FAILEDTOBUILD.txt.gz Note that this particular build was done on Ubuntu trusty, but I verified the same error on an up-to-date unstable running inside Virtualbox with the network interface disabled. The easiest solution in my opinion would be to disable the tests that require connectivity/an active network interface. -- Andreas Moog, Berliner Str. 29, 36205 Sontra/Germany PGP-encrypted mails preferred (Key-ID: 74DE6624) PGP Fingerprint: 74CD D9FE 5BCB FE0D 13EE 8EEA 61F3 4426 74DE 6624
signature.asc
Description: OpenPGP digital signature