View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0007325 | Yocto | SDK | public | 2026-07-22 13:42 | 2026-07-22 13:42 |
| Reporter | mueller | Assigned To | |||
| Priority | normal | Severity | major | Reproducibility | always |
| Status | new | Resolution | open | ||
| Product Version | yocto-5.0.15-fus1.0 | ||||
| Target Version | yocto-5.0-next | ||||
| Summary | 0007325: Update poky layer to 5.0.16 to fix builderror on Ubuntu Docker with tar version 1.34+dfsg-1build4 | ||||
| Description | Description: The tar version 1.34+dfsg-1build4 now uses openat2 for syscalls. This infects the pseudo package from poky layer. Version 5.0.16 has the fix for the pseudo layer, which avoids openat2 for syscalls. The earliest this fails is the packagecopy step from the linux-libc-headers recipe. Affected releases: - fsimx93-Y2025.08.1 - fsimx8mp-Y2025.12 Fix on Ubuntu Docker (Downgrade to tar version 1.34+dfsg-1build3): RUN apt -y --allow-downgrades install tar=1.34+dfsg-1build3 References: Yocto Fix - https://git.openembedded.org/openembedded-core/commit/?h=scarthgap&id=a872357343b29530d05823368cfc8863a798412d Ubuntu Fix - https://community.nxp.com/t5/S32G/Compilation-failure-occurs-with-BSP46-paired-with-linux-libc/m-p/2396719/highlight/true#M16650 Error Output - https://community.nxp.com/t5/S32G/Compilation-failure-occurs-with-BSP46-paired-with-linux-libc/m-p/2392809/highlight/true#M16572 | ||||
| Steps To Reproduce | Generate a new Ubuntu Docker through docker-fus (./setup-yocto --docker) and try to build the affected releases. | ||||
| Additional Information | Sample Error Output: ERROR: Error executing a python function in exec_func_python() autogenerated: The stack trace of python calls that resulted in this exception/failure was: File: 'exec_func_python() autogenerated', lineno: 2, function: <module> 0001: *** 0002:perform_packagecopy(d) 0003: File: '/home/ubuntu/develop_bsp46/sw-prj-SDV_HPC_Linux_s32g399a/sources/poky/meta/classes-global/package.bbclass', lineno: 363, function: perform_packagecopy 0359: rpath_replace (dvar, d) 0360:} 0361:perform_packagecopy[cleandirs] = "${PKGD}" 0362:perform_packagecopy[dirs] = "${PKGD}" *** 0363: 0364:python populate_packages () { 0365: oe.package.populate_packages(d) 0366:} 0367:populate_packages[dirs] = "${D}" File: '/usr/lib/python3.10/subprocess.py', lineno: 421, function: check_output 0417: else: 0418: empty = b'' 0419: kwargs['input'] = empty 0420: *** 0421: return run(*popenargs, stdout=PIPE, timeout=timeout, check=True, 0422: **kwargs).stdout 0423: 0424: 0425:class CompletedProcess(object): File: '/usr/lib/python3.10/subprocess.py', lineno: 526, function: run 0522: # We don't call process.wait() as .__exit__ does that for us. 0523: raise 0524: retcode = process.poll() 0525: if check and retcode: *** 0526: raise CalledProcessError(retcode, process.args, 0527: output=stdout, stderr=stderr) 0528: return CompletedProcess(process.args, retcode, stdout, stderr) 0529: 0530: Exception: subprocess.CalledProcessError: Command 'tar --exclude=./sysroot-only -cf - -C /home/ubuntu/develop_bsp46/sw-prj-SDV_HPC_Linux_s32g399a/build_s32g399avmcu2.1asc/tmp/work/cortexa53-crypto-fsl-linux/linux-libc-headers/6.6/image -p -S . | tar -xf - -C /home/ubuntu/develop_bsp46/sw-prj-SDV_HPC_Linux_s32g399a/build_s32g399avmcu2.1asc/tmp/work/cortexa53-crypto-fsl-linux/linux-libc-headers/6.6/package' returned non-zero exit status 2. | ||||