Source: cpplint
Version: 1.6.1-1
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: lu...@debian.org
Usertags: ftbfs-20221220 ftbfs-bookworm

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64.


Relevant part (hopefully):
>  debian/rules binary
> dh binary --with python3 --buildsystem=pybuild
>    dh_update_autotools_config -O--buildsystem=pybuild
>    dh_autoreconf -O--buildsystem=pybuild
>    dh_auto_configure -O--buildsystem=pybuild
> I: pybuild base:240: python3.11 setup.py config 
> running config
> I: pybuild base:240: python3.10 setup.py config 
> running config
>    dh_auto_build -O--buildsystem=pybuild
> I: pybuild base:240: /usr/bin/python3.11 setup.py build 
> running build
> running build_py
> copying cpplint.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_cpplint/build
> I: pybuild base:240: /usr/bin/python3 setup.py build 
> running build
> running build_py
> copying cpplint.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_cpplint/build
>    dh_auto_test -O--buildsystem=pybuild
> I: pybuild pybuild:307: cp -r /<<PKGBUILDDIR>>/samples 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_cpplint/build
> I: pybuild base:240: cd 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_cpplint/build; python3.11 -m pytest 
> /<<PKGBUILDDIR>>/*test.py
> ============================= test session starts 
> ==============================
> platform linux -- Python 3.11.1, pytest-7.2.0, pluggy-1.0.0+repack
> rootdir: /<<PKGBUILDDIR>>, configfile: setup.cfg
> plugins: cov-4.0.0
> collected 208 items
> 
> ../../../cpplint_clitest.py FFFFFFFFFFFF                                 [  
> 5%]
> ../../../cpplint_unittest.py ........................................... [ 
> 26%]
> ........................................................................ [ 
> 61%]
> ........................................................................ [ 
> 95%]
> ........F                                                                
> [100%]
> 
> =================================== FAILURES 
> ===================================
> ______________________________ UsageTest.testHelp 
> ______________________________
> 
> self = <cpplint_clitest.UsageTest testMethod=testHelp>
> 
>     def testHelp(self):
>         (status, out, err) = RunShellCommand(BASE_CMD + ' --help')
>         self.assertEqual(0, status)
>         self.assertEqual(b'', out)
> >       self.assertTrue(err.startswith(b'\nSyntax: cpplint'))
> E       AssertionError: False is not true
> 
> ../../../cpplint_clitest.py:70: AssertionError
> _____________________ NoRepoSignatureTests.testBoostSample 
> _____________________
> 
> self = <cpplint_clitest.NoRepoSignatureTests testMethod=testBoostSample>
> 
>     def testBoostSample(self):
> >       self.checkAllInFolder('./samples/boost-sample', 4)
> 
> ../../../cpplint_clitest.py:173: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> ../../../cpplint_clitest.py:119: in checkAllInFolder
>     self._checkDef(os.path.join(dirpath, f))
> ../../../cpplint_clitest.py:128: in _checkDef
>     self._runAndCheck(path,
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> 
> self = <cpplint_clitest.NoRepoSignatureTests testMethod=testBoostSample>
> definition_file = './samples/boost-sample/exclude.def'
> args = '--recursive --exclude=headers/* src', expected_status = 1
> expected_out = ['Done processing src/inspect/unnamed_namespace_check.hpp', 
> 'Done processing src/tr1/c_policy.hpp', 'Total errors found: 107', '']
> expected_err = ['src/inspect/unnamed_namespace_check.hpp:0:  No #ifndef 
> header guard found, suggested CPP variable is: 
> SAMPLES_BOOST_...mespace_check.hpp:21:  Anonymous namespace should be 
> terminated with "// namespace"  [readability/namespace] [5]', ...]
> 
>     def _runAndCheck(
>             self,
>             definition_file,
>             args,
>             expected_status,
>             expected_out,
>             expected_err
>     ):
>         rel_cwd = os.path.dirname(definition_file)
>         cmd = BASE_CMD + self.get_extra_command_args(rel_cwd) + args
>         cwd = os.path.join(self._root, rel_cwd)
>         # command to reproduce, do not forget first two lines have special 
> meaning
>         print("\ncd " + cwd + " && " + cmd + " 2> <filename>")
>         (status, out, err) = RunShellCommand(cmd, cwd)
>         self.assertEqual(expected_status, status, 'bad command status %s' % 
> status)
>         prefix = 'Failed check in %s comparing to %s for command: %s' % (cwd, 
> definition_file, cmd)
> >       compare('\n'.join(expected_err), err.decode('utf8'), prefix=prefix, 
> > show_whitespace=True)
> E       AssertionError: Failed check in 
> /tmp/tmpcfk9thu8/./samples/boost-sample comparing to 
> ./samples/boost-sample/exclude.def for command: /usr/bin/python3.11 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_cpplint/build/cpplint.py  
> --repository /tmp/tmpcfk9thu8 --recursive --exclude=headers/* src: 
> E       --- first
> E       +++ second
> E       @@ -1,3 +1,5 @@
> E       
> +"/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_cpplint/build/cpplint.py:57: 
> DeprecationWarning: module 'sre_compile' is deprecated\n"
> E       +'  import sre_compile\n'
> E        'src/inspect/unnamed_namespace_check.hpp:0:  No #ifndef header guard 
> found, suggested CPP variable is: 
> SAMPLES_BOOST_SAMPLE_SRC_INSPECT_UNNAMED_NAMESPACE_CHECK_HPP_  
> [build/header_guard] [5]\n'
> E        'src/inspect/unnamed_namespace_check.hpp:11:  Include the directory 
> when naming header files  [build/include_subdir] [4]\n'
> E        'src/inspect/unnamed_namespace_check.hpp:14:  Do not use unnamed 
> namespaces in header files.  See 
> https://google-styleguide.googlecode.com/svn/trunk/cppguide.xml#Namespaces 
> for more information.  [build/namespaces_headers] [4]\n'
> 
> ../../../cpplint_clitest.py:150: AssertionError
> ----------------------------- Captured stdout call 
> -----------------------------
> 
> cd /tmp/tmpcfk9thu8/./samples/boost-sample && /usr/bin/python3.11 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_cpplint/build/cpplint.py  
> --repository /tmp/tmpcfk9thu8 --recursive --exclude=headers/* src 2> 
> <filename>
> ____________________ NoRepoSignatureTests.testCfgFileSample 
> ____________________
> 
> self = <cpplint_clitest.NoRepoSignatureTests testMethod=testCfgFileSample>
> 
>     def testCfgFileSample(self):
> >       self.checkAllInFolder('./samples/cfg-file', 1)
> 
> ../../../cpplint_clitest.py:170: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> ../../../cpplint_clitest.py:119: in checkAllInFolder
>     self._checkDef(os.path.join(dirpath, f))
> ../../../cpplint_clitest.py:128: in _checkDef
>     self._runAndCheck(path,
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> 
> self = <cpplint_clitest.NoRepoSignatureTests testMethod=testCfgFileSample>
> definition_file = './samples/cfg-file/simple.def', args = 'src/*.cpp'
> expected_status = 1
> expected_out = ['Done processing src/sillycode.cpp', 'Total errors found: 
> 19', '']
> expected_err = ['src/sillycode.cpp:0:  No copyright message found.  You 
> should have a line: "Copyright [year] <Copyright Owner>"  [le...] [5]', 
> 'src/sillycode.cpp:76:  Single-parameter constructors should be marked 
> explicit.  [runtime/explicit] [5]', ...]
> 
>     def _runAndCheck(
>             self,
>             definition_file,
>             args,
>             expected_status,
>             expected_out,
>             expected_err
>     ):
>         rel_cwd = os.path.dirname(definition_file)
>         cmd = BASE_CMD + self.get_extra_command_args(rel_cwd) + args
>         cwd = os.path.join(self._root, rel_cwd)
>         # command to reproduce, do not forget first two lines have special 
> meaning
>         print("\ncd " + cwd + " && " + cmd + " 2> <filename>")
>         (status, out, err) = RunShellCommand(cmd, cwd)
>         self.assertEqual(expected_status, status, 'bad command status %s' % 
> status)
>         prefix = 'Failed check in %s comparing to %s for command: %s' % (cwd, 
> definition_file, cmd)
> >       compare('\n'.join(expected_err), err.decode('utf8'), prefix=prefix, 
> > show_whitespace=True)
> E       AssertionError: Failed check in /tmp/tmpcfk9thu8/./samples/cfg-file 
> comparing to ./samples/cfg-file/simple.def for command: /usr/bin/python3.11 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_cpplint/build/cpplint.py  
> --repository /tmp/tmpcfk9thu8 src/*.cpp: 
> E       --- first
> E       +++ second
> E       @@ -1,3 +1,5 @@
> E       
> +"/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_cpplint/build/cpplint.py:57: 
> DeprecationWarning: module 'sre_compile' is deprecated\n"
> E       +'  import sre_compile\n'
> E        'src/sillycode.cpp:0:  No copyright message found.  You should have 
> a line: "Copyright [year] <Copyright Owner>"  [legal/copyright] [5]\n'
> E        'src/sillycode.cpp:3:  Found C system header after C++ system 
> header. Should be: sillycode.h, c system, c++ system, other.  
> [build/include_order] [4]\n'
> E        'src/sillycode.cpp:14:  Is this a non-const reference? If so, make 
> const or use a pointer: vector<string>& v  [runtime/references] [2]\n'
> 
> ../../../cpplint_clitest.py:150: AssertionError
> ----------------------------- Captured stdout call 
> -----------------------------
> 
> cd /tmp/tmpcfk9thu8/./samples/cfg-file && /usr/bin/python3.11 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_cpplint/build/cpplint.py  
> --repository /tmp/tmpcfk9thu8 src/*.cpp 2> <filename>
> ___________________ NoRepoSignatureTests.testChromiumSample 
> ____________________
> 
> self = <cpplint_clitest.NoRepoSignatureTests testMethod=testChromiumSample>
> 
>     def testChromiumSample(self):
> >       self.checkAllInFolder('./samples/chromium-sample', 1)
> 
> ../../../cpplint_clitest.py:161: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> ../../../cpplint_clitest.py:119: in checkAllInFolder
>     self._checkDef(os.path.join(dirpath, f))
> ../../../cpplint_clitest.py:128: in _checkDef
>     self._runAndCheck(path,
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> 
> self = <cpplint_clitest.NoRepoSignatureTests testMethod=testChromiumSample>
> definition_file = './samples/chromium-sample/simple.def', args = 'src/*'
> expected_status = 1
> expected_out = ['Done processing src/chrome_content_renderer_client.cc', 
> 'Done processing src/chrome_content_renderer_client.h', 'Done processing 
> src/io_thread.cc', 'Done processing src/io_thread.h', 'Total errors found: 
> 13', '']
> expected_err = ['src/chrome_content_renderer_client.cc:113:  Include the 
> directory when naming header files  [build/include_subdir] [...e should be 
> "#endif  // SAMPLES_CHROMIUM_SAMPLE_SRC_CHROME_CONTENT_RENDERER_CLIENT_H_"  
> [build/header_guard] [5]', ...]
> 
>     def _runAndCheck(
>             self,
>             definition_file,
>             args,
>             expected_status,
>             expected_out,
>             expected_err
>     ):
>         rel_cwd = os.path.dirname(definition_file)
>         cmd = BASE_CMD + self.get_extra_command_args(rel_cwd) + args
>         cwd = os.path.join(self._root, rel_cwd)
>         # command to reproduce, do not forget first two lines have special 
> meaning
>         print("\ncd " + cwd + " && " + cmd + " 2> <filename>")
>         (status, out, err) = RunShellCommand(cmd, cwd)
>         self.assertEqual(expected_status, status, 'bad command status %s' % 
> status)
>         prefix = 'Failed check in %s comparing to %s for command: %s' % (cwd, 
> definition_file, cmd)
> >       compare('\n'.join(expected_err), err.decode('utf8'), prefix=prefix, 
> > show_whitespace=True)
> E       AssertionError: Failed check in 
> /tmp/tmpcfk9thu8/./samples/chromium-sample comparing to 
> ./samples/chromium-sample/simple.def for command: /usr/bin/python3.11 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_cpplint/build/cpplint.py  
> --repository /tmp/tmpcfk9thu8 src/*: 
> E       --- first
> E       +++ second
> E       @@ -1,3 +1,5 @@
> E       
> +"/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_cpplint/build/cpplint.py:57: 
> DeprecationWarning: module 'sre_compile' is deprecated\n"
> E       +'  import sre_compile\n'
> E        'src/chrome_content_renderer_client.cc:113:  Include the directory 
> when naming header files  [build/include_subdir] [4]\n'
> E        'src/chrome_content_renderer_client.cc:1156:  Use int16/int64/etc, 
> rather than the C type long  [runtime/int] [4]\n'
> E        'src/chrome_content_renderer_client.cc:1161:  Use int16/int64/etc, 
> rather than the C type long  [runtime/int] [4]\n'
> 
> ../../../cpplint_clitest.py:150: AssertionError
> ----------------------------- Captured stdout call 
> -----------------------------
> 
> cd /tmp/tmpcfk9thu8/./samples/chromium-sample && /usr/bin/python3.11 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_cpplint/build/cpplint.py  
> --repository /tmp/tmpcfk9thu8 src/* 2> <filename>
> ___________________ NoRepoSignatureTests.testCodeliteSample 
> ____________________
> 
> self = <cpplint_clitest.NoRepoSignatureTests testMethod=testCodeliteSample>
> 
>     def testCodeliteSample(self):
> >       self.checkAllInFolder('./samples/codelite-sample', 1)
> 
> ../../../cpplint_clitest.py:179: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> ../../../cpplint_clitest.py:119: in checkAllInFolder
>     self._checkDef(os.path.join(dirpath, f))
> ../../../cpplint_clitest.py:128: in _checkDef
>     self._runAndCheck(path,
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> 
> self = <cpplint_clitest.NoRepoSignatureTests testMethod=testCodeliteSample>
> definition_file = './samples/codelite-sample/simple.def', args = 'src/*'
> expected_status = 1
> expected_out = ['Done processing src/pptable.cpp', 'Done processing 
> src/pptable.h', 'Total errors found: 681', '']
> expected_err = ['src/pptable.cpp:0:  No copyright message found.  You should 
> have a line: "Copyright [year] <Copyright Owner>"  [lega... [whitespace/tab] 
> [1]', 'src/pptable.cpp:8:  Lines should be <= 80 characters long  
> [whitespace/line_length] [2]', ...]
> 
>     def _runAndCheck(
>             self,
>             definition_file,
>             args,
>             expected_status,
>             expected_out,
>             expected_err
>     ):
>         rel_cwd = os.path.dirname(definition_file)
>         cmd = BASE_CMD + self.get_extra_command_args(rel_cwd) + args
>         cwd = os.path.join(self._root, rel_cwd)
>         # command to reproduce, do not forget first two lines have special 
> meaning
>         print("\ncd " + cwd + " && " + cmd + " 2> <filename>")
>         (status, out, err) = RunShellCommand(cmd, cwd)
>         self.assertEqual(expected_status, status, 'bad command status %s' % 
> status)
>         prefix = 'Failed check in %s comparing to %s for command: %s' % (cwd, 
> definition_file, cmd)
> >       compare('\n'.join(expected_err), err.decode('utf8'), prefix=prefix, 
> > show_whitespace=True)
> E       AssertionError: Failed check in 
> /tmp/tmpcfk9thu8/./samples/codelite-sample comparing to 
> ./samples/codelite-sample/simple.def for command: /usr/bin/python3.11 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_cpplint/build/cpplint.py  
> --repository /tmp/tmpcfk9thu8 src/*: 
> E       --- first
> E       +++ second
> E       @@ -1,3 +1,5 @@
> E       
> +"/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_cpplint/build/cpplint.py:57: 
> DeprecationWarning: module 'sre_compile' is deprecated\n"
> E       +'  import sre_compile\n'
> E        'src/pptable.cpp:0:  No copyright message found.  You should have a 
> line: "Copyright [year] <Copyright Owner>"  [legal/copyright] [5]\n'
> E        'src/pptable.cpp:1:  Include the directory when naming header files  
> [build/include_subdir] [4]\n'
> E        'src/pptable.cpp:6:  { should almost always be at the end of the 
> previous line  [whitespace/braces] [4]\n'
> 
> ../../../cpplint_clitest.py:150: AssertionError
> ----------------------------- Captured stdout call 
> -----------------------------
> 
> cd /tmp/tmpcfk9thu8/./samples/codelite-sample && /usr/bin/python3.11 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_cpplint/build/cpplint.py  
> --repository /tmp/tmpcfk9thu8 src/* 2> <filename>
> ___________________ NoRepoSignatureTests.testProtobufSample 
> ____________________
> 
> self = <cpplint_clitest.NoRepoSignatureTests testMethod=testProtobufSample>
> 
>     def testProtobufSample(self):
> >       self.checkAllInFolder('./samples/protobuf-sample', 1)
> 
> ../../../cpplint_clitest.py:176: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> ../../../cpplint_clitest.py:119: in checkAllInFolder
>     self._checkDef(os.path.join(dirpath, f))
> ../../../cpplint_clitest.py:128: in _checkDef
>     self._runAndCheck(path,
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> 
> self = <cpplint_clitest.NoRepoSignatureTests testMethod=testProtobufSample>
> definition_file = './samples/protobuf-sample/simple.def', args = 'src/*'
> expected_status = 1
> expected_out = ['Done processing src/descriptor.pb.cc', 'Done processing 
> src/descriptor.pb.h', 'Done processing src/descriptor_unittest.cc', 'Total 
> errors found: 2643', '']
> expected_err = ['src/descriptor.pb.cc:0:  No copyright message found.  You 
> should have a line: "Copyright [year] <Copyright Owner>"  ...der after C++ 
> system header. Should be: descriptor.pb.h, c system, c++ system, other.  
> [build/include_order] [4]', ...]
> 
>     def _runAndCheck(
>             self,
>             definition_file,
>             args,
>             expected_status,
>             expected_out,
>             expected_err
>     ):
>         rel_cwd = os.path.dirname(definition_file)
>         cmd = BASE_CMD + self.get_extra_command_args(rel_cwd) + args
>         cwd = os.path.join(self._root, rel_cwd)
>         # command to reproduce, do not forget first two lines have special 
> meaning
>         print("\ncd " + cwd + " && " + cmd + " 2> <filename>")
>         (status, out, err) = RunShellCommand(cmd, cwd)
>         self.assertEqual(expected_status, status, 'bad command status %s' % 
> status)
>         prefix = 'Failed check in %s comparing to %s for command: %s' % (cwd, 
> definition_file, cmd)
> >       compare('\n'.join(expected_err), err.decode('utf8'), prefix=prefix, 
> > show_whitespace=True)
> E       AssertionError: Failed check in 
> /tmp/tmpcfk9thu8/./samples/protobuf-sample comparing to 
> ./samples/protobuf-sample/simple.def for command: /usr/bin/python3.11 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_cpplint/build/cpplint.py  
> --repository /tmp/tmpcfk9thu8 src/*: 
> E       --- first
> E       +++ second
> E       @@ -1,3 +1,5 @@
> E       
> +"/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_cpplint/build/cpplint.py:57: 
> DeprecationWarning: module 'sre_compile' is deprecated\n"
> E       +'  import sre_compile\n'
> E        'src/descriptor.pb.cc:0:  No copyright message found.  You should 
> have a line: "Copyright [year] <Copyright Owner>"  [legal/copyright] [5]\n'
> E        'src/descriptor.pb.cc:9:  Found C system header after C++ system 
> header. Should be: descriptor.pb.h, c system, c++ system, other.  
> [build/include_order] [4]\n'
> E        'src/descriptor.pb.cc:10:  Found C system header after C++ system 
> header. Should be: descriptor.pb.h, c system, c++ system, other.  
> [build/include_order] [4]\n'
> 
> ../../../cpplint_clitest.py:150: AssertionError
> ----------------------------- Captured stdout call 
> -----------------------------
> 
> cd /tmp/tmpcfk9thu8/./samples/protobuf-sample && /usr/bin/python3.11 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_cpplint/build/cpplint.py  
> --repository /tmp/tmpcfk9thu8 src/* 2> <filename>
> _____________________ NoRepoSignatureTests.testSillySample 
> _____________________
> 
> self = <cpplint_clitest.NoRepoSignatureTests testMethod=testSillySample>
> 
>     def testSillySample(self):
> >       self.checkAllInFolder('./samples/silly-sample', 4)
> 
> ../../../cpplint_clitest.py:167: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> ../../../cpplint_clitest.py:119: in checkAllInFolder
>     self._checkDef(os.path.join(dirpath, f))
> ../../../cpplint_clitest.py:128: in _checkDef
>     self._runAndCheck(path,
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> 
> self = <cpplint_clitest.NoRepoSignatureTests testMethod=testSillySample>
> definition_file = './samples/silly-sample/filters.def'
> args = '--counting=toplevel --filter=-whitespace,-build/include_what_you_use 
> src/*.cpp'
> expected_status = 1
> expected_out = ['Done processing src/sillycode.cpp', "Category 'build' errors 
> found: 1", "Category 'legal' errors found: 1", "Category 'readability' errors 
> found: 5", "Category 'runtime' errors found: 12", 'Total errors found: 19', 
> ...]
> expected_err = ['src/sillycode.cpp:0:  No copyright message found.  You 
> should have a line: "Copyright [year] <Copyright Owner>"  [le...] [5]', 
> 'src/sillycode.cpp:76:  Single-parameter constructors should be marked 
> explicit.  [runtime/explicit] [5]', ...]
> 
>     def _runAndCheck(
>             self,
>             definition_file,
>             args,
>             expected_status,
>             expected_out,
>             expected_err
>     ):
>         rel_cwd = os.path.dirname(definition_file)
>         cmd = BASE_CMD + self.get_extra_command_args(rel_cwd) + args
>         cwd = os.path.join(self._root, rel_cwd)
>         # command to reproduce, do not forget first two lines have special 
> meaning
>         print("\ncd " + cwd + " && " + cmd + " 2> <filename>")
>         (status, out, err) = RunShellCommand(cmd, cwd)
>         self.assertEqual(expected_status, status, 'bad command status %s' % 
> status)
>         prefix = 'Failed check in %s comparing to %s for command: %s' % (cwd, 
> definition_file, cmd)
> >       compare('\n'.join(expected_err), err.decode('utf8'), prefix=prefix, 
> > show_whitespace=True)
> E       AssertionError: Failed check in 
> /tmp/tmpcfk9thu8/./samples/silly-sample comparing to 
> ./samples/silly-sample/filters.def for command: /usr/bin/python3.11 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_cpplint/build/cpplint.py  
> --repository /tmp/tmpcfk9thu8 --counting=toplevel 
> --filter=-whitespace,-build/include_what_you_use src/*.cpp: 
> E       --- first
> E       +++ second
> E       @@ -1,3 +1,5 @@
> E       
> +"/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_cpplint/build/cpplint.py:57: 
> DeprecationWarning: module 'sre_compile' is deprecated\n"
> E       +'  import sre_compile\n'
> E        'src/sillycode.cpp:0:  No copyright message found.  You should have 
> a line: "Copyright [year] <Copyright Owner>"  [legal/copyright] [5]\n'
> E        'src/sillycode.cpp:3:  Found C system header after C++ system 
> header. Should be: sillycode.h, c system, c++ system, other.  
> [build/include_order] [4]\n'
> E        'src/sillycode.cpp:14:  Is this a non-const reference? If so, make 
> const or use a pointer: vector<string>& v  [runtime/references] [2]\n'
> 
> ../../../cpplint_clitest.py:150: AssertionError
> ----------------------------- Captured stdout call 
> -----------------------------
> 
> cd /tmp/tmpcfk9thu8/./samples/silly-sample && /usr/bin/python3.11 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_cpplint/build/cpplint.py  
> --repository /tmp/tmpcfk9thu8 --counting=toplevel 
> --filter=-whitespace,-build/include_what_you_use src/*.cpp 2> <filename>
> ______________________ NoRepoSignatureTests.testV8Sample 
> _______________________
> 
> self = <cpplint_clitest.NoRepoSignatureTests testMethod=testV8Sample>
> 
>     def testV8Sample(self):
> >       self.checkAllInFolder('./samples/v8-sample', 1)
> 
> ../../../cpplint_clitest.py:182: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> ../../../cpplint_clitest.py:119: in checkAllInFolder
>     self._checkDef(os.path.join(dirpath, f))
> ../../../cpplint_clitest.py:128: in _checkDef
>     self._runAndCheck(path,
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> 
> self = <cpplint_clitest.NoRepoSignatureTests testMethod=testV8Sample>
> definition_file = './samples/v8-sample/simple.def', args = 'src/*'
> expected_status = 1
> expected_out = ['Done processing src/interface-descriptors.h', 'Total errors 
> found: 2', '']
> expected_err = ['src/interface-descriptors.h:5:  #ifndef header guard has 
> wrong style, please use: SAMPLES_V8_SAMPLE_SRC_INTERFACE_DE...255:  #endif 
> line should be "#endif  // SAMPLES_V8_SAMPLE_SRC_INTERFACE_DESCRIPTORS_H_"  
> [build/header_guard] [5]', '']
> 
>     def _runAndCheck(
>             self,
>             definition_file,
>             args,
>             expected_status,
>             expected_out,
>             expected_err
>     ):
>         rel_cwd = os.path.dirname(definition_file)
>         cmd = BASE_CMD + self.get_extra_command_args(rel_cwd) + args
>         cwd = os.path.join(self._root, rel_cwd)
>         # command to reproduce, do not forget first two lines have special 
> meaning
>         print("\ncd " + cwd + " && " + cmd + " 2> <filename>")
>         (status, out, err) = RunShellCommand(cmd, cwd)
>         self.assertEqual(expected_status, status, 'bad command status %s' % 
> status)
>         prefix = 'Failed check in %s comparing to %s for command: %s' % (cwd, 
> definition_file, cmd)
> >       compare('\n'.join(expected_err), err.decode('utf8'), prefix=prefix, 
> > show_whitespace=True)
> E       AssertionError: Failed check in /tmp/tmpcfk9thu8/./samples/v8-sample 
> comparing to ./samples/v8-sample/simple.def for command: /usr/bin/python3.11 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_cpplint/build/cpplint.py  
> --repository /tmp/tmpcfk9thu8 src/*: 
> E       --- first
> E       +++ second
> E       @@ -1,3 +1,5 @@
> E       
> +"/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_cpplint/build/cpplint.py:57: 
> DeprecationWarning: module 'sre_compile' is deprecated\n"
> E       +'  import sre_compile\n'
> E        'src/interface-descriptors.h:5:  #ifndef header guard has wrong 
> style, please use: SAMPLES_V8_SAMPLE_SRC_INTERFACE_DESCRIPTORS_H_  
> [build/header_guard] [5]\n'
> E        'src/interface-descriptors.h:1255:  #endif line should be "#endif  
> // SAMPLES_V8_SAMPLE_SRC_INTERFACE_DESCRIPTORS_H_"  [build/header_guard] 
> [5]\n'
> E        ''
> 
> ../../../cpplint_clitest.py:150: AssertionError
> ----------------------------- Captured stdout call 
> -----------------------------
> 
> cd /tmp/tmpcfk9thu8/./samples/v8-sample && /usr/bin/python3.11 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_cpplint/build/cpplint.py  
> --repository /tmp/tmpcfk9thu8 src/* 2> <filename>
> ______________________ NoRepoSignatureTests.testVlcSample 
> ______________________
> 
> self = <cpplint_clitest.NoRepoSignatureTests testMethod=testVlcSample>
> 
>     def testVlcSample(self):
> >       self.checkAllInFolder('./samples/vlc-sample', 1)
> 
> ../../../cpplint_clitest.py:164: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> ../../../cpplint_clitest.py:119: in checkAllInFolder
>     self._checkDef(os.path.join(dirpath, f))
> ../../../cpplint_clitest.py:128: in _checkDef
>     self._runAndCheck(path,
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> 
> self = <cpplint_clitest.NoRepoSignatureTests testMethod=testVlcSample>
> definition_file = './samples/vlc-sample/simple.def', args = 'src/*'
> expected_status = 1
> expected_out = ['Done processing src/libvlc.c', 'Done processing 
> src/libvlc.h', 'Done processing src/missing.c', 'Total errors found: 601', '']
> expected_err = ['src/libvlc.c:41:  Found C system header after other header. 
> Should be: libvlc.h, c system, c++ system, other.  [buil...clude_order] [4]', 
> 'src/libvlc.c:71:  Include the directory when naming header files  
> [build/include_subdir] [4]', ...]
> 
>     def _runAndCheck(
>             self,
>             definition_file,
>             args,
>             expected_status,
>             expected_out,
>             expected_err
>     ):
>         rel_cwd = os.path.dirname(definition_file)
>         cmd = BASE_CMD + self.get_extra_command_args(rel_cwd) + args
>         cwd = os.path.join(self._root, rel_cwd)
>         # command to reproduce, do not forget first two lines have special 
> meaning
>         print("\ncd " + cwd + " && " + cmd + " 2> <filename>")
>         (status, out, err) = RunShellCommand(cmd, cwd)
>         self.assertEqual(expected_status, status, 'bad command status %s' % 
> status)
>         prefix = 'Failed check in %s comparing to %s for command: %s' % (cwd, 
> definition_file, cmd)
> >       compare('\n'.join(expected_err), err.decode('utf8'), prefix=prefix, 
> > show_whitespace=True)
> E       AssertionError: Failed check in /tmp/tmpcfk9thu8/./samples/vlc-sample 
> comparing to ./samples/vlc-sample/simple.def for command: /usr/bin/python3.11 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_cpplint/build/cpplint.py  
> --repository /tmp/tmpcfk9thu8 src/*: 
> E       --- first
> E       +++ second
> E       @@ -1,3 +1,5 @@
> E       
> +"/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_cpplint/build/cpplint.py:57: 
> DeprecationWarning: module 'sre_compile' is deprecated\n"
> E       +'  import sre_compile\n'
> E        'src/libvlc.c:41:  Found C system header after other header. Should 
> be: libvlc.h, c system, c++ system, other.  [build/include_order] [4]\n'
> E        'src/libvlc.c:47:  Found C system header after other header. Should 
> be: libvlc.h, c system, c++ system, other.  [build/include_order] [4]\n'
> E        'src/libvlc.c:48:  Found C system header after other header. Should 
> be: libvlc.h, c system, c++ system, other.  [build/include_order] [4]\n'
> 
> ../../../cpplint_clitest.py:150: AssertionError
> ----------------------------- Captured stdout call 
> -----------------------------
> 
> cd /tmp/tmpcfk9thu8/./samples/vlc-sample && /usr/bin/python3.11 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_cpplint/build/cpplint.py  
> --repository /tmp/tmpcfk9thu8 src/* 2> <filename>
> ___________________ GitRepoSignatureTests.testCodeliteSample 
> ___________________
> 
> self = <cpplint_clitest.GitRepoSignatureTests testMethod=testCodeliteSample>
> 
>     def testCodeliteSample(self):
> >       self.checkAllInFolder('./samples/codelite-sample', 1)
> 
> ../../../cpplint_clitest.py:193: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> ../../../cpplint_clitest.py:119: in checkAllInFolder
>     self._checkDef(os.path.join(dirpath, f))
> ../../../cpplint_clitest.py:128: in _checkDef
>     self._runAndCheck(path,
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> 
> self = <cpplint_clitest.GitRepoSignatureTests testMethod=testCodeliteSample>
> definition_file = './samples/codelite-sample/simple.def', args = 'src/*'
> expected_status = 1
> expected_out = ['Done processing src/pptable.cpp', 'Done processing 
> src/pptable.h', 'Total errors found: 681', '']
> expected_err = ['src/pptable.cpp:0:  No copyright message found.  You should 
> have a line: "Copyright [year] <Copyright Owner>"  [lega... [whitespace/tab] 
> [1]', 'src/pptable.cpp:8:  Lines should be <= 80 characters long  
> [whitespace/line_length] [2]', ...]
> 
>     def _runAndCheck(
>             self,
>             definition_file,
>             args,
>             expected_status,
>             expected_out,
>             expected_err
>     ):
>         rel_cwd = os.path.dirname(definition_file)
>         cmd = BASE_CMD + self.get_extra_command_args(rel_cwd) + args
>         cwd = os.path.join(self._root, rel_cwd)
>         # command to reproduce, do not forget first two lines have special 
> meaning
>         print("\ncd " + cwd + " && " + cmd + " 2> <filename>")
>         (status, out, err) = RunShellCommand(cmd, cwd)
>         self.assertEqual(expected_status, status, 'bad command status %s' % 
> status)
>         prefix = 'Failed check in %s comparing to %s for command: %s' % (cwd, 
> definition_file, cmd)
> >       compare('\n'.join(expected_err), err.decode('utf8'), prefix=prefix, 
> > show_whitespace=True)
> E       AssertionError: Failed check in 
> /tmp/tmpjkm0xonm/./samples/codelite-sample comparing to 
> ./samples/codelite-sample/simple.def for command: /usr/bin/python3.11 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_cpplint/build/cpplint.py src/*: 
> E       --- first
> E       +++ second
> E       @@ -1,3 +1,5 @@
> E       
> +"/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_cpplint/build/cpplint.py:57: 
> DeprecationWarning: module 'sre_compile' is deprecated\n"
> E       +'  import sre_compile\n'
> E        'src/pptable.cpp:0:  No copyright message found.  You should have a 
> line: "Copyright [year] <Copyright Owner>"  [legal/copyright] [5]\n'
> E        'src/pptable.cpp:1:  Include the directory when naming header files  
> [build/include_subdir] [4]\n'
> E        'src/pptable.cpp:6:  { should almost always be at the end of the 
> previous line  [whitespace/braces] [4]\n'
> 
> ../../../cpplint_clitest.py:150: AssertionError
> ----------------------------- Captured stdout call 
> -----------------------------
> 
> cd /tmp/tmpjkm0xonm/./samples/codelite-sample && /usr/bin/python3.11 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_cpplint/build/cpplint.py src/* 2> 
> <filename>
> ________________ MercurialRepoSignatureTests.testCodeliteSample 
> ________________
> 
> self = <cpplint_clitest.MercurialRepoSignatureTests 
> testMethod=testCodeliteSample>
> 
>     def testCodeliteSample(self):
> >       self.checkAllInFolder('./samples/codelite-sample', 1)
> 
> ../../../cpplint_clitest.py:204: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> ../../../cpplint_clitest.py:119: in checkAllInFolder
>     self._checkDef(os.path.join(dirpath, f))
> ../../../cpplint_clitest.py:128: in _checkDef
>     self._runAndCheck(path,
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> 
> self = <cpplint_clitest.MercurialRepoSignatureTests 
> testMethod=testCodeliteSample>
> definition_file = './samples/codelite-sample/simple.def', args = 'src/*'
> expected_status = 1
> expected_out = ['Done processing src/pptable.cpp', 'Done processing 
> src/pptable.h', 'Total errors found: 681', '']
> expected_err = ['src/pptable.cpp:0:  No copyright message found.  You should 
> have a line: "Copyright [year] <Copyright Owner>"  [lega... [whitespace/tab] 
> [1]', 'src/pptable.cpp:8:  Lines should be <= 80 characters long  
> [whitespace/line_length] [2]', ...]
> 
>     def _runAndCheck(
>             self,
>             definition_file,
>             args,
>             expected_status,
>             expected_out,
>             expected_err
>     ):
>         rel_cwd = os.path.dirname(definition_file)
>         cmd = BASE_CMD + self.get_extra_command_args(rel_cwd) + args
>         cwd = os.path.join(self._root, rel_cwd)
>         # command to reproduce, do not forget first two lines have special 
> meaning
>         print("\ncd " + cwd + " && " + cmd + " 2> <filename>")
>         (status, out, err) = RunShellCommand(cmd, cwd)
>         self.assertEqual(expected_status, status, 'bad command status %s' % 
> status)
>         prefix = 'Failed check in %s comparing to %s for command: %s' % (cwd, 
> definition_file, cmd)
> >       compare('\n'.join(expected_err), err.decode('utf8'), prefix=prefix, 
> > show_whitespace=True)
> E       AssertionError: Failed check in 
> /tmp/tmpdyyafuei/./samples/codelite-sample comparing to 
> ./samples/codelite-sample/simple.def for command: /usr/bin/python3.11 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_cpplint/build/cpplint.py src/*: 
> E       --- first
> E       +++ second
> E       @@ -1,3 +1,5 @@
> E       
> +"/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_cpplint/build/cpplint.py:57: 
> DeprecationWarning: module 'sre_compile' is deprecated\n"
> E       +'  import sre_compile\n'
> E        'src/pptable.cpp:0:  No copyright message found.  You should have a 
> line: "Copyright [year] <Copyright Owner>"  [legal/copyright] [5]\n'
> E        'src/pptable.cpp:1:  Include the directory when naming header files  
> [build/include_subdir] [4]\n'
> E        'src/pptable.cpp:6:  { should almost always be at the end of the 
> previous line  [whitespace/braces] [4]\n'
> 
> ../../../cpplint_clitest.py:150: AssertionError
> ----------------------------- Captured stdout call 
> -----------------------------
> 
> cd /tmp/tmpdyyafuei/./samples/codelite-sample && /usr/bin/python3.11 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_cpplint/build/cpplint.py src/* 2> 
> <filename>
> ___________________ SvnRepoSignatureTests.testCodeliteSample 
> ___________________
> 
> self = <cpplint_clitest.SvnRepoSignatureTests testMethod=testCodeliteSample>
> 
>     def testCodeliteSample(self):
> >       self.checkAllInFolder('./samples/codelite-sample', 1)
> 
> ../../../cpplint_clitest.py:215: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> ../../../cpplint_clitest.py:119: in checkAllInFolder
>     self._checkDef(os.path.join(dirpath, f))
> ../../../cpplint_clitest.py:128: in _checkDef
>     self._runAndCheck(path,
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> 
> self = <cpplint_clitest.SvnRepoSignatureTests testMethod=testCodeliteSample>
> definition_file = './samples/codelite-sample/simple.def', args = 'src/*'
> expected_status = 1
> expected_out = ['Done processing src/pptable.cpp', 'Done processing 
> src/pptable.h', 'Total errors found: 681', '']
> expected_err = ['src/pptable.cpp:0:  No copyright message found.  You should 
> have a line: "Copyright [year] <Copyright Owner>"  [lega... [whitespace/tab] 
> [1]', 'src/pptable.cpp:8:  Lines should be <= 80 characters long  
> [whitespace/line_length] [2]', ...]
> 
>     def _runAndCheck(
>             self,
>             definition_file,
>             args,
>             expected_status,
>             expected_out,
>             expected_err
>     ):
>         rel_cwd = os.path.dirname(definition_file)
>         cmd = BASE_CMD + self.get_extra_command_args(rel_cwd) + args
>         cwd = os.path.join(self._root, rel_cwd)
>         # command to reproduce, do not forget first two lines have special 
> meaning
>         print("\ncd " + cwd + " && " + cmd + " 2> <filename>")
>         (status, out, err) = RunShellCommand(cmd, cwd)
>         self.assertEqual(expected_status, status, 'bad command status %s' % 
> status)
>         prefix = 'Failed check in %s comparing to %s for command: %s' % (cwd, 
> definition_file, cmd)
> >       compare('\n'.join(expected_err), err.decode('utf8'), prefix=prefix, 
> > show_whitespace=True)
> E       AssertionError: Failed check in 
> /tmp/tmpc47f1asf/./samples/codelite-sample comparing to 
> ./samples/codelite-sample/simple.def for command: /usr/bin/python3.11 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_cpplint/build/cpplint.py src/*: 
> E       --- first
> E       +++ second
> E       @@ -1,3 +1,5 @@
> E       
> +"/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_cpplint/build/cpplint.py:57: 
> DeprecationWarning: module 'sre_compile' is deprecated\n"
> E       +'  import sre_compile\n'
> E        'src/pptable.cpp:0:  No copyright message found.  You should have a 
> line: "Copyright [year] <Copyright Owner>"  [legal/copyright] [5]\n'
> E        'src/pptable.cpp:1:  Include the directory when naming header files  
> [build/include_subdir] [4]\n'
> E        'src/pptable.cpp:6:  { should almost always be at the end of the 
> previous line  [whitespace/braces] [4]\n'
> 
> ../../../cpplint_clitest.py:150: AssertionError
> ----------------------------- Captured stdout call 
> -----------------------------
> 
> cd /tmp/tmpc47f1asf/./samples/codelite-sample && /usr/bin/python3.11 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_cpplint/build/cpplint.py src/* 2> 
> <filename>
> _______________________ QuietTest.testQuietWithoutErrors 
> _______________________
> 
> self = <cpplint_unittest.QuietTest testMethod=testQuietWithoutErrors>
> 
>     def testQuietWithoutErrors(self):
>       # This will succeed. We filtered out all the known errors for that file.
>       (return_code, output) = self._runCppLint('--quiet',
>                                                '--filter=' +
>                                                    '-legal/copyright,' +
>                                                    '-build/header_guard')
>       self.assertEquals(0, return_code, output)
>       # No cpplint errors are printed since there were no errors.
>       self.assertNotIn("[legal/copyright]", output)
>       self.assertNotIn("[build/header_guard]", output)
>       # --quiet was specified and there were no errors:
>       # skip the printing of 'Done processing' and 'Total errors..'
>       self.assertNotIn("Done processing", output)
>       self.assertNotIn("Total errors found:", output)
>       # Output with no errors must be completely blank!
> >     self.assertEquals("", output)
> E     AssertionError: '' != "/<<PKGBUILDDIR>>/cppl[85 chars]le\n"
> E     + /<<PKGBUILDDIR>>/cpplint.py:57: DeprecationWarning: module 
> 'sre_compile' is deprecated
> E     +   import sre_compile
> 
> ../../../cpplint_unittest.py:6525: AssertionError
> 
> ---------- coverage: platform linux, python 3.11.1-final-0 -----------
> Name                                             Stmts   Miss  Cover
> --------------------------------------------------------------------
> /<<PKGBUILDDIR>>/cpplint.py    2332    179    92%
> cpplint.py                                        2332    423    82%
> --------------------------------------------------------------------
> TOTAL                                             4664    602    87%
> 
> Required test coverage of 75% reached. Total coverage: 87.09%
> =========================== short test summary info 
> ============================
> FAILED ../../../cpplint_clitest.py::UsageTest::testHelp - AssertionError: 
> Fal...
> FAILED ../../../cpplint_clitest.py::NoRepoSignatureTests::testBoostSample - 
> A...
> FAILED ../../../cpplint_clitest.py::NoRepoSignatureTests::testCfgFileSample
> FAILED ../../../cpplint_clitest.py::NoRepoSignatureTests::testChromiumSample
> FAILED ../../../cpplint_clitest.py::NoRepoSignatureTests::testCodeliteSample
> FAILED ../../../cpplint_clitest.py::NoRepoSignatureTests::testProtobufSample
> FAILED ../../../cpplint_clitest.py::NoRepoSignatureTests::testSillySample - 
> A...
> FAILED ../../../cpplint_clitest.py::NoRepoSignatureTests::testV8Sample - 
> Asse...
> FAILED ../../../cpplint_clitest.py::NoRepoSignatureTests::testVlcSample - 
> Ass...
> FAILED ../../../cpplint_clitest.py::GitRepoSignatureTests::testCodeliteSample
> FAILED 
> ../../../cpplint_clitest.py::MercurialRepoSignatureTests::testCodeliteSample
> FAILED ../../../cpplint_clitest.py::SvnRepoSignatureTests::testCodeliteSample
> FAILED ../../../cpplint_unittest.py::QuietTest::testQuietWithoutErrors - 
> Asse...
> ======================= 13 failed, 195 passed in 25.56s 
> ========================
> E: pybuild pybuild:386: test: plugin distutils failed with: exit code=1: cd 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_cpplint/build; python3.11 -m pytest 
> {dir}/*test.py
> I: pybuild pybuild:307: cp -r /<<PKGBUILDDIR>>/samples 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_cpplint/build
> I: pybuild base:240: cd 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_cpplint/build; python3.10 -m pytest 
> /<<PKGBUILDDIR>>/*test.py
> ============================= test session starts 
> ==============================
> platform linux -- Python 3.10.9, pytest-7.2.0, pluggy-1.0.0+repack
> rootdir: /<<PKGBUILDDIR>>, configfile: setup.cfg
> plugins: cov-4.0.0
> collected 208 items
> 
> ../../../cpplint_clitest.py ............                                 [  
> 5%]
> ../../../cpplint_unittest.py ........................................... [ 
> 26%]
> ........................................................................ [ 
> 61%]
> ........................................................................ [ 
> 95%]
> .........                                                                
> [100%]
> 
> ---------- coverage: platform linux, python 3.10.9-final-0 -----------
> Name                                             Stmts   Miss  Cover
> --------------------------------------------------------------------
> /<<PKGBUILDDIR>>/cpplint.py    2332    179    92%
> cpplint.py                                        2332    401    83%
> --------------------------------------------------------------------
> TOTAL                                             4664    580    88%
> 
> Required test coverage of 75% reached. Total coverage: 87.56%
> 
> ============================= 208 passed in 31.66s 
> =============================
> I: pybuild pybuild:333: rm /<<PKGBUILDDIR>>/.pybuild/*/build/.coverage
> dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p "3.11 
> 3.10" returned exit code 13


The full build log is available from:
http://qa-logs.debian.net/2022/12/20/cpplint_1.6.1-1_unstable.log

All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20221220;users=lu...@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20221220&fusertaguser=lu...@debian.org&allbugs=1&cseverity=1&ctags=1&caffected=1#results

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

If you reassign this bug to another package, please mark it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects

If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.

Reply via email to