[OE-core] Net::SSLeay perl extension OpenSSL

Khem Raj raj.khem at gmail.com
Mon Jan 30 23:32:22 UTC 2012


On Mon, Jan 30, 2012 at 1:30 PM, simran singh <kyoonn at hotmail.com> wrote:
> Hello Raj,
>
> I am getting the exact same error as before. Any ideas. I did
>
> IMAGE_INSTALL_append_pn-devel-image = "libnet-ssleay-perl"
>
> #bitbake devel-image
>
> Gets stuck at the same Cant' locate ExtUtils.

thats another perl module. I guess your perl is not
building this module. So either enable perl to do it
or create a new recipe to build it like libnet-ssleay-perl
>
> Thanks for your help so far.
>
>
>
>
>> From: raj.khem at gmail.com
>> Date: Mon, 30 Jan 2012 12:30:27 -0800
>
>> To: openembedded-core at lists.openembedded.org
>> Subject: Re: [OE-core] Net::SSLeay perl extension OpenSSL
>>
>> On Mon, Jan 30, 2012 at 12:22 PM, simran singh <kyoonn at hotmail.com> wrote:
>> > Hello,
>> >
>> > I was able to successfully add the patch to the core. Thanks to your
>> > instructions.
>> > Even though a recipe was created, It is not being built with either perl
>> > or
>> > openssl.
>> > Do I need to add a dependency somewhere for the libnet-ssleay recipe to
>> > be
>> > recognized?
>>
>> it needs to get to the image either via some RDEPENDS or IMAGE_INSTALL
>> variable. You can try to add it through
>> your local.conf by adding
>>
>>
>> IMAGE_INSTALL_append_pn-<your_image_name_here> = " libnet-ssleay"
>>
>>
>> > Thanks.
>> >
>> >
>> >> Date: Sat, 28 Jan 2012 12:11:45 -0800
>> >
>> >> From: raj.khem at gmail.com
>> >> To: openembedded-core at lists.openembedded.org
>> >> Subject: Re: [OE-core] Net::SSLeay perl extension OpenSSL
>> >>
>> >> On (27/01/12 08:41), simran singh wrote:
>> >> >
>> >> > Hello Raj,
>> >> >
>> >> > I am using open embedded provided through a company instead of
>> >> > downloading from the git repository. Is there a way
>> >> > to apply this patch manually without going through git?.
>> >> > I tried 'bitbake patch filename' but that did not work.
>> >>
>> >> if you dont use git then just patch -p1 < <patchfilename> from
>> >> openembedded-core directory should work.
>> >>
>> >> btw. learn about patch(man patch) it should really help you
>> >>
>> >> > Thanks a bunch for your help.
>> >> >
>> >> > Sim
>> >> >
>> >> > > From: raj.khem at gmail.com
>> >> > > Date: Wed, 25 Jan 2012 17:49:48 -0800
>> >> > > To: openembedded-core at lists.openembedded.org
>> >> > > Subject: Re: [OE-core] Net::SSLeay perl extension OpenSSL
>> >> > >
>> >> > > On Wed, Jan 25, 2012 at 4:50 PM, simran singh <kyoonn at hotmail.com>
>> >> > > wrote:
>> >> > > >
>> >> > > > Hello Raj,
>> >> > > >
>> >> > > > Thanks for the reply.
>> >> > > > I do not have the file named "libnet-ssleay-license". Where can I
>> >> > > > obtain
>> >> > > > this?
>> >> > > > If I try to build without that file, I get the same error about
>> >> > > > command.pm.
>> >> > >
>> >> > > Did you apply the patch properly ?
>> >> > >
>> >> > > save the patch and cd into openembedded-core
>> >> > > and then git am <patchfile>
>> >> > > >
>> >> > > >
>> >> > > > Date: Wed, 25 Jan 2012 16:36:44 -0800
>> >> > > > From: raj.khem at gmail.com
>> >> > > > To: openembedded-core at lists.openembedded.org
>> >> > > > Subject: Re: [OE-core] Net::SSLeay perl extension OpenSSL
>> >> > > >
>> >> > > >
>> >> > > > On (25/01/12 14:50), simran singh wrote:
>> >> > > >>
>> >> > > >> Hello,
>> >> > > >>
>> >> > > >> I am not sure if this is the right list.
>> >> > > >>
>> >> > > >> Trying to add Net::SSLeay perl module, I get the following
>> >> > > >> error.
>> >> > > >>
>> >> > > >
>> >> > > > Please try attached patch. I have not tested it
>> >> > > >
>> >> > > >
>> >> > > >
>> >> > > >>
>> >> > > >>
>> >> > > >> NOTE: Running task 204 of 315 (ID: 11,
>> >> > > >>
>> >> > > >>
>> >> > > >>
>> >> > > >> /home/Simran/Freescale/QorIQ-DPAA-SDK-20111026-systembuilder/engage-blackcore-common/recipes/
>> >> > > >>
>> >> > > >> net-ssleay/net-ssleay_1.36.bb, do_compile)
>> >> > > >>
>> >> > > >> ERROR: TaskFailed event exception, aborting
>> >> > > >>
>> >> > > >> ERROR: Build of
>> >> > > >>
>> >> > > >>
>> >> > > >>
>> >> > > >> /home/Simran/Freescale/QorIQ-DPAA-SDK-20111026-systembuilder/engage-blackcore-common/recipes/net-ssleay/net-ssleay_1.36.bb
>> >> > > >>
>> >> > > >> do_compile failed
>> >> > > >>
>> >> > > >> ERROR: Task 11
>> >> > > >>
>> >> > > >>
>> >> > > >>
>> >> > > >> (/home/Simran/Freescale/QorIQ-DPAA-SDK-20111026-systembuilder/engage-blackcore-common/recipes/net-ssleay/net-ssleay_1.36.bb,
>> >> > > >>
>> >> > > >> do_compile) failed with 256
>> >> > > >>
>> >> > > >> ERROR:
>> >> > > >>
>> >> > > >>
>> >> > > >>
>> >> > > >> '/home/Simran/Freescale/QorIQ-DPAA-SDK-20111026-systembuilder/engage-blackcore-common/recipes/net-ssleay/net-ssleay_1.36.bb'
>> >> > > >> failed
>> >> > > >>
>> >> > > >> NOTE: package net-ssleay-1.36-r0: task do_compile: Started
>> >> > > >>
>> >> > > >> ERROR: Function do_compile failed
>> >> > > >>
>> >> > > >> NOTE: Task failed: ('function do_compile failed',
>> >> > > >>
>> >> > > >>
>> >> > > >>
>> >> > > >> '/home/Simran/Freescale/QorIQ-DPAA-SDK-20111026-systembuilder/build_p4080ds_release/work/
>> >> > > >>
>> >> > > >> ppce500mc-linux/net-ssleay-1.36-r0/temp/log.do_compile.22680')
>> >> > > >>
>> >> > > >> ERROR: Logfile of failure stored in:
>> >> > > >>
>> >> > > >>
>> >> > > >>
>> >> > > >> /home/Simran/Freescale/QorIQ-DPAA-SDK-20111026-systembuilder/build_p4080ds_release/work/ppce500mc-
>> >> > > >>
>> >> > > >> linux/net-ssleay-1.36-r0/temp/log.do_compile.22680
>> >> > > >>
>> >> > > >> Log data follows:
>> >> > > >>
>> >> > > >> | NOTE: make -j 2 -e MAKEFLAGS= PASTHRU_INC=
>> >> > > >> -fexpensive-optimizations
>> >> > > >> -frename-registers -fomit-frame-pointer -O2 -g0 CCFLAGS=
>> >> > > >> -fexpensive
>> >> > > >>
>> >> > > >> -optimizations -frename-registers -fomit-frame-pointer -O2 -g0
>> >> > > >> LD=powerpc-linux-gnu-gcc -mcpu=e500mc -maix-struct-return
>> >> > > >> --sysroot=/home/Simran/
>> >> > > >>
>> >> > > >>
>> >> > > >>
>> >> > > >>
>> >> > > >> Freescale/QorIQ-DPAA-SDK-20111026-systembuilder/build_p4080ds_release/sysroots/ppce500mc-linux
>> >> > > >>
>> >> > > >> | Can't locate ExtUtils/Command.pm in @INC (@INC contains: inc
>> >> > > >>
>> >> > > >>
>> >> > > >>
>> >> > > >> /home/jenkins/jenkins/jobs/qoriq-dpaa-iso-step1/workspace/sb-dev.git/build_p1023rds_release
>> >> > > >>
>> >> > > >> /sysroots/i686-linux/usr/lib/perl/5.10.1
>> >> > > >>
>> >> > > >>
>> >> > > >>
>> >> > > >> /home/jenkins/jenkins/jobs/qoriq-dpaa-iso-step1/workspace/sb-dev.git/build_p1023rds_release/sysroots/i686-linux/usr/lib
>> >> > > >>
>> >> > > >> /perl/5.10.1
>> >> > > >>
>> >> > > >>
>> >> > > >>
>> >> > > >> /home/jenkins/jenkins/jobs/qoriq-dpaa-iso-step1/workspace/sb-dev.git/build_p1023rds_release/sysroots/i686-linux/usr/lib/perl/5.10.1
>> >> > > >>
>> >> > > >> /home/
>> >> > > >>
>> >> > > >>
>> >> > > >>
>> >> > > >>
>> >> > > >> jenkins/jenkins/jobs/qoriq-dpaa-iso-step1/workspace/sb-dev.git/build_p1023rds_release/sysroots/i686-linux/usr/lib/perl
>> >> > > >> .).
>> >> > > >>
>> >> > > >> | BEGIN failed--compilation aborted.
>> >> > > >>
>> >> > > >> | make: *** [blib/lib/Net/.exists] Error 2
>> >> > > >>
>> >> > > >> | make: *** Waiting for unfinished jobs....
>> >> > > >>
>> >> > > >> | Can't locate ExtUtils/Command.pm in @INC (@INC contains: inc
>> >> > > >>
>> >> > > >>
>> >> > > >> /home/jenkins/jenkins/jobs/qoriq-dpaa-iso-step1/workspace/sb-dev.git/
>> >> > > >>
>> >> > > >> build_p1023rds_release/sysroots/i686-linux/usr/lib/perl/5.10.1
>> >> > > >>
>> >> > > >>
>> >> > > >>
>> >> > > >> /home/jenkins/jenkins/jobs/qoriq-dpaa-iso-step1/workspace/sb-dev.git/build_p1023rds_release
>> >> > > >>
>> >> > > >> /sysroots/i686-linux/usr/lib/perl/5.10.1
>> >> > > >>
>> >> > > >>
>> >> > > >>
>> >> > > >> /home/jenkins/jenkins/jobs/qoriq-dpaa-iso-step1/workspace/sb-dev.git/build_p1023rds_release/sysroots/i686-linux/usr
>> >> > > >>
>> >> > > >> /lib/perl/5.10.1
>> >> > > >>
>> >> > > >>
>> >> > > >>
>> >> > > >> /home/jenkins/jenkins/jobs/qoriq-dpaa-iso-step1/workspace/sb-dev.git/build_p1023rds_release/sysroots/i686-linux/usr/lib/perl
>> >> > > >> .).
>> >> > > >>
>> >> > > >> | BEGIN failed--compilation aborted.
>> >> > > >>
>> >> > > >> | make: *** [blib/arch/.exists] Error 2
>> >> > > >>
>> >> > > >> | FATAL: oe_runmake failed
>> >> > > >>
>> >> > > >> | ERROR: Function do_compile failed
>> >> > > >>
>> >> > > >> NOTE: package net-ssleay-1.36-r0: task do_compile: Failed
>> >> > > >>
>> >> > > >> ERROR: TaskFailed event exception, aborting
>> >> > > >>
>> >> > > >>
>> >> > > >>
>> >> > > >>
>> >> > > >>
>> >> > > >> I used the libnet-ssleay-perl_1.36.bb, I found in the oe-commit
>> >> > > >> archive.
>> >> > > >>
>> >> > > >> Please advice and thanks.
>> >> > > >>
>> >> > > >>
>> >> > > >>
>> >> > > >> Sim Gill
>> >> > > >
>> >> > > >
>> >> > > >> _______________________________________________
>> >> > > >> Openembedded-core mailing list
>> >> > > >> Openembedded-core at lists.openembedded.org
>> >> > > >>
>> >> > > >>
>> >> > > >> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
>> >> > > >
>> >> > > >
>> >> > > > --
>> >> > > > -Khem
>> >> > > >
>> >> > > >
>> >> > > > _______________________________________________ Openembedded-core
>> >> > > > mailing
>> >> > > > list Openembedded-core at lists.openembedded.org
>> >> > > >
>> >> > > >
>> >> > > > http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
>> >> > > >
>> >> > > > _______________________________________________
>> >> > > > Openembedded-core mailing list
>> >> > > > Openembedded-core at lists.openembedded.org
>> >> > > >
>> >> > > >
>> >> > > > http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
>> >> > > >
>> >> > >
>> >> > > _______________________________________________
>> >> > > Openembedded-core mailing list
>> >> > > Openembedded-core at lists.openembedded.org
>> >> > >
>> >> > > http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
>> >> >
>> >>
>> >> > _______________________________________________
>> >> > Openembedded-core mailing list
>> >> > Openembedded-core at lists.openembedded.org
>> >> > http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
>> >>
>> >>
>> >> --
>> >> -Khem
>> >>
>> >> _______________________________________________
>> >> Openembedded-core mailing list
>> >> Openembedded-core at lists.openembedded.org
>> >> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
>> >
>> > _______________________________________________
>> > Openembedded-core mailing list
>> > Openembedded-core at lists.openembedded.org
>> > http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
>> >
>>
>> _______________________________________________
>> Openembedded-core mailing list
>> Openembedded-core at lists.openembedded.org
>> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
>
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core at lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
>




More information about the Openembedded-core mailing list