[OE-core] [PATCH v2 1/2] boost: ensure boost to remain an empty metapackage

Khem Raj raj.khem at gmail.com
Mon Jan 11 20:51:53 UTC 2016


> On Jan 5, 2016, at 1:32 AM, Lukas Bulwahn <lukas.bulwahn at oss.bmw-carit.de> wrote:
> 
> To ensure that boost remains an empty metapackage after version
> updates, we explicitly require boost files to be empty. If new
> libraries exist after a version update of the boost recipe,
> bitbake will emit a warning at the do_package task. For example,
> at the version update from 1.58.0 to 1.59.0, the new timer
> library is indicated with:
> 
> WARNING: QA Issue: boost: Files/directories were installed but not shipped in any package:
>  /usr/lib/libboost_timer.so.1.59.0
> Please set FILES such that these items are packaged. Alternatively if they are unneeded, avoid installing them or delete them within do_install.
> boost: 1 installed and not shipped files. [installed-vs-shipped]
> 
> Ross Burton suggested this improvement on the openembedded-core
> mailing list during review of the boost recipe version update [1].
> 
> [1] http://lists.openembedded.org/pipermail/openembedded-core/2015-December/114314.html
> 
> Signed-off-by: Lukas Bulwahn <lukas.bulwahn at oss.bmw-carit.de>
> ---
> meta/recipes-support/boost/boost.inc | 1 +
> 1 file changed, 1 insertion(+)
> 
> diff --git a/meta/recipes-support/boost/boost.inc b/meta/recipes-support/boost/boost.inc
> index 9d7fb89..7167ac3 100644
> --- a/meta/recipes-support/boost/boost.inc
> +++ b/meta/recipes-support/boost/boost.inc
> @@ -59,6 +59,7 @@ FILES_boost-test = "${libdir}/libboost_prg_exec_monitor*.so.* \
> 
> # -dev last to pick up the remaining stuff
> PACKAGES += "${PN}-dev ${PN}-staticdev"
> +FILES_${PN} = “"

alternatively use PACKAGES_remove = “${PN}"

> FILES_${PN}-dev = "${includedir} ${libdir}/libboost_*.so"
> FILES_${PN}-staticdev = "${libdir}/libboost_*.a"
> 
> --
> 1.9.1
> 
> --
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core at lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 204 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20160111/d31a715e/attachment-0002.sig>


More information about the Openembedded-core mailing list