Bug 2455965

Summary: Yocto packaging fails with tar 1.35-8.fc44
Product: [Fedora] Fedora Reporter: Zoltan Boszormenyi <zboszor>
Component: tarAssignee: Pavel Raiskup <praiskup>
Status: NEW --- QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 44CC: kdudka, ljavorsk, ovasik, pcahyna, pkubat, praiskup
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Zoltan Boszormenyi 2026-04-07 15:21:21 UTC
Yocto (https://www.yoctoproject.org/) is a cross-compiler system which uses "pseudo" (https://git.yoctoproject.org/pseudo/) for running certain operations under fake root, including packaging, which fails.

Reproducible: Always

Steps to Reproduce:
1. Install Fedora 44 (beta at this time, run dnf upgrade to get all the updates)
2. Try to run a Yocto 6.0 build, which should work with GLIBC 2.43 on the host
3. Watch it fail
Actual Results:
tar 1.35-8.fc44 does not work under pseudo and causes packaging errors like:

tar: ./usr/include: Cannot mkdir: Function not implemented
tar: ./usr/include/asm-generic: Cannot mkdir: Function not implemented
tar: ./usr/include/asm-generic/auxvec.h: Cannot open: Function not implemented
tar: ./usr/include/asm-generic/bitsperlong.h: Cannot open: Function not implemented
tar: ./usr/include/asm-generic/bpf_perf_event.h: Cannot open: Function not implemented
tar: ./usr/include/asm-generic/errno-base.h: Cannot open: Function not implemented
tar: ./usr/include/asm-generic/errno.h: Cannot open: Function not implemented
tar: ./usr/include/asm-generic/fcntl.h: Cannot open: Function not implemented
tar: ./usr/include/asm-generic/hugetlb_encode.h: Cannot open: Function not implemented

Expected Results:
Packaging in Yocto should work.

Additional Information:
Downgrading to the previous build from koji fixes the problems:
tar-1.35-7.fc44.x86_64
https://koji.fedoraproject.org/koji/buildinfo?buildID=2917292

Comment 1 Pavel Cahyna 2026-04-07 15:49:15 UTC
I suppose it is the openat2 syscall (which is now being used by tar) that fails because it is not implemented by pseudo? It needs to be implemented then.

Comment 2 Zoltan Boszormenyi 2026-04-07 16:03:31 UTC
That's the thing, it does support openat2, and recently
a commit was added for more complete GLIBC 2.43 support.
Maybe it's still not complete.

Until then, I can stick to tar 1.35-7.fc44.

Comment 3 Pavel Cahyna 2026-04-08 13:44:04 UTC
I see in https://git.yoctoproject.org/pseudo/log/ that some related changes were done after the last release. Have you tried with the latest Git checkout of pseudo?

Comment 4 Zoltan Boszormenyi 2026-04-08 14:17:20 UTC
Yes. For what it's worth, commit 56e1f8df4761da60e41812fc32b1de797d1765e9
is used in Yocto current master.

There's a patch to backport the pseudo recipe changes to use this commit
into Yocto 5.3 Whinlatter.

Currently there are 3 more commits over that one, but they don't help in this matter.