[yocto] WARNING: QA Issue

Bruce Ashfield bruce.ashfield at gmail.com
Sun Feb 22 11:32:36 PST 2015


On Sun, Feb 22, 2015 at 10:32 AM, Kai Ulrich <kaiu at gmx.de> wrote:
> Hi,
>
>
> During a "bitbake  core-image-sato-sdk"
> WARNING: QA Issue: smstools3 requires /bin/bash, but no providers in its
> RDEPENDS [file-rdeps]
>
> You can find the sources
> https://github.com/kaiulrich/meta-smstools3
>
> Any thing I can do against this?

Just add bash to the RDEPENDS of the package and send patch .. and if
you for some reason don't want bash on the target, you'll need to look at
the sources, determine if it really needs bash. If it doesn't changing
an explicit
#!/bin/bash to #!/bin/sh fixes things. If there are bashisms, you
either live with
it, or patch the scripts to not be bash specific.

You could of course inhibit the warning .. but that's just hiding from the issue
and you will have runtime issues if those scripts are ever run.

Cheers,

Bruce

>
>
> Friendly regards
> Kai
>
> log.do_package_qa:
> DEBUG: Executing python function sstate_task_prefunc
> DEBUG: Python function sstate_task_prefunc finished
> DEBUG: Executing python function do_package_qa
> NOTE: DO PACKAGE QA
> DEBUG: Executing python function read_subpackage_metadata
> DEBUG: Python function read_subpackage_metadata finished
> NOTE: Checking Package: smstools3-dbg
> NOTE: i586-poky-linux-objdump -p
> /home/kulrich/Develpment/yocto/dizzy/poky/build_test/tmp/work/i586-poky-linux/smstools3/3.1.15-r0/packages-split/smstools3-dbg/usr/bin/.debug/smsd
> NOTE: Checking Package: smstools3-staticdev
> NOTE: Checking Package: smstools3-dev
> NOTE: Checking Package: smstools3-doc
> NOTE: Checking Package: smstools3-locale
> NOTE: Checking Package: smstools3
> NOTE: i586-poky-linux-objdump -p
> /home/kulrich/Develpment/yocto/dizzy/poky/build_test/tmp/work/i586-poky-linux/smstools3/3.1.15-r0/packages-split/smstools3/usr/bin/smsd
> WARNING: QA Issue: smstools3 requires /bin/bash, but no providers in its
> RDEPENDS [file-rdeps]
> NOTE: DONE with PACKAGE QA
> DEBUG: Python function do_package_qa finished
> DEBUG: Executing python function sstate_task_postfunc
> NOTE: Using umask 002 (not 22) for sstate packaging
> DEBUG: Executing python function sstate_hardcode_path
> NOTE: Removing hardcoded paths from sstate package: 'find
> /home/kulrich/Develpment/yocto/dizzy/poky/build_test/tmp/work/i586-poky-linux/smstools3/3.1.15-r0/sstate-build-package_qa/
> \( -name "*.la" -o -name "*-config" -o -name "*_config" \) -type f | xargs
> grep -l -e
> '/home/kulrich/Develpment/yocto/dizzy/poky/build_test/tmp/sysroots/qemux86'
> | tee
> /home/kulrich/Develpment/yocto/dizzy/poky/build_test/tmp/work/i586-poky-linux/smstools3/3.1.15-r0/sstate-build-package_qa/fixmepath
> | xargs --no-run-if-empty sed -i -e
> 's:/home/kulrich/Develpment/yocto/dizzy/poky/build_test/tmp/sysroots/qemux86:FIXMESTAGINGDIRHOST:g''
> DEBUG: Python function sstate_hardcode_path finished
> DEBUG: Executing shell function sstate_create_package
> DEBUG: Shell function sstate_create_package finished
> DEBUG: Python function sstate_task_postfunc finished
>
>
> --
> _______________________________________________
> yocto mailing list
> yocto at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto
>



-- 
"Thou shalt not follow the NULL pointer, for chaos and madness await
thee at its end"



More information about the yocto mailing list