On 2023-11-28, Vagrant Cascadian wrote:
> On 2017-04-17, Chris Lamb wrote:
>> This is due to it capturing the buildpath in some automatically
>> generated documentation. It appears safe to simply delete the manpages
>> in question as they are a) private APIs and b) kinda terse/useless
>> anyway.
> ...
>> --- a/debian/rules   2017-04-17 13:16:14.337050334 +0100
>> --- b/debian/rules   2017-04-17 13:38:53.662578698 +0100
>> @@ -15,3 +15,7 @@
>>  override_dh_clean:
>>      rm -f doc/latex/* doc/html/* doc/man/man3/* doc/doxy
>>      dh_clean
>> +
>> +override_dh_installman:
>> +    dh_installman
>> +    rm -rf debian/libccrtp-doc/usr/share/man/man2
>
> It seems exactly which directory these files are placed in is
> non-deterministic; updated patch attached.
>
> For example, libccrtp-doc_2.0.9-2.3_all.deb currently in the archive
> contains these files:
>
>   
> usr/share/man/man9/_build_libccrtp-eppWJD_libccrtp-2.0.9_src_ccrtp_.9_src_ccrtp_.3.gz
>   usr/share/man/man9/_build_libccrtp-eppWJD_libccrtp-2.0.9_src_.9_src_.3.gz
>
> I intend to NMU this package in the near future to fix this issue if I
> do not hear otherwise.

I have uploaded an NMU to DELAYED/10, using dgit so you can get the diff
from there, or the following debdiff:

diff -Nru libccrtp-2.0.9/debian/changelog libccrtp-2.0.9/debian/changelog
--- libccrtp-2.0.9/debian/changelog     2018-10-27 02:46:51.000000000 -0700
+++ libccrtp-2.0.9/debian/changelog     2023-12-05 14:11:43.000000000 -0800
@@ -1,3 +1,11 @@
+libccrtp (2.0.9-2.4) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * debian/rules: Remove low-content manpages with filenames based on
+    build path. (Closes: #860470)
+
+ -- Vagrant Cascadian <vagr...@reproducible-builds.org>  Tue, 05 Dec 2023 
14:11:43 -0800
+
 libccrtp (2.0.9-2.3) unstable; urgency=low

   * Non-maintainer upload.
diff -Nru libccrtp-2.0.9/debian/rules libccrtp-2.0.9/debian/rules
--- libccrtp-2.0.9/debian/rules 2015-08-31 06:53:06.000000000 -0700
+++ libccrtp-2.0.9/debian/rules 2023-12-05 14:11:43.000000000 -0800
@@ -15,3 +15,9 @@
 override_dh_clean:
        rm -f doc/latex/* doc/html/* doc/man/man3/* doc/doxy
        dh_clean
+
+override_dh_installman:
+       dh_installman
+       # Remove files with low content and filenames based on the build path.
+       # https://bugs.debian.org/860470
+       rm -vf debian/libccrtp-doc/usr/share/man/man*/_*

live well,
  vagrant

Attachment: signature.asc
Description: PGP signature

Reply via email to