All of lore.kernel.org
 help / color / mirror / Atom feed
* net-snmp trouble
@ 2010-09-15 12:51 l.bolognini
  2010-09-15 13:19 ` Hauser, Wolfgang (external)
  0 siblings, 1 reply; 3+ messages in thread
From: l.bolognini @ 2010-09-15 12:51 UTC (permalink / raw)
  To: Open Embedded Mailing List

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



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

* Re: net-snmp trouble
  2010-09-15 12:51 net-snmp trouble l.bolognini
@ 2010-09-15 13:19 ` Hauser, Wolfgang (external)
  2010-09-15 18:11   ` Khem Raj
  0 siblings, 1 reply; 3+ messages in thread
From: Hauser, Wolfgang (external) @ 2010-09-15 13:19 UTC (permalink / raw)
  To: openembedded-devel

Hello,

>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



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

* Re: net-snmp trouble
  2010-09-15 13:19 ` Hauser, Wolfgang (external)
@ 2010-09-15 18:11   ` Khem Raj
  0 siblings, 0 replies; 3+ messages in thread
From: Khem Raj @ 2010-09-15 18:11 UTC (permalink / raw)
  To: openembedded-devel

On Wed, Sep 15, 2010 at 6:19 AM, Hauser, Wolfgang (external)
<Wolfgang.Hauser.external@eads.com> wrote:
> Hello,
>
>>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.


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.

>
> Regards
>
> Wolfgang
>
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
>



-- 
-Khem



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

end of thread, other threads:[~2010-09-15 18:13 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-09-15 12:51 net-snmp trouble l.bolognini
2010-09-15 13:19 ` Hauser, Wolfgang (external)
2010-09-15 18:11   ` Khem Raj

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.