[oe] net-snmp trouble

l.bolognini at tiscali.it l.bolognini at tiscali.it
Wed Sep 15 12:51:35 UTC 2010


Hi,
I'm trying to build a custom image for my beagleboard.
I'm using 
Arago overlay of oe/bitbake but I think this place can be a good place 
to ask my question.
Here it is the recipe for the image: 
(arago/recipes/images/my-image.bb)

------------------------------------------------------
# Arago image (a 
custom image for my purposes)
# gives you an image with basic media 
libraries and some add ons as SSH, nano, file cmd, strace...

require 
recipes/images/arago-console-image.bb

IMAGE_INSTALL += "\
	openssh		\
	
nano		\
	file		\
	strace		\
	apache2		\
	modphp		\
	parted		\
	net-snmp	
\
	"

export IMAGE_BASENAME = "my-image"

----------------------------------------------------

Everything is 
fine except for net-snmp package.
This is the package I last added, 
before adding it everything was good.

This is the error I face:


[luca at Fedora13LucaNB oe]$ MACHINE=beagleboard bitbake -v my-image
NOTE: 
Handling BitBake files: \ (7323/7323) [100 %]
NOTE: Parsing finished. 
6526 cached, 464 parsed, 333 skipped, 732 masked.
NOTE: Resolving any 
missing task queue dependencies
NOTE: selecting external-toolchain-csl 
to satisfy virtual/arm-none-linux-gnueabi-gcc due to 
PREFERRED_PROVIDERS
NOTE: selecting external-toolchain-csl to satisfy 
virtual/libc due to PREFERRED_PROVIDERS
ERROR: 
'['/home/luca/oe/arago/recipes/images/my-image.bb']' 
RDEPENDS/RRECOMMENDS or otherwise requires the runtime entity 'net-
snmp' but it wasn't found in any PACKAGE or RPROVIDES variables
NOTE: 
Runtime target 'net-snmp' is unbuildable, removing...
Missing or 
unbuildable dependency chain was: ['net-snmp']
NOTE: Target 'my-image' 
is unbuildable, removing...
Missing or unbuildable dependency chain 
was: ['my-image', 'net-snmp']
ERROR: Required build target 'my-image' 
has no buildable providers.
Missing or unbuildable dependency chain 
was: ['my-image', 'net-snmp']

I tried to build net-snmp by interactive 
bitbake (bitbake -i) and I had no errors:
bitbake -i
BB>> parse
BB>> 
build net-snmp

I notice net-snmp_svn was built. 
[luca at Fedora13LucaNB 
oe]$ find arago-tmp/deploy/ipk | grep net-snmp
arago-
tmp/deploy/ipk/armv7a/net-snmp-client_svn-r7.0.5_armv7a.ipk
arago-
tmp/deploy/ipk/armv7a/net-snmp-server_svn-r7.0.5_armv7a.ipk
arago-
tmp/deploy/ipk/armv7a/net-snmp-static_svn-r7.0.5_armv7a.ipk
arago-
tmp/deploy/ipk/armv7a/net-snmp-dev_svn-r7.0.5_armv7a.ipk
arago-
tmp/deploy/ipk/armv7a/net-snmp-mibs_svn-r7.0.5_armv7a.ipk
arago-
tmp/deploy/ipk/armv7a/net-snmp-dbg_svn-r7.0.5_armv7a.ipk

It's OK for 
me, I can launch an opkg install from my target board but I would like 
this package could be automatically included in my image.

Any ideas?

Thank you for you attention

Luca



Tiscali wiPhone, chiama gratis dal tuo cellulare nelle aree wi-fi!  Scopri come su http://wiphone.tiscali.it/?WT.mc_id=01fw




More information about the Openembedded-devel mailing list