All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ola x Nilsson <ola.x.nilsson@axis.com>
To: JH <jupiter.hce@gmail.com>
Cc: Yocto discussion list <yocto@yoctoproject.org>
Subject: Re: QA issue applibrary rdepends on app-dev [dev-deps], where is the do_package_qa?
Date: Mon, 26 Aug 2019 13:58:44 +0200	[thread overview]
Message-ID: <jwqzhjwi1e3.fsf@axis.com> (raw)
In-Reply-To: <CAA=hcWTZ4Ob=5+OZk9MowBw-Rc85Z9MXGKq4Hqs+=L=_c_KAdQ@mail.gmail.com>


You now have nonstandard library names, which will confuse the
package-split and automatic library dependency checker.  As a result, a
dependency is added from the applibrary on app-dev.  But depending on
-dev packages is a no-no, hence the QA error.

I have no idea whether the renameing of the library is a correct thing -
it looks weird to me - but if it is, you need to fix the packaging by
maniplating the FILES_* variables in your recipe.  You can inspect the
results of package separation in the packages-split folder for your
recipe.

/Ola


On Tue, Aug 06 2019, JH 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@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@gmail.com> wrote:
>>
>>> On 8/6/19, Alexander Kanavin <alex.kanavin@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@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@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@yoctoproject.org
>>> >> https://lists.yoctoproject.org/listinfo/yocto
>>> >>
>>> >
>>>
>>


      parent reply	other threads:[~2019-08-26 12:04 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-08-04  9:04 QA issue applibrary rdepends on app-dev [dev-deps], where is the do_package_qa? JH
2019-08-06  8:39 ` JH
2019-08-06 10:29   ` Alexander Kanavin
2019-08-06 11:09     ` JH
2019-08-06 11:32       ` Alexander Kanavin
2019-08-06 12:45         ` JH
2019-08-06 13:25           ` Alexander Kanavin
2019-08-08  8:57             ` JH
2019-08-08  9:45               ` Alexander Kanavin
2019-08-26 11:58           ` Ola x Nilsson [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=jwqzhjwi1e3.fsf@axis.com \
    --to=ola.x.nilsson@axis.com \
    --cc=jupiter.hce@gmail.com \
    --cc=yocto@yoctoproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.