Troubleshooting - Troubleshooting - 2026.1 English - UG1144

PetaLinux Tools Documentation: Reference Guide (UG1144)

Document ID
UG1144
Release Date
2026-06-23
Version
2026.1 English
This section describes some common issues/warnings you can experience while building a PetaLinux image.

Warnings/Errors

Table 1. Warnings/Errors Description
Warning or Error Message Description Solution
Skipping recipe linux-xlnx as it does not produce a package with the same name It appears if the provided recipe name does not match with the packages provided by it, for example, if linux-xlnx provides kernel-image, kernel-base, kernel-dev, and kernel-modules packages and these does not match with the name linux-xlnx which was in workspace directory. You can ignore this warning message.

WARNING:

mc:cortexa53-0-zynqmp-fsbl-baremetal:uartps-2026.1+gitAUTOINC+f9813dcf08-r0do_package_qa: QA Issue: File /usr/lib/libuartps.a in package uartps-staticdev contains reference to TMPDIR [buildpaths]

TMPDIR buildpath warnings are observed on several packages while building sdt bsp. These warnings can be ignored safely as there is no functional issue.
<package-name> do_package: Could not copy license file <plnx-proj-root>/components/yocto/layers/core/meta/files/common-licenses/ to /opt/pkg/petalinux/build/tmp/work/<machine-name>-xilinx-linux/image/usr/share/licenses/<package-name>/COPYING.MIT
[Errno 1] Operation not permitted:
When the tool is installed, all license files in <plnx-proj-root>/components/yocto//layers/core/meta/files/common-licenses/ have 644 permissions. Therefore, they are readable by others but not writable.
  • Method 1: Manually modify permissions of the license files coming from the layers chmod 666 <plnx-proj-root>/components/yocto/layers/core/meta/files/common-licenses/*

    When creating the hard link, you have write permissions to the source of the link.

  • Method 2: Disable hard linking protection on the kernelsysctl fs.protected_hardlinks=0.

    When creating the hard link, the kernel does not allow the source to be writable by the current user.

  • Method 3: Set the following Yocto variables in <plnx-proj-root>/meta-user/conf/petalinuxbsp.conf LICENSE_CREATE_PACKAGE_forcevariable = "0" SIGGEN_LOCKEDSIGS_TASKSIG_CHECK = "none"

    The build system does not try to create the link, and the license is not on the final image.

    Note: It is recommended to use the troubleshooting solutions specified in method 1 and method 3 because method 2 requires all the users to have sudo access.