Wind River Support Network

HomeDefectsLIN5-5100
Fixed

LIN5-5100 : openssl fails to build due to invalid pod syntax

Created: Jul 18, 2013    Updated: Dec 19, 2017
Resolved Date: Aug 13, 2013
Found In Version: 5.0.1
Fix Version: 5.0.1.7
Severity: Severe
Applicable for: Wind River Linux 5
Component/s: Userspace

Description

My Fedora system has a newer version of pod2man that is more strict about failing on syntax errors.  As a result the openssl-native fails to build:

11:06:16 | installing man1/genpkey.1ssl
11:06:16 | genpkey.pod around line 117: You forgot a '=back' before '=head1'
11:06:16 | POD document had syntax errors at /bin/pod2man line 69.
11:06:16 | make: *** [install_docs] Error 1
11:06:16 | ERROR: oe_runmake failed
11:06:16 | WARNING: /jobs/wrlinux-5.0.1.4-ovp-drop4-host-xeon-ovp-ovirt-node/workspace/bitbake_build/tmp/work/x86_64-linux/openssl-native-1.0.0i-r1.6.1/temp/do_install/run.do_install.23851:272 exit 1 from
11:06:16 |   exit 1
11:06:16 | ERROR: Function failed: do_install (see /jobs/wrlinux-5.0.1.4-ovp-drop4-host-xeon-ovp-ovirt-node/workspace/bitbake_build/tmp/work/x86_64-linux/openssl-native-1.0.0i-r1.6.1/temp/do_install/log.do_install.23851 for further information)
11:06:16 NOTE: recipe openssl-native-1.0.0i-r1.6.1: task do_install: Failed
11:06:16 ERROR: Task 1256 (virtual:native:/jobs/wrlinux-5.0.1.4-ovp-drop4-host-xeon-ovp-ovirt-node/workspace/layers/oe-core/meta/recipes-connectivity/openssl/openssl_1.0.0i.bb, do_install) failed with exit code '1'

----

This warning problem is also evident on other systems but it is non-fatal in earlier versions of pod2man:

The old pod2man didn't make it fatal.  Shown on Ubuntu 11.10:
$ pod2man ~/genpkey.pod | tail
 .PP
 .Vb 1
 \& openssl genpkey \-paramfile dhp.pem \-out dhkey.pem
 .Ve
 .SH "POD ERRORS"
 .IX Header "POD ERRORS"
 Hey! \fBThe above document had some coding errors, which are explained below:\fR
 .IP "Around line 117:" 4
 .IX Item "Around line 117:"
 You forgot a '=back' before '=head1'
$ echo $?
0

The fix is trivial and available here:
https://github.com/openssl/openssl/commit/677741f87ad6ba706d395401b9e9c589551afecc#doc/apps/genpkey.pod

Steps to Reproduce

Take the genpkey.pod file from openssl-native and run ./pod2man genpkey.pod on Fedora 19 (failure) or Ubuntu 11.10 (warning)

Other Downloads


Live chat
Online