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.96) (envelope-from ) id 1viisQ-00Dt3P-1M for pgsql-hackers@arkaria.postgresql.org; Thu, 22 Jan 2026 00:48:47 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1viisP-00A1vk-1d for pgsql-hackers@arkaria.postgresql.org; Thu, 22 Jan 2026 00:48:45 +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.96) (envelope-from ) id 1viisP-00A1vc-0f for pgsql-hackers@lists.postgresql.org; Thu, 22 Jan 2026 00:48:45 +0000 Received: from fhigh-b1-smtp.messagingengine.com ([202.12.124.152]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1viisN-001gK6-0L for pgsql-hackers@lists.postgresql.org; Thu, 22 Jan 2026 00:48:44 +0000 Received: from phl-compute-01.internal (phl-compute-01.internal [10.202.2.41]) by mailfhigh.stl.internal (Postfix) with ESMTP id EC0C37A008F; Wed, 21 Jan 2026 19:48:42 -0500 (EST) Received: from phl-frontend-03 ([10.202.2.162]) by phl-compute-01.internal (MEProxy); Wed, 21 Jan 2026 19:48:43 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=paquier.xyz; h= cc:cc:content-type:content-type:date:date:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:subject :subject:to:to; s=fm2; t=1769042922; x=1769129322; bh=KYoDXuCq52 Upqx7OC+1oTdx9jkRULFrtPR0ZLnYBUzw=; b=GKlDiIyy/+wXotsE2tlnX1C2Mv IajCPDM/36C9dvDZsNpl6a4++n72bCLOdbABXkRLQMT43EfhqESSP1RyHbmSVoCZ fO7BYLJx8RrwLUfDB8zYJagqKv7unutCjrLys4gBAjYbu/bvZHVFEGCCyVqs+bPT f6T5GGdSicgfzOqJXdsFfoxC6i5ZglsMWAZXxhMXg7COMp2Jj8M+cmDWDCDV8Nj/ gwlDgxUL94NrZA7Z594/E7N418jDTEJjXsv4WmC4bLJC/2PQQ4udSpKgyzJqqCWP bcqHYe3vE3PoNbF21IgJQyHlA5zGWXkQswKCXa7K2O3cRb9GV7F4zFnYUcDg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:subject:subject:to :to:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; t= 1769042922; x=1769129322; bh=KYoDXuCq52Upqx7OC+1oTdx9jkRULFrtPR0 ZLnYBUzw=; b=niqe1GnvP9odzs4wjjV/hdYHimEGi41WQQhGCjJoTr/yoPeZva2 c6oW+wzGeoREHuBeP1jWS9/sxEIncVJli5J8UsavELpsJN1B4lWSRlTXsDx/oWJk UesRecQzZT3qo3/ydgnOME1h2NXUldGV991Ba757jCI4jM/u0p/5C4GEcgLIz35N uCckjdmGTiKA5EYFAnjfXjeZ9S5c5ngXXV3q2Ab+NZrhkIhCV+5ppH94k0I61QxL wplxhXBD9tC05/eBJoZ2/MwvlzLtyEIDa/6H80xlm5PEb8A1Qo4efByjY8vxtJty i3rwEx/aWZPuGDMC2k2UO6fL8uMgvaZhRAA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefgedrtddtgddugeegjeeiucetufdoteggodetrf dotffvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfurfetoffkrfgpnffqhgenuceu rghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmnegfrh hlucfvnfffucdljedtmdenucfjughrpeffhffvvefukfhfgggtuggjsehgtderredttddv necuhfhrohhmpefoihgthhgrvghlucfrrghquhhivghruceomhhitghhrggvlhesphgrqh huihgvrhdrgiihiieqnecuggftrfgrthhtvghrnhepteelieefudffhffhtdetleeggeeg fffhkeeuveetiefgudduvedutefggeeivdejnecuvehluhhsthgvrhfuihiivgeptdenuc frrghrrghmpehmrghilhhfrhhomhepmhhitghhrggvlhesphgrqhhuihgvrhdrgiihiidp nhgspghrtghpthhtohephedpmhhouggvpehsmhhtphhouhhtpdhrtghpthhtoheprghnug hrvghssegrnhgrrhgriigvlhdruggvpdhrtghpthhtoheprghlvghkshgrnhguvghrseht ihhmvghstggrlhgvrdgtohhmpdhrtghpthhtohepphhgshhqlhdqhhgrtghkvghrsheslh hishhtshdrphhoshhtghhrvghsqhhlrdhorhhgpdhrtghpthhtohepjhhirghnrdhunhhi vhgvrhhsrghlihhthiesghhmrghilhdrtghomhdprhgtphhtthhopehpghessghofihtrd hivg X-ME-Proxy: Feedback-ID: i0fe9450f:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Wed, 21 Jan 2026 19:48:40 -0500 (EST) Date: Thu, 22 Jan 2026 09:48:35 +0900 From: Michael Paquier To: Andres Freund Cc: Aleksander Alekseev , PostgreSQL Hackers , jian he , Peter Geoghegan Subject: Re: Having problems generating a code coverage report Message-ID: References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="O9ABQjTUqiuRUmlN" Content-Disposition: inline In-Reply-To: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --O9ABQjTUqiuRUmlN Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Jan 21, 2026 at 01:57:58PM -0500, Andres Freund wrote: > I just encountered this. The problem seems to only happen when the build > directory is inside the source directory. >=20 > Not that that's a great solution, but just having the build dir be in a > separate directory fixed the issue for me. Even with a VPATH build on Debien GID? FWIW, I am unable to run a coverage-html even in this case from the root of a build, finishing with stuff like that: /usr/bin/lcov --gcov-tool /usr/bin/gcov -q --no-external -c -i -d . -d /home/user/git/postgres/ -o lcov_base.info lcov: ERROR: (empty) no .gcno files found in /home/user/git/postgres (use "lcov --ignore-errors empty ..." to bypass this error) Passing "--ignore-errors empty" to LCOVFLAGS bypasses the first step but genhtml complains, like: genhtml: ERROR: (corrupt) unable to read trace file 'lcov_base.info': meson is no better as far as I've tried, so I have pretty much given up with coverage reports in this environment at this stage. If there is a magic recipe, I am not really aware of one.. -- Michael --O9ABQjTUqiuRUmlN Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEG72nH6vTowiyblFKnvQgOdbyQH0FAmlxc+MACgkQnvQgOdby QH04Rg/9ESQ98LfKiqOy/1kT44yk5INtVHo+UagUrPxyxRMCJd2ftA1glx0IZwO+ 5FKiCRzCFkSMn5v0cUBfV0naCJWPH7VEZ2SrxZSedCxGiuK84sYdd67QCxagns3C FgAlupp2BI9MQlT9QEf8Fy5GcziZt9VBH0JsFkwvj7uHE+JQsoFzV0eU1muybvel ProghXOJKWnRNI/hgbsfrQHQ5AnBsunOYl3Xcb2BnVq2/PgVcsCTfegdRH9MsVxW Fp0Dhw87LrWxbBUtlg7EziQsIOJOCIgobXppZ6jeILTnmCzcUkp7YC9MOfDrXkMH zoWeASr5MO5LYqa3JGLz7BK8cL2TFfPaGD2QI+OfTnDzG4WHB++EXBcwmwrn3sKF 51ESrZC8Nqgw/HtBKQQI7UEFs9hAF09DTaTMEYgFcVhjyOmiy5MrHv+ZF2AEjBu1 /GoTvreguBjbhc3+6ecy4rqm2EHpDtpS20eBo/g5uEniIYTLkiAGMMUCpKB6g4vf SOHIH5IbTspZAzOYmapH3+b33trPD89m0/lRHvM5iqwK7bQquRyFHPll8RWW5kHj VR1NLzzryrbxMI1CmQm4QGYMXmMRLVr+WhH+1ih9Otd37ZFZJ/YJcryNSjpMDsBC 16nJ/e7Y8Pou30lNekeiA40EMgsUO7JH7nV8vFRuel3Cmonyqoc= =WPNZ -----END PGP SIGNATURE----- --O9ABQjTUqiuRUmlN--