Bug#1042252: pmdk: diff for NMU version 1.13.1-1.1

2023-08-11 Thread Adrian Bunk
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



Bug#1042252: pmdk: diff for NMU version 1.13.1-1.1

2023-08-11 Thread Adam Borowski
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.  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.


Meow!
-- 
⢀⣴⠾⠻⢶⣦⠀
⣾⠁⢠⠒⠀⣿⡁ Autotools hint: to do a zx-spectrum build on a pdp11 host, type:
⢿⡄⠘⠷⠚⠋⠀   ./configure --host=zx-spectrum --build=pdp11
⠈⠳⣄



Bug#1042252: pmdk: diff for NMU version 1.13.1-1.1

2023-08-11 Thread Adrian Bunk
Control: tags 1042252 + patch
Control: tags 1042252 + pending

Dear maintainer,

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.

cu
Adrian
diff -Nru pmdk-1.13.1/debian/changelog pmdk-1.13.1/debian/changelog
--- pmdk-1.13.1/debian/changelog	2023-06-05 12:32:46.0 +0300
+++ pmdk-1.13.1/debian/changelog	2023-08-11 13:28:04.0 +0300
@@ -1,3 +1,11 @@
+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
+
 pmdk (1.13.1-1) unstable; urgency=medium
 
   * New upstream release.
diff -Nru pmdk-1.13.1/debian/patches/check-manpages-noerror.patch pmdk-1.13.1/debian/patches/check-manpages-noerror.patch
--- pmdk-1.13.1/debian/patches/check-manpages-noerror.patch	1970-01-01 02:00:00.0 +0200
+++ pmdk-1.13.1/debian/patches/check-manpages-noerror.patch	2023-08-11 13:28:04.0 +0300
@@ -0,0 +1,16 @@
+This is an autogenerated patch header for a single-debian-patch file. The
+delta against upstream is either kept as a single patch, or maintained
+in some VCS, and exported as a single patch instead of more manageable
+atomic patches.
+
+--- pmdk-1.13.1.orig/Makefile
 pmdk-1.13.1/Makefile
+@@ -95,7 +95,7 @@ check-license:
+ 	@echo Done.
+ 
+ check-doc: doc
+-	./utils/check-manpages
++	-./utils/check-manpages
+ 
+ sparse:
+ 	$(MAKE) -C src sparse
diff -Nru pmdk-1.13.1/debian/patches/series pmdk-1.13.1/debian/patches/series
--- pmdk-1.13.1/debian/patches/series	1970-01-01 02:00:00.0 +0200
+++ pmdk-1.13.1/debian/patches/series	2023-08-11 13:28:04.0 +0300
@@ -0,0 +1 @@
+check-manpages-noerror.patch