[yocto] QA issue applibrary rdepends on app-dev [dev-deps], where is the do_package_qa?

Alexander Kanavin alex.kanavin at gmail.com
Tue Aug 6 06:25:02 PDT 2019


The right way out of this is to fix the issue: your main package depends on
the -dev package, and so will always pull it into the target image. I am
not telling you how to disable the check, as you're merely hiding a bug
that way :)

If you provide ls -lR of ${D}, we might be able to understand what happens.

Alex

On Tue, 6 Aug 2019 at 14:45, JH <jupiter.hce at gmail.com> wrote:

> Thanks Alex, here is the error in my application build, it used working
> well:
>
> ERROR: app_library-1.0.0-0 do_package_qa: QA Issue: app_library
> rdepends on app_library-dev [dev-deps]
> ERROR: app_library-1.0.0-0 do_package_qa: QA run found fatal errors.
> Please consider fixing them.
> ERROR: app_library-1.0.0-0 do_package_qa: Function failed: do_package_qa
> ERROR: Logfile of failure stored in:
>
> /home/build/tmp-glibc/work/cortexa7t2hf-neon-oe-linux-gnueabi/app_library/1.0.0-0/temp/log.do_package_qa.6626
> ERROR: Task
> (/home/build/oe-core/../meta-app/recipes-core/app_library/app_library_git.bb:
> do_package_qa)
> failed with exit code '1'
>
> There is no do_package_qa in my app_library_git.bb, where is that
> do_package_qa from? how can I disable it? It sounds every easy in the
> document to disable it, but it did not give any clues -:(.
>
> Thank you.
>
> Kind regards,
>
> - jh
> On 8/6/19, Alexander Kanavin <alex.kanavin at gmail.com> wrote:
> > It may help if you copy-paste the exact error you are getting, and the
> > content of the directory where it happens.
> >
> > Alex
> >
> > On Tue, 6 Aug 2019 at 13:09, JH <jupiter.hce at gmail.com> wrote:
> >
> >> On 8/6/19, Alexander Kanavin <alex.kanavin at gmail.com> wrote:
> >> > You don't; package_qa is reporting real issues with your packaging, so
> >> you
> >> > need to address them.
> >>
> >> Well, my first issue is I need to build it, the document said it can
> >> be disabled, but did not say how, appreciate anyone helps how to
> >> disable it.
> >>
> >> Thank you
> >>
> >>
> >> > Alex
> >> >
> >> > On Tue, 6 Aug 2019 at 10:40, JH <jupiter.hce at gmail.com> wrote:
> >> >
> >> >> Hi,
> >> >>
> >> >> According to the latest document:
> >> >>
> >> >> "Package QA checks are now performed during a new do_package_qa task
> >> >> rather than being part of the do_package task. This allows more
> >> >> parallel execution. This change is unlikely to be an issue except for
> >> >> highly customized recipes that disable packaging tasks themselves by
> >> >> marking them as noexec. For those packages, you will need to disable
> >> >> the do_package_qa task as well."
> >> >>
> >> >> How can I disable the do_package_qa task?
> >> >>
> >> >> Thank you.
> >> >>
> >> >> Kind regards,
> >> >>
> >> >> - jh
> >> >>
> >> >> On 8/4/19, JH <jupiter.hce at gmail.com> wrote:
> >> >> > Hi,
> >> >> >
> >> >> > I was running my Yocto build fine until I had a minor change to
> move
> >> >> > libapplibrary.so to libapplibrry.so.${PN} and made libapplibrary.so
> >> >> > to
> >> >> > a symbolic link of libapplibrry.so.${PN}. Now it got an error of QA
> >> >> > issue applibrary rdepends on app-dev [dev-deps], QA run found fatal
> >> >> > errors, please consider fixing them.
> >> >> >
> >> >> > Even I reverse the changes back the, it still complained the same
> >> >> > error.
> >> >> >
> >> >> > I don't have do_package_qa in my bb file, where is it from? What is
> >> >> > that error about? How to fix it?
> >> >> >
> >> >> > Thank you.
> >> >> >
> >> >> > Kind regards,
> >> >> >
> >> >> > - jh
> >> >> >
> >> >> --
> >> >> _______________________________________________
> >> >> yocto mailing list
> >> >> yocto at yoctoproject.org
> >> >> https://lists.yoctoproject.org/listinfo/yocto
> >> >>
> >> >
> >>
> >
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20190806/8c87191f/attachment-0001.html>


More information about the yocto mailing list