I understand your doubt here. The header file installed is a wrapper around zeromq and thus DEPENDS/RDEPENDS on this library. zeromq is included in the image, for which the SDK is generated, hence I would expect this to be a valid use
case?
Anyhow, I realized that the recipe does not even work in a BB environment - the following is encountered for an image including the package:
ERROR: Nothing RPROVIDES 'cppzmq' (but /home/martin/work/z7000-distro-zcu102/poky/meta/recipes-core/images/core-image-minimal.bb RDEPENDS on or otherwise requires it)
NOTE: Runtime target 'cppzmq' is unbuildable, removing...
Missing or unbuildable dependency chain was: ['cppzmq']
ERROR: Required build target 'core-image-minimal' has no buildable providers.
Missing or unbuildable dependency chain was: ['core-image-minimal', 'cppzmq']
I wonder why this occurs when the recipe is indeed present:
martin@dell:~/work/z7000-distro-zcu102/build$ bitbake-layers show-recipes cppzmq
NOTE: Starting bitbake server...
WARNING: Host distribution "ubuntu-17.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 2773 entries from dependency cache.
Parsing recipes: 100% |######################################################################################################################################################################| Time: 0:00:01
Parsing of 1968 .bb files complete (1961 cached, 7 parsed). 2780 targets, 305 skipped, 11 masked, 0 errors.
Summary: There was 1 WARNING message shown.
=== Matching recipes: ===
cppzmq:
meta-oe 4.1.5+gitAUTOINC+68a7b09cfc
Br,
Martin
>
> Inspecting the manifest file confirms that the package is not installed - any idea why not? I also tried installing though sdk-install:
>
> martin@dell:~/gomspace_sdk$ devtool sdk-install -s cppzmq
> NOTE: Starting bitbake server...
> WARNING: Host distribution "ubuntu-17.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 2773 entries from dependency cache.
> Parsing recipes: 100% |######################################################################################################################################################################| Time: 0:00:02
> Parsing of 1968 .bb files complete (1961 cached, 7 parsed). 2780 targets, 305 skipped, 11 masked, 0 errors.
>
> Summary: There was 1 WARNING message shown.
> NOTE: Installing cppzmq...
> WARNING: Host distribution "ubuntu-17.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:03
> Loaded 2773 entries from dependency cache.
> Parsing recipes: 100% |######################################################################################################################################################################| Time: 0:00:01
> Parsing of 1968 .bb files complete (1961 cached, 7 parsed). 2780 targets, 305 skipped, 11 masked, 0 errors.
> NOTE: Resolving any missing task queue dependencies
> Initialising tasks: 100% |###################################################################################################################################################################| Time: 0:00:00
> Checking sstate mirror object availability: 100% |###########################################################################################################################################| Time: 0:00:00
> NOTE: Executing SetScene Tasks
> NOTE: Executing RunQueue Tasks
> NOTE: Tasks Summary: Attempted 487 tasks of which 477 didn't need to be rerun and all succeeded.
>
> Summary: There was 1 WARNING message shown.
> NOTE: Successfully installed cppzmq
>
> Which also does not pick up the package upon image building:
>
> martin@dell:~/gomspace_sdk$ IMAGE_INSTALL_append="cppzmq" devtool build-image
> NOTE: Starting bitbake server...
> WARNING: Host distribution "ubuntu-17.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 2773 entries from dependency cache.
> Parsing recipes: 100% |######################################################################################################################################################################| Time: 0:00:02
> Parsing of 1968 .bb files complete (1961 cached, 7 parsed). 2780 targets, 305 skipped, 11 masked, 0 errors.
>
> Summary: There was 1 WARNING message shown.
> WARNING: No packages to add, building image nanocom-sdr-image unmodified
>
> What am I missing here?
>
> Thanks,
> Martin
> --
> _______________________________________________
> yocto mailing list
> yocto@yoctoproject.org
>
https://lists.yoctoproject.org/listinfo/yocto