On Tue Jun 30, 2026 at 1:50 PM CEST, daniel.turull wrote:
> From: Daniel Turull <[email protected]>
>
> systemd increases the dependency on the host kernel,
> which breaks builds with rhel 8
>
> This series add native patches in the systemd tools
> to make it work.
>
> v2:
> - re-add tag verification in SRC_URI
> v3:
> - rebase on top of Ross Burton meson patches. if not needed keep v2
> - re-tested
> See
> https://patchwork.yoctoproject.org/project/oe-core/patch/[email protected]/
>
> Tested on rhel8.10 with testsuite systemd on qemux86-64
Hi Daniel,
Thanks for the new version.
I just note we have some intermittent failure. So far I only saw that on
debian11 workers, so maybe it is related to the host distro.
ERROR: systemd-hwdb-native-261-r0 do_compile: Execution of
'/srv/pokybuild/yocto-worker/meta-virt/build/build/tmp/work/x86_64-linux/systemd-hwdb-native/261/temp/run.do_compile.3747249'
failed with exit code 1
...
| ../sources/systemd-hwdb-261/src/libc/mount.c: In function
‘mount_setattr_shim’:
| ../sources/systemd-hwdb-261/src/libc/libc-shim.h:71:32: error:
‘__NR_mount_setattr’ undeclared (first use in this function); did you mean
‘mount_setattr’?
| 71 | return syscall(__NR_##func, _SHIM_NAME(__VA_ARGS__));
\
| | ^~~~~
| ../sources/systemd-hwdb-261/src/libc/mount.c:35:1: note: in expansion of
macro ‘DEFINE_SYSCALL_SHIM’
| 35 | DEFINE_SYSCALL_SHIM(mount_setattr, int,
| | ^~~~~~~~~~~~~~~~~~~
| ../sources/systemd-hwdb-261/src/libc/libc-shim.h:71:32: note: each undeclared
identifier is reported only once for each function it appears in
| 71 | return syscall(__NR_##func, _SHIM_NAME(__VA_ARGS__));
\
| | ^~~~~
| ../sources/systemd-hwdb-261/src/libc/mount.c:35:1: note: in expansion of
macro ‘DEFINE_SYSCALL_SHIM’
| 35 | DEFINE_SYSCALL_SHIM(mount_setattr, int,
| | ^~~~~~~~~~~~~~~~~~~
| ../sources/systemd-hwdb-261/src/libc/libc-shim.h:72:9: error: control reaches
end of non-void function [-Werror=return-type]
| 72 | }
| | ^
| ../sources/systemd-hwdb-261/src/libc/mount.c:35:1: note: in expansion of
macro ‘DEFINE_SYSCALL_SHIM’
| 35 | DEFINE_SYSCALL_SHIM(mount_setattr, int,
| | ^~~~~~~~~~~~~~~~~~~
| cc1: some warnings being treated as errors
https://autobuilder.yoctoproject.org/valkyrie/#/builders/89/builds/3878
https://autobuilder.yoctoproject.org/valkyrie/#/builders/93/builds/4029
I don't have more details right now, so I just want to note this so it
is known before we merge the series.
Thanks,
Mathieu
--
Mathieu Dubois-Briand, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#240024):
https://lists.openembedded.org/g/openembedded-core/message/240024
Mute This Topic: https://lists.openembedded.org/mt/120045142/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-