Control: tag - + confirmed upstream Control: retitle -1 qemu-user: faccessat2 is not implemented
18.10.2022 12:02, 张 宁 wrote:
Package: qemu-user-static Version: 1:7.1+dfsg-2 Hi, Debian Qemu team I find wrong behave for bash in qemu-loongarch64-static.
Well. faccessat2 is not implemented by qemu-user. This is a lack of feature. For all other architectures this is not an issue since the syscall is new and even the programs actually using it usually have a workaround using faccessat() or something else. But for loongarch64 it is an issue, because this whole architecture is new, and it uses faccessat2 *only*, without any fallback to older implementations, - since there was no older implementations to begin with. ..
https://patchew.org/search?q=project%3AQEMU+faccessat2 there are 3 patches, any of these can fix this issue.
There are 3 patches, neither one of them is complete. But at any rate, I will not "fix" (actually implement) this in Debian before it is fixed/implemented upstream properly. This is definitely a qemu upstream issue, not a debian issue. From this point of view, I don't quite like bugreports like this, debian qemu bts is full of bugreports already, it is very unlikely these will ever be cleaned out: I don't have a time to verify if they're fixed or not on every qemu release, - I definitely have better use for my time. This bugreport will most likely stay like many many other bugreports already filed against the qemu packages in debian. Thanks, /mjt