All of lore.kernel.org
 help / color / mirror / Atom feed
* [arago/yocto-1.3] crda and python-m2crypto
@ 2013-07-15  5:21 Christian Gagneraud
  2013-07-16 12:58 ` Maupin, Chase
  0 siblings, 1 reply; 5+ messages in thread
From: Christian Gagneraud @ 2013-07-15  5:21 UTC (permalink / raw)
  To: meta-arago

Hi,

While building an image with arago-stable/yocto-1.3, I encountered an error:
DEBUG: Executing shell function do_compile
NOTE: make -j 8 MAKEFLAGS= all_noverify
   GEN  keys-gcrypt.c
   CC   crda.o
   CC   intersect.o
   Trusted pubkeys: pubkeys/linville.key.pub.pem
   CC   print-regdom.o
   CC   regdbdump.o
ERROR: Failed to import the "M2Crypto" module: No module named M2Crypto
Please install the "M2Crypto" Python module.
On Debian GNU/Linux the package is called "python-m2crypto".
make: *** [keys-gcrypt.c] Error 1
make: *** Waiting for unfinished jobs....
ERROR: oe_runmake failed
ERROR: Function failed: do_compile (see 
/home/christiaga/projects/yocto/arago/build/arago-tmp-external-linaro-toolchain/work\
/armv7ahf-vfp-neon-oe-linux-gnueabi/crda-1.1.1-r0/temp/log.do_compile.15753 
for further information)

Basically crda doesn't build because it needs python-m2crypto, i've 
installed it via apt-get and everything was fine then.
This is not documented in [1], [2] nor in [3].

After digging a bit I found that the CRDA recipe comes from 
arago-distro-extras, but it can be found in 
meta-openembedded/meta-networking (on master, not on danny branch) as 
well. Looking at [4], it seems this version would have this dependency 
built by bitbake (python-m2crypto-native), again python-m2crypto-native 
is available only on master, not on danny.

Do you want me to open a bug report somewhere?

Regards,
Chris

[1] 
http://www.yoctoproject.org/docs/1.1/yocto-project-qs/yocto-project-qs.html
[2] 
http://arago-project.org/wiki/index.php/Setting_Up_Build_Environment#Host_tools
[3] http://www.openembedded.org/wiki/Getting_started
[4]


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

* Re: [arago/yocto-1.3] crda and python-m2crypto
  2013-07-15  5:21 [arago/yocto-1.3] crda and python-m2crypto Christian Gagneraud
@ 2013-07-16 12:58 ` Maupin, Chase
  2013-07-16 21:28   ` Christian Gagneraud
  0 siblings, 1 reply; 5+ messages in thread
From: Maupin, Chase @ 2013-07-16 12:58 UTC (permalink / raw)
  To: Christian Gagneraud, meta-arago@arago-project.org

>-----Original Message-----
>From: meta-arago-bounces@arago-project.org [mailto:meta-arago-
>bounces@arago-project.org] On Behalf Of Christian Gagneraud
>Sent: Monday, July 15, 2013 12:21 AM
>To: meta-arago@arago-project.org
>Subject: [meta-arago] [arago/yocto-1.3] crda and python-m2crypto
>
>Hi,
>
>While building an image with arago-stable/yocto-1.3, I encountered
>an error:
>DEBUG: Executing shell function do_compile
>NOTE: make -j 8 MAKEFLAGS= all_noverify
>   GEN  keys-gcrypt.c
>   CC   crda.o
>   CC   intersect.o
>   Trusted pubkeys: pubkeys/linville.key.pub.pem
>   CC   print-regdom.o
>   CC   regdbdump.o
>ERROR: Failed to import the "M2Crypto" module: No module named
>M2Crypto
>Please install the "M2Crypto" Python module.
>On Debian GNU/Linux the package is called "python-m2crypto".
>make: *** [keys-gcrypt.c] Error 1
>make: *** Waiting for unfinished jobs....
>ERROR: oe_runmake failed
>ERROR: Function failed: do_compile (see
>/home/christiaga/projects/yocto/arago/build/arago-tmp-external-
>linaro-toolchain/work\
>/armv7ahf-vfp-neon-oe-linux-gnueabi/crda-1.1.1-
>r0/temp/log.do_compile.15753
>for further information)
>
>Basically crda doesn't build because it needs python-m2crypto,
>i've
>installed it via apt-get and everything was fine then.
>This is not documented in [1], [2] nor in [3].
>
>After digging a bit I found that the CRDA recipe comes from
>arago-distro-extras, but it can be found in
>meta-openembedded/meta-networking (on master, not on danny branch)
>as
>well. Looking at [4], it seems this version would have this
>dependency
>built by bitbake (python-m2crypto-native), again python-m2crypto-
>native
>is available only on master, not on danny.

In the meta-arago danny branch there is a python-m2crypto recipe that extends native.  So can you add the DEPENDS on python-m2crypto-native to the crda recipe with danny and have this work?  Is that the solution you are mentioning?

>
>Do you want me to open a bug report somewhere?
>
>Regards,
>Chris
>
>[1]
>http://www.yoctoproject.org/docs/1.1/yocto-project-qs/yocto-
>project-qs.html
>[2]
>http://arago-
>project.org/wiki/index.php/Setting_Up_Build_Environment#Host_tools
>[3] http://www.openembedded.org/wiki/Getting_started
>[4]
>_______________________________________________
>meta-arago mailing list
>meta-arago@arago-project.org
>http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago


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

* Re: [arago/yocto-1.3] crda and python-m2crypto
  2013-07-16 12:58 ` Maupin, Chase
@ 2013-07-16 21:28   ` Christian Gagneraud
  2013-07-16 21:32     ` Maupin, Chase
  2013-07-17 21:28     ` Dmytriyenko, Denys
  0 siblings, 2 replies; 5+ messages in thread
From: Christian Gagneraud @ 2013-07-16 21:28 UTC (permalink / raw)
  To: Maupin, Chase; +Cc: meta-arago@arago-project.org

On 17/07/13 00:58, Maupin, Chase wrote:
>> -----Original Message-----
>> From: meta-arago-bounces@arago-project.org [mailto:meta-arago-
>> bounces@arago-project.org] On Behalf Of Christian Gagneraud
>> Sent: Monday, July 15, 2013 12:21 AM
>> To: meta-arago@arago-project.org
>> Subject: [meta-arago] [arago/yocto-1.3] crda and python-m2crypto
>>
>> Hi,
>>
>> While building an image with arago-stable/yocto-1.3, I encountered
>> an error:
>> DEBUG: Executing shell function do_compile
>> NOTE: make -j 8 MAKEFLAGS= all_noverify
>>    GEN  keys-gcrypt.c
>>    CC   crda.o
>>    CC   intersect.o
>>    Trusted pubkeys: pubkeys/linville.key.pub.pem
>>    CC   print-regdom.o
>>    CC   regdbdump.o
>> ERROR: Failed to import the "M2Crypto" module: No module named
>> M2Crypto
>> Please install the "M2Crypto" Python module.
>> On Debian GNU/Linux the package is called "python-m2crypto".
>> make: *** [keys-gcrypt.c] Error 1
>> make: *** Waiting for unfinished jobs....
>> ERROR: oe_runmake failed
>> ERROR: Function failed: do_compile (see
>> /home/christiaga/projects/yocto/arago/build/arago-tmp-external-
>> linaro-toolchain/work\
>> /armv7ahf-vfp-neon-oe-linux-gnueabi/crda-1.1.1-
>> r0/temp/log.do_compile.15753
>> for further information)
>>
>> Basically crda doesn't build because it needs python-m2crypto,
>> i've
>> installed it via apt-get and everything was fine then.
>> This is not documented in [1], [2] nor in [3].
>>
>> After digging a bit I found that the CRDA recipe comes from
>> arago-distro-extras, but it can be found in
>> meta-openembedded/meta-networking (on master, not on danny branch)
>> as
>> well. Looking at [4], it seems this version would have this
>> dependency
>> built by bitbake (python-m2crypto-native), again python-m2crypto-
>> native
>> is available only on master, not on danny.
>
> In the meta-arago danny branch there is a python-m2crypto recipe
> that extends native. So can you add the DEPENDS on
> python-m2crypto-native to the crda recipe with danny and have this
> work? Is that the solution you  are mentioning?

You are right, and actually crda (from meta-arago) already depends on 
python-m2crypto-native.
Anyway, it doesn't seem to be enough as my build failed, and I had to 
install my distro version of python-m2crypto to fix this (unless it got 
fixed as a side effect of re-running bitbake).

I might clean and rebuild everything, I thought I could update the 
layers without rebuilding everything from scratch, in theory it should 
work, but in practice I'm not sure it does, as I had a couple of issues 
(after my last update) that doesn't make sense to others (BlueZ version 
issue, Qt  and now crda).

Thanks,
Chris

>>
>> Do you want me to open a bug report somewhere?
>>
>> Regards,
>> Chris
>>
>> [1]
>> http://www.yoctoproject.org/docs/1.1/yocto-project-qs/yocto-
>> project-qs.html
>> [2]
>> http://arago-
>> project.org/wiki/index.php/Setting_Up_Build_Environment#Host_tools
>> [3] http://www.openembedded.org/wiki/Getting_started
>> [4]
>> _______________________________________________
>> meta-arago mailing list
>> meta-arago@arago-project.org
>> http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago



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

* Re: [arago/yocto-1.3] crda and python-m2crypto
  2013-07-16 21:28   ` Christian Gagneraud
@ 2013-07-16 21:32     ` Maupin, Chase
  2013-07-17 21:28     ` Dmytriyenko, Denys
  1 sibling, 0 replies; 5+ messages in thread
From: Maupin, Chase @ 2013-07-16 21:32 UTC (permalink / raw)
  To: Christian Gagneraud; +Cc: meta-arago@arago-project.org

>-----Original Message-----
>From: Chris Gagneraud [mailto:chgans@googlemail.com] On Behalf Of
>Christian Gagneraud
>Sent: Tuesday, July 16, 2013 4:28 PM
>To: Maupin, Chase
>Cc: meta-arago@arago-project.org
>Subject: Re: [meta-arago] [arago/yocto-1.3] crda and python-
>m2crypto
>
>On 17/07/13 00:58, Maupin, Chase wrote:
>>> -----Original Message-----
>>> From: meta-arago-bounces@arago-project.org [mailto:meta-arago-
>>> bounces@arago-project.org] On Behalf Of Christian Gagneraud
>>> Sent: Monday, July 15, 2013 12:21 AM
>>> To: meta-arago@arago-project.org
>>> Subject: [meta-arago] [arago/yocto-1.3] crda and python-
>m2crypto
>>>
>>> Hi,
>>>
>>> While building an image with arago-stable/yocto-1.3, I
>encountered
>>> an error:
>>> DEBUG: Executing shell function do_compile
>>> NOTE: make -j 8 MAKEFLAGS= all_noverify
>>>    GEN  keys-gcrypt.c
>>>    CC   crda.o
>>>    CC   intersect.o
>>>    Trusted pubkeys: pubkeys/linville.key.pub.pem
>>>    CC   print-regdom.o
>>>    CC   regdbdump.o
>>> ERROR: Failed to import the "M2Crypto" module: No module named
>>> M2Crypto
>>> Please install the "M2Crypto" Python module.
>>> On Debian GNU/Linux the package is called "python-m2crypto".
>>> make: *** [keys-gcrypt.c] Error 1
>>> make: *** Waiting for unfinished jobs....
>>> ERROR: oe_runmake failed
>>> ERROR: Function failed: do_compile (see
>>> /home/christiaga/projects/yocto/arago/build/arago-tmp-external-
>>> linaro-toolchain/work\
>>> /armv7ahf-vfp-neon-oe-linux-gnueabi/crda-1.1.1-
>>> r0/temp/log.do_compile.15753
>>> for further information)
>>>
>>> Basically crda doesn't build because it needs python-m2crypto,
>>> i've
>>> installed it via apt-get and everything was fine then.
>>> This is not documented in [1], [2] nor in [3].
>>>
>>> After digging a bit I found that the CRDA recipe comes from
>>> arago-distro-extras, but it can be found in
>>> meta-openembedded/meta-networking (on master, not on danny
>branch)
>>> as
>>> well. Looking at [4], it seems this version would have this
>>> dependency
>>> built by bitbake (python-m2crypto-native), again python-
>m2crypto-
>>> native
>>> is available only on master, not on danny.
>>
>> In the meta-arago danny branch there is a python-m2crypto recipe
>> that extends native. So can you add the DEPENDS on
>> python-m2crypto-native to the crda recipe with danny and have
>this
>> work? Is that the solution you  are mentioning?
>
>You are right, and actually crda (from meta-arago) already depends
>on
>python-m2crypto-native.
>Anyway, it doesn't seem to be enough as my build failed, and I had
>to
>install my distro version of python-m2crypto to fix this (unless
>it got
>fixed as a side effect of re-running bitbake).
>
>I might clean and rebuild everything, I thought I could update the
>layers without rebuilding everything from scratch, in theory it
>should
>work, but in practice I'm not sure it does, as I had a couple of
>issues
>(after my last update) that doesn't make sense to others (BlueZ
>version
>issue, Qt  and now crda).

Yeah.  When things are a significant update I usually do a clean build just to be safe.

>
>Thanks,
>Chris
>
>>>
>>> Do you want me to open a bug report somewhere?
>>>
>>> Regards,
>>> Chris
>>>
>>> [1]
>>> http://www.yoctoproject.org/docs/1.1/yocto-project-qs/yocto-
>>> project-qs.html
>>> [2]
>>> http://arago-
>>>
>project.org/wiki/index.php/Setting_Up_Build_Environment#Host_tools
>>> [3] http://www.openembedded.org/wiki/Getting_started
>>> [4]
>>> _______________________________________________
>>> meta-arago mailing list
>>> meta-arago@arago-project.org
>>> http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago



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

* Re: [arago/yocto-1.3] crda and python-m2crypto
  2013-07-16 21:28   ` Christian Gagneraud
  2013-07-16 21:32     ` Maupin, Chase
@ 2013-07-17 21:28     ` Dmytriyenko, Denys
  1 sibling, 0 replies; 5+ messages in thread
From: Dmytriyenko, Denys @ 2013-07-17 21:28 UTC (permalink / raw)
  To: Maupin, Chase, chgans@gna.org; +Cc: meta-arago@arago-project.org

[-- Attachment #1: Type: text/plain, Size: 3845 bytes --]

BTW, m2crypto seems to be broken in meta-arago, if I remember correctly, as I had to install my host package too...


Denys


-----Original Message-----
From: Christian Gagneraud [chgans@gna.org]
Received: Tuesday, 16 Jul 2013, 17:28
To: Maupin, Chase [chase.maupin@ti.com]
CC: meta-arago@arago-project.org [meta-arago@arago-project.org]
Subject: Re: [meta-arago] [arago/yocto-1.3] crda and python-m2crypto

On 17/07/13 00:58, Maupin, Chase wrote:
>> -----Original Message-----
>> From: meta-arago-bounces@arago-project.org [mailto:meta-arago-
>> bounces@arago-project.org] On Behalf Of Christian Gagneraud
>> Sent: Monday, July 15, 2013 12:21 AM
>> To: meta-arago@arago-project.org
>> Subject: [meta-arago] [arago/yocto-1.3] crda and python-m2crypto
>>
>> Hi,
>>
>> While building an image with arago-stable/yocto-1.3, I encountered
>> an error:
>> DEBUG: Executing shell function do_compile
>> NOTE: make -j 8 MAKEFLAGS= all_noverify
>>    GEN  keys-gcrypt.c
>>    CC   crda.o
>>    CC   intersect.o
>>    Trusted pubkeys: pubkeys/linville.key.pub.pem
>>    CC   print-regdom.o
>>    CC   regdbdump.o
>> ERROR: Failed to import the "M2Crypto" module: No module named
>> M2Crypto
>> Please install the "M2Crypto" Python module.
>> On Debian GNU/Linux the package is called "python-m2crypto".
>> make: *** [keys-gcrypt.c] Error 1
>> make: *** Waiting for unfinished jobs....
>> ERROR: oe_runmake failed
>> ERROR: Function failed: do_compile (see
>> /home/christiaga/projects/yocto/arago/build/arago-tmp-external-
>> linaro-toolchain/work\
>> /armv7ahf-vfp-neon-oe-linux-gnueabi/crda-1.1.1-
>> r0/temp/log.do_compile.15753
>> for further information)
>>
>> Basically crda doesn't build because it needs python-m2crypto,
>> i've
>> installed it via apt-get and everything was fine then.
>> This is not documented in [1], [2] nor in [3].
>>
>> After digging a bit I found that the CRDA recipe comes from
>> arago-distro-extras, but it can be found in
>> meta-openembedded/meta-networking (on master, not on danny branch)
>> as
>> well. Looking at [4], it seems this version would have this
>> dependency
>> built by bitbake (python-m2crypto-native), again python-m2crypto-
>> native
>> is available only on master, not on danny.
>
> In the meta-arago danny branch there is a python-m2crypto recipe
> that extends native. So can you add the DEPENDS on
> python-m2crypto-native to the crda recipe with danny and have this
> work? Is that the solution you  are mentioning?

You are right, and actually crda (from meta-arago) already depends on
python-m2crypto-native.
Anyway, it doesn't seem to be enough as my build failed, and I had to
install my distro version of python-m2crypto to fix this (unless it got
fixed as a side effect of re-running bitbake).

I might clean and rebuild everything, I thought I could update the
layers without rebuilding everything from scratch, in theory it should
work, but in practice I'm not sure it does, as I had a couple of issues
(after my last update) that doesn't make sense to others (BlueZ version
issue, Qt  and now crda).

Thanks,
Chris

>>
>> Do you want me to open a bug report somewhere?
>>
>> Regards,
>> Chris
>>
>> [1]
>> http://www.yoctoproject.org/docs/1.1/yocto-project-qs/yocto-
>> project-qs.html
>> [2]
>> http://arago-
>> project.org/wiki/index.php/Setting_Up_Build_Environment#Host_tools
>> [3] http://www.openembedded.org/wiki/Getting_started
>> [4]
>> _______________________________________________
>> meta-arago mailing list
>> meta-arago@arago-project.org
>> http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago

_______________________________________________
meta-arago mailing list
meta-arago@arago-project.org
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago

[-- Attachment #2: Type: text/html, Size: 5864 bytes --]

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

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

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-07-15  5:21 [arago/yocto-1.3] crda and python-m2crypto Christian Gagneraud
2013-07-16 12:58 ` Maupin, Chase
2013-07-16 21:28   ` Christian Gagneraud
2013-07-16 21:32     ` Maupin, Chase
2013-07-17 21:28     ` Dmytriyenko, Denys

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.