agora inbox for pgsql-hackers@postgresql.org
help / color / mirror / Atom feedFrom: Álvaro Herrera <alvherre@kurilemu.de>
To: Narek Galstyan <narek.galstyan@enterprisedb.com>
Cc: pgsql-hackers@postgresql.org, "narekg@berkeley.edu" <narekg@berkeley.edu>
Cc: ngalstyan4@gmail.com
Subject: Re: Coverage with make coverage-html is broken on latest Debian using lcov v2
Date: Mon, 15 Jun 2026 20:22:45 +0200
Message-ID: <ajBA9Zuy3TZ73mxr@alvherre.pgsql> (raw)
In-Reply-To: <CAHsn6_xCDQWe8_vVFhtFk27_xTdyVV+Dr0yWzaooBZ6+-VH-5w@mail.gmail.com>
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)
view thread (10+ messages) latest in thread
Message-ID: <ajBA9Zuy3TZ73mxr@alvherre.pgsql>
Permalink: ../ajBA9Zuy3TZ73mxr@alvherre.pgsql/
Also on: postgresql.org/message-id/ajBA9Zuy3TZ73mxr@alvherre.pgsql
reply
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-hackers@postgresql.org
Cc: alvherre@kurilemu.de, narek.galstyan@enterprisedb.com, narekg@berkeley.edu, ngalstyan4@gmail.com
Subject: Re: Coverage with make coverage-html is broken on latest Debian using lcov v2
In-Reply-To: <ajBA9Zuy3TZ73mxr@alvherre.pgsql>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox