Bug#1020600: gcc: objc: remove unused binary-without-manpage lintian overrides
Source: gcc-12
Version: 12-20220319-1
Severity: wishlist
Tags: patch
Hi Matthias,
during DC22, I promised to send some cleanup patches preparing for
gcc-for-host. This is one of the.
The objc/objc++ frontends don't contain any binaries as they reuse
existing compiler binaries. As such, the lintian overrides
binary-without-manpage are not useful and should be deleted. Deleting
them now reduces the code churn for gcc-for-host. I'm attaching a patch
for your convenience.
Helmut
>From 7e3722a05d8855d71c985706c8d503ba53562af5 Mon Sep 17 00:00:00 2001
From: Helmut Grohne <helmut@subdivi.de>
Date: Fri, 27 Mar 2020 15:50:21 +0100
Subject: [PATCH] remove unused binary-without-manpage overrides
gobjc-N and gobjc++-N don't contain any binaries on $PATH that would
warrant a manual page.
---
debian/rules.d/binary-objc.mk | 4 ----
debian/rules.d/binary-objcxx.mk | 4 ----
2 files changed, 8 deletions(-)
diff --git a/debian/rules.d/binary-objc.mk b/debian/rules.d/binary-objc.mk
index b5cd216..743bf52 100644
--- a/debian/rules.d/binary-objc.mk
+++ b/debian/rules.d/binary-objc.mk
@@ -36,10 +36,6 @@ $(binary_stamp)-objc: $(install_stamp)
mkdir -p $(d_objc)/usr/share/lintian/overrides
echo '$(p_objc) binary: hardening-no-pie' \
> $(d_objc)/usr/share/lintian/overrides/$(p_objc)
-ifeq ($(GFDL_INVARIANT_FREE),yes)
- echo '$(p_objc) binary: binary-without-manpage' \
- >> $(d_objc)/usr/share/lintian/overrides/$(p_objc)
-endif
debian/dh_doclink -p$(p_objc) $(p_xbase)
diff --git a/debian/rules.d/binary-objcxx.mk b/debian/rules.d/binary-objcxx.mk
index 4f6d8e1..e750cae 100644
--- a/debian/rules.d/binary-objcxx.mk
+++ b/debian/rules.d/binary-objcxx.mk
@@ -34,10 +34,6 @@ $(binary_stamp)-objcxx: $(install_stamp)
mkdir -p $(d_objcx)/usr/share/lintian/overrides
echo '$(p_objcx) binary: hardening-no-pie' \
> $(d_objcx)/usr/share/lintian/overrides/$(p_objcx)
-ifeq ($(GFDL_INVARIANT_FREE),yes)
- echo '$(p_objcx) binary: binary-without-manpage' \
- >> $(d_objcx)/usr/share/lintian/overrides/$(p_objcx)
-endif
debian/dh_rmemptydirs -p$(p_objcx)
--
2.37.2
Reply to: