All of lore.kernel.org
 help / color / mirror / Atom feed
* 'pod' problem building openssl 1.0.1g with latest daisy branch
@ 2014-07-28 10:19 Alex J Lennon
  2014-07-28 10:34 ` Paul Eggleton
  0 siblings, 1 reply; 6+ messages in thread
From: Alex J Lennon @ 2014-07-28 10:19 UTC (permalink / raw)
  To: Yocto

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



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: 'pod' problem building openssl 1.0.1g with latest daisy branch
  2014-07-28 10:19 'pod' problem building openssl 1.0.1g with latest daisy branch Alex J Lennon
@ 2014-07-28 10:34 ` Paul Eggleton
  2014-07-28 10:40   ` Alex J Lennon
  0 siblings, 1 reply; 6+ messages in thread
From: Paul Eggleton @ 2014-07-28 10:34 UTC (permalink / raw)
  To: Alex J Lennon; +Cc: yocto

Hi Alex,

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
> 
> 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

-- 

Paul Eggleton
Intel Open Source Technology Centre


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: 'pod' problem building openssl 1.0.1g with latest daisy branch
  2014-07-28 10:34 ` Paul Eggleton
@ 2014-07-28 10:40   ` Alex J Lennon
  2014-07-28 10:45     ` Paul Eggleton
  0 siblings, 1 reply; 6+ messages in thread
From: Alex J Lennon @ 2014-07-28 10:40 UTC (permalink / raw)
  To: Paul Eggleton; +Cc: yocto


On 28/07/2014 11:34, Paul Eggleton wrote:
> Hi Alex,
>
> 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
>>
>> 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.)

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



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: 'pod' problem building openssl 1.0.1g with latest daisy branch
  2014-07-28 10:40   ` Alex J Lennon
@ 2014-07-28 10:45     ` Paul Eggleton
  2014-07-28 11:14       ` Alex J Lennon
  0 siblings, 1 reply; 6+ messages in thread
From: Paul Eggleton @ 2014-07-28 10:45 UTC (permalink / raw)
  To: Alex J Lennon; +Cc: yocto

On Monday 28 July 2014 11:40:52 Alex J Lennon wrote:
> On 28/07/2014 11:34, Paul Eggleton wrote:
> > 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
> 
> 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

-- 

Paul Eggleton
Intel Open Source Technology Centre


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: 'pod' problem building openssl 1.0.1g with latest daisy branch
  2014-07-28 10:45     ` Paul Eggleton
@ 2014-07-28 11:14       ` Alex J Lennon
  2014-07-28 11:17         ` Paul Eggleton
  0 siblings, 1 reply; 6+ messages in thread
From: Alex J Lennon @ 2014-07-28 11:14 UTC (permalink / raw)
  To: Paul Eggleton; +Cc: yocto


On 28/07/2014 11:45, Paul Eggleton wrote:
> On Monday 28 July 2014 11:40:52 Alex J Lennon wrote:
>> On 28/07/2014 11:34, Paul Eggleton wrote:
>>> 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
>>
>> 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



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: 'pod' problem building openssl 1.0.1g with latest daisy branch
  2014-07-28 11:14       ` Alex J Lennon
@ 2014-07-28 11:17         ` Paul Eggleton
  0 siblings, 0 replies; 6+ messages in thread
From: Paul Eggleton @ 2014-07-28 11:17 UTC (permalink / raw)
  To: Alex J Lennon; +Cc: yocto

On Monday 28 July 2014 12:14:11 Alex J Lennon wrote:
> On 28/07/2014 11:45, Paul Eggleton wrote:
> > On Monday 28 July 2014 11:40:52 Alex J Lennon wrote:
> >> On 28/07/2014 11:34, Paul Eggleton wrote:
> >>> 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=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
> >> 
> >> 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.

Ah ok, no worries. Mystery solved :)

Cheers,
Paul

-- 

Paul Eggleton
Intel Open Source Technology Centre


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2014-07-28 11:17 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-07-28 10:19 'pod' problem building openssl 1.0.1g with latest daisy branch Alex J Lennon
2014-07-28 10:34 ` Paul Eggleton
2014-07-28 10:40   ` Alex J Lennon
2014-07-28 10:45     ` Paul Eggleton
2014-07-28 11:14       ` Alex J Lennon
2014-07-28 11:17         ` Paul Eggleton

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.