Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 8 Oct 2013 20:26:00 GMT
From:      Alexey <alexey@kouznetsov.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/182840: smokeping build with perl 5.18 installed
Message-ID:  <201310082026.r98KQ0Aw073218@oldred.freebsd.org>
Resent-Message-ID: <201310082030.r98KU07G088864@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         182840
>Category:       ports
>Synopsis:       smokeping build with perl 5.18 installed
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Oct 08 20:30:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Alexey
>Release:        8.4, 10-APLHA5
>Organization:
>Environment:
>Description:
# cd /usr/ports/net-mgmt/smokeping
# make all
===>  Found saved configuration for smokeping-2.6.7_3
===>   smokeping-2.6.9 depends on file: /usr/local/sbin/pkg - found
===> Fetching all distfiles required by smokeping-2.6.9 for building
===>  Extracting for smokeping-2.6.9
=> SHA256 Checksum OK for smokeping-2.6.9.tar.gz.
cd /usr/ports/net-mgmt/smokeping/work/smokeping-2.6.9/lib ; /bin/rm BER.pm SNMP_util.pm SNMP_Session.pm
===>  Patching for smokeping-2.6.9
===>  Applying FreeBSD patches for smokeping-2.6.9
/usr/bin/sed -i.bak -e s!%%USERS%%!smokeping!g -e s!%%GROUPS%%!smokeping!g -e s!%%PREFIX%%!/usr/local!g -e s!%%LOCALBASE%%!/usr/local!g -e s!%%DATADIR%%!/usr/local/share/smokeping!g -e s!%%DOCSDIR%%!/usr/local/share/doc/smokeping!g -e s!%%EXAMPLESDIR%%!/usr/local/share/examples/smokeping!g -e s!%%WWWDIR%%!/usr/local/www/smokeping!g -e s!%%ETCDIR%%!/usr/local/etc/smokeping!g  /usr/ports/net-mgmt/smokeping/work/smokeping-2.6.9/doc/Makefile.in  /usr/ports/net-mgmt/smokeping/work/smokeping-2.6.9/bin/smokeping  /usr/ports/net-mgmt/smokeping/work/smokeping-2.6.9/bin/smokeping_cgi  /usr/ports/net-mgmt/smokeping/work/smokeping-2.6.9/bin/tSmoke
===>   smokeping-2.6.9 depends on package: p5-CGI-Session>=0 - found
===>   smokeping-2.6.9 depends on package: p5-Digest-HMAC>=0 - found
===>   smokeping-2.6.9 depends on package: p5-SNMP_Session>=0 - found
===>   smokeping-2.6.9 depends on package: p5-libwww>=0 - found
===>   smokeping-2.6.9 depends on package: p5-CGI.pm>=0 - found
===>   smokeping-2.6.9 depends on package: p5-FCGI>=0 - found
===>   smokeping-2.6.9 depends on package: p5-Config-Grammar>=0 - found
===>   smokeping-2.6.9 depends on package: p5-Socket6>=0 - found
===>   smokeping-2.6.9 depends on executable: gmake - found
===>   smokeping-2.6.9 depends on file: /usr/local/bin/perl5.18.1 - found
===>   smokeping-2.6.9 depends on shared library: rrd - found
===>  Configuring for smokeping-2.6.9
configure: loading site script /usr/ports/Templates/config.site
checking build system type... i386-portbld-freebsd8.4
....Snip....
  GEN    Smokeping_sorters_Loss.3
  GEN    Smokeping_sorters_Max.3
  GEN    Smokeping_sorters_Median.3
  GEN    Smokeping_sorters_base.3
  GEN    smokeping_config.pod
  GEN    smokeping_config.5
smokeping_config.pod around line 81: alternative text 'the master/slave mode' contains non-escaped | or /
POD document had syntax errors at /usr/local/bin/pod2man line 71.
gmake[1]: *** [smokeping_config.5] &#1054;&#1096;&#1080;&#1073;&#1082;&#1072; 255
rm Smokeping_probes_IOSPing.pod Smokeping_probes_EchoPing.pod Smokeping_probes_SipSak.pod Smokeping_probes_EchoPingPlugin.pod Smokeping_probes_SSH.pod Smokeping_probes_FPing6.pod Smokeping_probes_Radius.pod Smokeping_probes_EchoPingIcp.pod Smokeping_probes_Curl.pod Smokeping_probes_CiscoRTTMonDNS.pod Smokeping_probes_EchoPingDNS.pod Smokeping_probes_DismanPing.pod Smokeping_probes_WebProxyFilter.pod Smokeping_probes_RemoteFPing.pod Smokeping_probes_OpenSSHJunOSPing.pod Smokeping_probes_EchoPingLDAP.pod Smokeping_probes_LDAP.pod Smokeping_probes_TacacsPlus.pod Smokeping_probes_TelnetIOSPing.pod Smokeping_probes_NFSping.pod Smokeping_probes_passwordchecker.pod Smokeping_probes_basefork.pod Smokeping_probes_EchoPingChargen.pod Smokeping_probes_basevars.pod Smokeping_probes_EchoPingSmtp.pod Smokeping_probes_FPing.pod Smokeping_probes_FTPtransfer.pod Smokeping_probes_EchoPingHttps.pod Smokeping_probes_EchoPingDiscard.pod Smokeping_probes_AnotherSSH.pod Smokeping_probes_CiscoRTTMonEchoICMP
 .pod Smokeping_probes_base.pod Smokeping_probes_TelnetJunOSPing.pod Smokeping_probes_SendEmail.pod Smokeping_probes_EchoPingHttp.pod Smokeping_probes_AnotherDNS.pod Smokeping_probes_TCPPing.pod Smokeping_probes_EchoPingWhois.pod Smokeping_probes_skel.pod Smokeping_probes_DNS.pod Smokeping_probes_CiscoRTTMonTcpConnect.pod
gmake[1]: &#1042;&#1099;&#1093;&#1086;&#1076; &#1080;&#1079; &#1082;&#1072;&#1090;&#1072;&#1083;&#1086;&#1075;&#1072; `/usr/ports/net-mgmt/smokeping/work/smokeping-2.6.9/doc'
gmake: *** [all-recursive] &#1054;&#1096;&#1080;&#1073;&#1082;&#1072; 1
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** Error code 1

Stop in /usr/ports/net-mgmt/smokeping.
*** Error code 1

Stop in /usr/ports/net-mgmt/smokeping.


>How-To-Repeat:
Install perl 5.18 from ports then start compile the net-mgmt/smokeping. Looks like perl 5.18 have more strict checking in pod2man utility then previous versions.
>Fix:
Escape "/" in pod as E<sol>

This path does:
---
#cat /usr/ports/net-mgmt/smokeping/files/patch-escape-sol
--- lib/Smokeping.pm.orig       2013-03-04 17:16:57.000000000 +0400
+++ lib/Smokeping.pm    2013-10-09 00:11:15.000000000 +0400
@@ -2631,7 +2631,7 @@
 The base directory where SmokePing keeps the files related to the DYNAMIC function.
 This directory must be writeable by the WWW server. It is also used for temporary
 storage of slave polling results by the master in
-L<the master/slave mode|smokeping_master_slave>.
+L<the masterE<sol>slave mode|smokeping_master_slave>.

 If this variable is not specified, the value of C<datadir> will be used instead.
 DOC
--

as far as I can see this also works for perl 5.16 and have to work with 5.1[24] also

Patch attached with submission follows:

--- lib/Smokeping.pm.orig	2013-03-04 17:16:57.000000000 +0400
+++ lib/Smokeping.pm	2013-10-09 00:19:27.000000000 +0400
@@ -2631,7 +2631,7 @@
 The base directory where SmokePing keeps the files related to the DYNAMIC function.
 This directory must be writeable by the WWW server. It is also used for temporary
 storage of slave polling results by the master in 
-L<the master/slave mode|smokeping_master_slave>.
+L<the masterE<sol>slave mode|smokeping_master_slave>.
 
 If this variable is not specified, the value of C<datadir> will be used instead.
 DOC


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201310082026.r98KQ0Aw073218>