Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.98.2) (envelope-from ) id 1xD2ly-00000000HjX-1NCK for pgsql-hackers@arkaria.postgresql.org; Sat, 03 Oct 2026 16:39:42 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.98.2) (envelope-from ) id 1xD2lw-00000002Y5Z-18i5 for pgsql-hackers@arkaria.postgresql.org; Sat, 03 Oct 2026 16:39:40 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.98.2) (envelope-from ) id 1xD2lv-00000002Y5R-48vH for pgsql-hackers@lists.postgresql.org; Sat, 03 Oct 2026 16:39:39 +0000 Received: from sss.pgh.pa.us ([68.162.161.243]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.98.2) (envelope-from ) id 1xD2lu-00000000BNm-0wxL for pgsql-hackers@postgresql.org; Sat, 03 Oct 2026 16:39:39 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.18.1/8.18.1) with ESMTP id 693GdTDi077255; Sat, 3 Oct 2026 12:39:29 -0400 From: Tom Lane To: =?utf-8?Q?=C3=81lvaro?= Herrera cc: Narek Galstyan , pgsql-hackers@postgresql.org, "narekg@berkeley.edu" , ngalstyan4@gmail.com Subject: Re: Coverage with make coverage-html is broken on latest Debian using lcov v2 In-reply-to: References: Comments: In-reply-to =?utf-8?Q?=C3=81lvaro?= Herrera message dated "Mon, 15 Jun 2026 20:22:45 +0200" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <77253.1791045569.1@sss.pgh.pa.us> Date: Sat, 03 Oct 2026 12:39:29 -0400 Message-ID: <77254.1791045569@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk [ This thread went quiet, but you reminded me of it in answering Pierre Forstmann's nearby question ] =?utf-8?Q?=C3=81lvaro?= Herrera writes: > Handling this part with your 0001 seems reasonable to me. I think we > should backpatch that one. Agreed, and it doesn't look like that got done, so I'll go do it now. > 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? That bothers me too, mainly because I foresee a risk of the switches hiding genuine problems somewhere down the road. Also the switches Narek proposes don't match what I've found to be necessary on my own installation (so maybe there is a gcov version dependency here too?). For the moment I'm content to insert the --ignore-errors flags manually. The 0001 patch should at least reduce the noise level a bit. regards, tom lane