[yocto] How do you build 2 versions of the same recipe and a specific version from bitbake cmd line
    Jimi Damon 
    jdamon at gmail.com
       
    Fri Jul 14 10:17:38 PDT 2017
    
    
  
Hi,
Do to a fun "feature" of zeromq, the newest libraries are not backward 
compatible and hence I need to install a zeromq-4.1.5 and zeromq-3.2.2 
libraries onto my target to assist with one application using the old 
version and a newer application using the newer one.
How can I do this from the local.conf file AND how can I specify a 
single recipe version to build on the command line ?
I've tried this in my local.conf
CORE_IMAGE_EXTRA_INSTALL += "zeromq_4.1.5 zeromq_3.2.2 "
but I get errors saying :
> WARNING: Host distribution "Ubuntu-16.10" has not been validated with 
> this version of the build system; you may possibly experience 
> unexpected failures. It is recommended that you use a tested distribution.
> Loading cache: 100% 
> |#################################################################################################################| 
> Time: 0:00:00
> Loaded 3485 entries from dependency cache.
> NOTE: Resolving any missing task queue dependencies
> ERROR: Nothing RPROVIDES 'zeromq_3.2.2' (but 
> /media/tools/newboot2qt_builds/sources/meta-boot2qt/recipes-qt/images/b2qt-embedded-qt5-image.bb 
> RDEPENDS on or otherwise requires it)
> NOTE: Runtime target 'zeromq_3.2.2' is unbuildable, removing...
> Missing or unbuildable dependency chain was: ['zeromq_3.2.2']
> ERROR: Required build target 'b2qt-embedded-qt5-image' has no 
> buildable providers.
> Missing or unbuildable dependency chain was: 
> ['b2qt-embedded-qt5-image', 'zeromq_3.2.2']
>
> Summary: There was 1 WARNING message shown.
> Summary: There were 2 ERROR messages shown, returning a non-zero exit 
> code. 
In addition , how can I specify a specific version of a package from the 
command line with bitbake ?
Here are my layers
% bitbake-layers show-recipes | grep -A 2 zeromq
> zeromq:
>   meta-oe              4.1.5
>   meta-oe              3.2.2
Now this fails
bitbake zeromq-4.1.5
> WARNING: Host distribution "Ubuntu-16.10" has not been validated with 
> this version of the build system; you may possibly experience 
> unexpected failures. It is recommended that you use a tested distribution.
> Loading cache: 100% 
> |#################################################################################################################| 
> Time: 0:00:00
> Loaded 3485 entries from dependency cache.
> ERROR: Nothing PROVIDES 'zeromq-4.1.5'
>
> Summary: There was 1 WARNING message shown.
> Summary: There was 1 ERROR message shown, returning a non-zero exit code.
or
bitbake zeromq_4.1.5
> WARNING: Host distribution "Ubuntu-16.10" has not been validated with 
> this version of the build system; you may possibly experience 
> unexpected failures. It is recommended that you use a tested distribution.
> Loading cache: 100% 
> |#################################################################################################################| 
> Time: 0:00:00
> Loaded 3485 entries from dependency cache.
> ERROR: Nothing PROVIDES 'zeromq_4.1.5'
>
> Summary: There was 1 WARNING message shown.
> Summary: There was 1 ERROR message shown, returning a non-zero exit code.
Thanks,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20170714/1ad6bfbe/attachment.html>
    
    
More information about the yocto
mailing list