net-snmp trouble
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@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@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
Hello,
Quoted 10 lines
IMAGE_INSTALL += "\ openssh \ nano \ file \ strace \ apache2 \ modphp \ parted \ net-snmp \ "
simply use packages
net-snmp-client
net-snmp-mib
for a client installation
net-snmp-server
net-snmp-mib
for a server installation
The net-snmp recipe do not provide a net-snmp package, it provides the seen subpackages which may be installed.
Regards
Wolfgang
Quoted 20 lines · Wolfgang (external)
Hello,
Quoted 10 lines
IMAGE_INSTALL+= "\
openssh \
nano \
file \
strace \
apache2 \
modphp \
parted \
net-snmp \
"simply use packages
net-snmp-client
net-snmp-mibfor a client installation
Quoted 7 lines
net-snmp-server
net-snmp-mibfor a server installation
The net-snmp recipe do not provide a net-snmp package, it provides the seen subpackages which may be installed.
its the difference between recipe name and package names. Recipes could generate packages with same or different names and it could generate
multiple packages from one recipe.
Quoted 10 lines
Regards
Wolfgang
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
Signature · 1 line
-Khem