Package: ldc
Version: 1:1.35.0-1
Severity: normal
Tags: patch

Dear maintainer,

I found the application FTBFS if bash-completion is installed due to a wrong 
check and assumption
about its presence on CMakeLists.txt.

I propose to add the dependency and let cmake do the correct job, resulting in 
a simplification of install target


diff -Nru ldc-1.35.0/debian/changelog ldc-1.35.0/debian/changelog
--- ldc-1.35.0/debian/changelog 2023-11-04 18:40:54.000000000 +0100
+++ ldc-1.35.0/debian/changelog 2023-11-07 16:15:22.000000000 +0100
@@ -1,3 +1,9 @@
+ldc (1:1.35.0-1.1) unstable; urgency=medium
+
+  * Add bash-completion dependency to let cmake helper do the right job 
(Closes: #-1)
+
+ -- Gianfranco Costamagna <[email protected]>  Tue, 07 Nov 2023 
16:15:22 +0100
+
 ldc (1:1.35.0-1) unstable; urgency=medium

   [ Matthias Klumpp ]
diff -Nru ldc-1.35.0/debian/control ldc-1.35.0/debian/control
--- ldc-1.35.0/debian/control   2023-11-04 18:40:54.000000000 +0100
+++ ldc-1.35.0/debian/control   2023-11-07 16:15:22.000000000 +0100
@@ -4,7 +4,8 @@
 Maintainer: Debian D Language Group <[email protected]>
 Uploaders: Konstantinos Margaritis <[email protected]>,
            Matthias Klumpp <[email protected]>
-Build-Depends: cmake,
+Build-Depends: bash-completion,
+               cmake,
                debhelper-compat (= 12),
                dh-exec,
                gdmd,
diff -Nru ldc-1.35.0/debian/ldc.install ldc-1.35.0/debian/ldc.install
--- ldc-1.35.0/debian/ldc.install       2022-08-12 18:36:13.000000000 +0200
+++ ldc-1.35.0/debian/ldc.install       2023-11-07 16:15:20.000000000 +0100
@@ -1,4 +1,4 @@
-etc/bash_completion.d/*                usr/share/bash-completion/completions/
+usr/share/bash-completion/completions/
 etc/ldc2.conf
 usr/bin/*
 usr/lib/ldc_rt.dso.o

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature

Reply via email to