Package: lcov
Version: 2.1-1
Severity: normal
Tags: patch

Hi! Could you please consider relaxing the dependency on gcc? lcov does not always require gcov for operation, and even then, llvm-cov can be used instead. Also, installing gcc can be undesirable in some cases, see <https://github.com/pistacheio/pistache/pull/1256>.

You could either demote the "Depends: gcc" to "Recommends: gcc", or change the dependency to "Depends: gcc | llvm".

I'm attaching a patch implementing the second suggestion, which I personally like a bit more.

Thanks! Bye :)
From 8e065beba3725ab535d5a70753794e7327d780a6 Mon Sep 17 00:00:00 2001
From: Andrea Pappacoda <and...@pappacoda.it>
Date: Thu, 17 Oct 2024 08:55:21 +0200
Subject: [PATCH] d/control: depend on gcc | llvm

Closes: #-1
---
 debian/control | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/debian/control b/debian/control
index 819a543..f989f1b 100644
--- a/debian/control
+++ b/debian/control
@@ -22,7 +22,7 @@ Depends:
   ${misc:Depends},
   ${perl:Depends},
   ${python3:Depends},
-  gcc,
+  gcc | llvm,
   libcapture-tiny-perl,
   libdatetime-perl,
   libtimedate-perl,
-- 
2.45.2

Reply via email to