On Tue, 09 Nov 2021 22:28:16 +0100 Lucas Nussbaum <lu...@debian.org> wrote:

> Source: cconv
> Version: 0.6.2-1.1
> Severity: important
> Justification: Debian Policy section 4.9
> Tags: bookworm sid
> User: debian...@lists.debian.org
> Usertags: missing-build-arch-indep
>
> Dear maintainer,
>
> Your package does not include build-arch and/or build-indep targets in
> debian/rules. This is required by Debian Policy section 4.9, since 2012.
> https://www.debian.org/doc/debian-policy/ch-source.html#main-building-script-debian-rules
>
> Please note that this is also a sign that the packaging of this software
> could benefit from a refresh. For example, packages using 'dh' cannot be
> affected by this issue.
>
> This mass bug filing was discussed on debian-devel@ in
> https://lists.debian.org/debian-devel/2021/11/msg00052.html .
> The severity of this bug will be changed to 'serious' after a month.
>
> Best,
>
> Lucas
>
>

Hey, here is a patch to add build-arch target in debian/rules. I am not very familiar to debian packaging. Hope this may prevent auto removing of cconv.

Gold Holk

--- cconv-0.6.2/debian/rules~	2021-12-14 12:45:52.000000000 +0800
+++ cconv-0.6.2/debian/rules	2021-12-14 13:26:38.236383588 +0800
@@ -13,7 +13,9 @@
 		--infodir=\$${prefix}/share/info \
 		CFLAGS="$(CFLAGS)" LDFLAGS="-Wl,-z,defs"
 
-build: build-stamp
+build: build-arch
+
+build-arch: build-stamp
 
 build-stamp:  config.status 
 	dh_testdir
@@ -63,4 +65,4 @@
 	dh_builddeb
 
 binary: binary-indep binary-arch
-.PHONY: build clean binary-indep binary-arch binary install 
+.PHONY: build-arch build clean binary-indep binary-arch binary install 

Reply via email to