Skip to contentSkip to conversation

'pod' problem building openssl 1.0.1g with latest daisy branch

DISCUSSION Alex J Lennon 2 participants 6 messages Jul 28, 2014

lore
Share & tools
lore
#0 lore raw

Hi,

I pulled the latest daisy branch over the weekend and since am having trouble building openssl 1.0.1g.

I removed tmp and rebuilt just in case there was some issue there but the problem remains.

Conf:

BB_VERSION        = "1.22.0"
BUILD_SYS         = "i686-linux"
NATIVELSBSTRING   = "Ubuntu-14.04"
TARGET_SYS        = "arm-poky-linux-gnueabi"
MACHINE           = "imx6qsabresd"
DISTRO            = "poky"
DISTRO_VERSION    = "1.6.1"
TUNE_FEATURES     = "armv7a vfp neon cortexa9"
TARGET_FPU        = "vfp-neon"

meta
meta-yocto = "daisy:37532ceb19e08a44ef2a3c86e63ffb60ae8b8f5c"
meta-oe
meta-efl
meta-webserver
meta-networking = "daisy:a6dcf6265822ca1484d991d10a3042e04a960cdb"
meta-fsl-arm = "master:fc8bcfae0658375b1c241b6b9633b0c2dce6ac88"
meta-fsl-arm-extra = "master:9481991ec1f17bb2555a2a32d1680b1f743d7101"
meta-fsl-demos = "master:27fdb2f2642ecd55d5633bde880dd4c37acd0d42"
meta-mono = "master:74bd3be613ebb980e60e5b98814d4a4bd96a61e0"

Layers:

${BSPDIR}/sources/poky.daisy/meta \
${BSPDIR}/sources/poky.daisy/meta-yocto \
${BSPDIR}/sources/meta-openembedded.daisy/meta-oe \
${BSPDIR}/sources/meta-openembedded.daisy/meta-efl \
${BSPDIR}/sources/meta-openembedded.daisy/meta-webserver \
${BSPDIR}/sources/meta-openembedded.daisy/meta-networking \
${BSPDIR}/sources/meta-fsl-arm \
${BSPDIR}/sources/meta-fsl-arm-extra \
${BSPDIR}/sources/meta-fsl-demos \
${BSPDIR}/sources/meta-mono \

Failure seems related to corrupt 'pod' files

| installing man1/ciphers.1ssl
| installing man1/cms.1ssl
| cms.pod around line 457: Expected text after =item, not a number
| cms.pod around line 461: Expected text after =item, not a number
| cms.pod around line 465: Expected text after =item, not a number
| cms.pod around line 470: Expected text after =item, not a number
| cms.pod around line 474: Expected text after =item, not a number
| POD document had syntax errors at /usr/bin/pod2man line 71.
| make: *** [install_docs] Error 255
| ERROR: oe_runmake failed

I see from a little googling that there's recent (-ish) commentary on an issue building these files with perl

e.g.
http://askubuntu.com/questions/454575/error-255-when-trying-to-install-openssl-1-0-1g-from-source

I see my perl-native is 5.14.3 so not quite the same as the issue in the link above.

Can anybody comment on whether this is a known issue or somehow finger trouble on my part?

Many thanks,

Alex

#1 lore raw

Hi Alex,

Quoted 61 lines · On Monday 28 July 2014 11:19:25 Alex J Lennon wrote:

I pulled the latest daisy branch over the weekend and since am having trouble building openssl 1.0.1g.

I removed tmp and rebuilt just in case there was some issue there but the problem remains.

Conf:

BB_VERSION        = "1.22.0"
BUILD_SYS         = "i686-linux"
NATIVELSBSTRING   = "Ubuntu-14.04"
TARGET_SYS        = "arm-poky-linux-gnueabi"
MACHINE           = "imx6qsabresd"
DISTRO            = "poky"
DISTRO_VERSION    = "1.6.1"
TUNE_FEATURES     = "armv7a vfp neon cortexa9"
TARGET_FPU        = "vfp-neon"

meta
meta-yocto = "daisy:37532ceb19e08a44ef2a3c86e63ffb60ae8b8f5c"
meta-oe
meta-efl
meta-webserver
meta-networking = "daisy:a6dcf6265822ca1484d991d10a3042e04a960cdb"
meta-fsl-arm = "master:fc8bcfae0658375b1c241b6b9633b0c2dce6ac88"
meta-fsl-arm-extra = "master:9481991ec1f17bb2555a2a32d1680b1f743d7101"
meta-fsl-demos = "master:27fdb2f2642ecd55d5633bde880dd4c37acd0d42"
meta-mono = "master:74bd3be613ebb980e60e5b98814d4a4bd96a61e0"

Layers:

${BSPDIR}/sources/poky.daisy/meta \
${BSPDIR}/sources/poky.daisy/meta-yocto \
${BSPDIR}/sources/meta-openembedded.daisy/meta-oe \
${BSPDIR}/sources/meta-openembedded.daisy/meta-efl \
${BSPDIR}/sources/meta-openembedded.daisy/meta-webserver \
${BSPDIR}/sources/meta-openembedded.daisy/meta-networking \
${BSPDIR}/sources/meta-fsl-arm \
${BSPDIR}/sources/meta-fsl-arm-extra \
${BSPDIR}/sources/meta-fsl-demos \
${BSPDIR}/sources/meta-mono \

Failure seems related to corrupt 'pod' files

| installing man1/ciphers.1ssl
| installing man1/cms.1ssl
| cms.pod around line 457: Expected text after =item, not a number
| cms.pod around line 461: Expected text after =item, not a number
| cms.pod around line 465: Expected text after =item, not a number
| cms.pod around line 470: Expected text after =item, not a number
| cms.pod around line 474: Expected text after =item, not a number
| POD document had syntax errors at /usr/bin/pod2man line 71.
| make: *** [install_docs] Error 255
| ERROR: oe_runmake failed

I see from a little googling that there's recent (-ish) commentary on an issue building these files with perl

e.g.
http://askubuntu.com/questions/454575/error-255-when-trying-to-install-opens
sl-1-0-1g-from-source

Quoted 5 lines

I see my perl-native is 5.14.3 so not quite the same as the issue in the link above.

Can anybody comment on whether this is a known issue or somehow finger trouble on my part?

So, I think this is an issue with newer host Perl and OpenSSL 1.0.1g. This looks like it might be the patch that fixes it:

https://git.openssl.org/gitweb/?p=openssl.git;a=commit;h=23f5908ac753b176af2a0690e0ebb53c95ef192b

If so we can apply this in daisy (master already has 1.0.1h which includes this fix.)

Cheers,
Paul

Signature · 2 lines
Paul Eggleton
Intel Open Source Technology Centre
#2 lore raw
Quoted 69 lines · Paul Eggleton

Hi Alex,

Quoted 61 lines · On Monday 28 July 2014 11:19:25 Alex J Lennon wrote:

I pulled the latest daisy branch over the weekend and since am having trouble building openssl 1.0.1g.

I removed tmp and rebuilt just in case there was some issue there but the problem remains.

Conf:

BB_VERSION        = "1.22.0"
BUILD_SYS         = "i686-linux"
NATIVELSBSTRING   = "Ubuntu-14.04"
TARGET_SYS        = "arm-poky-linux-gnueabi"
MACHINE           = "imx6qsabresd"
DISTRO            = "poky"
DISTRO_VERSION    = "1.6.1"
TUNE_FEATURES     = "armv7a vfp neon cortexa9"
TARGET_FPU        = "vfp-neon"

meta
meta-yocto = "daisy:37532ceb19e08a44ef2a3c86e63ffb60ae8b8f5c"
meta-oe
meta-efl
meta-webserver
meta-networking = "daisy:a6dcf6265822ca1484d991d10a3042e04a960cdb"
meta-fsl-arm = "master:fc8bcfae0658375b1c241b6b9633b0c2dce6ac88"
meta-fsl-arm-extra = "master:9481991ec1f17bb2555a2a32d1680b1f743d7101"
meta-fsl-demos = "master:27fdb2f2642ecd55d5633bde880dd4c37acd0d42"
meta-mono = "master:74bd3be613ebb980e60e5b98814d4a4bd96a61e0"

Layers:

${BSPDIR}/sources/poky.daisy/meta \
${BSPDIR}/sources/poky.daisy/meta-yocto \
${BSPDIR}/sources/meta-openembedded.daisy/meta-oe \
${BSPDIR}/sources/meta-openembedded.daisy/meta-efl \
${BSPDIR}/sources/meta-openembedded.daisy/meta-webserver \
${BSPDIR}/sources/meta-openembedded.daisy/meta-networking \
${BSPDIR}/sources/meta-fsl-arm \
${BSPDIR}/sources/meta-fsl-arm-extra \
${BSPDIR}/sources/meta-fsl-demos \
${BSPDIR}/sources/meta-mono \

Failure seems related to corrupt 'pod' files

| installing man1/ciphers.1ssl
| installing man1/cms.1ssl
| cms.pod around line 457: Expected text after =item, not a number
| cms.pod around line 461: Expected text after =item, not a number
| cms.pod around line 465: Expected text after =item, not a number
| cms.pod around line 470: Expected text after =item, not a number
| cms.pod around line 474: Expected text after =item, not a number
| POD document had syntax errors at /usr/bin/pod2man line 71.
| make: *** [install_docs] Error 255
| ERROR: oe_runmake failed

I see from a little googling that there's recent (-ish) commentary on an issue building these files with perl

e.g.
http://askubuntu.com/questions/454575/error-255-when-trying-to-install-opens
sl-1-0-1g-from-source

Quoted 5 lines

I see my perl-native is 5.14.3 so not quite the same as the issue in the link above.

Can anybody comment on whether this is a known issue or somehow finger trouble on my part?

Quoted 7 lines

So, I think this is an issue with newer host Perl and OpenSSL 1.0.1g. This looks like it might be the patch that fixes it:

https://git.openssl.org/gitweb/?p=openssl.git;a=commit;h=23f5908ac753b176af2a0690e0ebb53c95ef192b

If so we can apply this in daisy (master already has 1.0.1h which includes this fix.)

I'll give this a quick test then shortly thanks Paul.

In the meantime I can also confirm that running make install_sw instead of make install works as an interim - albeit inappropriate for Yocto - fix

ref: https://github.com/openssl/openssl/issues/57

Cheers,

Alex

#3 lore raw
Quoted 11 lines · On Monday 28 July 2014 11:40:52 Alex J Lennon wrote:
Quoted 9 lines · Paul Eggleton

On Monday 28 July 2014 11:19:25 Alex J Lennon wrote:
So, I think this is an issue with newer host Perl and OpenSSL 1.0.1g. This looks like it might be the patch that fixes it:

https://git.openssl.org/gitweb/?p=openssl.git;a=commit;h=23f5908ac753b176a
f2a0690e0ebb53c95ef192b

If so we can apply this in daisy (master already has 1.0.1h which includes this fix.)

Quoted 6 lines

I'll give this a quick test then shortly thanks Paul.

In the meantime I can also confirm that running make install_sw instead of make install works as an interim - albeit inappropriate for Yocto - fix

ref: https://github.com/openssl/openssl/issues/57

I haven't reproduced the issue here (I need to clear space to set up an Ubuntu 14.04 VM first) but if that means it skips preparing / installing the documentation I would assume it would work around the issue yes.

Cheers,
Paul

Signature · 2 lines
Paul Eggleton
Intel Open Source Technology Centre
#4 lore raw
Quoted 16 lines · Paul Eggleton
Quoted 15 lines · On Monday 28 July 2014 11:40:52 Alex J Lennon wrote:
Quoted 9 lines · Paul Eggleton

On Monday 28 July 2014 11:19:25 Alex J Lennon wrote:
So, I think this is an issue with newer host Perl and OpenSSL 1.0.1g. This looks like it might be the patch that fixes it:

https://git.openssl.org/gitweb/?p=openssl.git;a=commit;h=23f5908ac753b176a
f2a0690e0ebb53c95ef192b

If so we can apply this in daisy (master already has 1.0.1h which includes this fix.)

I'll give this a quick test then shortly thanks Paul.

In the meantime I can also confirm that running make install_sw instead of make install works as an interim - albeit inappropriate for Yocto - fix

Quoted 7 lines
Quoted 1 line

ref: https://github.com/openssl/openssl/issues/57

I haven't reproduced the issue here (I need to clear space to set up an Ubuntu 14.04 VM first) but if that means it skips preparing / installing the documentation I would assume it would work around the issue yes.

Cheers,
Paul

Apologies - this does appear to be finger trouble on my part. Somehow when I pulled down
the latest daisy branch a merge has occurred which knocked out a line with the already
present patch in openssl_1.0.1g.bb:

file://openssl-fix-doc.patch \

With this corrected openssl builds and installs fine.

Thanks for putting me on the right track.

Cheers

Alex

#5 lore raw
Quoted 37 lines · On Monday 28 July 2014 12:14:11 Alex J Lennon wrote:
Quoted 21 lines · Paul Eggleton
Quoted 20 lines · On Monday 28 July 2014 11:40:52 Alex J Lennon wrote:
Quoted 5 lines · Paul Eggleton

On Monday 28 July 2014 11:19:25 Alex J Lennon wrote:
So, I think this is an issue with newer host Perl and OpenSSL 1.0.1g. This
looks like it might be the patch that fixes it:

Quoted 7 lines

https://git.openssl.org/gitweb/?p=openssl.git;a=commit;h=23f5908ac753b17
6a
f2a0690e0ebb53c95ef192b

If so we can apply this in daisy (master already has 1.0.1h which includes
this fix.)

I'll give this a quick test then shortly thanks Paul.

In the meantime I can also confirm that running make install_sw instead of make install works as an interim - albeit inappropriate for Yocto - fix

Quoted 8 lines
Quoted 1 line

ref: https://github.com/openssl/openssl/issues/57

I haven't reproduced the issue here (I need to clear space to set up an Ubuntu 14.04 VM first) but if that means it skips preparing / installing the documentation I would assume it would work around the issue yes.

Cheers,
Paul

Apologies - this does appear to be finger trouble on my part. Somehow when I pulled down
the latest daisy branch a merge has occurred which knocked out a line with the already
present patch in openssl_1.0.1g.bb:

Quoted 3 lines

file://openssl-fix-doc.patch \

With this corrected openssl builds and installs fine.

Ah ok, no worries. Mystery solved :)

Cheers,
Paul

Signature · 2 lines
Paul Eggleton
Intel Open Source Technology Centre