Re: [yocto] QA issue applibrary rdepends on app-dev [dev-deps], where is the do_package_qa?
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 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 wrote: >> >>> On 8/6/19, Alexander Kanavin 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 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 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 >>> >> >>> > >>> >> -- ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto
Re: [yocto] QA issue applibrary rdepends on app-dev [dev-deps], where is the do_package_qa?
On Thu, 8 Aug 2019 at 10:57, JH wrote: > Hi Alex, thanks for your response and kind help. I finally fixed it by > adding a do_package_qa() in my bb file. What will be the consequence > about it? > The consequences are that you have removed all of the standard quality checks on your recipe, so it may break later (at installation or at runtime) in various funny ways. Also, this would be rejected in pretty much any code review. Alex -- ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto
Re: [yocto] QA issue applibrary rdepends on app-dev [dev-deps], where is the do_package_qa?
Hi Alex, thanks for your response and kind help. I finally fixed it by adding a do_package_qa() in my bb file. What will be the consequence about it? Thank you. Kind regards, - jh On 8/6/19, Alexander Kanavin wrote: > 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. I found run.do_qa_configure.30897, run.do_qa_staging.3677, run > Alex > > On Tue, 6 Aug 2019 at 14:45, 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 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 wrote: >> > >> >> On 8/6/19, Alexander Kanavin 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 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 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 >> >> >> >> >> > >> >> >> > >> > -- ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto
Re: [yocto] QA issue applibrary rdepends on app-dev [dev-deps], where is the do_package_qa?
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 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 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 wrote: > > > >> On 8/6/19, Alexander Kanavin 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 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 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 > >> >> > >> > > >> > > > -- ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto
Re: [yocto] QA issue applibrary rdepends on app-dev [dev-deps], where is the do_package_qa?
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 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 wrote: > >> On 8/6/19, Alexander Kanavin 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 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 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 >> >> >> > >> > -- ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto
Re: [yocto] QA issue applibrary rdepends on app-dev [dev-deps], where is the do_package_qa?
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 wrote: > On 8/6/19, Alexander Kanavin 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 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 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 > >> > > > -- ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto
Re: [yocto] QA issue applibrary rdepends on app-dev [dev-deps], where is the do_package_qa?
On 8/6/19, Alexander Kanavin 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 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 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 >> > -- ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto
Re: [yocto] QA issue applibrary rdepends on app-dev [dev-deps], where is the do_package_qa?
You don't; package_qa is reporting real issues with your packaging, so you need to address them. Alex On Tue, 6 Aug 2019 at 10:40, JH 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 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 > -- ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto
Re: [yocto] QA issue applibrary rdepends on app-dev [dev-deps], where is the do_package_qa?
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 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
[yocto] QA issue applibrary rdepends on app-dev [dev-deps], where is the do_package_qa?
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