diff mbox series

[meta-arago,master,1/1] nnstreamer: Skip buildpaths QA check

Message ID 20260309053346.3827889-2-p-deshmukh@ti.com
State Superseded
Delegated to: Ryan Eatmon
Headers show
Series nnstreamer: Fix buildpaths QA failure | expand

Commit Message

Pratham Deshmukh March 9, 2026, 5:33 a.m. UTC
The nnstreamer-src package contains debug source files that reference
TMPDIR paths, causing QA buildpaths errors during do_package_qa.
Skip the buildpaths check for the source package to resolve the
build failure.

Signed-off-by: Pratham Deshmukh <p-deshmukh@ti.com>
---
 .../recipes-multimedia/nnstreamer/nnstreamer_2.6.0.bb           | 2 ++
 1 file changed, 2 insertions(+)

Comments

Chirag Shilwant March 9, 2026, 6:02 a.m. UTC | #1
Hi Pratham,

On 09/03/26 11:03, Pratham Deshmukh wrote:
> The nnstreamer-src package contains debug source files that reference
> TMPDIR paths, causing QA buildpaths errors during do_package_qa.
> Skip the buildpaths check for the source package to resolve the
> build failure.


Fixes: 319271fe5fc8bc3016b1eb765784076af666b61b ("nnstreamer: upgrade 
2.4.4 -> 2.6.0")


at this place, add the above in your commit message


--
Chirag


>
> Signed-off-by: Pratham Deshmukh <p-deshmukh@ti.com>
> ---
>   .../recipes-multimedia/nnstreamer/nnstreamer_2.6.0.bb           | 2 ++
>   1 file changed, 2 insertions(+)
>
> diff --git a/meta-arago-extras/recipes-multimedia/nnstreamer/nnstreamer_2.6.0.bb b/meta-arago-extras/recipes-multimedia/nnstreamer/nnstreamer_2.6.0.bb
> index c62589ac..74d72d9e 100644
> --- a/meta-arago-extras/recipes-multimedia/nnstreamer/nnstreamer_2.6.0.bb
> +++ b/meta-arago-extras/recipes-multimedia/nnstreamer/nnstreamer_2.6.0.bb
> @@ -64,6 +64,8 @@ FILES:${PN}-tests += "\
>   "
>   INSANE_SKIP:${PN}-tests += "buildpaths"
>   
> +INSANE_SKIP:${PN}-src += "buildpaths"
> +
>   FILES:${PN}-dev = "\
>   	${includedir}/nnstreamer/* \
>   	${libdir}/pkgconfig/*.pc \
Andrew Davis March 9, 2026, 1:02 p.m. UTC | #2
On 3/9/26 12:33 AM, Pratham Deshmukh wrote:
> The nnstreamer-src package contains debug source files that reference
> TMPDIR paths, causing QA buildpaths errors during do_package_qa.

Any read on "why" this is happening? How do the build paths end up in
the source files packaged in the -src package?

Andrew

> Skip the buildpaths check for the source package to resolve the
> build failure.
> 
> Signed-off-by: Pratham Deshmukh <p-deshmukh@ti.com>
> ---
>   .../recipes-multimedia/nnstreamer/nnstreamer_2.6.0.bb           | 2 ++
>   1 file changed, 2 insertions(+)
> 
> diff --git a/meta-arago-extras/recipes-multimedia/nnstreamer/nnstreamer_2.6.0.bb b/meta-arago-extras/recipes-multimedia/nnstreamer/nnstreamer_2.6.0.bb
> index c62589ac..74d72d9e 100644
> --- a/meta-arago-extras/recipes-multimedia/nnstreamer/nnstreamer_2.6.0.bb
> +++ b/meta-arago-extras/recipes-multimedia/nnstreamer/nnstreamer_2.6.0.bb
> @@ -64,6 +64,8 @@ FILES:${PN}-tests += "\
>   "
>   INSANE_SKIP:${PN}-tests += "buildpaths"
>   
> +INSANE_SKIP:${PN}-src += "buildpaths"
> +
>   FILES:${PN}-dev = "\
>   	${includedir}/nnstreamer/* \
>   	${libdir}/pkgconfig/*.pc \
Denys Dmytriyenko March 9, 2026, 7:37 p.m. UTC | #3
On Mon, Mar 09, 2026 at 08:02:03AM -0500, Andrew Davis via lists.yoctoproject.org wrote:
> On 3/9/26 12:33 AM, Pratham Deshmukh wrote:
> >The nnstreamer-src package contains debug source files that reference
> >TMPDIR paths, causing QA buildpaths errors during do_package_qa.
> 
> Any read on "why" this is happening? How do the build paths end up in
> the source files packaged in the -src package?

Probably a generated file, such as version.h, config.h or similar.
If that's the case, "sed" may help here.


> >Skip the buildpaths check for the source package to resolve the
> >build failure.
> >
> >Signed-off-by: Pratham Deshmukh <p-deshmukh@ti.com>
> >---
> >  .../recipes-multimedia/nnstreamer/nnstreamer_2.6.0.bb           | 2 ++
> >  1 file changed, 2 insertions(+)
> >
> >diff --git a/meta-arago-extras/recipes-multimedia/nnstreamer/nnstreamer_2.6.0.bb b/meta-arago-extras/recipes-multimedia/nnstreamer/nnstreamer_2.6.0.bb
> >index c62589ac..74d72d9e 100644
> >--- a/meta-arago-extras/recipes-multimedia/nnstreamer/nnstreamer_2.6.0.bb
> >+++ b/meta-arago-extras/recipes-multimedia/nnstreamer/nnstreamer_2.6.0.bb
> >@@ -64,6 +64,8 @@ FILES:${PN}-tests += "\
> >  "
> >  INSANE_SKIP:${PN}-tests += "buildpaths"
> >+INSANE_SKIP:${PN}-src += "buildpaths"
> >+
> >  FILES:${PN}-dev = "\
> >  	${includedir}/nnstreamer/* \
> >  	${libdir}/pkgconfig/*.pc \
diff mbox series

Patch

diff --git a/meta-arago-extras/recipes-multimedia/nnstreamer/nnstreamer_2.6.0.bb b/meta-arago-extras/recipes-multimedia/nnstreamer/nnstreamer_2.6.0.bb
index c62589ac..74d72d9e 100644
--- a/meta-arago-extras/recipes-multimedia/nnstreamer/nnstreamer_2.6.0.bb
+++ b/meta-arago-extras/recipes-multimedia/nnstreamer/nnstreamer_2.6.0.bb
@@ -64,6 +64,8 @@  FILES:${PN}-tests += "\
 "
 INSANE_SKIP:${PN}-tests += "buildpaths"
 
+INSANE_SKIP:${PN}-src += "buildpaths"
+
 FILES:${PN}-dev = "\
 	${includedir}/nnstreamer/* \
 	${libdir}/pkgconfig/*.pc \