Hello Florian and folks,
just in case it's still relevant for anyone, collectd.conf.pod
from 5.5.2 chokes pod2man from perl-5.16.3:
collectd.conf.pod around line 6723: Expected text after =item, not a number
collectd.conf.pod around line 6725: Expected text after =item, not a number
collectd.conf.pod around line 6727: Expected text after =item, not a number
POD document had syntax errors at /usr/bin/pod2man line 68.
Typically suggested Z<> fixes don't really fix the resulting manpage
but it's garbled a few more times like this:
B Bitmask of the list of elements to be thermally monitored.
This kludge results in a readable manpage using perl-5.22's
pod2man as well; too bad I'm not into POD at all to propose
a decent fix.
PS: of course I know it's 5.7.2 out there, just not much of
a sysadmin these days and our current package maintainer seems
to be a bit conservative when touching infrastructure bits ;-)
--
---- WBR, Michael Shigorin / http://altlinux.org
------ http://opennet.ru / http://anna-news.info
>From b280d63c0edd79fe111bf54ef592a72b594ff1bd Mon Sep 17 00:00:00 2001
From: Michael Shigorin <[email protected]>
Date: Sat, 1 Jul 2017 11:04:08 +0300
Subject: [PATCH] collectd.conf.pod: fixed for older pod2man
perl-5.16's one would error out otherwise:
collectd.conf.pod around line 6723: Expected text after =item, not a number
collectd.conf.pod around line 6725: Expected text after =item, not a number
collectd.conf.pod around line 6727: Expected text after =item, not a number
Z<> fixup results in "Z" items in the resulting manpage
for this version.
---
src/collectd.conf.pod | 16 ++++++++++++----
1 file changed, 12 insertions(+), 4 deletions(-)
diff --git a/src/collectd.conf.pod b/src/collectd.conf.pod
index e5a5c75..e75ba71 100644
--- a/src/collectd.conf.pod
+++ b/src/collectd.conf.pod
@@ -6718,13 +6718,21 @@ by this plugin are:
=over 4
-=item 0 ('1'): Package
+=item
-=item 1 ('2'): DRAM
+0 ('1'): Package
-=item 2 ('4'): Cores
+=item
-=item 3 ('8'): Embedded graphic device
+1 ('2'): DRAM
+
+=item
+
+2 ('4'): Cores
+
+=item
+
+3 ('8'): Embedded graphic device
=back
--
2.7.4
_______________________________________________
collectd mailing list
[email protected]
https://mailman.verplant.org/listinfo/collectd