Re: Coverage with make coverage-html is broken on latest Debian using lcov v2
От
Álvaro Herrera
Тема
Re: Coverage with make coverage-html is broken on latest Debian using lcov v2
Дата
Msg-id
ajBA9Zuy3TZ73mxr@alvherre.pgsql
Ответ на
Список
Дерево обсуждения
Coverage with make coverage-html is broken on latest Debian using lcov v2 Narek Galstyan <narek.galstyan@enterprisedb.com>
Re: Coverage with make coverage-html is broken on latest Debian using lcov v2 Álvaro Herrera <alvherre@kurilemu.de>
Hi Narek, On 2026-Apr-21, Narek Galstyan wrote: > On Debian 13 (trixie), `make coverage-html` command triggers an lcov > failure. [...] > Without applying any of the patches, with --enable-coverage and in-tree > build (no vpath), make check && make coverage-html results in the following > error: > > ``` > /usr/bin/lcov --gcov-tool /usr/bin/gcov -q --no-external -c -i -d . -d . -o > lcov_base.info > lcov: ERROR: (usage) duplicate file ./src/backend/access/table/tableam.gcno > in both . and . Handling this part with your 0001 seems reasonable to me. I think we should backpatch that one. I'm not sure sure about the 0002 patch though. It builds in the assumption that lcov is broken and that we're going to ignore these warnings by default [forever]. Do we really want to bake those flags into our build system? -- Álvaro Herrera PostgreSQL Developer — https://www.EnterpriseDB.com/ "El número de instalaciones de UNIX se ha elevado a 10, y se espera que este número aumente" (UPM, 1972)
В списке pgsql-hackers по дате отправления
От: Bharath Rupireddy
Дата: