Bug#834186: cpp-netlib: FTBFS: 94% tests passed, 1 tests failed out of 17

2016-10-12 Thread Dejan Latinovic
Control: tags -1 + patch

The same behavior is noticed on other architectures as well: alpha, arm64, 
kfreebsd-amd64, kfreebsd-i386, mips64el, s390x, sparc64.
https://buildd.debian.org/status/logs.php?pkg=cpp-netlib=0.11.2%2Bdfsg1-2%2Bb2=sid

I took a look on github repository and this test has been disabled in the 
latest cpp-netlib-0.12.0-final release.
Here are relevant commits:
https://github.com/cpp-netlib/cpp-netlib/commit/cb9a7fa4439b19a2447db1428d7c55187cbe4961
https://github.com/cpp-netlib/cpp-netlib/commit/6686ebd57442279e79e08c8900116e6fedf2aa9f


Could we do the same?

The patch that disables the test is attached.
With this patch I was able to build cpp-netlib successfully for amd64.

From cb9a7fa4439b19a2447db1428d7c55187cbe4961 Mon Sep 17 00:00:00 2001
From: Glyn Matthews 
Date: Sat, 30 Jan 2016 22:44:38 +0100
Subject: [PATCH] Mime tests don't actually pass, so I will disable them.

---
 CMakeLists.txt | 14 +++---
 1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 2ce87cc..681f7a4 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -9,7 +9,7 @@ project(CPP-NETLIB)
 
 option( CPP-NETLIB_BUILD_SHARED_LIBS "Build cpp-netlib as shared libraries." OFF )
 option( CPP-NETLIB_BUILD_TESTS "Build the cpp-netlib project tests." ON)
-option( CPP-NETLIB_BUILD_EXPERIMENTS "Build the cpp-netlib project experiments." ON)
+# option( CPP-NETLIB_BUILD_EXPERIMENTS "Build the cpp-netlib project experiments." ON)
 option( CPP-NETLIB_BUILD_EXAMPLES "Build the cpp-netlib project examples." ON)
 option( CPP-NETLIB_ENABLE_HTTPS "Build cpp-netlib with support for https if OpenSSL is found." ON)
 
@@ -102,12 +102,12 @@ if (Boost_FOUND)
   add_subdirectory(deps/googletest)
   add_subdirectory(libs/network/test)
 endif (CPP-NETLIB_BUILD_TESTS)
-if (CPP-NETLIB_BUILD_EXPERIMENTS)
-  add_subdirectory(libs/network/experiment)
-endif (CPP-NETLIB_BUILD_EXPERIMENTS)
-if (NOT MSVC AND CPP-NETLIB_BUILD_TESTS)
-  add_subdirectory(libs/mime/test)
-endif(NOT MSVC AND CPP-NETLIB_BUILD_TESTS)
+# if (CPP-NETLIB_BUILD_EXPERIMENTS)
+#   add_subdirectory(libs/network/experiment)
+# endif (CPP-NETLIB_BUILD_EXPERIMENTS)
+# if (NOT MSVC AND CPP-NETLIB_BUILD_TESTS)
+#   add_subdirectory(libs/mime/test)
+# endif(NOT MSVC AND CPP-NETLIB_BUILD_TESTS)
 if (CPP-NETLIB_BUILD_EXAMPLES)
   add_subdirectory(libs/network/example)
 endif (CPP-NETLIB_BUILD_EXAMPLES)


Bug#834186: cpp-netlib: FTBFS: 94% tests passed, 1 tests failed out of 17

2016-08-12 Thread Chris Lamb
Source: cpp-netlib
Version: 0.11.2+dfsg1-2
Severity: serious
Justification: fails to build from source
User: reproducible-bui...@lists.alioth.debian.org
Usertags: ftbfs
X-Debbugs-Cc: reproducible-bui...@lists.alioth.debian.org

Dear Maintainer,

cpp-netlib fails to build from source in unstable/amd64:

  [..]

  /usr/include/boost/type_traits/detail/template_arity_spec.hpp:13:84: note: 
#pragma message: NOTE: Use of this header (template_arity_spec.hpp) is 
deprecated
   # pragma message("NOTE: Use of this header (template_arity_spec.hpp) is 
deprecated")

  ^
  [ 90%] Linking CXX executable ../../../example/hello_world_server
  cd 
/home/lamby/temp/cdt.20160812211802.WL6OdPXgKR.db.cpp-netlib/cpp-netlib-0.11.2+dfsg1/obj-x86_64-linux-gnu/libs/network/example
 && /usr/bin/cmake -E cmake_link_script 
CMakeFiles/hello_world_server.dir/link.txt --verbose=1
  /usr/bin/c++   -g -O2 
-fdebug-prefix-map=/home/lamby/temp/cdt.20160812211802.WL6OdPXgKR.db.cpp-netlib/cpp-netlib-0.11.2+dfsg1=.
 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time 
-D_FORTIFY_SOURCE=2  -Wall   -Wl,-z,relro 
CMakeFiles/hello_world_server.dir/http/hello_world_server.cpp.o  -o 
../../../example/hello_world_server -rdynamic -lboost_thread -lboost_system 
-lboost_date_time -lboost_regex -lboost_program_options -lboost_filesystem 
-lboost_chrono -lpthread -lssl -lcrypto -lrt 
  make[3]: Leaving directory 
'/home/lamby/temp/cdt.20160812211802.WL6OdPXgKR.db.cpp-netlib/cpp-netlib-0.11.2+dfsg1/obj-x86_64-linux-gnu'
  [ 90%] Built target hello_world_server
  make -f libs/network/example/CMakeFiles/hello_world_client.dir/build.make 
libs/network/example/CMakeFiles/hello_world_client.dir/depend
  make[3]: Entering directory 
'/home/lamby/temp/cdt.20160812211802.WL6OdPXgKR.db.cpp-netlib/cpp-netlib-0.11.2+dfsg1/obj-x86_64-linux-gnu'
  cd 
/home/lamby/temp/cdt.20160812211802.WL6OdPXgKR.db.cpp-netlib/cpp-netlib-0.11.2+dfsg1/obj-x86_64-linux-gnu
 && /usr/bin/cmake -E cmake_depends "Unix Makefiles" 
/home/lamby/temp/cdt.20160812211802.WL6OdPXgKR.db.cpp-netlib/cpp-netlib-0.11.2+dfsg1
 
/home/lamby/temp/cdt.20160812211802.WL6OdPXgKR.db.cpp-netlib/cpp-netlib-0.11.2+dfsg1/libs/network/example
 
/home/lamby/temp/cdt.20160812211802.WL6OdPXgKR.db.cpp-netlib/cpp-netlib-0.11.2+dfsg1/obj-x86_64-linux-gnu
 
/home/lamby/temp/cdt.20160812211802.WL6OdPXgKR.db.cpp-netlib/cpp-netlib-0.11.2+dfsg1/obj-x86_64-linux-gnu/libs/network/example
 
/home/lamby/temp/cdt.20160812211802.WL6OdPXgKR.db.cpp-netlib/cpp-netlib-0.11.2+dfsg1/obj-x86_64-linux-gnu/libs/network/example/CMakeFiles/hello_world_client.dir/DependInfo.cmake
 --color=
  Scanning dependencies of target hello_world_client
  make[3]: Leaving directory 
'/home/lamby/temp/cdt.20160812211802.WL6OdPXgKR.db.cpp-netlib/cpp-netlib-0.11.2+dfsg1/obj-x86_64-linux-gnu'
  make -f libs/network/example/CMakeFiles/hello_world_client.dir/build.make 
libs/network/example/CMakeFiles/hello_world_client.dir/build
  make[3]: Entering directory 
'/home/lamby/temp/cdt.20160812211802.WL6OdPXgKR.db.cpp-netlib/cpp-netlib-0.11.2+dfsg1/obj-x86_64-linux-gnu'
  [ 92%] Building CXX object 
libs/network/example/CMakeFiles/hello_world_client.dir/http/hello_world_client.cpp.o
  cd 
/home/lamby/temp/cdt.20160812211802.WL6OdPXgKR.db.cpp-netlib/cpp-netlib-0.11.2+dfsg1/obj-x86_64-linux-gnu/libs/network/example
 && /usr/bin/c++   -DBOOST_NETWORK_ENABLE_HTTPS -DBOOST_TEST_DYN_LINK 
-I/home/lamby/temp/cdt.20160812211802.WL6OdPXgKR.db.cpp-netlib/cpp-netlib-0.11.2+dfsg1
  -g -O2 
-fdebug-prefix-map=/home/lamby/temp/cdt.20160812211802.WL6OdPXgKR.db.cpp-netlib/cpp-netlib-0.11.2+dfsg1=.
 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time 
-D_FORTIFY_SOURCE=2  -Wall   -o 
CMakeFiles/hello_world_client.dir/http/hello_world_client.cpp.o -c 
/home/lamby/temp/cdt.20160812211802.WL6OdPXgKR.db.cpp-netlib/cpp-netlib-0.11.2+dfsg1/libs/network/example/http/hello_world_client.cpp
  In file included from 
/usr/include/boost/iostreams/detail/is_dereferenceable.hpp:12:0,
   from /usr/include/boost/iostreams/detail/resolve.hpp:26,
   from /usr/include/boost/iostreams/detail/push.hpp:24,
   from 
/usr/include/boost/iostreams/detail/streambuf/indirect_streambuf.hpp:31,
   from /usr/include/boost/iostreams/stream_buffer.hpp:22,
   from /usr/include/boost/iostreams/stream.hpp:21,
   from 
/usr/include/boost/spirit/home/qi/stream/detail/iterator_source.hpp:14,
   from /usr/include/boost/spirit/home/qi/stream/stream.hpp:16,
   from /usr/include/boost/spirit/home/qi/stream.hpp:15,
   from /usr/include/boost/spirit/home/qi.hpp:30,
   from /usr/include/boost/spirit/include/qi.hpp:16,
   from