[yocto] DEPENDS problem with core-image-full-cmdline

Jonathan Haws Jonathan.Haws at sdl.usu.edu
Thu May 26 09:36:22 PDT 2016


>     However, when building core-image-full-cmdline, I get the following
>     errors.
>
>
> The error is in the batctl recipe, does that also have a DEPENDS=libnl?
>

Oh geez...I feel sheepish!

Attached is my updated batctl recipe - still giving the same errors.

ERROR: oe_runmake failed
ERROR: Function failed: do_compile (log file is located at 
/opt/yocto/poky/build-vbox/tmp/work/corei7-64-sigma-linux/batctl/2016.1_git7a3d563466f368b9b50191f441b775bae46a77ca-r0/temp/log.do_compile.68518)
ERROR: Logfile of failure stored in: 
/opt/yocto/poky/build-vbox/tmp/work/corei7-64-sigma-linux/batctl/2016.1_git7a3d563466f368b9b50191f441b775bae46a77ca-r0/temp/log.do_compile.68518
Log data follows:
| DEBUG: Executing shell function do_compile
| NOTE: make -j 32 -e MAKEFLAGS=
| Makefile:56: *** No libnl-3.0 development libraries found!.  Stop.
| ERROR: oe_runmake failed
| ERROR: Function failed: do_compile (log file is located at 
/opt/yocto/poky/build-vbox/tmp/work/corei7-64-sigma-linux/batctl/2016.1_git7a3d563466f368b9b50191f441b775bae46a77ca-r0/temp/log.do_compile.68518)
ERROR: Task 581 
(/opt/yocto/poky/meta-sdl/meta-sigma/recipes-batman/batman/batctl_2016.1.bb, 
do_compile) failed with exit code '1'
NOTE: Tasks Summary: Attempted 3480 tasks of which 3473 didn't need to 
be rerun and 1 failed.


I did find that if I do:

DEPENDS += " batman-adv libnl"

instead of

DEPENDS_${PN} += " batman-adv libnl"

the problem goes away.  Can someone explain the difference?  As I 
understood it, _${PN} basically created a DEPENDS variable for this 
specific package and avoided touching others.  Is that not the case? 
Can someone point me to the right section in the docs that would 
enlighten me?

Thanks!

As an aside, with this DEPENDS fix I have a set of fully functional 
recipes for batman-adv, batctl, and alfred if anyone is interested.  I 
wasn't able to find any online that were up to date with the latest 
Yocto releases and latest batman-adv.


-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: batctl_2016.1.bb
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20160526/a468679e/attachment.ksh>


More information about the yocto mailing list