On Fri, Aug 11, 2023 at 04:12:42PM +0200, Adam Borowski wrote:
> On Fri, Aug 11, 2023 at 02:02:36PM +0300, Adrian Bunk wrote:
> > I've prepared an NMU for pmdk (versioned as 1.13.1-1.1) and uploaded
> > it to DELAYED/2. Please feel free to tell me if I should cancel it.
>
> > +pmdk (1.13.1-1.1) unstable; urgency=low
> > +
> > + * Non-maintainer upload.
> > + * Ignore check-manpages failure until Pandoc creates manpages
> > +that are accepted by the latest groff. (Closes: #1042252)
> > +
> > + -- Adrian Bunk Fri, 11 Aug 2023 13:28:04 +0300
>
> It's okay.
Thanks, rescheduled for immediate upload.
> I waited for the problem to be fixed in pandoc and/or groff,
> as pmdk is merely an user of these tools, but apparently this takes a
> while. Thus, papering over the failing test for now is a good idea.
Two notes regarding properly fixing it:
1. The Debian packages currently ship the prebuilt manpages from the
upstream tarball, doing a simple
rm doc/*/*.1 doc/*/*.3 doc/*/*.5 doc/*/*.7
in the clean target also removes some links that aren't regenerated
e.g. in libpmem-dev:
lrwxrwxrwx root/root /usr/share/man/man3/pmem_check_version.3.gz ->
../man7/libpmem.7.gz
lrwxrwxrwx root/root /usr/share/man/man3/pmem_deep_drain.3.gz ->
pmem_flush.3.gz
lrwxrwxrwx root/root /usr/share/man/man3/pmem_deep_flush.3.gz ->
pmem_flush.3.gz
lrwxrwxrwx root/root /usr/share/man/man3/pmem_deep_persist.3.gz ->
pmem_flush.3.gz
lrwxrwxrwx root/root /usr/share/man/man3/pmem_drain.3.gz -> pmem_flush.3.gz
lrwxrwxrwx root/root /usr/share/man/man3/pmem_errormsg.3.gz ->
../man7/libpmem.7.gz
lrwxrwxrwx root/root /usr/share/man/man3/pmem_has_auto_flush.3.gz ->
pmem_flush.3.gz
lrwxrwxrwx root/root /usr/share/man/man3/pmem_has_hw_drain.3.gz ->
pmem_flush.3.gz
lrwxrwxrwx root/root /usr/share/man/man3/pmem_map_file.3.gz ->
pmem_is_pmem.3.gz
lrwxrwxrwx root/root /usr/share/man/man3/pmem_memcpy.3.gz ->
pmem_memmove_persist.3.gz
lrwxrwxrwx root/root /usr/share/man/man3/pmem_memcpy_nodrain.3.gz ->
pmem_memmove_persist.3.gz
lrwxrwxrwx root/root /usr/share/man/man3/pmem_memcpy_persist.3.gz ->
pmem_memmove_persist.3.gz
lrwxrwxrwx root/root /usr/share/man/man3/pmem_memmove.3.gz ->
pmem_memmove_persist.3.gz
lrwxrwxrwx root/root /usr/share/man/man3/pmem_memmove_nodrain.3.gz ->
pmem_memmove_persist.3.gz
lrwxrwxrwx root/root /usr/share/man/man3/pmem_memset.3.gz ->
pmem_memmove_persist.3.gz
lrwxrwxrwx root/root /usr/share/man/man3/pmem_memset_nodrain.3.gz ->
pmem_memmove_persist.3.gz
lrwxrwxrwx root/root /usr/share/man/man3/pmem_memset_persist.3.gz ->
pmem_memmove_persist.3.gz
lrwxrwxrwx root/root /usr/share/man/man3/pmem_msync.3.gz -> pmem_flush.3.gz
lrwxrwxrwx root/root /usr/share/man/man3/pmem_persist.3.gz -> pmem_flush.3.gz
lrwxrwxrwx root/root /usr/share/man/man3/pmem_unmap.3.gz -> pmem_is_pmem.3.gz
2. The version of pandoc in Debian is less ancient than the one upstream
uses for the prebuilt manpages but it still has the problem, I haven't
tried more recent upstream versions of pandoc.
> Meow!
cu
Adrian