# In Yocto mender-artifact has QA issues

**URL:** <https://hub.mender.io/t/in-yocto-mender-artifact-has-qa-issues/8073>\
**Category:** General Discussions\
**Tags:** yocto, mender-artifact, meta-mender\
**Created:** [October 29, 2025, 10:59am UTC](https://hub.mender.io/t/in-yocto-mender-artifact-has-qa-issues/8073 "2025-10-29T10:59:00Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![zsolt.tomis](https://avatars.discourse-cdn.com/v4/letter/z/a698b9/32.png) [@zsolt.tomis](https://hub.mender.io/u/zsolt.tomis)\
**Post date:** [October 29, 2025, 10:59am UTC](https://hub.mender.io/t/in-yocto-mender-artifact-has-qa-issues/8073/1 "2025-10-29T10:59:00Z")

</div>

Hi all,

Installing mender-artifact on the target image and into the SDK during Yocto build results in [QA issues](https://docs.yoctoproject.org/ref-manual/qa-checks.html).

mender-artifact installed to the target image by:

> IMAGE\_INSTALL:append = " mender-artifact"

Native mender-artifact installed to the SDK by:

> TOOLCHAIN\_HOST\_TASK:append = " nativesdk-mender-artifact"

QA issues are _`textrel`_ and _`buildpaths`._

> ERROR: mender-artifact-4.1.0-r0 do\_package\_qa: QA Issue: File /usr/bin/mender-artifact in package mender-artifact contains reference to TMPDIR [buildpaths]
> 
> ERROR: mender-artifact-4.1.0-r0 do\_package\_qa: QA Issue: mender-artifact: ELF binary /usr/bin/mender-artifact has relocations in .text [textrel]
> 
> ERROR: mender-artifact-4.1.0-r0 do\_package\_qa: QA Issue: File /usr/bin/.debug/mender-artifact in package mender-artifact-dbg contains reference to TMPDIR [buildpaths]
> 
> ERROR: mender-artifact-4.1.0-r0 do\_package\_qa: Fatal QA errors were found, failing task.
> 
> ERROR: Logfile of failure stored in: /yocto/tmp/work/corei7-64-poky-linux/mender-artifact/4.1.0/temp/log.do\_package\_qa.81296
> 
> ERROR: Task (/yocto/VMS.XI.Yocto/meta-mender/meta-mender-core/recipes-mender/mender-artifact/mender-artifact\_4.1.0.bb:do\_package\_qa) failed with exit code ‘1’
> 
> NOTE: Tasks Summary: Attempted 9016 tasks of which 8070 didn’t need to be rerun and 1 failed.

For those who are facing the same issue, it can be circumvent by skipping those specific QA steps by adding the recipes-mender/mender-artifact/mender-artifact\_%.bbappend file to your layer with the following content:

> INSANE\_SKIP:append = " buildpaths textrel"

These Yocto QA checks usually detect real or potential problems, it would be great to find and fix the original root-case in mender-artifact codebase. Thanks in advance.

Best regards,

Zsolt Tomis

---

<div class="post-metadata">

**Author:** ![TheYoctoJester](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/theyoctojester/32/1444_2.png) [@TheYoctoJester](https://hub.mender.io/u/TheYoctoJester)\
**Post date:** [October 30, 2025, 10:19am UTC](https://hub.mender.io/t/in-yocto-mender-artifact-has-qa-issues/8073/2 "2025-10-30T10:19:25Z")

</div>

Hi @zsolt.tomis,

Thanks for stepping up! Yeah I will definitely try to find the reason - my gut feeling is "something with golang"😬

But anyways putting `mender-artifact` onto a Yocto-built image is a rare requirement, so one day I’d love to hear about your use case.

Greetz,  
Josef
