[Debian-med-packaging] Bug#854469: spdlog: fails autopkgtests due to output on stderr

Graham Inggs ginggs at debian.org
Tue Feb 7 12:36:26 UTC 2017


Source: spdlog
Version: 1.11-1
Severity: wishlist
Tags: patch

Hi Maintainer

Spdlog has been consistently failing its autopkgtests since 2016-09-07 
[1] which seems to coincide with the upload of 1.11-1, however I think  
GCC 6 became the default around the same time.

Test output now includes warnings similar to the following, which cause 
the tests to fail:

In file included from main.cpp:2:0:
catch.hpp: In member function ‘bool 
Catch::TestSpec::Filter::matches(const Catch::TestCaseInfo&) const’:
catch.hpp:2913:17: warning: this ‘for’ clause does not guard... 
[-Wmisleading-indentation]
                  for( std::vector<Ptr<Pattern> >::const_iterator it = 
m_patterns.begin(), itEnd = m_patterns.end(); it != itEnd; ++it )

This can be worked around by allowing stderr output in the autopkgtests 
(as below), or by fixing the indentation in catch.hpp.

a/debian/tests/control
b/debian/tests/control
@@ -1,2 +1,3 @@
  Tests: run-tests
+Restrictions: allow-stderr
  Depends: @, @builddeps@

Regards
Graham


[1] https://ci.debian.net/packages/s/spdlog/unstable/amd64/



More information about the Debian-med-packaging mailing list