Bug#862128: src:ola: FTBFS with cppunit 0.14

2017-05-09 Thread Rene Engelhard
Hi,

On Tue, May 09, 2017 at 10:09:46AM +0200, Wouter Verhelst wrote:
> On Mon, May 08, 2017 at 10:26:41PM +0200, Rene Engelhard wrote:
> [...]
> > According to https://bugzilla.redhat.com/show_bug.cgi?id11694 it

FTR: https://bugzilla.redhat.com/show_bug.cgi?id=1311694.
Something apparently went wrong when cut'n'pasting this.

> > should have failed earlier in configure/autoreconf but that I don't see
> > at all in the buildlog...
> > On the flip-side it suggests that this is fixed upstream already in some
> > way?
> 
> Not yet, but an issue does indeed already exist. Marking this bug as forwarded
> to it.

OK, thanks

Regards,

Rene



Bug#862128: src:ola: FTBFS with cppunit 0.14

2017-05-09 Thread Wouter Verhelst
Control: tags -1 + upstream
Control: forwarded -1 https://github.com/OpenLightingProject/ola/issues/1244

On Mon, May 08, 2017 at 10:26:41PM +0200, Rene Engelhard wrote:
[...]
> According to https://bugzilla.redhat.com/show_bug.cgi?id11694 it
> should have failed earlier in configure/autoreconf but that I don't see
> at all in the buildlog...
> On the flip-side it suggests that this is fixed upstream already in some
> way?

Not yet, but an issue does indeed already exist. Marking this bug as forwarded
to it.

-- 
< ron> I mean, the main *practical* problem with C++, is there's like a dozen
   people in the world who think they really understand all of its rules,
   and pretty much all of them are just lying to themselves too.
 -- #debian-devel, OFTC, 2016-02-12



Bug#862128: src:ola: FTBFS with cppunit 0.14

2017-05-08 Thread Rene Engelhard
Package: src:ola
Version: 0.10.3.nojsmin-2
Severity: normal

Dear Maintainer,

[ cppunit 0.14 is not in Debian yet, see #861718. Thus normal for now ]

On a rebuild test using ratt I noticed your package doesn't build with
cppunit 0.14:

[...]
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I./i
nclude -I./include -Wall -Wformat -W -fvisibility-inlines-hidden -pthread -Werro
r -Wno-error?precated-declarations -Wno-error=unused-parameter -std=gnu++98 -p
thread -c tools/ola_trigger/VariableInterpolator.cpp -o tools/ola_trigger/Variab
leInterpolator.o >/dev/null 2>&1
In file included from /usr/include/cppunit/TestAssert.h:8:0,
 from /usr/include/cppunit/TestCase.h:6,
 from /usr/include/cppunit/TestCaller.h:5,
 from /usr/include/cppunit/extensions/HelperMacros.h:9,
 from common/testing/MockUDPSocket.cpp:23:
/usr/include/cppunit/tools/StringHelper.h:22:15: error: 'enable_if' in namespace
 'std' does not name a template type
 typename std::enable_if::value, std::string>::type toString(co
nst T& x)
   ^
/usr/include/cppunit/tools/StringHelper.h:22:24: error: expected unqualified-id
before '<' token
 typename std::enable_if::value, std::string>::type toString(co
nst T& x)
^
/usr/include/cppunit/tools/StringHelper.h:31:15: error: 'enable_if' in 
namespace 'std' does not name a template type
 typename std::enable_if::type 
toString(const T& x)
   ^
/usr/include/cppunit/tools/StringHelper.h:31:24: error: expected unqualified-id 
before '<' token
 typename std::enable_if::type 
toString(const T& x)
^
In file included from /usr/include/cppunit/Exception.h:4:0,
 from /usr/include/cppunit/TestCaller.h:4,
 from /usr/include/cppunit/extensions/HelperMacros.h:9,
 from common/testing/MockUDPSocket.cpp:23:
/usr/include/cppunit/TestAssert.h: In static member function 'static 
std::__cxx11::string CppUnit::assertion_traits::toString(const T&)':
/usr/include/cppunit/TestAssert.h:74:16: error: 'toString' is not a member of 
'CppUnit::StringHelper'
 return CPPUNIT_NS::StringHelper::toString(x);
^
In file included from /usr/include/cppunit/extensions/HelperMacros.h:9:0,
 from common/testing/MockUDPSocket.cpp:23:
/usr/include/cppunit/TestCaller.h: At global scope:
/usr/include/cppunit/TestCaller.h:159:37: error: 'std::function' has not been 
declared
   TestCaller(std::string name, std::function test_function, Fixture* 
fixture):
 ^~~~
/usr/include/cppunit/TestCaller.h:159:45: error: expected ',' or '...' before 
'<' token
   TestCaller(std::string name, std::function test_function, Fixture* 
fixture):
 ^
/usr/include/cppunit/TestCaller.h:200:8: error: 'function' in namespace 'std' 
does not name a template type
   std::function m_test_function;
^~~~
/usr/include/cppunit/TestCaller.h: In constructor 
'CppUnit::TestCaller::TestCaller(std::__cxx11::string, 
CppUnit::TestCaller::TestMethod)':
/usr/include/cppunit/TestCaller.h:121:6: error: class 
'CppUnit::TestCaller' does not have any field named 'm_test_function'
  m_test_function( std::bind(test, m_fixture) )
  ^~~
/usr/include/cppunit/TestCaller.h:121:23: error: 'bind' is not a member of 'std'
  m_test_function( std::bind(test, m_fixture) )
   ^~~
/usr/include/cppunit/TestCaller.h: In constructor 
'CppUnit::TestCaller::TestCaller(std::__cxx11::string, 
CppUnit::TestCaller::TestMethod, Fixture&)':
/usr/include/cppunit/TestCaller.h:138:6: error: class 
'CppUnit::TestCaller' does not have any field named 'm_test_function'
  m_test_function( std::bind(test, ) )
  ^~~
/usr/include/cppunit/TestCaller.h:138:23: error: 'bind' is not a member of 'std'
  m_test_function( std::bind(test, ) )
   ^~~
/usr/include/cppunit/TestCaller.h: In constructor 
'CppUnit::TestCaller::TestCaller(std::__cxx11::string, 
CppUnit::TestCaller::TestMethod, Fixture*)':
/usr/include/cppunit/TestCaller.h:155:6: error: class 
'CppUnit::TestCaller' does not have any field named 'm_test_function'
  m_test_function( std::bind(test, fixture) )
  ^~~
  m_test_function( std::bind(test, fixture) )
   ^~~
/usr/include/cppunit/TestCaller.h: In constructor 
'CppUnit::TestCaller::TestCaller(std::__cxx11::string, int)':
/usr/include/cppunit/TestCaller.h:162:17: error: 'fixture' was not declared in 
this scope
   m_fixture(fixture),
 ^~~
/usr/include/cppunit/TestCaller.h:163:7: error: class 
'CppUnit::TestCaller' does not have any field named 'm_test_function'
   m_test_function(test_function)
   ^~~