Source: meson
Version: 1.12.1-2
Severity: serious
X-Debbugs-Cc: [email protected]
Dear maintainer,
the autopkgtests of meson fail with lcov 2.6-1:
858s lcov: WARNING: using JSON module "JSON::PP" - which is much slower than
some alternatives. Consider installing one of JSON::XS or Cpanel::JSON::XS
858s Capturing coverage data from /tmp/tmpbdt_r8r6
858s geninfo cmd: '/usr/bin/geninfo /tmp/tmpbdt_r8r6 --toolname lcov
--call-from-lcov --output-filename
/tmp/tmpbdt_r8r6/meson-logs/coverage.info.run --no-checksum --rc
lcov_branch_coverage=1'
858s lcov: ERROR: (deprecated) RC option 'lcov_branch_coverage' is deprecated.
Please use 'branch_coverage' instead.
858s (use "lcov --ignore-errors deprecated ..." to bypass this error)
858s Traceback (most recent call last):
858s File "/var/tmp/autopkgtest.ChPtJn/package/tests-tree/meson.py", line 27,
in <module>
858s sys.exit(mesonmain.main())
858s ~~~~~~~~~~~~~~^^
858s File
"/var/tmp/autopkgtest.ChPtJn/package/tests-tree/mesonbuild/mesonmain.py", line
322, in main
858s return run(sys.argv[1:], launcher)
858s File
"/var/tmp/autopkgtest.ChPtJn/package/tests-tree/mesonbuild/mesonmain.py", line
309, in run
858s return run_script_command(args[1], args[2:])
858s File
"/var/tmp/autopkgtest.ChPtJn/package/tests-tree/mesonbuild/mesonmain.py", line
232, in run_script_command
858s return func(script_args)
858s File
"/var/tmp/autopkgtest.ChPtJn/package/tests-tree/mesonbuild/scripts/coverage.py",
line 213, in run
858s return coverage(options.outputs, options.source_root,
858s options.subproject_root, options.build_root,
858s options.log_dir, options.use_llvm_cov,
858s options.gcovr, options.llvm_cov)
858s File
"/var/tmp/autopkgtest.ChPtJn/package/tests-tree/mesonbuild/scripts/coverage.py",
line 121, in coverage
858s subprocess.check_call([lcov_exe,
858s ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^
858s '--directory', build_root,
858s ^^^^^^^^^^^^^^^^^^^^^^^^^^
858s ...<4 lines>...
858s lcov_config +
858s ^^^^^^^^^^^^^
858s gcov_tool_args)
858s ^^^^^^^^^^^^^^^
858s File "/usr/lib/python3.14/subprocess.py", line 420, in check_call
858s raise CalledProcessError(retcode, cmd)
858s subprocess.CalledProcessError: Command '['lcov', '--directory',
'/tmp/tmpbdt_r8r6', '--capture', '--output-file',
'/tmp/tmpbdt_r8r6/meson-logs/coverage.info.run', '--no-checksum', '--rc',
'lcov_branch_coverage=1']' returned non-zero exit status 2.
858s ninja: build stopped: subcommand failed.
...
952s Total configuration time: 1343.35s
952s Total build time: 631.74s
952s Total test time: 50.55s
952s
952s Total passed tests: 785
952s Total failed tests: 0
952s Total skipped tests: 50
952s $ /usr/bin/python3 run_unittests.py --backend=ninja
952s $ /usr/bin/python3 run_project_tests.py
952s /var/tmp/autopkgtest.ChPtJn/wrapper.sh: Killing leaked background
processes: 56057
952s PID TTY STAT TIME COMMAND
952s 56057 ? RN 0:00 /usr/bin/python3 -c import sys; from
multiprocessing.forkserver import main; main(11, 12, ['__main__'],
sys_argv=sys.argv[1:], **{'sys_path':
['/var/tmp/autopkgtest.ChPtJn/package/tests-tree', '/usr/lib/python314.zip',
'/usr/lib/python3.14', '/usr/lib/python3.14/lib-dynload',
'/usr/local/lib/python3.14/dist-packages', '/usr/lib/python3/dist-packages'],
'main_path':
'/var/tmp/autopkgtest.ChPtJn/package/tests-tree/run_project_tests.py',
'authkey_r': 14}) run_project_tests.py
953s autopkgtest [15:47:56]: test exhaustive: -----------------------]
See https://ci.debian.net/packages/m/meson/testing/amd64/78458687/#S12
for more details.
Cheers
--
Sebastian Ramacher