Bug 16462

Summary: pseudo: build failure with Ubuntu 22.04: conflicting types for ‘real_open_tree_attr’
Product: [Yocto Project Subprojects] Pseudo Reporter: Mathieu Dubois-Briand <mathieu.dubois-briand>
Component: pseudoAssignee: Mark Hatle <mark.hatle>
Status: NEW --- QA Contact:
Severity: normal    
Priority: Undecided CC: reatmon, yp.pseudo.watcher, yp.watcher
Version: unspecified   
Target Milestone: 5.0.20   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)

Description Mathieu Dubois-Briand 2026-10-20 07:50:09 UTC
Here is a new error we can see with last version of pseudo:

> ERROR: pseudo-native-1.99.0+git-r0 do_compile: Execution of '/srv/pokybuild/yocto-worker/multilib/build/build/tmp/work/x86_64-linux/pseudo-native/1.99.0+git/temp/run.do_compile.3045400' failed with exit code 1
> ...
> | pseudo_wrapfuncs.c:12012:14: error: conflicting types for ‘real_open_tree_attr’; have ‘int (*)(int,  const char *, unsigned int,  struct mount_attr *, size_t)’ {aka ‘int (*)(int,  const char *, unsigned int,  struct mount_attr *, long unsigned int)’}
> | 12012 | static int (*real_open_tree_attr)(int dirfd, const char *path, unsigned int flags, struct mount_attr *attr, size_t size) = NULL;
> |       |              ^~~~~~~~~~~~~~~~~~~
> | In file included from pseudo_wrappers.c:45:
> | pseudo_wrapfuncs.h:535:14: note: previous declaration of ‘real_open_tree_attr’ with type ‘int (*)(int,  const char *, unsigned int,  struct mount_attr *, size_t)’ {aka ‘int (*)(int,  const char *, unsigned int,  struct mount_attr *, long unsigned int)’}

This has already been discussed on the mailing list. Fix is identified.
https://lore.kernel.org/openembedded-core/7ffa26a2-a53d-4680-9e0d-1f465b913557@ti.com/
Comment 1 Mathieu Dubois-Briand 2026-10-20 07:50:50 UTC
multilib ubuntu2204-vk-1 mathieu/master-next completed at 2026-10-20 06:48:58+00:00
https://autobuilder.yoctoproject.org/valkyrie/#/builders/92/builds/4831/steps/14/logs/stdio

qemux86-64-musl-ptest ubuntu2204-vk-1 mathieu/master-next completed at 2026-10-20 05:32:37+00:00
https://valkyrie.yocto.io/pub/non-release/20261020-30/testresults/qemux86-64-musl-ptest/
https://autobuilder.yoctoproject.org/valkyrie/#/builders/110/builds/1396/steps/14/logs/stdio
Comment 2 Mathieu Dubois-Briand 2026-10-20 15:09:01 UTC
Fix merged: https://git.yoctoproject.org/pseudo/commit/

We can probably close this one during the next bug triage session.
Comment 3 Mathieu Dubois-Briand 2026-10-20 15:09:37 UTC
Sorry, correct URL: https://git.yoctoproject.org/pseudo/commit/?id=3eeecd50244b6f2267a993992010849d7a0e9847